JPH06332635A - Information processor - Google Patents

Information processor

Info

Publication number
JPH06332635A
JPH06332635A JP5124189A JP12418993A JPH06332635A JP H06332635 A JPH06332635 A JP H06332635A JP 5124189 A JP5124189 A JP 5124189A JP 12418993 A JP12418993 A JP 12418993A JP H06332635 A JPH06332635 A JP H06332635A
Authority
JP
Japan
Prior art keywords
printer
environment
information
host computer
control language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5124189A
Other languages
Japanese (ja)
Other versions
JP3253174B2 (en
Inventor
Nobuhiko Sato
信彦 佐藤
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 JP12418993A priority Critical patent/JP3253174B2/en
Priority to US08/076,785 priority patent/US6667812B1/en
Priority to DE69329587T priority patent/DE69329587T2/en
Priority to EP93304731A priority patent/EP0575172B1/en
Publication of JPH06332635A publication Critical patent/JPH06332635A/en
Priority to HK98116024A priority patent/HK1014777A1/en
Application granted granted Critical
Publication of JP3253174B2 publication Critical patent/JP3253174B2/en
Priority to US10/664,945 priority patent/US7081970B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To contrive matching of the printer environment to a printer connected so that a communication can be executed by selecting automatically a printer driver corresponding to information from plural printer drivers, based on the information stored in a memory of the printer. CONSTITUTION:A host computer 100 and a printer 1500 are connected through a bidirectional interface 13. A CPU 1 of the host computer 100 obtains information related to printer control language from a RAM 16 of the printer 1500. Subsequently, the CPU 1 checks the consistency of a printer driver and the printer 1500, based on the obtained information, while referring to a table (a correspondence table of the information related to the printer control language and the printer driver) on a RAM 3. Next, based on a result of this check, the printer driver corresponding to the highest priority is selected.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、双方向性インターフェ
ースを介して接続されるプリンタ等の出力装置へ情報を
送出する情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for sending information to an output device such as a printer connected via a bidirectional interface.

【0002】[0002]

【従来の技術】従来、ホストコンピュータにインタフェ
ース(例えばセントロニクスインタフェース等)を介し
て接続されるプリンタは、ホストコンピュータから入力
されるデータを解析して、例えばレーザビームプリンタ
の出力データとしてビットマップデータを展開し、この
展開データに基づいて変調されたレーザビームを感光ド
ラムに走査露光して画像データの出力を行うように構成
されている。
2. Description of the Related Art Conventionally, a printer connected to a host computer via an interface (for example, Centronics interface) analyzes data input from the host computer and outputs bitmap data as output data of a laser beam printer, for example. It is configured to develop and scan and expose the photosensitive drum with a laser beam modulated based on the developed data to output image data.

【0003】また、プリンタがエミュレーション機能を
備える場合には、複数のプリンタ制御言語系(コマンド
体系)を処理可能に構成されており、使用者が実行する
アプリケーションプログラムに従ってエミュレーション
モードとネイティブモードとを切り換えながらプリント
処理を実行できるように構成されており、プリンタには
上記プリンタ制御言語を解釈するプログラムを切り換え
るためのスイッチや切り換え指示を行うカードスロット
があらかじめ設けられている。
When the printer has an emulation function, it is configured to be able to process a plurality of printer control language systems (command systems), and switches between the emulation mode and the native mode according to the application program executed by the user. However, the printer is configured to be able to execute print processing, and the printer is provided with a switch for switching a program for interpreting the printer control language and a card slot for issuing a switching instruction in advance.

【0004】[0004]

【発明が解決しようとする課題】ところが、プリンタに
設定されている言語環境の整合性を印字処理前にチェッ
クする機能がないため、プリンタに設定されている言語
環境と、アプリケーションが設定している言語環境が異
なる場合に、プリンタにプリントデータを転送してプリ
ント処理を開始させると、予期しない結果が印字されて
しまうという問題点があった。
However, since there is no function to check the consistency of the language environment set in the printer before the printing process, the language environment set in the printer and the application set it. If the language environment is different and print data is transferred to the printer to start the print processing, an unexpected result may be printed.

【0005】このように、プリンタ制御言語を使い分け
るプリントシステム環境下(複数のプリントドライバを
選択実行できる環境下)においては、使用者によるハー
ド的な環境設定に依存して使用するプリンタ制御言語が
確定されてしまうので、ホストコンピュータとプリンタ
とで指定されたプリンタ制御言語環境が不整合となる場
合には、整合性をとるための救済手段がないため、印字
不良となってしまい、プリンタの配設位置がホストコン
ピュータから離れた位置にあって、ページ数の多いプリ
ントデータを処理した場合には、その状態を容易に検出
できないため、印字無駄が発生して、紙資源を無駄に消
費してしまう等の重大な問題が生じる。
As described above, in the print system environment in which the printer control language is selectively used (the environment in which a plurality of print drivers can be selectively executed), the printer control language to be used is determined depending on the hardware environment setting by the user. If the printer control language environment specified by the host computer and the printer is inconsistent, there is no remedy to maintain consistency, resulting in defective printing, and the printer installation When the print data having a large number of pages is located at a position away from the host computer, the state cannot be detected easily, so that print waste occurs and paper resources are wastefully consumed. A serious problem such as occurs.

【0006】さらに、上記のような言語環境を切り換え
る際に、メモリ環境を解放すると、設定されているプリ
ンタのメモリ内のプリンタ設定内容(フォーム,外字,
RAMの各メモリ設定)が書き換えられて消失しまうた
め、同一言語環境に再び切り換わっても、上記フォー
ム,外字等の情報を再現することができなくなってしま
うとともに、RAMのメモリマップも正常に再現されな
くなってしまい、切り換え前の環境状態での印字を保証
できなくなってしまう。
Further, when the memory environment is released when switching the language environment as described above, the printer setting contents (form, external character,
Since each memory setting of RAM) is rewritten and lost, even if the environment is switched to the same language again, the information such as the above forms and external characters cannot be reproduced, and the memory map of RAM is also normally reproduced. Printing is not performed, and it is no longer possible to guarantee printing in the environmental state before switching.

【0007】一方、環境切り換え前の状態を維持するよ
うにメモリ環境を制御すると、切り換え後に使用できる
メモリ空間がかなり限定されるため、切り換え後の環境
下における記録処理効率が著しく低下してしまう等の問
題点があった。
On the other hand, if the memory environment is controlled so as to maintain the state before the environment switching, the memory space that can be used after the switching is considerably limited, so that the recording processing efficiency in the environment after the switching is significantly reduced. There was a problem.

【0008】本発明は、上記の問題点を解決するために
なされたもので、双方向性インターフェースを介して接
続されるプリンタとの環境設定状態の整合性を判定し
て、プリンタ側のプリンタ制御言語データに適合するプ
リンタドライバを自動選択することにより、通信可能に
接続されたプリンタとのプリンタ環境の整合を図ること
ができる情報処理装置を提供することおよび双方向性イ
ンターフェースを介して接続されるプリンタとの環境切
り換え状態を監視して、プリンタのメモリに設定されて
いるプリンタ環境情報を再設定可能に登録管理すること
により、一度設定された言語毎のプリンタ環境をプリン
タに対して再現性良く管理設定できる情報処理装置を提
供することを目的とする。
The present invention has been made to solve the above problems, and determines the consistency of the environment setting state with a printer connected through a bidirectional interface to control the printer on the printer side. Providing an information processing device capable of matching the printer environment with a communicatively connected printer by automatically selecting a printer driver suitable for language data, and connecting via a bidirectional interface By monitoring the environment switching status with the printer and registering and managing the printer environment information set in the printer's memory so that it can be reset, the printer environment for each language once set can be reproduced with good reproducibility. An object is to provide an information processing device that can be managed and set.

【0009】[0009]

【課題を解決するための手段】上記目的を達成する本発
明の情報処理装置は以下に示す構成を備える。即ち、双
方向性インターフェースを介して接続される印刷装置の
メモリに格納されている複数の情報の内、最も優先順位
の高い情報を取得する取得手段と、前記取得手段で取得
した情報に対応するプリンタドライバが存在するか否か
を判断する判断手段と、前記判断手段の判断結果に基づ
いて、最も優先順位の高い情報に対応するプリンタドラ
イバを選択する選択手段とを備える。
An information processing apparatus of the present invention that achieves the above object has the following configuration. That is, it corresponds to the acquisition unit that acquires the highest priority information among the plurality of information stored in the memory of the printing apparatus connected via the bidirectional interface, and the information acquired by the acquisition unit. The printer includes a determination unit that determines whether or not a printer driver exists, and a selection unit that selects the printer driver corresponding to the information with the highest priority based on the determination result of the determination unit.

【0010】また、上記目的を達成する本発明の情報処
理装置は以下に示す構成を備える。即ち、双方向性イン
ターフェースを介して接続される印刷装置のメモリに格
納されている複数の情報を取得する取得手段と、前記取
得手段で取得した前記複数の情報に対応するプリンタド
ライバが存在するか否かを判断する判断手段と、前記判
断手段の判断結果に基づいて、最も優先順位の高いプリ
ンタドライバを選択する選択手段とを備える。
An information processing apparatus of the present invention that achieves the above object has the following configuration. That is, is there an acquisition unit for acquiring a plurality of information stored in the memory of the printing apparatus connected via the bidirectional interface and a printer driver corresponding to the plurality of information acquired by the acquisition unit? And a selection unit for selecting the printer driver having the highest priority based on the determination result of the determination unit.

【0011】[0011]

【作用】かかる構成において、双方向性インターフェー
スを介して接続される印刷装置のメモリに格納されてい
る情報を取得し、該取得した情報に基づいて、複数のプ
リンタドライバから該情報に対応するプリンタドライバ
を自動選択する。
In such a configuration, the information stored in the memory of the printing device connected via the bidirectional interface is acquired, and a printer corresponding to the information is acquired from a plurality of printer drivers based on the acquired information. Automatically select the driver.

【0012】[0012]

【実施例】本実施例の構成を説明する前に、本実施例を
適用するに好適なレーザビームプリンタおよびインクジ
ェットプリンタの構成について図1〜図3を参照しなが
ら説明する。なお、本実施例を適用するプリンタは、レ
ーザビームプリンタおよびインクジェットプリンタに限
られるものではなく、他のプリント方式のプリンタでも
良いことは言うまでもない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the configuration of this embodiment, the configurations of a laser beam printer and an inkjet printer suitable for applying this embodiment will be described with reference to FIGS. Needless to say, the printer to which the present embodiment is applied is not limited to the laser beam printer and the inkjet printer, and may be a printer of another printing method.

【0013】図1は本発明を適用可能な第1の記録装置
の構成を示す断面図であり、例えばレーザビームプリン
タ(LBP)の場合を示す。
FIG. 1 is a sectional view showing the structure of a first recording apparatus to which the present invention can be applied, for example, a case of a laser beam printer (LBP).

【0014】図において、1500はLBP本体であ
り、外部に接続されているホストコンピュータから供給
される印刷情報(文字コード等)やフォーム情報あるい
はマクロ命令等を入力して記憶するとともに、それらの
情報に従って対応する文字パターンやフォームパターン
等を作成し、記録媒体である記録紙上に像を形成する。
1501は操作のためのスイッチおよびLED表示器等
が配されている操作パネル、1000はLBP本体15
00全体の制御およびホストコンピュータから供給され
る文字情報等を解析するプリンタ制御ユニットである。
このプリンタ制御ユニット1000は、主に文字情報を
対応する文字パターンのビデオ信号に変換してレーザド
ライバ1502に出力する。レーザドライバ1502は
半導体レ−ザ1503を駆動するための回路であり、入
力されたビデオ信号に応じて半導体レーザ1503から
発射されるレーザ光1504をオン・オフ切り換えす
る。レーザ光1504は回転多面鏡1505で左右方向
に振らされて静電ドラム1506上を走査露光する。こ
れにより、静電ドラム1506上には文字パターンの静
電潜像が形成されることになる。この潜像は、静電ドラ
ム1506周囲に配設された現像ユニット1507によ
り現像された後、記録紙に転写される。この記録紙には
カットシートを用い、カットシート記録紙はLBP15
00に装着した用紙カセット1508に収納され、給紙
ローラ1509および搬送ローラ1510と搬送ローラ
1511とにより、装置内に取り込まれて、静電ドラム
1506に供給される。また、LBP本体1500に
は、図示しないカードスロットを少なくとも1個以上備
え、内蔵フォントに加えてオプションカード,言語系の
異なる制御カード(エミュレーションカード)を接続で
きるように構成されている。
In the figure, reference numeral 1500 denotes an LBP main body, which inputs and stores print information (character code, etc.), form information, macro commands, etc. supplied from an externally connected host computer. A corresponding character pattern, form pattern, or the like is created in accordance with the above, and an image is formed on a recording paper, which is a recording medium.
Reference numeral 1501 is an operation panel on which switches for operation and LED indicators are arranged, and 1000 is an LBP main body 15
00 is a printer control unit for controlling the whole and analyzing character information and the like supplied from the host computer.
The printer control unit 1000 mainly converts character information into a video signal of a corresponding character pattern and outputs it to the laser driver 1502. The laser driver 1502 is a circuit for driving the semiconductor laser 1503, and turns on / off the laser light 1504 emitted from the semiconductor laser 1503 according to the input video signal. The laser light 1504 is oscillated in the left-right direction by the rotary polygon mirror 1505 to scan and expose the electrostatic drum 1506. As a result, an electrostatic latent image having a character pattern is formed on the electrostatic drum 1506. This latent image is developed by a developing unit 1507 arranged around the electrostatic drum 1506 and then transferred to a recording paper. A cut sheet is used as the recording sheet, and the cut sheet recording sheet is LBP15.
The paper is stored in a paper cassette 1508 mounted on paper No. 00, is taken into the apparatus by a paper feed roller 1509, a conveyance roller 1510, and a conveyance roller 1511, and is supplied to the electrostatic drum 1506. Further, the LBP main body 1500 is provided with at least one or more card slots (not shown) so that an option card and a control card (emulation card) having a different language can be connected in addition to the built-in font.

【0015】図2は本発明を適用可能な第2の記録装置
の構成を示す外観図であり、例えばインクジェット記録
装置(IJRA)の場合を示す。
FIG. 2 is an external view showing the configuration of a second recording apparatus to which the present invention can be applied, for example, the case of an ink jet recording apparatus (IJRA).

【0016】図において、駆動モータ5013の正逆回
転に連動して駆動力伝達ギア5011,5009を介し
て回転するリードスクリュー5005の螺旋溝5004
に対して係合するキャリッジHCはピン(図示しない)
を有し、矢印a,b方向に往復移動される。このキャリ
ッジHCには、インクジェットカートリッジIJCが搭
載されている。5002は紙押え板であり、キャリッジ
移動方向にわたって紙をプラテン5000に対して押圧
する。5007,5008はフォトカプラで、キャリッ
ジのレバー5006のこの域での存在を確認して、モー
タ5013の回転方向切り換え等を行うためのホームポ
ジション検知手段として機能する。5016は記録ヘッ
ドの全面をキャップするキャップ部材5022を指示す
る部材、5015はこのキャップ内を吸引する吸引手段
でキャップ内開口5023を介して記録ヘッドの吸引回
復を行う。5017はクリーニングブレードで、部材5
019により前後方向に移動可能となる。5018は本
体支持板で、上記5017,5019を支持する。50
12は、吸引回復の吸引を開始するためのレバーで、キ
ャリッジと係合するカム5020の移動に伴って移動
し、駆動モータからの駆動力がクラッチ切り換え等の公
知の伝達手段で移動制御される。
In the figure, a spiral groove 5004 of a lead screw 5005 that rotates via driving force transmission gears 5011 and 5009 in association with forward and reverse rotations of a drive motor 5013.
The carriage HC that engages with is a pin (not shown)
And is reciprocated in the directions of arrows a and b. An inkjet cartridge IJC is mounted on the carriage HC. A paper pressing plate 5002 presses the paper against the platen 5000 in the carriage movement direction. Reference numerals 5007 and 5008 denote photocouplers, which function as home position detection means for confirming the presence of the carriage lever 5006 in this area and switching the rotation direction of the motor 5013. Reference numeral 5016 is a member that indicates a cap member 5022 that caps the entire surface of the recording head, and 5015 is a suction unit that sucks the inside of the cap, and performs suction recovery of the recording head through the opening 5023 in the cap. 5017 is a cleaning blade, which is a member 5
019 enables movement in the front-back direction. Reference numeral 5018 denotes a main body support plate that supports the above 5017 and 5019. Fifty
Reference numeral 12 is a lever for starting suction for suction recovery, which moves with the movement of the cam 5020 that engages with the carriage, and the driving force from the driving motor is movement-controlled by a known transmission means such as clutch switching. .

【0017】これらのキャッピング,クリーニング,吸
引回復は、キャッリジがホームポジション側領域にきた
ときにリードスクリュー5005の作用によってそれら
の対応位置で所望の処理が行えるように構成されている
が、周知のタイミングで所望動作を行うように構成され
ていればよい。
The capping, cleaning, and suction recovery are configured such that when the carriage comes to the home position side area, desired processing can be performed at the corresponding positions by the action of the lead screw 5005. It suffices if it is configured so as to perform the desired operation.

【0018】図3は、図2に示した第2の記録装置の制
御構成を説明するブロック図である。
FIG. 3 is a block diagram for explaining the control arrangement of the second recording apparatus shown in FIG.

【0019】図において、1700は記録信号を入力す
るインタフェース、1701はMPU、1702は前記
MPU1701が実行する制御プログラム等を格納する
プログラムROM、1703はDRAMで、各種データ
(上記記録信号やヘッドに供給される記録データ等)を
保存しておく。1704は記録ヘッド1708に対する
記録データの供給制御を行うゲートアレイで、インタフ
ェース1700,MPU1701,DRAM1703間
のデータの転送制御も行う。1710は前記記録ヘッド
1708を搬送するためのキャリアモータ、1709は
記録用紙搬送のための搬送モータ、1705は前記記録
ヘッドを駆動するヘッドドライバ、1706は前記搬送
モータ1709を駆動するモータドライバ、1707は
前記キャリアモータ1710を駆動するモータドライバ
である。
In the figure, reference numeral 1700 is an interface for inputting a recording signal, 1701 is an MPU, 1702 is a program ROM for storing a control program executed by the MPU 1701, and 1703 is a DRAM for supplying various data (the above-mentioned recording signal and head are supplied Save the recorded data etc.). A gate array 1704 controls supply of print data to the print head 1708, and also controls data transfer between the interface 1700, the MPU 1701, and the DRAM 1703. Reference numeral 1710 is a carrier motor for conveying the recording head 1708, 1709 is a conveyance motor for conveying recording paper, 1705 is a head driver for driving the recording head, 1706 is a motor driver for driving the conveyance motor 1709, and 1707 is A motor driver for driving the carrier motor 1710.

【0020】このように構成された上記記録装置におい
て、インタフェース1700を介して後述するホストコ
ンピュータ100より記録信号が入力されると、ゲート
アレイ1704とMPU1701との間で記録信号がプ
リント用の記録データに変換される。そして、モータド
ライバ1706,1707が駆動されるとともに、ヘッ
ドドライバ1705に送られた記録データに従って記録
ヘッドが駆動され印字が実行される。
In the recording apparatus thus configured, when a recording signal is input from the host computer 100 described later via the interface 1700, the recording signal is output between the gate array 1704 and the MPU 1701 as print data for printing. Is converted to. Then, the motor drivers 1706 and 1707 are driven, and the recording head is driven according to the recording data sent to the head driver 1705 to execute printing.

【0021】なお、MPU1701はインタフェース1
700を介して後述するホストコンピュータ100との
通信処理が可能となっており、DRAM1703に関す
るメモリ情報および資源データ等を後述するホストコン
ピュータ100に通知可能に構成され、さらに、ホスト
コンピュータ100が接続されたプリンタと通信してプ
リンタ環境設定状態を自動判定して、相互に整合するプ
リンタ環境を自動設定するように構成されている。
The MPU 1701 is an interface 1
Communication processing with a host computer 100 described later is possible via 700, and it is configured such that memory information and resource data regarding the DRAM 1703 can be notified to the host computer 100 described later, and the host computer 100 is connected. It is configured to communicate with the printer to automatically determine the printer environment setting state and automatically set the mutually compatible printer environment.

【0022】また、プリンタ制御言語切り換えに伴っ
て、プリンタのメモリに設定されているデータをホスト
コンピュータ100に一時登録ファイルとして転送し、
プリンタ制御言語切り換え後のプリンタ処理終了後、プ
リンタのプリンタ環境を再起させるために、一時登録フ
ァイルをプリンタに帰還転送して再設定可能に構成され
ている。
In addition, the data set in the printer memory is transferred to the host computer 100 as a temporary registration file in accordance with the printer control language switching,
After the printer processing is completed after switching the printer control language, the temporary registration file is transferred back to the printer and resettable in order to restart the printer environment of the printer.

【0023】〔第1実施例〕図4は本発明の第1実施例
を示すプリンタ制御システムの構成を説明するブロック
図である。ここでは、レーザビームプリンタ(図1)を
例にして説明する。なお、本発明の機能が実行されるの
であれば、単体の機器であっても、複数の機器からなる
システムであっても、LAN等のネットワークを介して
処理が行われるシステムであっても本発明を適用できる
ことは言うまでもない。
[First Embodiment] FIG. 4 is a block diagram for explaining the arrangement of a printer control system according to the first embodiment of the present invention. Here, a laser beam printer (FIG. 1) will be described as an example. As long as the functions of the present invention are executed, the present invention can be applied to a single device, a system including a plurality of devices, or a system in which processing is performed via a network such as a LAN. It goes without saying that the invention can be applied.

【0024】図において、100はホストコンピュータ
で、ROM2に記憶された文書処理プログラムに基づい
て図形,イメージ,文字,表(表計算等を含む)等が混
在した文書処理を実行するCPU1を備え、システムデ
バイス4に接続される各デバイスをCPU1が総括的に
制御する。
In the figure, reference numeral 100 is a host computer, which is provided with a CPU 1 for executing document processing in which graphics, images, characters, tables (including spreadsheets, etc.) are mixed based on a document processing program stored in ROM 2. The CPU 1 generally controls each device connected to the system device 4.

【0025】また、このROM2には、図6、図9、図
11、図12、図13のフローチャートで示されたCP
U1の制御プログラム等を記憶する。3はRAMで、C
PU1の主メモリ,ワークエリア等として機能する。5
はキーボードコントローラ(KBC)で、キーボード9
からのキー入力を制御する。6はCRTコントローラ
(CRTC)で、CRTディスプレイ(CRT)10の
表示を制御する。7はディスクコントローラ(DKC)
で、ブートプログラム,種々のアプリケーション,フォ
ントデータ,ユーザファイル,編集ファイル等、後述す
るプリンタドライバファイル11a等を記憶するハード
ディスク(HD)11,フロッピーディスク(FD)1
2とのアクセスを制御する。8はプリンタコントローラ
(PRTC)で、所定の双方向性インタフェース(イン
タフェース)13を介してプリンタ1500に接続され
て、プリンタ1500との通信制御処理を実行する。8
a,18aはインタフェース回路で、インタフェース1
3を介したプリンタ1500とホストコンピュータ10
0との種々のコマンド通信処理,記録情報処理を制御す
る。
In addition, the CP shown in the flowcharts of FIGS. 6, 9, 11, 12 and 13 is stored in the ROM 2.
The control program of U1 and the like are stored. 3 is RAM, C
It functions as the main memory and work area of PU1. 5
Is a keyboard controller (KBC), keyboard 9
Control keystrokes from. A CRT controller (CRTC) 6 controls the display of a CRT display (CRT) 10. 7 is a disk controller (DKC)
Then, a hard disk (HD) 11 and a floppy disk (FD) 1 for storing a boot driver, various applications, font data, user files, edit files, etc., such as a printer driver file 11a described later.
Control access with 2. A printer controller (PRTC) 8 is connected to the printer 1500 via a predetermined bidirectional interface (interface) 13 and executes communication control processing with the printer 1500. 8
a and 18a are interface circuits, and interface 1
1500 through 3 and host computer 10
Controls various command communication processing with 0 and recording information processing.

【0026】なお、CPU1は、例えばRAM3上に設
定された表示情報RAMへのアウトラインフォントの展
開(ラスタライズ)処理を実行し、CRT10上でのW
YSIWYGを可能としている。また、CPU1は、C
RT10上のマウスカーソル等で指示されたコマンドに
基づいて登録された種々のウインドウを開き、種々のデ
ータ処理を実行する。
The CPU 1 executes the rasterizing process of the outline font in the display information RAM set in the RAM 3, for example, and the W on the CRT 10 is executed.
It enables YSIWYG. Further, the CPU 1 is C
Various windows registered based on commands designated by the mouse cursor or the like on the RT 10 are opened, and various data processes are executed.

【0027】プリンタ1500において、14はプリン
タCPUで、ROM15に記憶された制御プログラム等
に基づいてシステムバス17に接続される各種のデバイ
スとのアクセスを総括的に制御し、印刷部インタフェー
ス19を介して接続される印刷部(プリンタエンジン)
20にプリントデータとしての画像信号を出力する。ま
た、CPU14は入力部18を介してホストコンピュー
タとの通信処理が可能となっており、RAM16に関す
るメモリ情報および資源データ等をホストコンピュータ
100に通知可能に構成されている。16はCPU14
の主メモリ、ワークエリア等として機能するRAMで、
図示しない増設ポートに接続されるオプションRAMに
よりメモリ容量を拡張することができるように構成され
ている。なお、RAM16は、後述する記録データ展開
領域16b、環境データ格納領域16a、NVRAM等
に用いられる。
In the printer 1500, 14 is a printer CPU, which comprehensively controls access to various devices connected to the system bus 17 based on a control program stored in the ROM 15 and the like, and through a printing unit interface 19. Connected printing unit (printer engine)
An image signal as print data is output to 20. Further, the CPU 14 is capable of performing communication processing with the host computer via the input unit 18, and is configured to be able to notify the host computer 100 of memory information and resource data regarding the RAM 16. 16 is the CPU 14
RAM that functions as the main memory, work area, etc. of
The memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 16 is used as a recording data expansion area 16b, an environment data storage area 16a, an NVRAM, etc., which will be described later.

【0028】また、図示しないカードスロットを少なく
とも1個以上備え、内蔵フォントに加えてオプションフ
ォントカード,言語系の異なるプリンタ制御言語を解釈
するプログラムを格納したカード(エミュレーションカ
ード)を接続できるように構成されている。さらに、図
示しないNVRAMを有し、操作パネル1501からの
プリンタモード設定情報を記憶する。
Further, at least one card slot (not shown) is provided so that an optional font card in addition to the built-in font and a card (emulation card) storing a program for interpreting printer control languages of different languages can be connected. Has been done. Further, it has an NVRAM (not shown) and stores printer mode setting information from the operation panel 1501.

【0029】このように構成されたプリンタ制御システ
ムにおいて、CPU1が所定のタイミングでホストコン
ピュータに双方向性インタフェース13を介して接続さ
れるプリンタ1500の後述するRAM16に格納され
ているプリンタ制御言語に関する情報を取得すると、取
得したプリンタ制御言語に関する情報をCPU1が解析
してプリンタドライバの切り換えを指定し、この切換え
指定に従ってCPU1がホストコンピュータ100のプ
リンタドライバ環境を整合設定することにより、通信可
能に接続されたプリンタとホストコンピュータとのプリ
ンタ環境が不整合であっても、整合するプリンタ環境を
自動設定する。なお、上記プリンタ制御言語に関する情
報は、プリンタ1500のROM15に格納されている
プリンタ制御言語を解釈するためのプログラム(エミュ
レーションプログラム)或いは、前述したエミュレーシ
ョンカードに格納されているプリンタ制御言語を解釈す
るためのプログラム(エミュレーションプログラム)を
示す。
In the printer control system configured as described above, the information about the printer control language stored in the RAM 16 described later of the printer 1500 to which the CPU 1 is connected to the host computer via the bidirectional interface 13 at a predetermined timing. , The CPU 1 analyzes the acquired information about the printer control language, specifies the switching of the printer driver, and according to the switching specification, the CPU 1 sets the printer driver environment of the host computer 100 in conformity to establish a communicable connection. Even if the printer environment of the printer and the host computer do not match, the matching printer environment is automatically set. The information about the printer control language is used to interpret the printer control language stored in the ROM 15 of the printer 1500 (emulation program) or the printer control language stored in the emulation card described above. Shows the program (emulation program) of.

【0030】具体的には、双方向性のインタフェース1
3で接続されたホストコンピュータ100とプリンタ1
500のシステムにおいて、複数のプリンタ制御言語系
に対するドライバ(各種プリンタに対応する)が使用で
きる場合に、ホストコンピュータ100のCPU1がプ
リンタ制御言語に関する情報(プリンタ制御言語を解釈
するプログラムを特定する識別情報等)をプリンタ15
00のRAM16から取得し、ホストコンピュータ10
0内のRAM3のワークエリアで、RAM3上のテーブ
ル(プリンタ制御言語に関する情報とプリンタドライバ
の対応表)を参照しながら上記情報に基づいてプリンタ
ドライバとプリンタの制御言語系の整合性をチェック
し、整合がとれない場合には、取得した情報に適合する
プリンタドライバに切り換えて整合性を取る。これによ
り、ユーザはプリンタドライバの選択設定をすることな
く、適切なプリンタドライバによるプリントが可能とな
る。なお、上記プリンタ制御言語に関する情報を取得す
るタイミングは、システムを立ち上げた時(電源をON
にした時)または印刷開始時である。なお、上記RAM
3上のテーブルは、ホストコンピュータ100で使用可
能なプリンタドライバ、それに対応するプリンタ制御言
語に関する情報を表わすものである。このテーブルは、
ホストコンピュータ100の電源立ち上げ時に作成され
る。
Specifically, the bidirectional interface 1
Host computer 100 and printer 1 connected by 3
In the system 500, when drivers for a plurality of printer control language systems (corresponding to various printers) can be used, the CPU 1 of the host computer 100 provides information about the printer control language (identification information that identifies a program that interprets the printer control language). Etc.) to the printer 15
00 from the RAM 16 and the host computer 10
In the work area of the RAM 3 in 0, the consistency between the printer driver and the control language system of the printer is checked on the basis of the above information while referring to the table on the RAM 3 (the information about the printer control language and the correspondence table of the printer driver). If they do not match, the printer driver that matches the acquired information is switched to achieve consistency. As a result, the user can print with an appropriate printer driver without making a selection setting for the printer driver. Note that the timing for acquiring the information about the printer control language is when the system is started (power is turned on).
Or when printing is started. The above RAM
The table on the upper side of FIG. 3 represents information regarding printer drivers usable in the host computer 100 and printer control language corresponding thereto. This table is
It is created when the power of the host computer 100 is turned on.

【0031】以下、図5を参照しながら本発明に係るプ
リンタ制御システムにおけるプリンタ環境整合設定処理
動作について詳述する。
Hereinafter, the printer environment matching setting processing operation in the printer control system according to the present invention will be described in detail with reference to FIG.

【0032】図5は、図4に示したホストコンピュータ
100とプリンタ1500との間におけるプリンタ環境
整合設定を説明するブロック図であり、図4と同一のも
のには同じ符号を付してある。
FIG. 5 is a block diagram for explaining the printer environment matching setting between the host computer 100 and the printer 1500 shown in FIG. 4, and the same parts as those in FIG. 4 are designated by the same reference numerals.

【0033】図において、11aはプリンタドライバフ
ァイルで、ドライブ可能なプリンタ制御言語に対応する
種々のプリンタドライバPRD1〜PRDNが格納され
ており、例えばハードディスク11に登録され、所望と
するプリンタドライバを選択できる。そして、プリンタ
ドライバPRD1〜PRDNをプリンタから取得したプ
リンタ制御言語に関する情報に基づいて適宜切り換えて
印刷処理を実行することができる。なお、プリンタドラ
イバファイル11aに格納されているプリンタドライバ
とそれに対応するプリンタ制御言語の関係は、上述した
RAM3内のテーブル(不図示)に記憶されている。
In the figure, a printer driver file 11a stores various printer drivers PRD1 to PRDN corresponding to drivable printer control languages, and is registered in the hard disk 11, for example, and a desired printer driver can be selected. . Then, the printer driver PRD1 to PRDN can be appropriately switched based on the information about the printer control language acquired from the printer to execute the print processing. The relationship between the printer driver stored in the printer driver file 11a and the corresponding printer control language is stored in the above-mentioned table (not shown) in the RAM 3.

【0034】16aは、例えば第1のプリンタ言語系の
環境データ部で、フォーム(罫線データ)データ,外字
データ,RAMデータ等から構成される後述するRAM
16の環境データ格納領域であり、RAMデータには現
在指定されているプリンタ制御言語に関する情報(例え
ばPRCL1)が設定されている。1501は操作パネ
ルを示し、種々のモード設定のためのキー,エラー回復
のためのキー等が配設されている。Sはカードスロット
で、プリンタ1500をエミュレーション起動する際に
接続される制御カードCが装着され、この制御カードC
が装着されると、例えばPRCL1が指定され、RAM
データに「PRCL1」が設定されるものとする。
Reference numeral 16a denotes, for example, an environment data section of the first printer language system, which is composed of form (ruled line data) data, external character data, RAM data and the like, and will be described later.
This is 16 environment data storage areas, and the RAM data is set with information (for example, PRCL1) relating to the currently designated printer control language. Reference numeral 1501 denotes an operation panel, which is provided with keys for setting various modes, keys for error recovery, and the like. S is a card slot in which a control card C that is connected when the printer 1500 is emulated and activated is mounted.
When is attached, for example, PRCL1 is specified and RAM
It is assumed that “PRCL1” is set in the data.

【0035】ただし、あらかじめエミュレーション制御
情報を複数ROM15に記憶している場合には、例えば
操作パネル1501からの選択指示により、対応する指
定されたプリンタ制御言語に関する情報がRAMデータ
に設定される。
However, when the emulation control information is stored in advance in the plurality of ROMs 15, the information regarding the corresponding designated printer control language is set in the RAM data according to a selection instruction from the operation panel 1501, for example.

【0036】図6は本発明の第1実施例を示すプリンタ
環境整合設定処理手順の一例を示すフローチャートであ
る。なお、S601〜S605は各ステップを示す。
FIG. 6 is a flowchart showing an example of a printer environment matching setting processing procedure showing the first embodiment of the present invention. Note that S601 to S605 indicate each step.

【0037】先ず、ステップS601で、CPU1はプ
リンタ100に制御言語の種別を確認するための問い合
わせ情報として、プリンタ制御言語情報取得要求をコマ
ンドで指示する。ここで、上記取得要求の指示は、例え
ばシステムの立ち上げ時、(例えば電源をONにした
時)あるいは印刷開始命令時等に行われる。この指示に
応じて、ステップS602でホストコンピュータ100
のCPU1が、プリンタ1500のRAM16内の前述
したRMAデータ領域からプリンタ制御言語情報を取得
し、ステップS603で現在ホストコンピュータ100
で選択中のプリンタドライバとプリンタ1500内で現
在設定されているプリンタ制御言語とが整合するかどう
かを取得したプリンタ制御言語情報とをRAM3上のワ
ークエリアで前述したテーブルを参照して判断する。
First, in step S601, the CPU 1 issues a command to the printer 100 as a printer control language information acquisition request as inquiry information for confirming the type of control language. Here, the instruction of the acquisition request is performed, for example, when the system is started up (for example, when the power is turned on) or when a print start command is issued. In response to this instruction, in step S602, the host computer 100
The CPU 1 of the printer 1500 acquires the printer control language information from the above-mentioned RMA data area in the RAM 16 of the printer 1500, and in step S603, the current host computer 100
The printer control language information obtained as to whether or not the selected printer driver matches the printer control language currently set in the printer 1500 is determined by referring to the above-mentioned table in the work area on the RAM 3.

【0038】ステップS603で、プリンタ1500の
プリンタ制御言語とホストコンピュータ100のプリン
タドライバが一致していれば整合処理を終了し、一方、
一致していなければステップS604へ進む。
In step S603, if the printer control language of the printer 1500 and the printer driver of the host computer 100 match, the matching process ends, while
If they do not match, the process proceeds to step S604.

【0039】ステップS604では、プリンタの制御言
語に一致するプリンタドライバを前述したテーブルを参
照して探し、一致するプリンタドライバが存在すればス
テップS605へ進み、存在しなければ処理を終了す
る。
In step S604, the printer driver matching the printer control language is searched for by referring to the above-mentioned table. If a matching printer driver exists, the process proceeds to step S605, and if not, the process ends.

【0040】ステップS605では、CPU1が取得し
たプリンタ制御言語情報に基づいてプリンタドライバの
切り換えを指定し、この切り換え指定に従ってホストの
プリンタドライバ環境を整合設定し処理を終了する。
In step S605, switching of the printer driver is designated based on the printer control language information acquired by the CPU 1, the printer driver environment of the host is consistently set according to the designation of switching, and the processing is terminated.

【0041】以上のように、ホストコンピュータ100
に双方向性インタフェース13を介して接続されるプリ
ンタ1500のメモリ(本実施例ではRAM16)に格
納されているプリンタ制御言語情報を取得し、このプリ
ンタ制御言語情報に基づいてプリンタドライバの切り換
えを指定し、この切り換え指定に従ってホストコンピュ
ータのプリンタドライバ環境を整合設定することによ
り、通信可能に接続されたプリンタとホストコンピュー
タとのプリンタ環境が不整合であっても、整合するプリ
ンタ環境を設定して、最適なプリンタドライバを自動選
択することを可能とする。
As described above, the host computer 100
The printer control language information stored in the memory (RAM 16 in this embodiment) of the printer 1500 connected to the printer control language is acquired, and the printer driver switching is designated based on the printer control language information. Then, by setting the printer driver environment of the host computer according to this switching designation, even if the printer environment of the communicably connected printer and the host computer are inconsistent, the matching printer environment is set, It is possible to automatically select the optimum printer driver.

【0042】なお、プリンタ環境の整合判定を、ホスト
コンピュータ100が自動判定する場合について説明し
たが、プリンタ1500の操作パネル1501からの制
御言語切り換え指示または制御カードCの着脱状態を検
出して、プリンタ環境の整合処理を自動起動する構成で
あっても良い。
Although the case where the host computer 100 automatically determines the matching of the printer environments has been described, the printer is detected by detecting the control language switching instruction from the operation panel 1501 of the printer 1500 or the attached / detached state of the control card C. The environment matching process may be automatically started.

【0043】また、プリンタドライバとプリンタ制御言
語の一致する組み合わせを探す際に、ホストコンピュー
タ100内の複数のプリンタドライバに優先順位を持た
せても良い。さらに、上記実施例のプリンタ制御システ
ムにおいて、レーザビームプリンタ1500を用いて説
明したが、前述した図2,図3に示すインクジェットプ
リンタ等にも本発明を適用できるのは言うまでもない。
Further, when searching for a combination in which the printer driver and the printer control language match, priority may be given to a plurality of printer drivers in the host computer 100. Further, in the printer control system of the above embodiment, the laser beam printer 1500 is used for description, but it goes without saying that the present invention can be applied to the inkjet printers shown in FIGS.

【0044】なお、上記実施例ではプリンタ1500と
ホストコンピュータ100とのプリンタ環境を整合設定
する場合について説明したが、プリンタ制御言語毎にプ
リンタ1500のメモリ(RAM16)を有効に利用す
るためには、プリンタ制御言語切り換え毎にプリンタ1
500のメモリ(RAM16)をすべて解放するのが望
ましいが、解放に伴って既に登録されている内容が消失
してしまうので、メモリの有効利用を図りつつ、かつ既
に登録されているメモリの内容を再現性よく設定するよ
うに制御する必要がある。そこで、以下の第2実施例に
基づいて上記の処理動作について説明する。
In the above embodiment, the case where the printer environments of the printer 1500 and the host computer 100 are set to match each other has been described. However, in order to effectively use the memory (RAM 16) of the printer 1500 for each printer control language, Printer 1 every time the printer control language is switched
It is desirable to release all 500 memories (RAM 16), but the contents that have already been registered will be lost with the release. Therefore, while effectively using the memory, the contents of the already registered memory can be saved. It is necessary to control the settings so that they are reproducible. Therefore, the above processing operation will be described based on the following second embodiment.

【0045】〔第2実施例〕図4に示したプリンタ制御
システムの構成を説明するブロック図において、プリン
タ環境切り換え状態に基づいてCPU1がプリンタ15
00のRAM16に格納されている第1のプリンタ環境
データを取得すると、取得した第1のプリンタ環境デー
タをCPU1の機能処理にホストコンピュータ100の
内部ファイルとして、例えばハードディスク11やフロ
ッピーディスク12等に登録し、このCPU1によるデ
ータ登録終了後に、CPU1,CPU14との通信制御
機能によって、第2のプリンタ環境に対応する第2のプ
リンタ環境データを前記RAM16内の16aに設定す
るとともに、第2のプリンタ環境に対応するプリント処
理終了状態に基づいて前記内部ファイルに登録されてい
る第1のプリンタ環境データを前記RAM16内の16
aに再起設定することにより、プリンタ環境切り換えが
頻発しても各環境毎のプリンタ環境データ内容をRAM
16に再現性良く復帰設定することを可能とする。
[Second Embodiment] In the block diagram for explaining the configuration of the printer control system shown in FIG. 4, the CPU 1 controls the printer 15 based on the printer environment switching state.
When the first printer environment data stored in the RAM 16 of 00 is acquired, the acquired first printer environment data is registered in the hard disk 11 or the floppy disk 12 as an internal file of the host computer 100 for the functional processing of the CPU 1. Then, after the data registration by the CPU 1, the second printer environment data corresponding to the second printer environment is set in the RAM 16a by the communication control function with the CPU 1 and the CPU 14, and the second printer environment is also set. The first printer environment data registered in the internal file based on the print processing end state corresponding to
Even if printer environment switching occurs frequently, the printer environment data contents for each environment can be stored in RAM by resetting to a.
It is possible to set the return to 16 with good reproducibility.

【0046】具体的には、双方向性のインタフェース1
3で接続されたホストコンピュータ100とプリンタ1
500のシステムにおいて、複数のプリンタ制御言語系
が使用できる場合に、第1のプリンタ環境(第1のプリ
ンタ言語系)から第2のプリンタ環境(第2のプリンタ
言語系)へのコマンドモード切り換え時に、第1のプリ
ンタ環境データ(登録フォームデータ,外字データ等)
をプリンタ1500のRAM16内の16aからホスト
コンピュータ100に転送し、ホストコンピュータ側で
ファイル等、例えばハードディスク11等に保存する。
そして、プリンタ1500はRAM16の第1のプリン
タ環境データ格納領域16aを解放し、第2のプリンタ
環境に対応するプリント処理を行い、その後、第2のプ
リンタ環境から第1のプリンタ環境へコマンドモードを
戻す時に、ホストコンピュータ100で保存している第
1のプリンタ環境データをプリンタ1500に送り、プ
リンタ1500を第2のプリンタ環境への切り換え前の
状態に復帰設定させ、第2のプリンタ環境に対するプリ
ント処理時に、プリンタのメモリ(RAM16)の資源
を有効に利用し、さらに、すべてのプリント処理終了後
にRAM16のプリンタ環境データを処理前の状態に自
動復帰させることを可能とする。
Specifically, the bidirectional interface 1
Host computer 100 and printer 1 connected by 3
In the system 500, when a plurality of printer control language systems can be used, when the command mode is switched from the first printer environment (first printer language system) to the second printer environment (second printer language system). , First printer environment data (registration form data, external character data, etc.)
Is transferred from the RAM 16a in the RAM 16 of the printer 1500 to the host computer 100, and is stored in a file such as the hard disk 11 on the host computer side.
Then, the printer 1500 releases the first printer environment data storage area 16a of the RAM 16 and performs a print process corresponding to the second printer environment, and then switches the command mode from the second printer environment to the first printer environment. At the time of returning, the first printer environment data stored in the host computer 100 is sent to the printer 1500, the printer 1500 is set to the state before the switching to the second printer environment, and the print processing for the second printer environment is performed. At times, the resources of the memory (RAM 16) of the printer can be effectively used, and further, the printer environment data in the RAM 16 can be automatically returned to the state before the processing after the completion of all the print processing.

【0047】以下、図7〜図9を参照しながら本発明に
係るプリンタ制御システムにおける環境切り換えに伴う
プリンタメモリ資源の解放処理動作について詳述する。
Hereinafter, with reference to FIGS. 7 to 9, the printer memory resource release processing operation associated with the environment switching in the printer control system according to the present invention will be described in detail.

【0048】図7は、図4に示したホストコンピュータ
100とプリンタ1500との間における環境設定切換
え処理を説明するブロック図であり、図4と同一のもの
には同じ符号を付してある。
FIG. 7 is a block diagram for explaining the environment setting switching process between the host computer 100 and the printer 1500 shown in FIG. 4, and the same parts as those in FIG. 4 are designated by the same reference numerals.

【0049】図において、16aは例えば第1言語系の
環境データ格納領域で、フォーム(罫線データ)デー
タ,外字データ,プリンタ固有の設定項目等を記憶する
RAMデータ等から構成されている。16bは記録デー
タ展開領域で、印刷処理時におけるビットマップデータ
が記憶されたり、ワークエリア等として使用される。ま
た、後述する操作パネル1501からのプリンタモード
設定情報を記憶するNVRAMがある。
In the figure, reference numeral 16a is, for example, a first language environment data storage area, which is composed of form (ruled line data) data, external character data, RAM data for storing printer-specific setting items, and the like. Reference numeral 16b is a recording data expansion area for storing bitmap data at the time of printing processing and used as a work area or the like. Further, there is an NVRAM that stores printer mode setting information from the operation panel 1501 described later.

【0050】この操作パネル1501には種々のモード
設定のためのキー,エラー回復のためのキー等が配設さ
れている。
The operation panel 1501 is provided with keys for setting various modes and keys for error recovery.

【0051】図8は、図7に示したRAM16のメモリ
マップを示す模式図である。
FIG. 8 is a schematic diagram showing a memory map of the RAM 16 shown in FIG.

【0052】図9は本発明の第2実施例を示す環境設定
切換え処理手順の一例を示すフローチャートである。な
お、S901〜S906は各ステップを示す。
FIG. 9 is a flow chart showing an example of an environment setting switching processing procedure showing the second embodiment of the present invention. Note that S901 to S906 indicate each step.

【0053】先ず、ステップS901でCPU1はプリ
ンタ設定変更を行う指示がキーボード9または図示しな
いポインティングデバイス等の操作により指示されてい
るかどうかを判定する。ステップS901でNOならば
ステップS903へ進んで通常の印字処理が行われる。
First, in step S901, the CPU 1 determines whether or not an instruction to change the printer settings is given by operating the keyboard 9 or a pointing device (not shown). If NO in step S901, the flow advances to step S903 to perform normal print processing.

【0054】一方、YESならばステップS902でC
PU1はCPU14に対してRAM16のプリンタ環境
データ格納領域16aの内容(例えば第1のプリンタ環
境データ)をホストコンピュータ100に送信する指示
を行う。
On the other hand, if YES, C at step S902.
The PU 1 instructs the CPU 14 to send the contents (for example, the first printer environment data) of the printer environment data storage area 16a of the RAM 16 to the host computer 100.

【0055】これに応じてステップS902で、プリン
タ1500のCPU14がプリンタ環境データ格納領域
16aの内容を読み出して、変更前の設定値(例えば第
1のプリンタ環境データ)をホストコンピュータ100
に送信し、内部ファイルに記憶させる。そして、ステッ
プS903で、環境切り換え後のプリンタ環境(第2の
プリンタ環境)が最大限メモリ(RAM16)を有効使
用できるように、プリンタ環境データ格納領域16aを
解放した後、公知の通信処理により記録情報を受信して
ビットマップ展開を行う等の印字処理を実行する。この
ようにして、ステップS904で環境切り換え後のプリ
ンタ環境に依存するプリントジョブが終了したら、ステ
ップS905でCPU1が内部ファイルとしてプリンタ
1500の設定情報(例えば第1のプリンタ環境デー
タ)を登録しているかどうかを判定する。ステップS9
05でNOならば処理を終了し、YESならばステップ
S906でその登録ファイルを読み出して、プリンタ1
500のCPU14に転送し、RAM16のプリンタ環
境データ格納領域16aを再設定して、環境切り換え前
の状態(第1のプリンタ環境)にRAM16の内容を再
現設定し、処理を終了する。
In response to this, in step S902, the CPU 14 of the printer 1500 reads the contents of the printer environment data storage area 16a, and obtains the set value (for example, the first printer environment data) before the change from the host computer 100.
And store it in an internal file. Then, in step S903, after the printer environment data storage area 16a is released so that the printer environment (second printer environment) after the environment switching can effectively use the memory (RAM 16) to the maximum extent, the recording is performed by a known communication process. Print processing such as receiving information and performing bitmap expansion is executed. In this way, when the print job dependent on the printer environment after the environment switching is completed in step S904, whether the CPU 1 has registered the setting information (for example, the first printer environment data) of the printer 1500 as an internal file in step S905. Determine whether Step S9
If NO in 05, the process ends; if YES, the registration file is read out in step S906, and the printer 1
The data is transferred to the CPU 14 of 500, the printer environment data storage area 16a of the RAM 16 is reset, the contents of the RAM 16 are reproduced and set to the state before the environment switching (the first printer environment), and the process ends.

【0056】このように、ホストコンピュータ100に
双方向性インタフェース13を介して接続されるプリン
タ1500のメモリ(RAM16)に格納されている第
1のプリンタ環境データをプリンタ環境切り換え状態に
基づいて取得し、この第1のプリンタ環境データをホス
トコンピュータ100の内部ファイルとして登録し、こ
の登録終了後に、第2のプリンタ環境に対応する第2の
プリンタ環境データをプリンタのメモリに設定し、第2
のプリンタ環境に対応するプリント処理終了状態に基づ
いて内部ファイルに登録されている第1のプリンタ環境
データをプリンタのメモリに再起設定することにより、
プリンタ環境切り換えに伴う各環境毎のメモリの設定状
態を確実に再現することを可能とする。
As described above, the first printer environment data stored in the memory (RAM 16) of the printer 1500 connected to the host computer 100 via the bidirectional interface 13 is obtained based on the printer environment switching state. The first printer environment data is registered as an internal file of the host computer 100, and after the registration is completed, the second printer environment data corresponding to the second printer environment is set in the memory of the printer, and the second printer environment data is set.
By resetting the first printer environment data registered in the internal file to the memory of the printer based on the print processing end state corresponding to the printer environment of
It is possible to reliably reproduce the setting state of the memory for each environment when the printer environment is switched.

【0057】また、プリンタ環境の切り換えが、プリン
タ制御言語系の切り換えに伴って発生することにより、
プリンタ制御言語系の切り換えに伴う各環境毎のメモリ
の設定状態を確実に再現することを可能とする。
Further, since the switching of the printer environment occurs along with the switching of the printer control language system,
It is possible to reliably reproduce the memory setting state for each environment accompanying the switching of the printer control language system.

【0058】なお、上記実施例ではプリンタ制御言語の
切り換えをホストコンピュータ100のキーボード9等
から要求が発生した場合に、プリンタ1500のプリン
タ環境データをホストコンピュータ100に読み上げて
一時ファイルとして登録する場合について説明したが、
図10に示すようにプリンタ1500の操作パネル15
01からの切り換え指示により、現在のプリンタ環境を
ホストコンピュータ100に転送して、例えばRAM3
上に、またはハードディスク11上に個別登録ファイル
3−1〜3−3として登録し、プリンタ1500からの
登録ファイル呼出しに従って、最先登録された順に個別
登録ファイル3−1〜3−3をプリンタ1500に返送
して、RAM16のプリンタ環境データ格納領域16a
に再現する構成であっても良い。
In the above embodiment, when a request for switching the printer control language is issued from the keyboard 9 of the host computer 100, the printer environment data of the printer 1500 is read to the host computer 100 and registered as a temporary file. I explained,
As shown in FIG. 10, the operation panel 15 of the printer 1500
In response to a switching instruction from 01, the current printer environment is transferred to the host computer 100, and the RAM 3
The individual registration files 3-1 to 3-3 are registered on the hard disk 11 or on the hard disk 11, and according to the registration file call from the printer 1500, the individual registration files 3-1 to 3-3 are registered in the order of the earliest registration. To the printer environment data storage area 16a of the RAM 16
It may be configured to reproduce.

【0059】また、上記実施例では、単一のホストコン
ピュータ100上でのプリンタ制御言語系の切り換え発
生状態が発生したことをプリンタ設定変更条件としてい
る場合について説明したが、複数のホストコンピュータ
とプリンタが共有するシステムである場合でも本発明を
適用することができる。また、前述したようにユーザに
よる操作パネル1501からの指示を切り換え条件とし
てもいいし、同一言語,同一ユーザによる複数の環境モ
ード設定ファイルを可能としおき、所望の環境モード設
定ファイルの呼出し指示を切り換え条件として、上記R
AM16のプリンタ環境データ格納領域16aに所望の
プリンタ設定情報を再現する構成であっても良い。な
お、上記実施例のプリンタ制御システムにおいて、レー
ザビームプリンタ1500を用いて説明したが、前述し
た図2,図3に示すインクジェットプリンタ等にも本発
明を適用できるのは言うまでもない。
In the above embodiment, the case where the printer control language system switching occurrence state on the single host computer 100 is used as the printer setting change condition has been described, but a plurality of host computers and printers are used. The present invention can be applied even when the system is shared by. Further, as described above, the instruction from the operation panel 1501 by the user may be used as the switching condition, and a plurality of environment mode setting files by the same language and the same user are enabled and the instruction for calling the desired environment mode setting file is switched. As a condition, the above R
The configuration may be such that desired printer setting information is reproduced in the printer environment data storage area 16a of the AM 16. In the printer control system of the above embodiment, the laser beam printer 1500 is used for description, but it goes without saying that the present invention can be applied to the inkjet printers shown in FIGS.

【0060】〔第3実施例〕上述した第1実施例におい
て、プリンタ1500内の複数のプリンタ制御言語に優
先順位が設定されている場合、最も優先度の高いプリン
タ制御言語に対応するプリンタドライバ、ホストコンピ
ュータ100が自動的にプリンタドライバを切り替える
と共に、プリンタ1500で使用するプリンタ制御言語
を、最も優先度の高いプリンタ制御言語に切り替える処
理を以下で説明する。
[Third Embodiment] In the above-described first embodiment, when priority is set for a plurality of printer control languages in the printer 1500, a printer driver corresponding to the printer control language with the highest priority, A process in which the host computer 100 automatically switches the printer driver and also switches the printer control language used in the printer 1500 to the printer control language having the highest priority will be described below.

【0061】図11は、本発明の第3実施例を示す環境
設定切換え処理の一例を示すフローチャートである。
FIG. 11 is a flow chart showing an example of the environment setting switching process showing the third embodiment of the present invention.

【0062】ここでは、図4に示したホストコンピュー
タ100とプリンタ1500との間における環境設定切
換え処理を説明するブロック図を用いて説明する。な
お、プリンタ1500で使用する複数のプリンタ制御言
語の優先順位は、予め固定され、例えばROM15に記
憶されていても良いし、プリンタの操作パネル1501
等で優先順位が任意に設定され、例えば、RAM16に
記憶されていても良い。
Here, description will be given using a block diagram for explaining the environment setting switching processing between the host computer 100 and the printer 1500 shown in FIG. The priority order of the plurality of printer control languages used in the printer 1500 may be fixed in advance and stored in, for example, the ROM 15, or the printer operation panel 1501.
Etc., the priority order may be arbitrarily set and stored in the RAM 16, for example.

【0063】まず図11のステップS2001では、ホ
ストコンピュータ100内のCPU1が印刷装置本体1
500に対し、印刷装置本体1500が対応しているプ
リンタ制御言語の種類を問い合わせ、ステップS200
2へ進む。
First, in step S2001 in FIG. 11, the CPU 1 in the host computer 100 causes the printing apparatus body 1 to operate.
500 is inquired about the type of printer control language supported by the printing apparatus main body 1500, and step S200
Go to 2.

【0064】ステップS2002では、ホストコンピュ
ータ100へ情報を伝えていないプリンタ制御言語の情
報が印刷装置1500に残っているかどうかを印刷装置
1500内のCPU14が調べ、残っていたらステップ
S23へ進み、残っていなかったら処理を終了する。
In step S2002, the CPU 14 in the printer 1500 checks whether or not the printer control language information, which has not been transmitted to the host computer 100, remains in the printer 1500. If any, the process proceeds to step S23 and remains. If not, the process ends.

【0065】ステップS2003では、ステップS20
02で調べたまだホストコンピュータ100に情報を伝
えていないプリンタ制御言語のうちで、一番優先順位の
高いプリンタ制御言語の情報を印札装置1500内の例
えば、RAM16に記憶されている優先度情報に基づい
てCPU14がホストコンピュータ100へ伝え、ステ
ップS2004へ進む。ここで参照される優先順位の情
報は、例えば、RAM16等に記憶されている。
In step S2003, step S20
Of the printer control languages which have not been transmitted to the host computer 100, which have been checked in step 02, the information of the printer control language with the highest priority is the priority information stored in, for example, the RAM 16 in the stamp device 1500. Based on the above, the CPU 14 notifies the host computer 100, and proceeds to step S2004. The priority information referred to here is stored in, for example, the RAM 16 or the like.

【0066】ステップS2004では、ステップS20
03で、伝えたプリンタ制御言語がどれかという情報を
印刷装置1500内のRAM16に記憶し、ステップS
2005へ進む。ここではRAM16上に確保された領
域に情報が書き込まれることにより、情報が管理され
る。
In step S2004, step S20
In step 03, the information about which printer control language is transmitted is stored in the RAM 16 in the printing apparatus 1500, and step S
Proceed to 2005. Here, the information is managed by writing the information in the secured area on the RAM 16.

【0067】ステップS2005では、印刷装置150
0内のCPU14がステップS2003で送った情報を
ホストコンピュータ100内のCPU1が受けとり、ス
テップS2006へ進む。
In step S2005, the printer 150
The CPU 1 in the host computer 100 receives the information sent by the CPU 14 in 0 in step S2003, and proceeds to step S2006.

【0068】ステップS2006では、ステップS20
05で受けとったプリンタ制御言語情報に対応するプリ
ンタドライバをホストコンピュータ100が持っている
かどうか実施例1で説明した不図示のテーブルを参照し
て調べ、持っている場合はステップS2007へ進み、
持っていない場合はステップS2001へ戻る。
In step S2006, step S20
Whether or not the host computer 100 has a printer driver corresponding to the printer control language information received in 05 is checked by referring to the table (not shown) described in the first embodiment, and if so, the process proceeds to step S2007.
If not, the process returns to step S2001.

【0069】ステップS2007では、ステップS20
06で対応性のとれたプリンタドライバを用いて印刷処
理を行なうために、ホストコンピュータ100のCPU
1がプリンタドライバをそのプリンタドライバへ切替
え、ステップS2008へ進む。
In step S2007, step S20
In order to perform print processing using a printer driver compatible with 06, the CPU of the host computer 100
1 switches the printer driver to that printer driver, and proceeds to step S2008.

【0070】ステップS2008では、ステップS20
06で対応性のとれたプリンタ制御言語を用いて印刷処
理を行なうために、プリンタ制御言語を切替える命令を
ホストコンピュータ100内のCPU2が印刷装置15
00に対して送出し、ステップS2009へ進む。
In step S2008, step S20
In order to perform the printing process using the printer control language that is compatible with 06, the CPU 2 in the host computer 100 issues a command to switch the printer control language to the printing device 15
00, and the process proceeds to step S2009.

【0071】ステップS2009では、ステップS20
08で送出された命令を印刷装置1500内のCPU1
4が受けとり、動作するプリンタ制御言語を指定された
プリンタ制御言語に切替え、処理を終了する。
In step S2009, step S20
The command sent from the CPU 08 is sent to the CPU 1 in the printer 1500.
4 receives and switches the printer control language to operate to the designated printer control language, and ends the process.

【0072】以上説明したように、プリンタが対応して
いるプリンタ制御言語とホストコンピュータの対応して
いるプリンタドライバの整合性を、プリンタ側で定めた
プリント制御言語の優先順位に従って自動的にとること
により、常に正しい印刷結果を得ることができる。
As described above, the consistency between the printer control language supported by the printer and the printer driver supported by the host computer is automatically taken in accordance with the priority order of the print control language defined on the printer side. As a result, it is possible to always obtain a correct print result.

【0073】〔第4実施例〕上述した第1実施例におい
て、ホストコンピュータ100内の複数のプリンタドラ
イバ(例えば、図4に示すハードディスク11に格納さ
れている)に優先順位が設定されている場合、プリンタ
1500から取得したプリンタ1500で使用可能なプ
リンタ制御言語情報に対応するプリンタドライバの内、
最も優先度の高いプリンタドライバに、ホストコンピュ
ータ100が自動的にプリンタドライバを切り替えると
共に、その切り替えに応じて、切り替えたプリンタドラ
イバに対応するプリンタ制御言語に、プリンタ1500
で使用するプリンタ制御言語を切り替える処理を以下で
説明する。
[Fourth Embodiment] In the first embodiment described above, priority is set to a plurality of printer drivers (for example, stored in the hard disk 11 shown in FIG. 4) in the host computer 100. Of the printer drivers corresponding to the printer control language information that can be used by the printer 1500 obtained from the printer 1500,
The host computer 100 automatically switches the printer driver to the printer driver with the highest priority, and in accordance with the switching, the printer 1500 is set to the printer control language corresponding to the switched printer driver.
The process of switching the printer control language used in step 1 will be described below.

【0074】図12、図13は、本発明の第4実施例を
示す環境設定切り替え処理の一例を示すフローチャート
である。
FIG. 12 and FIG. 13 are flowcharts showing an example of the environment setting switching process showing the fourth embodiment of the present invention.

【0075】ここでは、図4に示したホストコンピュー
タ100とプリンタ1500との間における環境設定切
替え処理を説明するブロック図を用いて説明する。
Here, description will be given using a block diagram for explaining the environment setting switching processing between the host computer 100 and the printer 1500 shown in FIG.

【0076】なお、ホストコンピュータ100で使用す
る複数のプリンタドライバの優先順位は、予め固定さ
れ、例えば、ROM2に記憶されていても良いし、キー
ボード9や不図示のポインティングデバイス等を用いて
任意に優先順位が設定され、例えば、RAM3に記憶さ
れていても良い。
The priority order of the plurality of printer drivers used in the host computer 100 may be fixed in advance and stored in the ROM 2, for example, or may be arbitrarily set using the keyboard 9 or a pointing device (not shown). The priority order may be set and stored in the RAM 3, for example.

【0077】まず図12のステップS3002では、ホ
ストコンピュータ100内のCPU1が印刷装置150
0に対し、印刷装置1500が対応しているプリンタ制
御言語の種類を問い合わせ、ステップS3002へ進
む。
First, in step S3002 of FIG. 12, the CPU 1 in the host computer 100 causes the printing device 150 to operate.
0 is inquired about the type of printer control language supported by the printing apparatus 1500, and the process advances to step S3002.

【0078】ステップS3002では、印刷装置150
0が対応しているプリンタ制御言語情報をプリンタ15
00内のCPU14がホストコンピュータ100へ返
し、ステップS3003へ進む。複数のプリンタ制御言
語に印刷装置1500が対応している場合は、一度に複
数のプリンタ制御言語情報をプリンタ1500内のCP
U14がホストコンピュータ100へ返す。
In step S3002, the printer 150
0 corresponds to the printer control language information to the printer 15
The CPU 14 in 00 returns to the host computer 100, and proceeds to step S3003. When the printing apparatus 1500 supports a plurality of printer control languages, a plurality of printer control language information items can be stored in the CP in the printer 1500 at a time.
U14 returns to the host computer 100.

【0079】ステップS3003では、ステップS30
02で印刷装置1500内のCPU14が送った情報を
ホストコンピュータ100が受けとり、ステップS30
04へ進む。
In step S3003, step S30
In step 02, the host computer 100 receives the information sent by the CPU 14 in the printing apparatus 1500 in step 02.
Go to 04.

【0080】ステップS3004では、ステップS30
03で受けとった情報の中で以下で説明するステップS
3005からステップS3007の処理を行なっていな
いものがあるかどうか調べ、処理を行なっていないもの
がある場合はステップS3005へ進み、ない場合は
を経て図13のステップS4001へ進む。
In step S3004, step S30
Step S described below in the information received in 03
From 3005, it is checked whether or not there is any that has not been subjected to the processing of step S3007. If there is any that has not been processed, the processing proceeds to step S3005, and if not, the processing proceeds to step S4001 of FIG.

【0081】なお、上記ステップS3005からステッ
プS3007までの処理は、実施例1で説明した比較処
理であり、プリンタ制御言語情報に対応するプリンタド
ライバがホストコンピュータ100内にあるか否かは、
実施例1で前述したRAM3内の不図示のテーブルを参
照して判断する。
The processing from step S3005 to step S3007 is the comparison processing described in the first embodiment. Whether the printer driver corresponding to the printer control language information is in the host computer 100 or not is as follows.
The determination is made by referring to the table (not shown) in the RAM 3 described above in the first embodiment.

【0082】ステップS3005では、ステップS30
04で調べた未処理のプリンタ制御言語に関する情報の
中から一つを処理対象として選択し、ステップS300
6へ進む。
In step S3005, step S30
One of the unprocessed information relating to the printer control language checked in 04 is selected as a processing target, and step S300
Go to 6.

【0083】ステップS3006では、ステップS30
05で選択されたプリンタ制御現御に関する情報を基
に、そのプリンタ制御言語に対応しているプリンタドラ
イバをホストコンピュータ100が持っているかどうか
を前述したテーブルを参照してCPU1が調べ、持って
いる場合はステップS3007へ進み、持っていない場
合はステップS3004へ戻る。
In step S3006, step S30
Based on the information on the printer control selected in 05, the CPU 1 checks whether the host computer 100 has a printer driver corresponding to the printer control language by referring to the above-mentioned table, and has it. If so, the process proceeds to step S3007; if not, the process returns to step S3004.

【0084】ステップS3007では、処理対象のプリ
ンタ制御言語に対応しているプリンタドライバが何かと
いう情報を記憶し、ステップS3004へ戻る。ここで
はRAM3上に確保された領域に情報が書き込まれるこ
とにより、情報が記憶される。
In step S3007, information indicating what printer driver corresponds to the printer control language to be processed is stored, and the process returns to step S3004. Here, the information is stored by being written in the area secured on the RAM 3.

【0085】図13のステップS4001では、図12
のステップS3007で記憶した情報をRAM3からC
PU1が読みだし、印刷装置1500が持っているプリ
ンタ制御言語に対応しているプリンタドライバがホスト
コンピュータ100内に存在していたかどうか調べ、存
在していた場合はステップS4002へ進み、存在して
いなかった場合は処理を終了する。
In step S4001 of FIG.
From the RAM 3 to the information stored in step S3007
It is checked whether or not the printer driver read by the PU1 and compatible with the printer control language of the printing apparatus 1500 is present in the host computer 100, and if it is present, the process proceeds to step S4002, and is not present. If so, the process ends.

【0086】ステップS4002では、図12のステッ
プS3007で記憶した情報を更にCPU1が調べ、印
刷装置1500の持つプリンタ制御言語に対応している
プリンタドライバのうち、一番優先順位の高いものを選
び出し、ステップS4003へ進む。プリンタドライバ
の優先順位の情報は、RAM3、ROM2、ハードディ
スク11等に格納されている。
In step S4002, the CPU 1 further checks the information stored in step S3007 of FIG. 12, and selects the printer driver with the highest priority among the printer drivers corresponding to the printer control language of the printing apparatus 1500, The process proceeds to step S4003. The printer driver priority information is stored in the RAM 3, the ROM 2, the hard disk 11, and the like.

【0087】ステップS4003では、ステップS40
02で選択したプリンタドライバを用いて印刷処理を行
なうために、ホストコンピュータ100内のCPU1が
プリンタドライバをそのプリンタドライバへ切替え、ス
テップS4004へ進む。
In step S4003, step S40
In order to perform the printing process using the printer driver selected in 02, the CPU 1 in the host computer 100 switches the printer driver to the printer driver, and the process proceeds to step S4004.

【0088】ステップS4004では、ステップS40
02で選択したプリンタ制御言語を用いて印刷処理を行
なうために、プリンタ制御言語を切替える命令をホスト
コンピュータ100内のCPU1か印刷装置1500に
伝え、ステップS4005へ進む。
In step S4004, step S40
In order to perform the printing process using the printer control language selected in 02, a command for switching the printer control language is transmitted to the CPU 1 in the host computer 100 or the printer 1500, and the process proceeds to step S4005.

【0089】ステップS4005では、ステップS40
04で伝えられた命令を印刷装置1500内のCPU1
4が受けとり、動作するプリンタ制御言語を印刷装置1
500内のCPU14が切替え、処理を終了する。
In step S4005, step S40
The instruction transmitted in 04 is sent to the CPU 1 in the printer 1500.
4 receives and operates the printer control language that the printer 1 uses.
The CPU 14 in 500 switches to complete the processing.

【0090】以上説明したように、プリンタが対応して
いるプリンタ制御言語とホストコンピュータの対応して
いるプリンタドライバの整合性を、ホストコンピュータ
側で定めたプリンタドライバの優先順位に従って自動的
にとることにより、常に正しい印刷結果を得ることがで
きる。
As described above, the consistency between the printer control language supported by the printer and the printer driver supported by the host computer is automatically taken according to the priority order of the printer driver determined on the host computer side. As a result, it is possible to always obtain a correct print result.

【0091】なお、上記実施例3、4において、プリン
タ制御言語情報を取得するタイミングは、印刷開始時ま
たは、システムを立ち上げた時(電源をONにした時)
または、ユーザから実行を指示された時である。
In the third and fourth embodiments, the printer control language information is acquired at the start of printing or when the system is started (when the power is turned on).
Alternatively, it is when the user instructs execution.

【0092】[0092]

【発明の効果】以上説明したように、本実施例において
は、ホストコンピュータに双方向性インタフェースを介
して接続されるプリンタのメモリに格納されているプリ
ンタ制御言語情報を取得し、このプリンタ制御言語情報
に基づいてプリンタドライバの切り換えを指定し、この
切り換え指定に従って、ホストコンピュータのプリンタ
ドライバ環境を整合設定するように構成したので、通信
可能に接続されたプリンタとホストコンピュータとのプ
リンタ環境が不整合であっても、整合するプリンタ環境
を設定して、最適なプリンタドライバを自動選択するこ
とができる。
As described above, in the present embodiment, the printer control language information stored in the memory of the printer connected to the host computer through the bidirectional interface is acquired, and this printer control language is acquired. Since the printer driver switching is specified based on the information and the printer driver environment of the host computer is configured to match according to this switching specification, the printer environment of the communicatively connected printer and the printer environment of the host computer do not match. Even if it is, it is possible to set the matching printer environment and automatically select the optimum printer driver.

【0093】以上説明したように、本実施例において
は、ホストコンピュータに双方向性インタフェースを介
して接続されるプリンタのメモリに格納されている第1
のプリンタ環境データをプリンタ環境切り換え状態に基
づいて取得し、この第1のプリンタ環境データをホスト
コンピュータの内部ファイルとして登録し、この登録終
了後に、第2のプリンタ環境に対応する第2のプリンタ
環境データをプリンタのメモリに設定し、第2のプリン
タ環境に対応するプリント処理終了状態に基づいて内部
ファイルに登録されている第1のプリンタ環境データを
プリンタのメモリに再起設定するように構成したので、
プリンタ環境切り換えに伴う各環境毎のメモリの設定状
態を確実に再現することができる。
As described above, in the present embodiment, the first memory stored in the memory of the printer connected to the host computer via the bidirectional interface is used.
Printer environment data of the second printer environment corresponding to the second printer environment after registering the first printer environment data as an internal file of the host computer. Since the data is set in the memory of the printer, and the first printer environment data registered in the internal file is set again in the memory of the printer based on the print processing end state corresponding to the second printer environment. ,
It is possible to reliably reproduce the setting state of the memory for each environment due to the printer environment switching.

【0094】また、プリンタ環境の切り換えが、プリン
タ制御言語系の切り換えに伴って発生するように構成し
たので、プリンタ制御言語系の切り換えに伴う各環境毎
のプリンタのメモリの設定状態を確実に再現することが
できる。
Further, since the printer environment switching is configured to occur with the printer control language system switching, the printer memory setting state for each environment accompanying the printer control language system switching can be reliably reproduced. can do.

【0095】従って、ホストコンピュータが制御言語系
が異なる種々のプリンタと接続可能であって、通信可能
に接続されたプリンタとホストコンピュータとのプリン
タ環境が不整合であっても、整合するプリンタ環境を自
動設定できるので、操作者がプリンタ環境設定をミスし
た場合でも、記録ミスのない正常印字結果を得ることが
できる。また、有限なメモリ中に常駐している所望のプ
リンタ環境に依存するプリンタ設定情報をホストコンピ
ュータに再設定可能に管理させることができるので、プ
リンタ環境切換え後のプリンタ制御言語系に割り当てる
プリンタのメモリ領域を最大限に確保して、処理効率の
高いプリント処理を実現させることができる等の効果を
奏する。
Therefore, even if the host computer can be connected to various printers having different control language systems and the printer environments of the communicably connected printer and the host computer are inconsistent, a matching printer environment is set. Since automatic setting is possible, even if the operator makes a mistake in printer environment setting, it is possible to obtain a normal print result without a recording error. In addition, since printer setting information that depends on a desired printer environment that resides in a finite memory can be reconfigurablely managed, the printer memory allocated to the printer control language system after the printer environment is switched. This has the effect of maximizing the area and realizing print processing with high processing efficiency.

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

【図1】本発明を適用可能な第1の記録装置の構成を示
す断面図である。
FIG. 1 is a cross-sectional view showing a configuration of a first recording apparatus to which the present invention can be applied.

【図2】本発明を適用可能な第2の記録装置の構成を示
す外観図である。
FIG. 2 is an external view showing a configuration of a second recording apparatus to which the present invention can be applied.

【図3】図2に示した第2の記録装置の制御構成を説明
するブロック図である。
FIG. 3 is a block diagram illustrating a control configuration of a second recording apparatus illustrated in FIG.

【図4】本発明の一実施例を示すプリンタ制御システム
の構成を説明するブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a printer control system according to an exemplary embodiment of the present invention.

【図5】図4に示したホストコンピュータとプリンタと
の間における環境設定切換え処理を説明するブロック図
である。
FIG. 5 is a block diagram illustrating an environment setting switching process between the host computer and the printer shown in FIG.

【図6】本発明の第1実施例を示す環境設定切換え処理
手順の一例を示すフローチャートである。
FIG. 6 is a flowchart showing an example of an environment setting switching processing procedure showing the first embodiment of the present invention.

【図7】図4に示したホストコンピュータとプリンタと
の間における環境設定切換え処理を説明するブロック図
である。
7 is a block diagram illustrating an environment setting switching process between the host computer and the printer illustrated in FIG.

【図8】図7に示したRAMのメモリマップを示す模式
図である。
FIG. 8 is a schematic diagram showing a memory map of the RAM shown in FIG.

【図9】本発明の第2実施例を示す環境設定切換え処理
手順の一例を示すフローチャートである。
FIG. 9 is a flowchart showing an example of an environment setting switching processing procedure showing a second embodiment of the present invention.

【図10】図4に示したホストコンピュータとプリンタ
との間における他の環境設定切換え処理を説明するブロ
ック図である。
FIG. 10 is a block diagram illustrating another environment setting switching process between the host computer and the printer shown in FIG.

【図11】本発明の第3実施例を示す環境設定切換え処
理手順の一例を示すフローチャートである。
FIG. 11 is a flowchart showing an example of an environment setting switching processing procedure showing a third embodiment of the present invention.

【図12】本発明の第4実施例を示す環境設定切換え処
理手順の一例を示すフローチャートである。
FIG. 12 is a flowchart showing an example of an environment setting switching processing procedure showing a fourth embodiment of the present invention.

【図13】本発明の第4実施例を示す環境設定切換え処
理手順の一例を示すフローチャートである。
FIG. 13 is a flowchart showing an example of an environment setting switching processing procedure showing a fourth embodiment of the present invention.

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

1 CPU 2 ROM 3 RAM 14 CPU 15 ROM 16 RAM 100 ホストコンピュータ 1500 プリンタ 1 CPU 2 ROM 3 RAM 14 CPU 15 ROM 16 RAM 100 Host computer 1500 Printer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 双方向性インターフェースを介して接続
される印刷装置のメモリに格納されている複数の情報の
内、最も優先順位の高い情報を取得する取得手段と、 前記取得手段で取得した情報に対応するプリンタドライ
バが存在するか否かを判断する判断手段と、 前記判断手段の判断結果に基づいて、最も優先順位の高
い情報に対応するプリンタドライバを選択する選択手段
とを有することを特徴とする情報処理装置。
1. An acquisition unit for acquiring the highest priority information among a plurality of information stored in a memory of a printing apparatus connected via a bidirectional interface, and information acquired by the acquisition unit. And a selection unit for selecting the printer driver corresponding to the information with the highest priority based on the determination result of the determination unit. Information processing device.
【請求項2】 双方向性インターフェースを介して接続
される印刷装置のメモリに格納されている複数の情報を
取得する取得手段と、 前記取得手段で取得した前記複数の情報に対応するプリ
ンタドライバが存在するか否かを判断する判断手段と、 前記判断手段の判断結果に基づいて、最も優先順位の高
いプリンタドライバを選択する選択手段とを有すること
を特徴とする情報処理装置。
2. An acquisition unit for acquiring a plurality of pieces of information stored in a memory of a printing apparatus connected via a bidirectional interface, and a printer driver corresponding to the plurality of pieces of information acquired by the acquisition unit. An information processing apparatus comprising: a determination unit that determines whether or not there is a selection unit; and a selection unit that selects a printer driver having the highest priority based on the determination result of the determination unit.
JP12418993A 1992-06-19 1993-05-26 Information processing device Expired - Fee Related JP3253174B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP12418993A JP3253174B2 (en) 1993-05-26 1993-05-26 Information processing device
US08/076,785 US6667812B1 (en) 1992-06-19 1993-06-15 Information processing apparatus with device control language based program selection
DE69329587T DE69329587T2 (en) 1992-06-19 1993-06-17 Printer driver selection
EP93304731A EP0575172B1 (en) 1992-06-19 1993-06-17 Printer driver selection
HK98116024A HK1014777A1 (en) 1992-06-19 1998-12-28 Printer driver selection
US10/664,945 US7081970B2 (en) 1992-06-19 2003-09-22 Information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12418993A JP3253174B2 (en) 1993-05-26 1993-05-26 Information processing device

Publications (2)

Publication Number Publication Date
JPH06332635A true JPH06332635A (en) 1994-12-02
JP3253174B2 JP3253174B2 (en) 2002-02-04

Family

ID=14879190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12418993A Expired - Fee Related JP3253174B2 (en) 1992-06-19 1993-05-26 Information processing device

Country Status (1)

Country Link
JP (1) JP3253174B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006178882A (en) * 2004-12-24 2006-07-06 Seiko Epson Corp Printing control device, printing system and printer
JP2007069358A (en) * 2005-09-02 2007-03-22 Canon Inc Image forming apparatus, its controlling method, program, and image forming system
JP2007069388A (en) * 2005-09-05 2007-03-22 Canon Inc Image forming apparatus, method for controlling the same, program, and image forming system
JP2010086555A (en) * 2010-01-12 2010-04-15 Seiko Epson Corp Printing control device, print system and printer

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006178882A (en) * 2004-12-24 2006-07-06 Seiko Epson Corp Printing control device, printing system and printer
US7760373B2 (en) 2004-12-24 2010-07-20 Seiko Epson Corporation Print control apparatus, print control method and printer
US8243331B2 (en) 2004-12-24 2012-08-14 Seiko Epson Corporation Print control apparatus, print control method and printer
JP2007069358A (en) * 2005-09-02 2007-03-22 Canon Inc Image forming apparatus, its controlling method, program, and image forming system
US7826083B2 (en) 2005-09-02 2010-11-02 Canon Kabushiki Kaisha Management of multiple page description languages
JP4579799B2 (en) * 2005-09-02 2010-11-10 キヤノン株式会社 Image forming apparatus, control method therefor, program, and image forming system
JP2007069388A (en) * 2005-09-05 2007-03-22 Canon Inc Image forming apparatus, method for controlling the same, program, and image forming system
JP4565647B2 (en) * 2005-09-05 2010-10-20 キヤノン株式会社 Image forming apparatus, control method therefor, program, and image forming system
JP2010086555A (en) * 2010-01-12 2010-04-15 Seiko Epson Corp Printing control device, print system and printer

Also Published As

Publication number Publication date
JP3253174B2 (en) 2002-02-04

Similar Documents

Publication Publication Date Title
US5978557A (en) Printing device control apparatus and method
EP0575172B1 (en) Printer driver selection
JP3809389B2 (en) Print control apparatus, information processing apparatus, print control method, information processing apparatus method and program
US5943503A (en) Status-controlled interrogation of peripheral device status
US5825993A (en) Information processing apparatus and output apparatus
US6760118B1 (en) Printing device control apparatus and method
JP2006293933A (en) Image forming system, image forming method, information processing apparatus, and image forming apparatus
JP3253174B2 (en) Information processing device
EP0864966B1 (en) Imformation processing apparatus and output apparatus
JP3197616B2 (en) Printer control method, printer control device, printer control system, information processing device, and data registration method
JP3392095B2 (en) Information processing apparatus, information processing method, and print system
JPH10329392A (en) System and method for processing information
US6750980B1 (en) Information processing apparatus and output apparatus
JP3184687B2 (en) Information processing method, information processing apparatus, output method, output apparatus, and printing system
JP3814394B2 (en) Printing apparatus, printing control apparatus, and printing system using them
JP3382349B2 (en) Print control apparatus and method
JP3658025B2 (en) Electronic device, data processing system having the device, and data processing method in the device
JPH08244314A (en) Printer system and printer and information processing apparatus in said system
JPH07101109A (en) Printer and controller method therefor
JPH10187390A (en) Information processor, data processing method for information processor and recording medium storing program that can be read by computer
JP3406962B2 (en) Information processing device, output device, information processing method, and control method for output device
JP2003076649A (en) Data processor, print control device, interface selecting method, storage medium, and program
JP3183862B2 (en) Information processing apparatus and data processing method of information processing apparatus
JP3320211B2 (en) Printing apparatus and message control method for the apparatus
JPH10187385A (en) Device for controlling printing and method therefor and storage medium for storing program readable by computer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011023

LAPS Cancellation because of no payment of annual fees