JPH08263239A - Printing controller, printer and printing control method - Google Patents

Printing controller, printer and printing control method

Info

Publication number
JPH08263239A
JPH08263239A JP7093147A JP9314795A JPH08263239A JP H08263239 A JPH08263239 A JP H08263239A JP 7093147 A JP7093147 A JP 7093147A JP 9314795 A JP9314795 A JP 9314795A JP H08263239 A JPH08263239 A JP H08263239A
Authority
JP
Japan
Prior art keywords
print control
stored
control
data
printing
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
JP7093147A
Other languages
Japanese (ja)
Inventor
Shigeru Matsuyama
茂 松山
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP7093147A priority Critical patent/JPH08263239A/en
Publication of JPH08263239A publication Critical patent/JPH08263239A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE: To exactly perform automatic switching as desired by selecting any printing control program by analyzing the printing control program based on the control data of input information stored in a second storage means and the control codes of printing control programs stored in a first storage means and an external storage device. CONSTITUTION: At the time of printing, printing data such as received document data or control data are analyzed and any EM is selected by discriminating which EM the control data are stored for in a ROM 27 or an EM unit. Next, control is moved to the selected EM and on the other hand, the document data or the like extends bit map data in the page buffer area of a RAM 28. Then, prescribed printing processing is executed by outputting these bit map data to a printing main body part. Namely, control data or the like supplied from a first or second host computer are stored, the EM corresponding to the control data is selected, a character pattern is prepared based on character information and an image is formed on recording paper.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は印刷制御装置及び印刷装
置並びに印刷制御方法に関し、より詳しくは印刷データ
を所定の印刷形式にデータ変換して出力する印刷制御装
置及び該印刷制御装置が搭載された印刷装置並びに該印
刷装置の印刷制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control device, a printing device and a printing control method, and more particularly to a printing control device for converting print data into a predetermined printing format and outputting the printing data, and the printing control device. And a printing control method for the printing apparatus.

【0002】[0002]

【従来の技術】ホストコンピュータに接続された印刷装
置においては、一般に、文字コードや制御コード等の印
刷データを前記ホストコンピュータから受信し、該印刷
データを所定の印刷形式に変換して所望の印刷を行なっ
ている。
2. Description of the Related Art Generally, a printer connected to a host computer receives print data such as character codes and control codes from the host computer, converts the print data into a predetermined print format, and prints the desired data. Are doing.

【0003】ところで、この場合、印刷装置とホストコ
ンピュータとの間で実行されるデータ通信用プロトコル
が同一である必要があり、このため印刷装置に接続され
るホストコンピュータの機種が制限を受けることとな
る。
In this case, the protocol for data communication executed between the printing apparatus and the host computer must be the same, which limits the model of the host computer connected to the printing apparatus. Become.

【0004】そこで、複数のホストコンピュータと接続
して使用することができる汎用の印刷装置を実現するた
め、従来より、プロトコルの異なるホストコンピュータ
の通信データを所望の印刷装置に適合するようにデータ
変換する印刷制御プログパム(エミュレーションプログ
ラム;以下、EMという)を設け、所望の文書データを
前記EMを介して印刷装置に供給することが行われてい
る。
Therefore, in order to realize a general-purpose printing device that can be used by connecting to a plurality of host computers, conventionally, communication data of host computers having different protocols is converted so as to be compatible with a desired printing device. A print control program (emulation program; hereinafter referred to as EM) is provided to supply desired document data to the printing apparatus via the EM.

【0005】また、複数のEMを印刷装置に内蔵し或い
は外部記憶装置等を介してEMを印刷装置に供給し、ホ
ストコンピュータからのコマンドやホストコンピュータ
から受信した制御データ群特有の制御コードを抽出する
ことにより前記EMを自動的に切り替えて印刷すること
も行われている。そしてこれにより、複数のホストコン
ピュータを入力切替装置やLAN(域内網;ローカル・
エリア・ネットワーク)等を介して印刷装置に同時に接
続して使用することができる。
Further, a plurality of EMs are built into the printing apparatus or the EMs are supplied to the printing apparatus via an external storage device or the like, and a command from the host computer or a control code peculiar to the control data group received from the host computer is extracted. By doing so, the EM is automatically switched to perform printing. As a result, multiple host computers can be connected to an input switching device or LAN (internal network; local
It can be used by simultaneously connecting to a printing apparatus via an area network or the like.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の印刷装置においては、ホストコンピュータからのコ
マンドやホストコンピュータから受信した制御データ群
特有の制御コードを抽出することにより、印刷装置に内
蔵された内蔵EM群と外部記憶装置から供給される外部
EM群の中から1個のEMを選択して自動的に切り替え
ているため、EM選択の論理が前記外部記憶装置によっ
て供給されるすべてのEMの種類を想定した論理でなけ
ればならず、したがって後から上記想定されたEM以外
のEMを外部記憶装置によって提供することは不可能で
あるという問題点があった。
However, in the above-mentioned conventional printing apparatus, the built-in printing apparatus is built in by extracting the command from the host computer or the control code peculiar to the control data group received from the host computer. Since one EM is selected from the EM group and the external EM group supplied from the external storage device and automatically switched, the EM selection logic is the type of all EM supplied by the external storage device. Therefore, there is a problem that it is impossible to provide an EM other than the above assumed EM by an external storage device later.

【0007】本発明は上記問題点に鑑みなされたもので
あって、外部記憶装置からのEMや内蔵EMのいかなる
組み合わせにおいても所望のEMの自動切替制御を正確
に実行することができる印刷制御装置及び印刷装置並び
に印刷制御方法を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and a print control apparatus capable of accurately executing desired automatic switching control of EMs in any combination of EMs and built-in EMs from an external storage device. And a printing apparatus and a printing control method.

【0008】[0008]

【課題を解決するための手段及び作用】上記目的を達成
するために本発明に係る印刷制御装置は、互いに異なる
複数の印刷制御プログラムを記憶すると共に前記複数の
印刷制御プログラムが有する前記印刷制御プログラムの
夫々に特有の制御コードを所定コード群毎に区分して記
憶する第1の記憶手段と、少なくとも1つ以上の印刷制
御プログラムと該印刷制御プログラムに特有の制御デー
タとが記憶された外部記憶装置を着脱可能に接続する接
続手段と、任意の外部装置から入力される制御データを
記憶する第2の記憶手段と、該第2の記憶手段に記憶さ
れた制御データと前記第1の記憶手段に記憶された制御
コードとを比較して第1の解析結果を作成する第1の解
析結果作成手段と、前記第2の記憶手段に記憶された制
御データと前記外部記憶装置に記憶された制御コードと
を比較して第2の解析結果を作成する第2の解析結果作
成手段と、該第2の解析結果及び前記第1の解析結果に
基づいて実行すべき印刷制御プログラムを選択するプロ
グラム選択手段とを備えていることを特徴としている。
In order to achieve the above object, a print control apparatus according to the present invention stores a plurality of print control programs different from each other and has the print control programs included in the plurality of print control programs. First storage means for storing the control codes unique to each of the respective print code groups in a predetermined code group, and external storage storing at least one or more print control programs and control data unique to the print control programs. Connection means for detachably connecting the device, second storage means for storing control data input from an arbitrary external device, control data stored in the second storage means, and the first storage means First analysis result creating means for creating a first analysis result by comparing the control code stored in the second storage means with the control data stored in the second storage means. Second analysis result creating means for creating a second analysis result by comparing with the control code stored in the storage device, and printing to be executed based on the second analysis result and the first analysis result. And a program selecting means for selecting a control program.

【0009】また、本発明に係る印刷装置は、上記印刷
制御装置を備えていることを特徴としている。
A printing apparatus according to the present invention is characterized by including the print control apparatus.

【0010】さらに、本発明に係る印刷制御方法は、互
いに異なる複数の印刷制御プログラムを記憶すると共に
前記複数の印刷制御プログラムが有する前記印刷制御プ
ログラムの夫々に特有の制御コードを所定コード群毎に
区分して記憶すると共に、任意の外部装置から入力され
る制御データを記憶し、次いで、前記所定コード群毎に
区分された制御コードと外部装置から入力された制御デ
ータとを比較して第1の解析結果を作成する一方、外部
記憶装置に格納された少なくとも1つ以上の印刷制御プ
ログラムに特有の制御コードと外部装置から入力された
制御データとを比較して第2の解析結果を作成し、該第
2の解析結果及び前記第1の解析結果に基づいて実行す
べき印刷制御プログラムを選択することを特徴としてい
る。
Further, in the print control method according to the present invention, a plurality of print control programs different from each other are stored, and a control code unique to each of the print control programs included in the plurality of print control programs is stored for each predetermined code group. In addition to dividing and storing, control data input from an arbitrary external device is stored, and then the control code divided for each of the predetermined code groups is compared with the control data input from the external device. While creating a second analysis result by comparing the control code specific to at least one print control program stored in the external storage device with the control data input from the external device. The printing control program to be executed is selected based on the second analysis result and the first analysis result.

【0011】[0011]

【実施例】以下、本発明の実施例を図面に基づいて詳説
する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0012】図1は本発明に係る印刷装置の一実施例と
してのレーザビームプリンタの内部構造図であって、該
レーザビームプリンタ1は、装置本体2の上面に設けら
れた操作パネル3と、所定の印刷動作を行う印刷本体部
4と、入力される文字データや制御データ等を解析して
前記印刷本体部4の印刷動作を制御する印刷制御装置5
とから構成されている。
FIG. 1 is an internal structural diagram of a laser beam printer as an embodiment of a printing apparatus according to the present invention. The laser beam printer 1 includes an operation panel 3 provided on an upper surface of an apparatus body 2. A print main body 4 that performs a predetermined print operation, and a print control device 5 that analyzes the input character data, control data, and the like to control the print operation of the print main body 4.
It consists of and.

【0013】印刷本体部4は、所定の記録紙(カット
紙)が収納されると共に給紙ローラ6を備えた給紙カセ
ット7と、適数個の搬送ローラ8…を介して記録紙が供
給される静電ドラム9と、該静電ドラム9にレーザ光を
照射する光学系10と、所定色のトナーが収納されて前
記静電ドラム9の周囲に配設された現像器11と、該現
像器11により現像されたトナー像を定着する定着器1
2と、記録紙に印刷された文書データ等を排紙ローラ1
3を介して外部に排出する排紙部14とからなる。
The printing main body portion 4 stores predetermined recording paper (cut paper) and supplies the recording paper through a paper feed cassette 7 having a paper feed roller 6 and an appropriate number of transport rollers 8. The electrostatic drum 9, an optical system 10 for irradiating the electrostatic drum 9 with a laser beam, a developing device 11 for accommodating toner of a predetermined color and arranged around the electrostatic drum 9, Fixing device 1 for fixing the toner image developed by developing device 11
2 and the discharge roller 1 for the document data etc. printed on the recording paper
3 and a paper discharge unit 14 that discharges the paper to the outside.

【0014】また、前記光学系10は、所定波長のレー
ザ光を射出する半導体レーザ15と、該半導体レーザ1
5を駆動するレーザドライバ17と、回転多面鏡18
と、該回転多面鏡18を介して入光するレーザ光を反射
させて静電ドラム9上に該レーザ光を供給する反射鏡1
9とを備えている。
The optical system 10 includes a semiconductor laser 15 for emitting a laser beam having a predetermined wavelength, and the semiconductor laser 1.
Laser driver 17 for driving 5 and rotary polygon mirror 18
And a reflecting mirror 1 for reflecting the laser light entering through the rotary polygon mirror 18 and supplying the laser light onto the electrostatic drum 9.
9 and 9.

【0015】このように構成されたレーザビームプリン
タ1においては、印刷制御装置5からのビデオ信号がレ
ーザドライバ17に入力され、前記ビデオ信号に応じて
半導体レーザ15から射出されるレーザ光のオン・オフ
切替を行なう。レーザ光は回転多面鏡18で左右方向に
振られて静電ドラム9上を走査し、静電ドラム9上には
文字パターン等の静電潛像が形成され、さらに、該静電
潛像は現像器11を介して現像される。そして、静電ド
ラム9上に付着されたトナー像は給紙カセット7から給
紙された記録紙に転写され、次いで、定着器12により
トナー像が記録紙に定着され、該記録紙は排紙ローラ1
3を介して排紙部14に排出される。
In the laser beam printer 1 thus constructed, the video signal from the print control device 5 is input to the laser driver 17, and the laser light emitted from the semiconductor laser 15 is turned on / off in response to the video signal. Switch off. The laser light is oscillated in the left-right direction by the rotary polygon mirror 18 to scan the electrostatic drum 9, an electrostatic latent image such as a character pattern is formed on the electrostatic drum 9, and the electrostatic latent image is formed. It is developed via the developing device 11. Then, the toner image attached on the electrostatic drum 9 is transferred to the recording paper fed from the paper feeding cassette 7, and then the toner image is fixed on the recording paper by the fixing device 12, and the recording paper is discharged. Laura 1
The sheet is discharged to the sheet discharge unit 14 via the sheet 3.

【0016】しかして、図2は上記レーザビームプリン
タ1を含む印刷システムの構成例を示したブロック図で
あって、レーザビームプリンタ1の印刷制御装置5は、
入力切替装置20を介して第1のホストコンピュータ2
1及び第2のホストコンピュータ22に接続され、前記
入力切替装置20を操作することにより第1のホストコ
ンピュータ21又は第2のホストコンピュータ22のい
ずれか一方からの入力情報が印刷制御装置5に供給され
る。また、印刷制御装置5にはEMユニット23が着脱
自在に外部装着され、レーザビームプリンタ1にはEM
ユニット23からのEMが供給可能とされている。
FIG. 2 is a block diagram showing an example of the configuration of a printing system including the laser beam printer 1. The print control device 5 of the laser beam printer 1 is
The first host computer 2 via the input switching device 20
It is connected to the first and second host computers 22 and the input information from either the first host computer 21 or the second host computer 22 is supplied to the print control device 5 by operating the input switching device 20. To be done. An EM unit 23 is detachably attached to the print control device 5, and the EM unit 23 is attached to the laser beam printer 1.
The EM from the unit 23 can be supplied.

【0017】図3は前記印刷制御装置5の詳細を示すブ
ロック構成図であって、該印刷制御装置5は、入力切替
装置20に接続されて前記第1及び第2のホストコンピ
ュータ21、22との間で所定のインターフェース動作
を行う第1のインターフェース(IF1)24と、印刷
本体部4に接続されて該印刷本体部4との間で所定のイ
ンターフェース動作を行う第2のインターフェース(I
F2)25と、EMユニット23に接続されて該EMユ
ニット23との間で所定のインターフェース動作を行う
第3のインターフェース(IF3)26と、所定のコマ
ンドテーブルや制御プログラムが格納された読み出し専
用メモリ(ROM)27と、第1及び第2のホストコン
ピュータ21、22から入力された制御データを格納す
ると共に前記ROM27やEMユニット23に格納され
た制御コードの解析結果やこれらの比較結果を書き込む
読み書き可能なランダムアクセスメモリ(RAM)28
と、クロックパルス発生回路や遅延回路、ゲート回路等
の論理回路を有する中央処理装置(CPU)29とから
なり、これら各構成要素間はバス30を介して接続さ
れ、CPU29によりROM27やRAM28等の各構
成要素が制御される。
FIG. 3 is a block diagram showing the details of the print control device 5. The print control device 5 is connected to the input switching device 20 and is connected to the first and second host computers 21 and 22. Between the first main body (IF1) 24 for performing a predetermined interface operation and a second interface (I1) connected to the print main body portion 4 for performing a predetermined interface operation
F2) 25, a third interface (IF3) 26 connected to the EM unit 23 and performing a predetermined interface operation with the EM unit 23, and a read-only memory in which a predetermined command table and a control program are stored. (ROM) 27 and read / write for storing control data input from the first and second host computers 21 and 22 and for writing analysis results of control codes stored in the ROM 27 and EM unit 23 and comparison results thereof. Possible random access memory (RAM) 28
And a central processing unit (CPU) 29 having a logic circuit such as a clock pulse generating circuit, a delay circuit, and a gate circuit. These components are connected via a bus 30, and the CPU 29 allows the ROM 27, the RAM 28, and the like to be connected. Each component is controlled.

【0018】しかして、ROM27は、内蔵EMとして
2個のEM(EM−A、EM−B)についてのコマンド
テーブル(以下、「内蔵EMコマンドテーブル」とい
う)が格納されている。すなわち、ROM27には内蔵
EMコマンドテーブルとして、図4に示すように、EM
−Aのみが有するEM−A特有コマンド、EM−Bのみ
が有するEM−B特有コマンド、及びEM−A及びEM
−Bが共有する共通コマンドが夫々格納されている。
Therefore, the ROM 27 stores a command table (hereinafter referred to as "embedded EM command table") for two EMs (EM-A, EM-B) as built-in EMs. That is, as shown in FIG.
-EM-A specific command that only A has, EM-B unique command that only EM-B has, and EM-A and EM
Common commands shared by -B are stored respectively.

【0019】また、EMユニット23は、図5に示すよ
うに、外部EM(EM−C)についてのコマンドテーブ
ル(以下、「外部EMコマンドテーブル」という)が格
納されている。
Further, as shown in FIG. 5, the EM unit 23 stores a command table for the external EM (EM-C) (hereinafter referred to as "external EM command table").

【0020】さらに、RAM28は、内蔵EMコマンド
テーブル又は外部EMコマンドテーブルと入力バッファ
とを比較して作成された内蔵EM解析テーブル及び外部
EM解析テーブル、及びこれら内蔵EM解析テーブル及
び外部EM解析テーブルを比較して作成された比較テー
ブルが記憶される。
Further, the RAM 28 stores the built-in EM command table or the external EM command table and the built-in EM analysis table created by comparing the input buffer with the external EM command table, and the built-in EM analysis table and the external EM analysis table. A comparison table created by comparison is stored.

【0021】図6〜図8は内蔵EM解析テーブル、外部
EM解析テーブル及び比較テーブルの初期状態を夫々示
している。すなわち、この図6〜図8から明らかなよう
に、初期状態においては各コマンド群は空欄にされ、最
右蘭に書き込まれる計数値は「0」に設定されている。
6 to 8 show initial states of the built-in EM analysis table, the external EM analysis table and the comparison table, respectively. That is, as is apparent from FIGS. 6 to 8, in the initial state, each command group is blank and the count value written in the rightmost column is set to “0”.

【0022】しかして、上記印刷制御装置5において
は、印刷時には受信した文書データやコマンドデータ
(制御データ)等の印刷データを解析し、該コマンドデ
ータがROM27或いはEMユニット23に記憶された
いずれのEM用のコマンドデータであるかを判定してE
Mを選択し、次いで選択されたEMに制御を移行する一
方、文書データ等はRAM28のベージバッファ領域に
ビットマップデータを展開し、かかるビットマップデー
タを印刷本体部4に出力して所定の印刷処理を実行す
る。すなわち、第1のホストコンピュータ21又は第2
のホストコンピュータ22から供給されるコマンドデー
タや文字情報(文字コード)等を記憶すると共に、コマ
ンドデータに応じたEMを選択すると共に前記文字情報
等に基づいて文字パターン等を作成し、記録紙上に画像
を形成する。
In the print control device 5, however, print data such as document data or command data (control data) received at the time of printing is analyzed, and the command data is stored in the ROM 27 or the EM unit 23. E to determine if the command data is for EM
While M is selected and the control is transferred to the selected EM, the bitmap data is expanded in the page buffer area of the RAM 28 for the document data and the like, and the bitmap data is output to the print main unit 4 to perform a predetermined printing. Execute the process. That is, the first host computer 21 or the second
Command data, character information (character code), etc. supplied from the host computer 22 of FIG. 1 are stored, an EM corresponding to the command data is selected, and a character pattern or the like is created based on the character information, etc., on a recording paper. Form an image.

【0023】図9は上記印刷制御装置5で実行される印
刷処理手順のフローチャートであって、本プログラムは
第1又は第2のホストコンピュータ21、22からの印
刷データが入力切替装置20を介して印刷制御装置5の
第1のインターフェース24に入力されたときに開始さ
れる。
FIG. 9 is a flow chart of a print processing procedure executed by the print control device 5. In this program, print data from the first or second host computer 21, 22 is transferred via the input switching device 20. It is started when the input is made to the first interface 24 of the print control device 5.

【0024】ステップS1では第1又は第2のホストコ
ンピュータ21、22から入力されるコマンドデータを
RAM28の入力バッファに格納する。具体的には、図
10に示すように、例えば、AA1、AB1、……、C
C3、ENDの如くコマンドデータを入力バッファに格
納する。続く、ステップS2では図10の入力バッファ
における先頭アドレスのコマンドデータ「AA1」をポ
インタP1に格納し、次いで図4の内蔵EMコマンドテ
ーブルにおける先頭アドレスのコマンドコード「AA
1」をポインタP2に格納した後、第1のサブルーチン
(SUB−SCAN)を実行する(ステップS4)。
In step S1, the command data input from the first or second host computer 21, 22 is stored in the input buffer of the RAM 28. Specifically, as shown in FIG. 10, for example, AA1, AB1, ..., C
The command data is stored in the input buffer like C3 and END. Subsequently, in step S2, the command data "AA1" of the head address in the input buffer of FIG. 10 is stored in the pointer P1, and then the command code "AA of the head address in the built-in EM command table of FIG. 4 is stored.
After storing "1" in the pointer P2, the first subroutine (SUB-SCAN) is executed (step S4).

【0025】図11は第1のサブルーチンのフローチャ
ートであって、ステップS21ではポインタP2に格納
されたコマンドコード「AA1」をRAM28上の記憶
領域PESCに複写し、続くステップS22では前記ポ
インタP1に格納されているコマンドデータ「AA1」
を読み出した後、ステップS23でポインタP1は「E
ND」を格納しているか否かを判断する。そして、この
場合は「END」ではないため、ステップS25に進
み、ポインタP2に格納されているコマンドコードと比
較し、ステップS26ではポインタP2が指すコマンド
コードとポインタP1が指すコマンドデータとが一致す
るか否かを判断する。この場合は、ポインタP1及びポ
インタP2のいずれも「AA1」が格納されているため
コマンドデータとコマンドコードとが一致するので、ス
テップS29に進み、図12に示すように、内蔵EM解
析テーブルのEM−A特有コマンドのコマンド蘭にコマ
ンドデータ「AA1」を書き込み、最右蘭(計数蘭)に
「1」を書き込む。次に、ステップS30に進んで入力
バッファの次アドレスのコマンドデータ「AB1」をポ
インタP1に格納し、記憶領域PESC中のコマンドコ
ードを再度ポインタP2に複写してステップS22に戻
る。
FIG. 11 is a flowchart of the first subroutine. In step S21, the command code "AA1" stored in the pointer P2 is copied to the storage area PESC in the RAM 28, and in the subsequent step S22, it is stored in the pointer P1. Command data "AA1"
After reading, the pointer P1 moves to "E" in step S23.
It is determined whether or not “ND” is stored. Then, in this case, since it is not "END", the process proceeds to step S25, the command code stored in the pointer P2 is compared, and in step S26, the command code pointed to by the pointer P2 and the command data pointed by the pointer P1 match. Determine whether or not. In this case, since “AA1” is stored in both the pointer P1 and the pointer P2, the command data and the command code match, so the process proceeds to step S29, and as shown in FIG. 12, the EM of the built-in EM analysis table is displayed. Write command data "AA1" in the command run of the -A specific command, and write "1" in the rightmost run (count run). Next, in step S30, the command data "AB1" at the next address of the input buffer is stored in the pointer P1, the command code in the storage area PESC is copied again in the pointer P2, and the process returns to step S22.

【0026】次いで、再びステップS23の判断結果は
否定(No)となり、またポインタP2にはコマンドコ
ード「AA1」が格納されており、ポインタP1にはコ
マンドデータ「AB1」が格納されているため、ステッ
プS26の判断結果が否定(No)となり、ステップS
27でポインタP2が指すアドレスを「1」だけインク
リメントし、ポインタP2が示すコマンドコードが「E
ND」か否かを判断し、この場合はその判断結果が否定
(No)となるためステップS25に戻って上記処理を
繰り返す。すなわち、ポインタP2が指すアドレスを順
次「1」ずつインクリメントしていってコマンドコード
「AA3」、「AA4」……、「BB1」……「BB
9」とポインタP1に格納されているコマンドデータ
「AB1」とを比較し、終にはポインタP2の指すコマ
ンドコードが「AB1」になってステップS26の判断
結果が肯定(Yes)となり、ステップS29に進んで
内蔵EM解析テーブルのAとBの共通コマンドのコマン
ド蘭にコマンドデータ「AB1」を書き込むと共に対応
する計数蘭に「1」を書き込む。
Then, the determination result of step S23 is negative (No) again, and since the pointer P2 stores the command code "AA1" and the pointer P1 stores the command data "AB1", The determination result of step S26 is negative (No), and step S
At 27, the address pointed to by the pointer P2 is incremented by "1", and the command code indicated by the pointer P2 is "E".
It is determined whether or not it is "ND". In this case, the determination result is negative (No), so the process returns to step S25 to repeat the above process. That is, the address pointed to by the pointer P2 is sequentially incremented by "1", and the command codes "AA3", "AA4" ... "BB1" ... "BB".
9 "and the command data" AB1 "stored in the pointer P1 are compared, and finally the command code pointed to by the pointer P2 becomes" AB1 ", and the determination result in step S26 becomes affirmative (Yes), and step S29 Then, the command data “AB1” is written in the command run of the common command of A and B in the built-in EM analysis table and “1” is written in the corresponding count run.

【0027】次に、ステップS30では入力バッファの
次のコマンドデータ「CC1」をポインタP1に格納
し、ステップS31でポインタP2を記憶領域PESC
に格納した後、ステップS25に戻り、ポインタP1と
ポインタP2とが一致するか又はポインタP2に「EN
D」コードが格納するまで上述と同様の方法でポインタ
P2の指すコマンドコードを1個ずつインクリメントし
てゆく。この場合、図4のコマンドテーブルには「CC
1」がないため、内蔵EM解析テーブルへの書き込みが
行われることなくポインタP2は「END」を指す。し
たがって、ステップS28の判断結果が肯定(Yes)
となり、ステップS30に進んで入力バッファに格納さ
れている次コマンドデータについて上述の処理を繰り返
す。
Next, in step S30, the next command data "CC1" of the input buffer is stored in the pointer P1. In step S31, the pointer P2 is stored in the storage area PESC.
Then, the process returns to step S25, and the pointer P1 and the pointer P2 match or the pointer P2 is set to "EN".
The command code pointed to by the pointer P2 is incremented by one in the same manner as described above until the "D" code is stored. In this case, the command table in FIG.
Since there is no 1 ”, the pointer P2 points to“ END ”without writing to the built-in EM analysis table. Therefore, the determination result of step S28 is affirmative (Yes).
Then, the process proceeds to step S30 and the above process is repeated for the next command data stored in the input buffer.

【0028】すなわち、コマンドデータ「CC2」、
「AA2」、「AB3」、「CC3」について上述の処
理を繰り返し、ポインタP1は最終的に「END」を指
す結果、ステップS23の判断結果が肯定(Yes)と
なって内蔵EM解析テーブルの最後尾にENDを書き込
み(ステップS24)、メインルーチン(図9)に戻
る。
That is, the command data "CC2",
The above process is repeated for "AA2", "AB3", and "CC3", and the pointer P1 finally points to "END". As a result, the determination result of step S23 becomes affirmative (Yes), and the end of the built-in EM analysis table is reached. END is written to the tail (step S24), and the process returns to the main routine (FIG. 9).

【0029】図13はステップS4の実行が終了したと
きにおける内蔵EM解析テーブルを示している。すなわ
ち、入力バッファに格納されたコマンドデータと内蔵E
Mのコマンドコードとの比較により、所定のコマンド蘭
にコマンドデータが書き込まれると共に、計数蘭にはそ
の計数値が書き込まれる。
FIG. 13 shows the built-in EM analysis table when the execution of step S4 is completed. That is, the command data stored in the input buffer and the built-in E
By comparing with the command code of M, command data is written in a predetermined command run, and the count value is written in the count run.

【0030】次に、ステップS5に進み、再び入力バッ
ファにおける先頭アドレスのコマンドデータ「AA1」
をポインタP1に格納し、次いで図5に示す外部EMコ
マンドテーブルにおける先頭アドレスのコマンドコード
「AA1」をポインタP2に格納した後(ステップS
6)、外部EMについて上述した図9の第1のサブルー
チン(SUB−SCAN)を実行し(ステップS7)、
ステップS8に進む。
Next, the process proceeds to step S5, and again the command data "AA1" of the head address in the input buffer.
Is stored in the pointer P1 and then the command code "AA1" of the head address in the external EM command table shown in FIG. 5 is stored in the pointer P2 (step S
6), execute the above-mentioned first subroutine (SUB-SCAN) of FIG. 9 for the external EM (step S7),
Go to step S8.

【0031】図14はステップS7を実行した結果得ら
れる外部EM解析テーブルを示している。すなわち、上
記ステップS4と略同様、入力バッファのコマンドデー
タと外部EMのコマンドテーブルに格納されているコマ
ンドコードとの比較により、前記コマンドデータの中か
ら実行可能コマンドが抽出され、所定のコマンド蘭にコ
マンドデータが書き込まれると共に、計数蘭にはその計
数値が書き込まれる。
FIG. 14 shows an external EM analysis table obtained as a result of executing step S7. That is, similar to step S4, the executable command is extracted from the command data by comparing the command data of the input buffer with the command code stored in the command table of the external EM, and a predetermined command is executed. The command data is written and the count value is written in the count field.

【0032】しかして、続くステップS8ではステップ
S4で作成された内蔵EM解析テーブルの先頭アドレス
のコマンドデータ「AA1」をポインタP1に格納し、
次いで、ステップS9ではステップS6で作成された外
部EM解析テーブルにおける先頭アドレスのコマンドデ
ータ「AA1」をポインタP2に格納し、次いで、図1
5に示す第2のサブルーチン(SUB−VRFY)を実
行する(ステップS10)。
Then, in the following step S8, the command data "AA1" of the head address of the built-in EM analysis table created in step S4 is stored in the pointer P1.
Next, in step S9, the command data "AA1" of the start address in the external EM analysis table created in step S6 is stored in the pointer P2, and then
The second subroutine (SUB-VRFY) shown in 5 is executed (step S10).

【0033】すなわち、図15のステップS41ではポ
インタP2に格納されている外部EM解析テーブルにお
ける先頭アドレスのコマンドデータ「AA1」を記憶領
域PESCに複写した後ステップS42に進んでポイン
タP1に格納されているコマンドデータ「AA1」を読
み出す。そして、ステップS43では前記読み出された
コマンドデータがENDデータか否かを判断する。そし
てこの場合はENDデータでないため、ステップS43
の判断結果は否定(No)となり、ポインタP2及びポ
インタP1に格納されているコマンドデータ同士を比較
し、次いでステップS45では前記コマンドデータ同士
が一致するか否かを判断する。この場合は双方のコマン
ドデータは共に「AA1」であるため、両者は一致しス
テップS49に進み、ポインタP1の指示アドレスを
「1」だけインクリメントして内蔵EM解析テーブルの
次アドレスに格納されているコマンドデータ「AA2」
をポインタP1に格納し、次いで記憶領域PESCに格
納されている先頭コマンドデータ「AA1」をポインタ
P2に複写した後(ステップS50)、ステップS42
に戻る。
That is, in step S41 of FIG. 15, the command data "AA1" of the head address in the external EM analysis table stored in the pointer P2 is copied to the storage area PESC, and then the process proceeds to step S42 to be stored in the pointer P1. Read out the command data "AA1". Then, in step S43, it is determined whether the read command data is END data. In this case, since it is not END data, step S43
Is negative (No), the command data stored in the pointer P2 and the command data stored in the pointer P1 are compared, and then in step S45, it is determined whether or not the command data match. In this case, since both command data are both "AA1", both match and the process proceeds to step S49, the designated address of the pointer P1 is incremented by "1" and stored in the next address of the built-in EM analysis table. Command data "AA2"
Is stored in the pointer P1, then the head command data “AA1” stored in the storage area PESC is copied to the pointer P2 (step S50), and then step S42.
Return to

【0034】この後、上記処理を内蔵EM解析テーブル
に格納されている「AA2」「AB1」について実行す
る。そして、ステップS49でポインタP1がコマンド
データ「AA3」を指示するときは、当該コマンドデー
タ「AA3」が外部EM解析テーブルに存在しないた
め、ステップS45の判断結果が否定(No)となり、
ステップS46を経てステップS47の判断結果が肯定
(Yes)となり、ステップS48に進んで図16に示
すように、比較テーブルの内部EM特有コマンドのコマ
ンド蘭にコマンドデータ「AB3」を書き込み、対応す
る計数蘭に「1」を書き込む。
After that, the above processing is executed for "AA2" and "AB1" stored in the built-in EM analysis table. When the pointer P1 points to the command data “AA3” in step S49, the command data “AA3” does not exist in the external EM analysis table, so the determination result in step S45 is negative (No),
After step S46, the determination result of step S47 becomes affirmative (Yes), the process proceeds to step S48, and as shown in FIG. 16, the command data “AB3” is written in the command run of the internal EM specific command of the comparison table, and the corresponding count is performed. Write "1" on the orchid.

【0035】そして、この後ポインタP1により指示さ
れるコマンドデータが「END」になるとステップS4
3の判断結果が肯定(Yes)となってメインルーチン
(図9)に戻る。
Then, when the command data designated by the pointer P1 thereafter becomes "END", step S4
The determination result of No. 3 is affirmative (Yes), and the process returns to the main routine (FIG. 9).

【0036】次に、ステップS11(図9)ではステッ
プS6で作成された外部EM解析テーブルにおける先頭
アドレスのコマンドデータ「AA1」をポインタP1に
格納し、ステップS12ではステップS4で作成された
内蔵EM解析テーブルの先頭アドレスのコマンドデータ
「AA1」をポインタP2に格納し、次いで、ステップ
S13に進み、上記ステップS10と同様、図15に示
す第2のサブルーチン(SUB−VRFY)を実行し、
比較テーブルを作成し、RAM28に記憶する。
Next, in step S11 (FIG. 9), the command data "AA1" of the head address in the external EM analysis table created in step S6 is stored in the pointer P1, and in step S12 the built-in EM created in step S4. The command data “AA1” at the start address of the analysis table is stored in the pointer P2, then the process proceeds to step S13, and the second subroutine (SUB-VRFY) shown in FIG. 15 is executed as in step S10.
A comparison table is created and stored in the RAM 28.

【0037】図17は比較テーブルの最終結果を示して
いる。このように内蔵EM特有コマンドのコマントデー
タ及び外部EM特有コマンドのコマンドデータを夫々の
コマンド蘭に書き込み、さらにこれらの総計を計数蘭に
書き込む。
FIG. 17 shows the final result of the comparison table. In this way, the command data of the built-in EM-specific command and the command data of the external EM-specific command are written in each command run, and the total of these is written in the counting run.

【0038】次いで、ステップS14に進み、比較テー
ブルの計数蘭の計数値を比較する。この図17からあき
らかなように、外部EM特有コマンドの計数値の方が内
蔵EM特有コマンドの計数値に比べて大きいため、EM
ユニット23のEMが選択されて入力バッファ内部のコ
マンドデータにしたがって印刷が実行される。
Next, in step S14, the count values of the count values in the comparison table are compared. As is apparent from FIG. 17, the count value of the external EM-specific command is larger than the count value of the built-in EM-specific command.
The EM of the unit 23 is selected and printing is executed according to the command data in the input buffer.

【0039】尚、本発明は上記実施例に限定されるもの
ではない。上記実施例では2個の内蔵EMと1個の外部
EMが印刷システムに搭載されている場合について述べ
たが、複数個のEMが前記EMユニット23に格納され
ている場合についても同様に適用できるのはいうまでも
ない。
The present invention is not limited to the above embodiment. In the above embodiment, the case where the two built-in EMs and the one external EM are mounted in the printing system has been described, but the same applies to the case where a plurality of EMs are stored in the EM unit 23. Needless to say.

【0040】[0040]

【発明の効果】以上詳述したように本発明によれば、第
2の記憶手段に記憶された入力情報である制御データと
第1の記憶手段及び外部記憶装置に記憶された印刷制御
プログラムの制御コードとに基づいて印刷制御プログラ
ムを解析し、これらの解析結果を比較して特定の印刷制
御プログラムを選択しているので、内蔵する複数の印刷
制御プログラムによっては特有であっても外部記憶装置
とを混在させた場合には特有ではなくなる場合において
も、印刷制御プログラムの選択を誤ることはなくなり、
外部記憶装置上の印刷制御プログラムと印刷装置に内蔵
された印刷制御プログラムとのいかなる組み合わせによ
っても所望の自動切替を正確に行うことができる。
As described above in detail, according to the present invention, the control data which is the input information stored in the second storage means and the print control program stored in the first storage means and the external storage device are stored. The print control program is analyzed based on the control code, and a specific print control program is selected by comparing the results of these analyzes. Even if it is not unique when and are mixed, there is no mistake in selecting the print control program,
The desired automatic switching can be accurately performed by any combination of the print control program on the external storage device and the print control program built in the printing device.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係る印刷装置の一実施例としてのレー
ザビームプリンタの内部構造図である。
FIG. 1 is an internal structural diagram of a laser beam printer as an example of a printing apparatus according to the present invention.

【図2】本発明の印刷装置が搭載された印刷システムの
構成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of a printing system in which the printing apparatus of the present invention is installed.

【図3】本発明の印刷制御装置を示すブロック構成図で
ある。
FIG. 3 is a block configuration diagram showing a print control apparatus of the present invention.

【図4】内蔵EMのコマンドテーブル図である。FIG. 4 is a command table diagram of a built-in EM.

【図5】外部EMのコマンドテーブル図である。FIG. 5 is a command table diagram of an external EM.

【図6】内蔵EM解析テーブルの初期状態を示すテーブ
ル図である。
FIG. 6 is a table diagram showing an initial state of a built-in EM analysis table.

【図7】外部EM解析テーブルの初期状態を示すテーブ
ル図である。
FIG. 7 is a table diagram showing an initial state of an external EM analysis table.

【図8】比較テーブルの初期状態を示すテーブル図であ
る。
FIG. 8 is a table diagram showing an initial state of a comparison table.

【図9】本発明の印刷制御方法におけるメインルーチン
のフローチャートである。
FIG. 9 is a flowchart of a main routine in the print control method of the present invention.

【図10】入力バッファの格納テーブル図である。FIG. 10 is a storage table diagram of an input buffer.

【図11】前記印刷制御方法における第1のサブルーチ
ンのフローチャートである。
FIG. 11 is a flowchart of a first subroutine in the print control method.

【図12】第1のサブルーチン実行途中における内蔵E
M解析テーブル図である。
FIG. 12: Built-in E during execution of first subroutine
It is a M analysis table figure.

【図13】図9のステップS4終了時における内蔵EM
解析テーブル図である。
13 is a built-in EM at the end of step S4 of FIG.
It is an analysis table figure.

【図14】図9のステップS7終了時における外部EM
解析テーブル図である。
14 is an external EM at the end of step S7 of FIG.
It is an analysis table figure.

【図15】前記印刷制御方法における第2のサブルーチ
ンのフローチャートである。
FIG. 15 is a flowchart of a second subroutine in the print control method.

【図16】図9のステップS10終了時における比較テ
ーブル図である。
16 is a comparison table diagram at the end of step S10 of FIG.

【図17】図9のステップS13終了時における比較テ
ーブル図である。
17 is a comparison table diagram at the end of step S13 of FIG.

【符号の説明】[Explanation of symbols]

5 印刷制御装置 20 入力切替装置(切替手段) 21 第1のホストコンピュータ(外部装置) 22 第2のホストコンピュータ(外部装置) 23 EMユニット(外部記憶装置) 26 第3のインターフェース(接続手段) 27 ROM(第1の記憶手段) 28 RAM(第2の記憶手段) 29 CPU(第1及び第2の解析結果作成手段、プロ
グラム選択手段)
5 Print Control Device 20 Input Switching Device (Switching Unit) 21 First Host Computer (External Device) 22 Second Host Computer (External Device) 23 EM Unit (External Storage Device) 26 Third Interface (Connecting Device) 27 ROM (first storage means) 28 RAM (second storage means) 29 CPU (first and second analysis result creation means, program selection means)

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 互いに異なる複数の印刷制御プログラム
を記憶すると共に前記複数の印刷制御プログラムが有す
る前記印刷制御プログラムの夫々に特有の制御コードを
所定コード群毎に区分して記憶する第1の記憶手段と、
少なくとも1つ以上の印刷制御プログラムと該印刷制御
プログラムに特有の制御データとが記憶された外部記憶
装置を着脱可能に接続する接続手段と、任意の外部装置
から入力される制御データを記憶する第2の記憶手段
と、該第2の記憶手段に記憶された制御データと前記第
1の記憶手段に記憶された制御コードとを比較して第1
の解析結果を作成する第1の解析結果作成手段と、前記
第2の記憶手段に記憶された制御データと前記外部記憶
装置に記憶された制御コードとを比較して第2の解析結
果を作成する第2の解析結果作成手段と、該第2の解析
結果及び前記第1の解析結果に基づいて実行すべき印刷
制御プログラムを選択するプログラム選択手段とを備え
ていることを特徴とする印刷制御装置。
1. A first memory for storing a plurality of different print control programs and storing control codes unique to each of the print control programs included in the plurality of print control programs by classifying them into predetermined code groups. Means and
Connection means for detachably connecting an external storage device in which at least one print control program and control data specific to the print control program are stored; and control data input from an arbitrary external device The first storage means compares the control data stored in the second storage means with the control data stored in the first storage means.
And a control code stored in the external storage device are compared with the control data stored in the second storage to create a second analysis result. Print control comprising: a second analysis result creating unit for selecting the print control program to be executed based on the second analysis result and the first analysis result. apparatus.
【請求項2】 前記プログラム選択手段は、前記第1及
び第2の解析結果から双方に共通しない非共通制御デー
タを抽出する非共通制御データ抽出手段と、前記非共通
制御データを夫々の印刷制御プログラム毎に集計する集
計手段とを備え、該集計手段の集計結果に基づいて印刷
制御プログラムを選択することを特徴とする請求項1記
載の印刷制御装置。
2. The program selecting means extracts non-common control data that is not common to both from the first and second analysis results, and print control of the non-common control data. 2. The print control apparatus according to claim 1, further comprising a tallying unit that tallies each program, and selects a print control program based on a tallying result of the tallying unit.
【請求項3】 複数の前記外部装置からの入力経路が切
替可能な切替手段を有していることを特徴とする請求項
1又は請求項2記載の印刷制御装置。
3. The print control apparatus according to claim 1, further comprising a switching unit capable of switching input paths from a plurality of the external devices.
【請求項4】 前記外部装置がホストコンピュータであ
ることを特徴とする請求項1乃至請求項3のいずれかに
記載の印刷制御装置。
4. The print control apparatus according to claim 1, wherein the external device is a host computer.
【請求項5】 請求項1記載の印刷制御装置を備えてい
ることを特徴とする印刷装置。
5. A printing apparatus comprising the print control apparatus according to claim 1.
【請求項6】 請求項2記載の印刷制御装置を備えてい
ることを特徴とする印刷装置。
6. A printing apparatus comprising the print control apparatus according to claim 2.
【請求項7】 請求項3記載の印刷制御装置を備えてい
ることを特徴とする印刷装置。
7. A printing apparatus comprising the print control apparatus according to claim 3.
【請求項8】 請求項4記載の印刷制御装置を備えてい
ることを特徴とする印刷装置。
8. A printing apparatus comprising the print control apparatus according to claim 4.
【請求項9】 互いに異なる複数の印刷制御プログラム
を記憶すると共に前記複数の印刷制御プログラムが有す
る前記印刷制御プログラムの夫々に特有の制御コードを
所定コード群毎に区分して記憶すると共に、任意の外部
装置から入力される制御データを記憶し、次いで、前記
所定コード群毎に区分された制御コードと外部装置から
入力された制御データとを比較して第1の解析結果を作
成する一方、外部記憶装置に格納された少なくとも1つ
以上の印刷制御プログラムに特有の制御コードと外部装
置から入力された制御データとを比較して第2の解析結
果を作成し、該第2の解析結果及び前記第1の解析結果
に基づいて実行すべき印刷制御プログラムを選択するこ
とを特徴とする印刷制御方法。
9. A plurality of print control programs different from each other are stored, and a control code unique to each of the print control programs included in the plurality of print control programs is divided into predetermined code groups and stored, and at the same time, an arbitrary number is stored. The control data input from the external device is stored, and then the control code divided for each predetermined code group is compared with the control data input from the external device to create a first analysis result. A second analysis result is created by comparing a control code specific to at least one print control program stored in the storage device with control data input from an external device, and the second analysis result and the above-mentioned A print control method, comprising selecting a print control program to be executed based on a first analysis result.
【請求項10】 前記第1及び第2の解析結果から双方
に共通しない非共通制御データを抽出し、次いで前記非
共通制御データを夫々の印刷制御プログラム毎に集計
し、該集計手段の集計結果に基づいて印刷制御プログラ
ムを選択することを特徴とする請求項9記載の印刷制御
方法。
10. Non-common control data that is not common to both is extracted from the first and second analysis results, then the non-common control data is aggregated for each print control program, and the aggregation result of the aggregation means 10. The print control method according to claim 9, wherein the print control program is selected based on the.
JP7093147A 1995-03-27 1995-03-27 Printing controller, printer and printing control method Pending JPH08263239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7093147A JPH08263239A (en) 1995-03-27 1995-03-27 Printing controller, printer and printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7093147A JPH08263239A (en) 1995-03-27 1995-03-27 Printing controller, printer and printing control method

Publications (1)

Publication Number Publication Date
JPH08263239A true JPH08263239A (en) 1996-10-11

Family

ID=14074430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7093147A Pending JPH08263239A (en) 1995-03-27 1995-03-27 Printing controller, printer and printing control method

Country Status (1)

Country Link
JP (1) JPH08263239A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178323A (en) * 2002-11-27 2004-06-24 Canon Inc Information processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178323A (en) * 2002-11-27 2004-06-24 Canon Inc Information processing method
US7787143B2 (en) 2002-11-27 2010-08-31 Canon Kabushiki Kaisha Job information management method and apparatus

Similar Documents

Publication Publication Date Title
JPH11309917A (en) Print system and print control method, data processor, data processing method, recording medium
JPH05318840A (en) Image forming device and formation thereof
JP3639685B2 (en) Printing apparatus and printing control method
JPH05318838A (en) Image forming device and formation thereof
JPH03136095A (en) Image forming device
JPH08263239A (en) Printing controller, printer and printing control method
JPH05324930A (en) Image forming device and control method for the device
JPH08185295A (en) Printer and its control method
JP3667063B2 (en) Printing system and printing method
JP3585206B2 (en) Output device and output method
JPH0926860A (en) Printer and data communication method therefor
US6433879B1 (en) Printing control apparatus and control program selecting method
JPH08263238A (en) Printing controller, printer and printing control method
JPH09282115A (en) Printer and printing method
JPH10193748A (en) Method and system for processing information and recording medium
JPH05318829A (en) Device and method of forming image
JP2891857B2 (en) Printing apparatus and printing method
JPH08156371A (en) Image output device, host computer and network housing both of them
JPH08115180A (en) Print controller
JPH0664241A (en) Printing equipment
JPH0811396A (en) Printer and method for processing reset of the same
JPH09146521A (en) Device and method for output control
JPH09277615A (en) Printing controller, printing controlling method, and storage medium storing control program
JPH07125372A (en) Printing device
JPH0611550B2 (en) Font pattern processor