JPH08249138A - Method and device for controlling output - Google Patents

Method and device for controlling output

Info

Publication number
JPH08249138A
JPH08249138A JP7052846A JP5284695A JPH08249138A JP H08249138 A JPH08249138 A JP H08249138A JP 7052846 A JP7052846 A JP 7052846A JP 5284695 A JP5284695 A JP 5284695A JP H08249138 A JPH08249138 A JP H08249138A
Authority
JP
Japan
Prior art keywords
version
code data
output control
printer
data
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.)
Withdrawn
Application number
JP7052846A
Other languages
Japanese (ja)
Inventor
Miyuki Miyazaki
幸 宮▲崎▼
Toshiya Goto
俊也 後藤
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 JP7052846A priority Critical patent/JPH08249138A/en
Publication of JPH08249138A publication Critical patent/JPH08249138A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE: To provide an output controlling method and device capable of converting received code data into a code adaptive to the version and command level of a device and outputting the code even when the version or control command level of the code data is different from the version or command level of the device. CONSTITUTION: The version and control command level of received code data are identified 4002 and the identified version and control command level are compared with the version and control command level of an output control device. At the time of judging non-coincidence as the result of comparison, the received code data are converted into code data adaptive to the version and control command level of the output control device 4003 and the received code data and command are analyzed and developed to a printing image 4004.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コードデータを受信し
出力情報に変換して出力する出力制御方法及びその装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an output control method and apparatus for receiving code data, converting it into output information and outputting it.

【0002】[0002]

【従来の技術】近年、プリンタ装置の発売サイクルは非
常に短い周期となっており、その製品のバリエーション
も、印刷スピードや印刷可能な最大用紙サイズ、サポー
トするプリント・コマンドレベル等に応じて様々であ
る。また、ホストコンピュータから出力される印刷デー
タについても、データの種類や圧縮方法が統一されてお
らず、プリンタ装置が全ての印刷データの種類をサポー
トしている場合もあるが、一部の印刷データしかサポー
トしていない場合も多々ある。また、印刷データ種の1
つである文字コード体系についても、ホストコンピュー
タの各アプリケーションにより送出される文字のコード
体系が統一されていないのが現状である。また、同じコ
ード体系であっても、どのバージョンのコード体系を使
用するかによって、文字コードに対して出力される文字
パターンのフォーマットが異なってくる。
2. Description of the Related Art In recent years, the sales cycle of printers has become extremely short, and the product variations vary depending on the printing speed, the maximum printable paper size, the supported print command level, etc. is there. As for print data output from the host computer, the data type and compression method are not standardized, and the printer device may support all print data types. There are many cases that only support it. Also, the print data type 1
Regarding the character code system, which is one of the two, the code system of characters transmitted by each application of the host computer is not unified at present. Further, even if the same code system is used, the format of the character pattern output for the character code varies depending on which version of the code system is used.

【0003】[0003]

【発明が解決しようとする課題】これらの多数のコード
体系のバージョンやコマンドレベルを備えたプリンタ装
置を出力先とするアプリケーションのプリンタドライバ
も、各コード体系に応じて個々に対応しなければなら
ず、またユーザによる操作により、それらプリンタドラ
イバを、印刷データが使用しているコード体系のドライ
バに切り替えなければならず、操作性を悪くしていた。
The printer driver of an application that outputs a printer device having a number of versions and command levels of these numerous code systems must also correspond individually to each code system. In addition, the printer driver must be switched to the driver of the code system used by the print data by the user's operation, which deteriorates the operability.

【0004】更に、プリンタ装置が個々のドライバに対
応することによるプリンタ装置のコストアップを避ける
ために、低機能なコマンドレベルに合わせたドライバが
作成される。これにより、プリンタ装置の機能が十分に
ユーザに利用されないという問題も発生していた。
Further, in order to avoid the cost increase of the printer device due to the printer device corresponding to each driver, a driver adapted to a low function command level is created. As a result, there has been a problem that the functions of the printer device are not fully utilized by the user.

【0005】また、ホストコンピュータやそのアプリケ
ーションにより出力される印刷データの種類及びその圧
縮方法を、プリンタ装置がサポートしていないか、又は
逆に、プリンタ装置がサポートしている印刷データの種
類や圧縮方法をホストコンピュータやアプリケーション
のプリンタドライバがサポートしていない場合には、そ
のホストコンピュータやアプリケーションがそのプリン
タ装置を利用できなくなり、或は、ホストコンピュータ
等より、そのプリンタに合ったコードに変換して印刷デ
ータを送信する必要があった。また、仮にプリンタ装置
がその印刷データの種類や圧縮方法をサポートしていて
も、その印刷データの種類及びその圧縮方法をサポート
するような制御コマンド等を、プリンタ装置に発行する
必要があった。
The printer device does not support the type and compression method of the print data output by the host computer or its application, or conversely, the type and compression of the print data supported by the printer device. If the method is not supported by the printer driver of the host computer or application, the host computer or application cannot use the printer device, or the host computer or the like converts the code into a code suitable for the printer. Needed to send print data. Even if the printer device supports the type of print data and the compression method, it is necessary to issue a control command or the like that supports the type of print data and the compression method to the printer device.

【0006】本発明は上記従来例に鑑みてなされたもの
で、受信したコードデータのバージョンや制御コマンド
レベルが、装置のバージョンやコマンドレベルと異なる
場合でも、そのコードデータを装置のバージョンやコマ
ンドレベルに適合できるコードに変換して出力すること
ができる出力制御方法及びその装置を提供することを目
的とする。
The present invention has been made in view of the above conventional example. Even when the version or control command level of the received code data is different from the version or command level of the device, the code data is transmitted to the version or command level of the device. It is an object of the present invention to provide an output control method and device capable of converting the code into a code compatible with the above and outputting it.

【0007】また本発明の目的は、受信したコードデー
タがバージョンに関する情報を含まない時でも、そのコ
ードデータのバージョンを識別して対処できる出力制御
方法及びその装置を提供することを目的とする。
It is another object of the present invention to provide an output control method and apparatus capable of identifying and handling the version of the code data even when the received code data does not include information about the version.

【0008】また本発明の他の目的は、コードデータの
送信元でサポートしていないコードデータであっても、
そのコードデータを受信した装置側で対処できる出力制
御方法及びその装置を提供することを目的とする。
Another object of the present invention is to provide code data which is not supported by the source of the code data,
It is an object of the present invention to provide an output control method and a device that can be dealt with by the device that receives the code data.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明の出力制御装置は以下のような構成を備える。
即ち、コードデータを受信し出力情報に変換して出力す
る出力制御装置であって、前記コードデータのバージョ
ン及び制御コマンドレベルを識別する識別手段と、前記
識別手段により識別されたバージョン及び制御コマンド
レベルと、前記出力制御装置のバージョン及び制御コマ
ンドレベルとを比較する比較手段と、前記比較手段によ
り一致していないと判定された場合には、受信した前記
コードデータを前記出力制御装置のバージョン及び制御
コマンドレベルに適合するコードデータに変換する変換
手段とを有する。
In order to achieve the above object, the output control device of the present invention has the following configuration.
That is, an output control device that receives code data, converts the code data into output information, and outputs the output information, the identifying means identifying the version and control command level of the code data, and the version and control command level identified by the identifying means. And comparing means for comparing the version and the control command level of the output control device with the comparing means, the received code data is compared with the version and control of the output control device. And conversion means for converting into code data suitable for the command level.

【0010】上記目的を達成するために本発明の出力制
御方法は以下のような工程を備える。即ち、コードデー
タを受信し出力情報に変換して出力する出力制御装置に
おける出力制御方法であって、受信したコードデータの
バージョン及び制御コマンドレベルを識別する識別工程
と、その識別されたバージョン及び制御コマンドレベル
と、前記出力制御装置のバージョン及び制御コマンドレ
ベルとを比較する工程と、その比較工程により一致して
いないと判定された場合には、受信したコードデータを
前記出力制御装置のバージョン及び制御コマンドレベル
に適合するコードデータに変換する変換工程とを有す
る。
In order to achieve the above object, the output control method of the present invention comprises the following steps. That is, an output control method in an output control device for receiving code data, converting the code data into output information, and outputting the output information, and an identifying step of identifying the version and control command level of the received code data, and the identified version and control. The step of comparing the command level with the version and control command level of the output control device, and when it is determined that they do not match in the comparison step, the received code data is used for the version and control of the output control device. And a conversion step of converting into code data suitable for the command level.

【0011】[0011]

【作用】以上の構成において、受信したコードデータの
バージョン及び制御コマンドレベルを識別し、その識別
されたバージョン及び制御コマンドレベルと、前記出力
制御装置のバージョン及び制御コマンドレベルとを比較
する。この比較により、一致していないと判定された場
合には、受信したコードデータを出力制御装置のバージ
ョン及び制御コマンドレベルに適合するコードデータに
変換するように動作する。
In the above structure, the version and control command level of the received code data are identified, and the identified version and control command level are compared with the version and control command level of the output control device. If it is determined by this comparison that they do not match, it operates so as to convert the received code data into code data that conforms to the version and control command level of the output control device.

【0012】[0012]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。尚、以下の説明では、レーザビ
ームプリンタに適用した実施例について説明する。尚、
本実施例を適用可能なプリンタは、本実施例のレーザビ
ームプリンタ或はインクジェットプリンタなどに限られ
るものではなく、他のプリント方式のプリンタでも良
い。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings. In the following description, an embodiment applied to a laser beam printer will be described. still,
The printer to which the present embodiment can be applied is not limited to the laser beam printer or the inkjet printer according to the present embodiment, and may be a printer of another printing method.

【0013】図1は本実施例のレーザビームプリンタ
(LBP)の構成を示す断面図である。
FIG. 1 is a sectional view showing the arrangement of a laser beam printer (LBP) of this embodiment.

【0014】図1において、1000はLBP本体を示
し、外部に接続されているホストコンピュータ(図2の
3000)から供給される印刷情報(文字コード等)や
フォーム情報あるいはマクロ命令等を入力して記憶する
とともに、それらの情報に従って対応する文字パターン
やフォームパターン等を作成し、記録媒体である記録紙
等に像を形成している。1012は、操作のためのスイ
ッチおよびLED、表示器等が配されている操作パネ
ル、1001はLBP本体1000全体の制御およびホ
ストコンピュータから供給される文字情報等を解析する
プリンタ制御ユニットである。このプリンタ制御ユニッ
ト1001は、主に文字情報を対応する文字パターンの
ビデオ信号に変換してレーザドライバ1002に出力す
る。レーザドライバ1002は半導体レーザ1003を
駆動するための回路であり、入力されたビデオ信号に応
じて半導体レーザ1003から発射されるレーザ光10
04をオン・オフ切り換えする。レーザ光1004は回
転多面鏡1005で左右方向に振らされて静電ドラム1
006上を走査露光する。これにより、静電ドラム10
06上には文字パターンや画像等の静電潜像が形成され
ることになる。この静電潜像は、静電ドラム1006周
囲に配設された現像ユニット1007により現像された
後、記録紙に転写される。この記録紙にはカットシート
を用い、カットシート記録紙はLBP1000に装着さ
れた用紙カセット1008に収納され、給紙ローラ10
09および搬送ローラ1010と搬送ローラ1011の
回転によりLBP内に取り込まれて、静電ドラム100
6に供給される。またLBP本体1000には、図示し
ないカードスロットを少なくとも1個以上備え、内蔵フ
ォントに加えてオプションフォントカード、言語系の異
なる制御カード(エミュレーションカード)、更には、
本実施例におけるデータ処理装置、装置内データ加工の
ためのデータ、テーブル等を接続できるように構成され
ている。
In FIG. 1, reference numeral 1000 denotes an LBP main body, into which print information (character code, etc.), form information, macro command, etc. supplied from an externally connected host computer (3000 in FIG. 2) is input. In addition to being stored, a corresponding character pattern, form pattern or the like is created according to the information, and an image is formed on a recording paper or the like as a recording medium. Reference numeral 1012 denotes an operation panel on which switches and LEDs for operation, a display device, etc. are arranged, and 1001 is a printer control unit for controlling the entire LBP main body 1000 and analyzing character information and the like supplied from the host computer. The printer control unit 1001 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 1002. The laser driver 1002 is a circuit for driving the semiconductor laser 1003, and the laser light 10 emitted from the semiconductor laser 1003 according to an input video signal.
Switch 04 on / off. The laser beam 1004 is oscillated in the left-right direction by the rotating polygon mirror 1005, and the electrostatic drum
Scanning exposure is performed on 006. As a result, the electrostatic drum 10
An electrostatic latent image such as a character pattern or an image is formed on 06. The electrostatic latent image is developed by the developing unit 1007 arranged around the electrostatic drum 1006, and then transferred to the recording paper. A cut sheet is used as the recording sheet, and the cut sheet recording sheet is stored in a sheet cassette 1008 mounted on the LBP1000, and the sheet feeding roller 10
09 and the conveyance roller 1010 and the conveyance roller 1011 are rotated to be taken into the LBP, and the electrostatic drum 100
6. Further, the LBP main body 1000 is provided with at least one or more card slots (not shown), and in addition to the built-in font, an optional font card, a control card (emulation card) with a different language, and
The data processing device in this embodiment, data for processing data in the device, a table, and the like can be connected.

【0015】図2は、本発明の一実施例の印刷システム
の構成を示すブロック図である。ここでは、前述のレー
ザビームプリンタ(図1)を例にして説明する。尚、本
実施例の機能が実行されるのであれば、単体の機器であ
っても、複数の機器からなるシステムであっても、LA
N等のネットワークを介して処理が行われるシステムで
あっても本発明を適用できる。
FIG. 2 is a block diagram showing the arrangement of a printing system according to an embodiment of the present invention. Here, the above-mentioned laser beam printer (FIG. 1) will be described as an example. It should be noted that, as long as the function of the present embodiment is executed, the LA device may be a single device or a system including a plurality of devices.
The present invention can be applied to a system in which processing is performed via a network such as N.

【0016】図2において、3000はホストコンピュ
ータで、ROM3のプログラム用ROMに記載された文
書処理プログラム等に基づいて、図形、イメージ、文
字、表(表計算等を含む)等が混在した文書処理を実行
するCPU1を備えており、このCPU1は、システム
デバイス4に接続される各デバイスを総括的に制御す
る。また、このROM3のプログラム用ROMには、C
PU1の各種制御プログラム等が記憶され、ROM3の
フォント用ROMには上記文書処理の際に使用するフォ
ントデータ等が記憶されている。更に、ROM3のデー
タ用ROMは、上記文書処理等を行なう際に使用する各
種データ(例えば、イメージデータ・文字データ・図形
データ等)を記憶している。
In FIG. 2, reference numeral 3000 denotes a host computer, which is a document processing system in which graphics, images, characters, tables (including spreadsheets, etc.) are mixed based on a document processing program written in the program ROM of the ROM 3. The CPU 1 for executing the above is provided, and the CPU 1 comprehensively controls each device connected to the system device 4. In addition, the program ROM of this ROM 3 has a C
Various control programs of the PU 1 are stored, and the font ROM of the ROM 3 stores font data and the like used in the above document processing. Further, the data ROM of the ROM 3 stores various data (for example, image data, character data, graphic data, etc.) used when performing the document processing and the like.

【0017】2はRAMで、CPU1の主メモリ、ワー
クエリア等として機能しており、必要に応じて外部メモ
リ11よりアプリケーション・プログラムをロードし
て、CPU1が実行することもできる。5はキーボード
コントローラ(KBC)で、キーボード(KB)9や不
図示のポインティングデバイスからの入力を制御する。
6はCRTコントローラ(CRTC)で、CRTディス
プレイ(CRT)10への表示を制御する。7はメモリ
コントローラ(MC)で、ブートプログラム、種々のア
プリケーション、フォントデータ、ユーザファイル、編
集ファイル等を記憶するハードディスク(HD)、フロ
ッピーディスク(FD)等の外部メモリ11へのアクセ
スを制御する。8はプリンタ・コントローラ(PRT
C)で、所定の双方向性インターフェース(インターフ
ェース)21を介してプリンタ1500に接続されて、
プリンタ1000との間での通信制御処理を実行する。
なお、CPU1は、例えばRAM2上に設定された表示
情報RAMへのアウトラインフォントの展開(ラスタラ
イズ)処理を実行し、CRT10上でのWYSIWYG
を可能としている。また、CPU1は、CRT10の不
図示のマウスカーソル等で指定されたコマンドに基づい
て登録された種々のウインドウを開き、種々のデータ処
理を実行する。
Reference numeral 2 denotes a RAM, which functions as a main memory, a work area, etc. of the CPU 1. The application program can be loaded from the external memory 11 and executed by the CPU 1 if necessary. A keyboard controller (KBC) 5 controls inputs from a keyboard (KB) 9 and a pointing device (not shown).
A CRT controller (CRTC) 6 controls display on a CRT display (CRT) 10. A memory controller (MC) 7 controls access to an external memory 11 such as a hard disk (HD) or a floppy disk (FD) for storing a boot program, various applications, font data, user files, edit files and the like. 8 is a printer controller (PRT)
C) is connected to the printer 1500 via a predetermined bidirectional interface 21,
A communication control process with the printer 1000 is executed.
The CPU 1 executes, for example, a process (rasterize) of the outline font to the display information RAM set in the RAM 2, and the WYSIWYG on the CRT 10 is executed.
Is possible. Further, the CPU 1 opens various windows registered based on a command designated by a mouse cursor (not shown) of the CRT 10 and executes various data processing.

【0018】次にプリンタ1000の構成を説明する。Next, the structure of the printer 1000 will be described.

【0019】プリンタ1000において、12はプリン
タCPUを示し、ROM13のプログラム用ROMに記
憶された制御プログラム等、或いは外部メモリ14に記
憶されてRAM19にダウンロードされた制御プログラ
ム等に基づいて、システムバス15に接続される各種の
デバイスへのアクセスを総括的に制御し、印刷部インタ
ーフェース(I/F)16を介して接続される印刷部
(プリンタエンジン)17に出力情報としての画像信号
を出力する。また、このROM13のプログラムROM
には、後述する図4及び図5のフローチャートで示され
るようなCPU12の制御プログラム等が記憶されてい
る。また、ROM13のフォント用ROMには、上記出
力情報を生成する際に使用するフォントデータ等が記憶
されており、更にROM13のデータ用ROMには、ハ
ードディスク等の外部メモリ14が無いプリンタの場合
には、ホストコンピュータ3000で利用される情報等
が記憶されている。
In the printer 1000, reference numeral 12 denotes a printer CPU, and the system bus 15 is based on a control program stored in the program ROM of the ROM 13 or a control program stored in the external memory 14 and downloaded to the RAM 19. Access to various devices connected to the printer is comprehensively controlled, and an image signal as output information is output to a printing unit (printer engine) 17 connected via a printing unit interface (I / F) 16. In addition, the program ROM of this ROM 13
The control program of the CPU 12 as shown in the flow charts of FIGS. Further, the font ROM of the ROM 13 stores font data and the like used when generating the output information, and the data ROM of the ROM 13 is used in the case of a printer without an external memory 14 such as a hard disk. Stores information used by the host computer 3000.

【0020】CPU12は入力部18を介してホストコ
ンピュータ3000との通信処理が可能となっており、
プリンタ1000の情報等をホストコンピュータ300
0に通知可能に構成されている。19はCPU12の主
メモリ、ワークエリア等として機能するRAMで、図示
しない増設ポートに接続されるオプションRAMによ
り、そのメモリ容量を拡張することができる。尚、RA
M19は、出力情報の展開領域、環境データ格納領域、
ダウンロードデータの格納領域、NVRAM等に用いら
れる。前述したハードディスク(HD)、ICカード等
の外部メモリ14は、メモリコントローラ(MC)20
によりアクセスが制御されている。また、外部メモリ1
4はオプションとして接続され、フォントデータ、エミ
ュレーションプログラム、フォームデータ等を記憶して
いる。また、1012は前述した操作パネルで、操作の
ためのスイッチおよびLED、表示器等が配されてい
る。
The CPU 12 is capable of communicating with the host computer 3000 via the input unit 18,
Information of the printer 1000 and the like are stored in the host computer 300.
0 can be notified. Reference numeral 19 denotes a RAM that functions as a main memory, a work area, etc. of the CPU 12, and its memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). RA
M19 is an expansion area of output information, an environment data storage area,
It is used as a download data storage area, NVRAM, and the like. The external memory 14 such as the hard disk (HD) or IC card described above is a memory controller (MC) 20.
Access is controlled by. In addition, external memory 1
4 is connected as an option and stores font data, emulation program, form data and the like. Reference numeral 1012 denotes the above-mentioned operation panel, on which switches for operation, LEDs, a display and the like are arranged.

【0021】また、前述した外部メモリ14は1個に限
らず、少なくとも1個以上備え、フォントROMに記憶
されている内蔵フォントに加え、オプションフォントカ
ード、言語系の異なるプリンタ制御言語を解釈するプロ
グラムを格納した外部メモリを複数接続できるように構
成されていても良い。更に、図示しないNVRAMを有
し、操作パネル1012から入力されたプリンタのモー
ド設定情報を記憶するようにしても良い。
The external memory 14 is not limited to one, but at least one external memory 14 is provided, and in addition to the built-in fonts stored in the font ROM, an optional font card and a program for interpreting printer control languages of different languages. It may be configured so that a plurality of external memories storing the can be connected. Further, it may have an NVRAM (not shown) and store the mode setting information of the printer inputted from the operation panel 1012.

【0022】このように構成された本実施例のプリンタ
装置の処理手順について、以下に説明を行なう。
The processing procedure of the printer apparatus of the present embodiment thus constructed will be described below.

【0023】図3は本発明の一実施例のプリンタ装置に
おけるデータ処理手順の概略を説明する図である。
FIG. 3 is a view for explaining the outline of the data processing procedure in the printer device according to the embodiment of the present invention.

【0024】図3において、4001で、ホストコンピ
ュータ3000よりのデータを入力部18を介して受信
する。次に、4002において、その受信した印刷デー
タが対象としているプリンタのバージョン(以下、プリ
ンタ・バージョンと呼ぶ)およびコマンドのレベルを判
定する。そして4003において、受信した印刷データ
が対象としているプリンタ・バージョンおよびコマンド
のレベルが、実際にその印刷データを受信したプリンタ
装置1000のプリンタ・バージョンおよびコマンドレ
ベルと異なるかどうかを判定する。そして異なっていた
場合には、受信した印刷データの変換処理等を行なった
後、コマンド解析および描画処理実行部に、その受信し
た印刷データを送出して印刷を行う。
In FIG. 3, at 4001, data from the host computer 3000 is received via the input unit 18. Next, at 4002, the version of the printer targeted by the received print data (hereinafter referred to as the printer version) and the command level are determined. Then, in 4003, it is determined whether or not the target printer version and command level of the received print data are different from the printer version and command level of the printer apparatus 1000 which actually received the print data. If they are different, the received print data is converted to print data, and then the received print data is sent to the command analysis and drawing processing execution unit for printing.

【0025】以下、詳しく説明する。A detailed description will be given below.

【0026】図4は、図3のブロック4002で示され
たプリンタ・バージョンの決定処理手順の詳細を示すフ
ローチャートで、この処理を実行する制御プログラムは
プリンタ装置1000のプログラムROMに記憶され、
CPU12の制御の下に実行される。
FIG. 4 is a flow chart showing the details of the printer version determination processing procedure shown in block 4002 of FIG. 3. The control program for executing this processing is stored in the program ROM of the printer 1000.
It is executed under the control of the CPU 12.

【0027】まずステップS1において、ホストコンピ
ュータ3000より受信した印刷データに、その印刷デ
ータを印刷できるプリンタ・バージョンおよびコマンド
レベルを指定する情報が含まれているかどうかを判定す
る。この情報が含まれているときはステップS5に進
み、その指示されたプリンタ・バージョン及びコマンド
レベルに基づいて、その印刷データを処理するためのプ
リンタ・バージョン及びコマンドレベルを決定する。
First, in step S1, it is determined whether or not the print data received from the host computer 3000 includes information designating a printer version and a command level at which the print data can be printed. When this information is included, the process proceeds to step S5, and the printer version and command level for processing the print data are determined based on the instructed printer version and command level.

【0028】一方、ステップS1で、受信した印刷デー
タにプリンタ・バージョン等に関するデータが含まれて
いルかを判断し、含まれていない時はステップS2に進
み、その受信した印刷データに含まれるコマンドやパラ
メータに基づいて、その印刷データの特徴を抽出する。
そしてステップS3に進み、その印刷データを印刷でき
るプリンタ・バージョンが決定されたかを調べ、決定で
きない時はステップS4で、プリンタ装置1000より
ホストコンピュータ3000に問合わせる。このよう
に、プリンタ装置1000で一意にプリンタ・バージョ
ンを決定できない時は、ホストコンピュータ3000よ
りのプリンタ・バージョン情報の受信を待って、ステッ
プS5で、その印刷データを処理するためのプリンタ・
バージョンを決定する。
On the other hand, in step S1, it is judged whether or not the received print data includes data relating to the printer version, and if not, the process proceeds to step S2, in which the command included in the received print data is entered. The characteristics of the print data are extracted based on the or parameter.
Then, the process proceeds to step S3, and it is checked whether a printer version capable of printing the print data has been determined. If the printer version cannot be determined, the printer apparatus 1000 inquires the host computer 3000 at step S4. In this way, when the printer device 1000 cannot uniquely determine the printer version, it waits for the reception of the printer version information from the host computer 3000, and in step S5, the printer version for processing the print data is waited for.
Determine the version.

【0029】このプリンタ・バージョン及びコマンドレ
ベルに関するデータは、通常、一塊の印刷データ(1ジ
ョブ)の最初に送信されるジョブ開始命令に記述されて
いるが、このデータは省略可能である。従って、このデ
ータが省略された場合には、そのコマンドレベルは最も
低いコマンドレベルに設定するように決められている。
これにより、その印刷データを処理するためのコマンド
レベルは一意に決定される。しかし、プリンタ・バージ
ョンについては異なり、そのプリンタ・バージョンに関
する情報が省略されている時は、そのプリンタ・バージ
ョンは、その時点で接続されているプリンタ装置100
0のプリンタ・バージョンとなるために一意には決まら
ない。
The data relating to the printer version and the command level is usually described in the job start command transmitted at the beginning of one block of print data (one job), but this data can be omitted. Therefore, if this data is omitted, the command level is set to the lowest command level.
As a result, the command level for processing the print data is uniquely determined. However, the printer version is different, and when the information about the printer version is omitted, the printer version indicates the printer device 100 currently connected.
The printer version is 0, so it cannot be uniquely determined.

【0030】そこで、ホストコンピュータ3000より
の印刷データの中で、プリンタ・バージョンに関する情
報が省略されている場合には、その印刷データを受信し
たプリンタ装置1000において、その印刷データに含
まれるコマンドやパラメータ等から、その印刷データの
特徴を抽出し(S2)、その特徴に基づいて印刷に使用
するプリンタ装置のプリンタ・バージョンを決定する必
要がある。
Therefore, when the information about the printer version is omitted in the print data from the host computer 3000, the command and parameter included in the print data are received by the printer device 1000 which received the print data. It is necessary to extract the characteristics of the print data from the above (S2) and determine the printer version of the printer device used for printing based on the characteristics.

【0031】これには、各プリンタ・バージョンにおい
て必ずしもサポートされていない、機種依存のコマンド
等のコマンドテーブルを用いて、その印刷データを印刷
できるプリンタ・バージョンを限定していく方法があ
る。このような方法を用いても、印刷できるプリンタ・
バージョンが決定できない場合にはステップS3よりス
テップS4に進み、双方向インターフェースを介して、
プリンタ装置1000よりホストコンピュータ3000
に、その印刷データが対象としているプリンタ・バージ
ョンを問い合わせる。実際には、プリンタドライバのバ
ージョン情報或はそのドライバの名称等により、その印
刷データを印刷できるプリンタ・バージョンを判断する
ことができる。
For this purpose, there is a method of limiting the printer version that can print the print data by using a command table such as a model-dependent command which is not necessarily supported by each printer version. Printers that can print even with such methods
If the version cannot be determined, the process proceeds from step S3 to step S4, through the bidirectional interface,
From the printer 1000 to the host computer 3000
The printer version targeted by the print data. Actually, the printer version that can print the print data can be determined from the version information of the printer driver or the name of the driver.

【0032】以上の処理により、受信した印刷データが
対象としているプリンタ装置のプリンタ・バージョンを
決定することができる。
By the above processing, the printer version of the printer device targeted by the received print data can be determined.

【0033】図5は、図3のブロック4003で示され
たデータ変換処理の手順の詳細を説明するためのフロー
チャートである。
FIG. 5 is a flow chart for explaining the details of the procedure of the data conversion processing shown in block 4003 of FIG.

【0034】まずステップS11で、その印刷データを
受信して印刷しようとしているプリンタ装置1000の
プリンタ・バージョンと、その印刷データを処理できる
プリンタ・バージョン及びコマンドレベルが同じかどう
かを判定する。同じであればステップS14のデータ変
換処理を行なう必要がないため何もせずに処理を終了す
る。
First, in step S11, it is determined whether or not the printer version of the printer device 1000 which is to receive the print data and prints is the same as the printer version and command level capable of processing the print data. If they are the same, there is no need to perform the data conversion process of step S14, and the process is terminated without doing anything.

【0035】ステップS11でプリンタ・バージョン或
はコマンドレベルが異なる場合にはステップS12に処
理を進め、ROM13のデータROMまたはRAM19
に格納されているコマンドテーブル131(ここではデ
ータROMに記憶されている場合で説明する)をサーチ
する。このコマンドテーブル131には、現在のプリン
タ装置1000のプリンタ・バージョン或はコマンドレ
ベルではサポートしていないコマンドや、コマンド内パ
ラメータがテーブル形式で格納されている。また、これ
らのコマンドテーブル131には、各コマンドに対応し
た処理テーブル132も用意されている。この処理テー
ブル132は、各コマンドに対応してその処理の内容な
どを記憶するもので、実際にはその処理を実行する関数
のポインタなどが記憶されている。そして、この処理テ
ーブル132には、あるコマンドレベルが、その時点の
プリンタ装置1000のコマンドレベルに変換できる場
合、又は、その時点のコマンドの組合せにより受信した
印刷データに対処できる場合には、その対処するための
コマンド列が格納されている。
If the printer version or the command level is different in step S11, the process proceeds to step S12, and the data ROM of the ROM 13 or the RAM 19 is stored.
The command table 131 (which will be described here when it is stored in the data ROM) is searched. In this command table 131, commands that are not supported at the current printer version or command level of the printer device 1000 and parameters within commands are stored in a table format. In addition, in these command tables 131, a processing table 132 corresponding to each command is also prepared. The processing table 132 stores the contents of the processing corresponding to each command, and actually stores the pointer of a function that executes the processing. In the processing table 132, when a certain command level can be converted into the command level of the printer apparatus 1000 at that time, or when the print data received by the combination of the commands at that time can be dealt with, the handling is performed. Stores the command sequence for executing.

【0036】更に、そのコマンドテーブル131では、
現時点のコマンドでは必要のないコマンドや、あるコマ
ンドに対して対処が不可能で読み飛ばすしかないコマン
ドに対応する項目には、読み飛ばしのためのフラグが立
っている。そこで、ステップS13において、コマンド
テーブル131に、現在印刷データを処理するのに使用
されるコマンドが存在した場合にはステップS14に進
み、対応するコマンドテーブル131の指示に従ってデ
ータの変換処理を行なう。これにより、その受信した印
刷データが対象としているプリンタ・バージョン及びコ
マンドレベルが、その印刷データを受信したプリンタ装
置1000のプリンタ・バージョン及びコマンドレベル
とが異なるような場合にも、その受信した印刷データの
コマンドに対処することができる。
Furthermore, in the command table 131,
A flag for skipping is set for items that correspond to commands that are not necessary for the current command or commands that cannot be dealt with and are skipped. Therefore, in step S13, if there is a command currently used to process the print data in the command table 131, the process proceeds to step S14, and the data conversion process is performed according to the instruction of the corresponding command table 131. As a result, even if the printer version and command level targeted by the received print data are different from the printer version and command level of the printer apparatus 1000 that received the print data, the received print data Command can be dealt with.

【0037】尚、具体的なコマンドの変更例としては、
フォントデータをその名称で選択する場合、古いバージ
ョンにおいてはビットマップフォントだったものを、新
しいバージョンではスケーラブルフォントに変更するこ
とが考えられる。またフォントの名称が変更される場合
は、従来の名称から新規の名称へ置き換える。更に、ス
ケーラブルフォントに変更する場合では、スケラーブル
フォントの場合では文字サイズの設定を行なわなくては
ならないために、文字サイズの設定命令を付加するよう
に、受信したコマンドデータを変換すること等が考えら
れる。このようにしてコマンドテーブル131および処
理テーブル132を作成する。
As a concrete example of changing the command,
When selecting font data by its name, it is possible to change from a bitmap font in the old version to a scalable font in the new version. When the font name is changed, the conventional name is replaced with the new name. Furthermore, when changing to a scalable font, it is necessary to set the character size in the case of a scalable font, so it is possible to convert the received command data so as to add a character size setting command. Conceivable. In this way, the command table 131 and the processing table 132 are created.

【0038】またこれらのコマンドテーブル131を、
プリンタ装置1000の外部のホストコンピュータ30
00などよりダウンロードしたり、或は拡張用データ・
カードの形式で装着できるように構成しておく。これに
より、プリンタ装置1000では、データ処理の手順を
示すプログラムのみを内蔵しておき、コマンドテーブル
131や、それに対応する処理テーブル132を、ユー
ザによる使用環境に合わせて設けることができるように
なる。
Further, these command tables 131 are
A host computer 30 external to the printer 1000
00, etc., or download data for expansion.
It is configured so that it can be installed in the form of a card. As a result, in the printer apparatus 1000, only the program showing the procedure of data processing is built in, and the command table 131 and the processing table 132 corresponding thereto can be provided according to the usage environment by the user.

【0039】これにより、ユーザによる使用環境に合わ
せた印刷処理を行なうことができ、高速なデータ処理が
実現できる。また、前述のコマンドテーブル131は、
プリンタ・バージョン及びコマンドレベルの違いをサポ
ートするだけでなく、ホストコンピュータ3000のア
プリケーションにより実行されるプリンタドライバの不
具合、さらには、プリンタ装置1000事態の不具合の
修正にも利用できるようにしても良い。
As a result, it is possible to perform the printing process according to the usage environment of the user, and it is possible to realize high-speed data processing. Further, the command table 131 described above is
Not only the difference between the printer version and the command level is supported, but also the defect of the printer driver executed by the application of the host computer 3000 and further the defect of the printer 1000 may be corrected.

【0040】前述の実施例では、プリンタ・バージョン
及びコマンドレベルを設定する情報は、プリンタに内蔵
されている構成を取っていたために、印刷に使用される
プリンタ装置のプリンタ・バージョン及びコマンドレベ
ルが固定であるとして説明を行なった。しかし、このよ
うなプリンタ・バージョン等を設定する情報が、ホスト
コンピュータ等よりダウンロードされるか、或は拡張メ
モリカード等により供給される場合には、プリンタ装置
におけるプリンタ・バージョン及びコマンドレベルが固
定でなくなることが考えられる。従って、このような場
合のデータ処理手順について以下に説明する。
In the above-described embodiment, since the information for setting the printer version and the command level has a structure built in the printer, the printer version and the command level of the printer device used for printing are fixed. The explanation is given as follows. However, when such information for setting the printer version and the like is downloaded from the host computer or supplied from an expansion memory card or the like, the printer version and command level in the printer device are fixed. It is possible that it will disappear. Therefore, the data processing procedure in such a case will be described below.

【0041】まず、受信した印刷データの処理に先立っ
て、ホストコンピュータ3000に接続されているプリ
ンタ装置1000のプリンタ・バージョン及びコマンド
レベルを問い合わせる。これにより、その時点で接続さ
れているプリンタ装置1000のバージョンが予めホス
トコンピュータ3000に記憶される。この場合の、デ
ータ処理の概略等は、前述の実施例で説明した通りであ
る。
First, prior to processing the received print data, the printer version and command level of the printer device 1000 connected to the host computer 3000 is inquired. As a result, the version of the printer device 1000 connected at that time is stored in advance in the host computer 3000. In this case, the outline of data processing and the like are as described in the above embodiment.

【0042】ここでは、印刷データの出力対象であるプ
リンタ装置1000のプリンタ・バージョン及びコマン
ドレベルを決定した後のデータ処理手順について図6に
示すフローチャートを用いて説明する。
Here, the data processing procedure after determining the printer version and command level of the printer 1000 as the output target of print data will be described with reference to the flowchart shown in FIG.

【0043】印刷データを受信したプリンタ装置100
0のプリンタ・バージョン及びコマンドレベルが、その
印刷データが意図しているプリンタ・バージョン及びコ
マンドレベルと異なっていた場合はまずステップS21
において、データROMのコマンドテーブル131をサ
ーチする。次にステップS22に進み、コマンドテーブ
ル131に現在処理中のコマンドが存在しているかどう
かを判断し、存在している時はステップS23に進み、
コマンドテーブル131のプリンタ・バージョン及びコ
マンドレベルに関する情報を判別し、印刷データのバー
ジョン及びコマンドレベルに該当するものであればステ
ップ124に進み、処理テーブル132をサーチする。
Printer device 100 that received the print data
If the printer version and command level of 0 are different from the intended printer version and command level of the print data, first step S21.
In, the command table 131 of the data ROM is searched. Next, in step S22, it is determined whether or not there is a command currently being processed in the command table 131. If yes, the process advances to step S23.
Information regarding the printer version and command level in the command table 131 is discriminated. If the information corresponds to the version and command level of the print data, the process proceeds to step 124 and the processing table 132 is searched.

【0044】ここで前述の実施例では、処理テーブル1
32は1つであったが、ここでは接続されているプリン
タ装置1000のプリンタ・バージョンごとに処理テー
ブル132が用意されている。そこで、ステップS24
において、その時点でホストコンピュータ3000に接
続されているプリンタ装置1000のプリンタ・バージ
ョン及びコマンドレベルの処理テーブル132が存在す
るかを判断し、存在する時は、その処理テーブル132
の内容に従ってデータ変換処理を行なう。
Here, in the above-described embodiment, the processing table 1
Although there is one 32, here, the processing table 132 is prepared for each printer version of the connected printer device 1000. Therefore, step S24
At that time, it is determined whether or not there is a printer version and command level processing table 132 of the printer apparatus 1000 connected to the host computer 3000, and if there is, that processing table 132.
Data conversion processing is performed according to the contents of.

【0045】このように、その時点で接続されているプ
リンタ・バージョンに対応する複数の処理テーブル13
2が存在するような構成の場合には、予めコマンドい対
する処理テーブル132を限定する手段を用意し、ある
コマンドに対する処理テーブル132を限定しておくこ
とにより、前記実施例の処理手順とすることも可能であ
る。
In this way, a plurality of processing tables 13 corresponding to the printer versions currently connected are
In the case of the configuration in which 2 exists, the processing procedure of the above-described embodiment is achieved by preparing means for limiting the processing table 132 for the command in advance and limiting the processing table 132 for a certain command. Is also possible.

【0046】以上の説明では、プリンタ装置1000に
上述の実施例の処理を実行するデータ処理装置を内蔵す
る場合について説明を行なったが、この機能をホストコ
ンピュータ3000に設けるようにしても、また、独立
して存在するようにしても良い。また、これらのデータ
処理装置を複数箇所に設け、処理速度の最も早いデータ
処理装置で処理するよう構成することも可能である。
In the above description, the case where the printer 1000 incorporates the data processing device for executing the process of the above-described embodiment has been described. However, even if this function is provided in the host computer 3000, You may make it exist independently. Further, it is also possible to provide these data processing devices at a plurality of locations so that the data processing device having the highest processing speed is used for processing.

【0047】[第2実施例]以下、図7に示すデータ処
理手順を説明する処理の流れ図を用いて、本発明の第2
実施例を説明する。ここでは文字のコード体系に対象を
絞って説明を行なう。プリンタ装置1000の使われ方
としては、ホストコンピュータ3000のCRT10の
画面のハードコピーや、文字コードのみからなるテキス
トデータファイルをプリンタ装置1000に送る場合に
は、通常、プリンタ装置1000の制御コマンドは付加
されず、文字コードのみがプリンタ装置1000に送ら
れてくる。この時、文字のコード体系は、ホストコンピ
ュータ3000によって、或いは、アプリケーションに
よって異なるために、正しい出力結果を得られない場合
も多々あった。このようなデータの場合には、予め文字
のコード体系を送出元に双方向インターフェースを介し
て問い合わせてデータ処理することにより、正しい出力
を得られるよう構成したデータ処理装置について説明す
る。尚、この第2実施例の基本的な構成は、前述の実施
例と同様であるので、その説明を省略する。
[Second Embodiment] The second embodiment of the present invention will be described below with reference to the flow chart of processing for explaining the data processing procedure shown in FIG.
An example will be described. Here, the description is focused on the character code system. As a method of using the printer device 1000, when a hard copy of the screen of the CRT 10 of the host computer 3000 or a text data file consisting of only character codes is sent to the printer device 1000, the control command of the printer device 1000 is usually added. Instead, only the character code is sent to the printer 1000. At this time, since the character code system differs depending on the host computer 3000 or the application, there are many cases where a correct output result cannot be obtained. In the case of such data, a data processing device configured to obtain a correct output by inquiring a character code system in advance from a transmission source through a bidirectional interface and processing the data will be described. Since the basic structure of the second embodiment is the same as that of the above-mentioned embodiment, its explanation is omitted.

【0048】まず、5001のデータ受信において、ホ
ストコンピュータ3000よりの印刷データを受信し、
5002の文字コード判定処理において文字コードであ
ると判定された場合には、5003の文字コード体系問
い合わせ手段によって、文字コード体系を問い合わせ
る。ここで、文字コード体系の問い合わせとは、アプリ
ケーションを介していれば、そのアプリケーションのプ
リンタドライバから情報を得る。一方、アプリケーショ
ンを介していない場合には、ホストコンピュータ300
0の種類から文字コードの体系を判別する。
First, in the data reception of 5001, the print data from the host computer 3000 is received,
When it is determined that the character code is the character code in the character code determination processing of 5002, the character code system inquiring unit 5003 inquires about the character code system. Here, with respect to the inquiry about the character code system, if it is through an application, information is obtained from the printer driver of the application. On the other hand, when no application is used, the host computer 300
The character code system is determined from the type of 0.

【0049】ここで、受信した文字のコード体系が判別
され、プリンタ装置1000のデフォルトの文字コード
体系と合っていればデータ変換処理を行なうことなく、
プリンタ装置1000の描画処理部へ印刷データを送出
する。プリンタ装置1000は、印刷データの文字コー
ド体系をサポートしているが、デフォルト、または現在
サポートされているコード体系と異なる場合には、プリ
ンタ装置1000のコマンド解析部に対して文字コード
体系を設定する制御コマンドを送出する。さらに、プリ
ンタ装置1000がサポートしていない文字コード体系
であった場合には、文字コードデータの変換処理を行な
い、プリンタ装置1000で正しく印刷できる文字コー
ド体系へデータ変換する。
Here, the code system of the received character is discriminated, and if it matches with the default character code system of the printer apparatus 1000, the data conversion process is not performed,
The print data is sent to the drawing processing unit of the printer apparatus 1000. The printer apparatus 1000 supports the character code system of print data, but if the code system is different from the default or currently supported code system, the character code system is set to the command analysis unit of the printer apparatus 1000. Send control commands. Furthermore, if the character code system is not supported by the printer apparatus 1000, character code data conversion processing is performed to perform data conversion into a character code system that can be printed correctly by the printer apparatus 1000.

【0050】以上の構成により、限定された文字コード
のみを印刷可能なプリンタ装置1000に対しても、各
種アプリケーションやホストコンピュータ3000から
出力される文字のコード体系を意識することなく、文字
コードのみの印刷データを送出することが可能である。
尚、ここでいう文字コード体系とは、主に漢字コード体
系を指し、JISやシフトJIS、EUCなどホストコ
ンピュータに依存するものから、更には、JISコード
での、年度による並びの違いや、各会社毎に限定されて
いる拡張文字コード等も含める。また、ここでは文字コ
ードの印刷データに適用するよう説明を行なったが、こ
のような印刷データに限定されるものではなく、各種デ
ータに対しても適用可能であることはいうまでもない。
With the above configuration, even for the printer apparatus 1000 capable of printing only limited character codes, only the character codes can be printed without being aware of the character code system output from various applications or the host computer 3000. It is possible to send print data.
The character code system here mainly refers to the Kanji code system, which depends on the host computer such as JIS, Shift JIS, EUC, etc., and further, the difference in the arrangement of JIS codes depending on the year, Include extended character codes that are limited to each company. Further, although the description is given here to apply to the print data of the character code, it is needless to say that the present invention is not limited to such print data and can be applied to various data.

【0051】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
してもよい。また本発明は、システム或は装置に本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できる。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. The present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0052】以上述べたように本実施例によれば、自動
的にプリンタ装置のプリンタ・バージョン或はコマンド
レベルに対応して適切なデータ処理ができるという効果
がある。
As described above, according to this embodiment, there is an effect that appropriate data processing can be automatically performed corresponding to the printer version or command level of the printer.

【0053】以上述べたように本実施例によれば、文字
コードだけを送った場合でも適切な文字コード体系に変
換または設定することにより、文字化けのない文字パタ
ーンの出力ができるという効果がある。
As described above, according to this embodiment, even if only the character code is sent, it is possible to output a character pattern without garbled characters by converting or setting the character code system to an appropriate one. .

【0054】[0054]

【発明の効果】以上説明したように本発明によれば、受
信したコードデータのバージョンや制御コマンドレベル
が、装置のバージョンやコマンドレベルと異なる場合で
も、そのコードデータを装置のバージョンやコマンドレ
ベルに適合できるコードに変換して出力することができ
る効果がある。
As described above, according to the present invention, even when the version or control command level of the received code data is different from the version or command level of the device, the code data is set to the version or command level of the device. There is an effect that it can be converted into a compatible code and output.

【0055】また本発明によれば、受信したコードデー
タにバージョンに関する情報が含まれていない時でも、
そのコードデータのバージョンを識別して対処できる効
果がある。
Further, according to the present invention, even when the received code data does not include version information,
There is an effect that the version of the code data can be identified and dealt with.

【0056】また本発明によれば、コードデータの送信
元でサポートしていないコードデータであっても、その
コードデータを受信した装置側で対処できる効果があ
る。
Further, according to the present invention, even if the code data is not supported by the transmission source of the code data, there is an effect that the device side receiving the code data can deal with the code data.

【0057】[0057]

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

【図1】本発明の一実施例の印刷装置の一例を示すレー
ザビームプリンタ装置の構成を示す断面図である。
FIG. 1 is a cross-sectional view showing a configuration of a laser beam printer apparatus showing an example of a printing apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例の印刷システムの構成を示す
ブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a printing system according to an exemplary embodiment of the present invention.

【図3】本発明の一実施例のプリンタ装置におけるデー
タ変換処理手順を説明するブロック図である。
FIG. 3 is a block diagram illustrating a data conversion processing procedure in the printer device according to the embodiment of the present invention.

【図4】本発明の一実施例のプリンタ装置におけるバー
ジョン決定処理の手順を説明するフローチャートであ
る。
FIG. 4 is a flowchart illustrating a procedure of version determination processing in the printer device according to the embodiment of the present invention.

【図5】本発明の一実施例のプリンタ装置におけるデー
タ変換処理の手順を説明するフローチャートである。
FIG. 5 is a flowchart illustrating a procedure of data conversion processing in the printer device according to the embodiment of the present invention.

【図6】本発明の他の実施例のプリンタ装置におけるデ
ータ変換処理の手順を説明するフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of data conversion processing in a printer device according to another embodiment of the present invention.

【図7】本発明の第2の実施例のプリンタ装置における
データ変換処理手順を説明するブロック図である。
FIG. 7 is a block diagram illustrating a data conversion processing procedure in the printer device according to the second embodiment of the present invention.

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

1 ホストCPU 2 RAM 3 ROM 4 システムバス 11,14 外部メモリ 12 プリンタCPU 13 ROM 18 入力部 19 RAM 131 コマンドテーブル 132 処理テーブル 1000 プリンタ装置 1001 プリンタ制御ユニット 1012 操作部 3000 ホストコンピュータ 1 Host CPU 2 RAM 3 ROM 4 System Bus 11, 14 External Memory 12 Printer CPU 13 ROM 18 Input Unit 19 RAM 131 Command Table 132 Processing Table 1000 Printer Device 1001 Printer Control Unit 1012 Operation Unit 3000 Host Computer

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 コードデータを受信し出力情報に変換し
て出力する出力制御装置であって、 前記コードデータのバージョン及び制御コマンドレベル
を識別する識別手段と、 前記識別手段により識別されたバージョン及び制御コマ
ンドレベルと、前記出力制御装置のバージョン及び制御
コマンドレベルとを比較する比較手段と、 前記比較手段により一致していないと判定された場合に
は、受信した前記コードデータを前記出力制御装置のバ
ージョン及び制御コマンドレベルに適合するコードデー
タに変換する変換手段と、を有することを特徴とする出
力制御装置。
1. An output control device for receiving code data, converting the code data into output information, and outputting the output information, the identification means identifying a version of the code data and a control command level, and the version identified by the identification means. The control command level is compared with the output control device version and the control command level, and when the comparison device determines that they do not match, the received code data is stored in the output control device. An output control device comprising: a conversion unit that converts the code data to a version and a control command level.
【請求項2】 前記識別手段は、受信した前記コードデ
ータがバージョンに関する情報を含まない時は、当該コ
ードデータの特徴を抽出して前記コードデータのバージ
ョンを識別することを特徴とする請求項1に記載の出力
制御装置。
2. The identifying means extracts the feature of the code data to identify the version of the code data when the received code data does not include information about the version. The output control device according to.
【請求項3】 前記識別手段は、受信した前記コードデ
ータがバージョンに関する情報を含まない時は、前記コ
ードデータの送信元に問い合わせる手段を有し、前記送
信元よりの応答により前記バージョンを識別することを
特徴とする請求項1に記載の出力制御装置。
3. The identifying means has means for inquiring of a transmission source of the code data when the received code data does not include information about a version, and identifies the version by a response from the transmission source. The output control device according to claim 1, wherein:
【請求項4】 前記識別手段は、受信した前記コードデ
ータが制御コマンドレベルに関する情報を含まない時
は、最も低いコマンドレベルと識別することを特徴とす
る請求項1に記載の出力制御装置。
4. The output control device according to claim 1, wherein the identification means identifies the lowest command level when the received code data does not include information on a control command level.
【請求項5】 前記変換手段は、各バージョンに対応し
て、コードデータと当該コードデータに対応する変換処
理を示すデータを記憶するコマンドテーブルを有し、前
記コマンドテーブルを参照してコードデータを変換する
ことを特徴とする請求項1に記載の出力制御装置。
5. The conversion means has a command table that stores code data and data indicating conversion processing corresponding to the code data corresponding to each version, and refers to the command table to convert the code data. The output control device according to claim 1, wherein the output control device performs conversion.
【請求項6】 前記出力制御装置は、印刷装置に設けら
れており、前記バージョンはプリンタ・バージョンに該
当していることを特徴とする請求項1乃至5のいずれか
1項に記載の出力制御装置。
6. The output control according to claim 1, wherein the output control device is provided in a printing device, and the version corresponds to a printer version. apparatus.
【請求項7】 コードデータを受信し出力情報に変換し
て出力する出力制御装置における出力制御方法であっ
て、 受信したコードデータのバージョン及び制御コマンドレ
ベルを識別する識別工程と、 その識別されたバージョン及び制御コマンドレベルと、
前記出力制御装置のバージョン及び制御コマンドレベル
とを比較する工程と、 その比較工程により一致していないと判定された場合に
は、受信したコードデータを前記出力制御装置のバージ
ョン及び制御コマンドレベルに適合するコードデータに
変換する変換工程と、を有することを特徴とする出力制
御方法。
7. An output control method in an output control device for receiving code data, converting the code data into output information, and outputting the output information, the method comprising: an identifying step of identifying a version and control command level of the received code data; Version and control command level,
If it is determined in the step of comparing the version and the control command level of the output control device and in the comparison step that the received code data is compatible with the version and the control command level of the output control device. And a conversion step of converting the code data into code data.
【請求項8】 前記識別工程では、受信した前記コード
データがバージョンに関する情報を含まない時は、当該
コードデータの特徴を抽出して前記コードデータのバー
ジョンを識別することを特徴とする請求項7に記載の出
力制御方法。
8. The identifying step includes identifying a version of the code data by extracting a feature of the code data when the received code data does not include information about the version. The output control method described in.
【請求項9】 前記識別工程では、受信した前記コード
データがバージョンに関する情報を含まない時は、前記
コードデータの送信元に問い合わせ、前記送信元よりの
応答により前記バージョンを識別することを特徴とする
請求項7に記載の出力制御方法。
9. In the identifying step, when the received code data does not include information about a version, an inquiry is made to a sender of the code data, and the version is identified by a response from the sender. The output control method according to claim 7.
【請求項10】 前記識別工程は、受信した前記コード
データが制御コマンドレベルに関する情報を含まない時
は、最も低いコマンドレベルと識別することを特徴とす
る請求項7に記載の出力制御方法。
10. The output control method according to claim 7, wherein in the identifying step, when the received code data does not include information on a control command level, the code data is identified as the lowest command level.
【請求項11】 前記変換工程では、各バージョンに対
応して、コードデータと当該コードデータに対応する変
換処理を示すデータを記憶するコマンドテーブルを有
し、前記コマンドテーブルを参照してコードデータを変
換することを特徴とする請求項7に記載の出力制御方
法。
11. The conversion step includes a command table for storing code data and data indicating a conversion process corresponding to the code data corresponding to each version, and referring to the command table, the code data is stored. The output control method according to claim 7, wherein conversion is performed.
【請求項12】 前記出力制御装置は、印刷装置に設け
られており、前記バージョンはプリンタ・バージョンに
該当していることを特徴とする請求項7乃至11のいず
れか1項に記載の出力制御方法。
12. The output control according to claim 7, wherein the output control device is provided in a printing device, and the version corresponds to a printer version. Method.
JP7052846A 1995-03-13 1995-03-13 Method and device for controlling output Withdrawn JPH08249138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7052846A JPH08249138A (en) 1995-03-13 1995-03-13 Method and device for controlling output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7052846A JPH08249138A (en) 1995-03-13 1995-03-13 Method and device for controlling output

Publications (1)

Publication Number Publication Date
JPH08249138A true JPH08249138A (en) 1996-09-27

Family

ID=12926216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7052846A Withdrawn JPH08249138A (en) 1995-03-13 1995-03-13 Method and device for controlling output

Country Status (1)

Country Link
JP (1) JPH08249138A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005324553A (en) * 2004-05-13 2005-11-24 Sharp Corp Printing controller, image processor, printer emulation system, printing control method, control program of printing controller and recording medium capable of being read by computer
US7227656B1 (en) 1999-07-14 2007-06-05 Minolta Co., Ltd. Management device and method of print system for updating software programs installed in the print system
JP2009029082A (en) * 2007-07-30 2009-02-12 Seiko Epson Corp Printer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7227656B1 (en) 1999-07-14 2007-06-05 Minolta Co., Ltd. Management device and method of print system for updating software programs installed in the print system
JP2005324553A (en) * 2004-05-13 2005-11-24 Sharp Corp Printing controller, image processor, printer emulation system, printing control method, control program of printing controller and recording medium capable of being read by computer
JP4489636B2 (en) * 2004-05-13 2010-06-23 シャープ株式会社 Print control apparatus, image processing apparatus, printer emulation system, print control method, print control apparatus control program, and computer-readable recording medium
US8437020B2 (en) 2004-05-13 2013-05-07 Sharp Laboratories Of America, Inc. System and method for printer emulation
JP2009029082A (en) * 2007-07-30 2009-02-12 Seiko Epson Corp Printer

Similar Documents

Publication Publication Date Title
EP0750250B1 (en) Print control apparatus, print control method, information processing apparatus, information processing method, and storage medium storing control program
JP3039396B2 (en) Print control apparatus and method
US20050105118A1 (en) Document processing apparatus and document processing method
JP2003044472A (en) Information processor, system for processing information, control method for information processor, storage medium and control program
JPH11134140A (en) Data processor and print controller, data processing method of data processor and of printing controller, and storage medium for computer-readable program
JPH08249138A (en) Method and device for controlling output
JP2005018494A (en) Data processor, method for creating print data, storage medium for storing computer readable program, and program
US8023124B2 (en) Printing apparatus and printing method
JPH08267867A (en) Printing apparatus
US7359089B2 (en) Image processing method and apparatus
US7027170B1 (en) Printing control system for separation printing
JP7316829B2 (en) Information processing device, information processing method, and program
JP3209858B2 (en) Print control device and print control method
JP3056948B2 (en) PRINTING APPARATUS, CONTROLLER THEREOF, AND METHOD OF CONTROLLING PRINTING APPARATUS
JP2000033730A (en) Printer, control thereof and printing system
JP2004126311A (en) Character processor, character processing method, and image forming apparatus
JPH0934658A (en) Information processor and data processing method for this processor
JPH08221236A (en) Printer and data processing method for printer
JP2001092609A (en) Information outputting system, method for controlling the same and recording medium for recording its control program
JPH09207414A (en) Information processing device and method
JP2003223311A (en) Color picture processing method and device, storage medium and its program
JPH0872362A (en) Printing device and control method thereof
JPH09218756A (en) Information processor, printing device, printing system and data processing method for printing system
JPH11338653A (en) Printing method, printer and medium for storing printing program
JPH10333843A (en) Output control device, method therefor, and output system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020604