JPH08123639A - Information processing system and printer used for the same - Google Patents

Information processing system and printer used for the same

Info

Publication number
JPH08123639A
JPH08123639A JP6282790A JP28279094A JPH08123639A JP H08123639 A JPH08123639 A JP H08123639A JP 6282790 A JP6282790 A JP 6282790A JP 28279094 A JP28279094 A JP 28279094A JP H08123639 A JPH08123639 A JP H08123639A
Authority
JP
Japan
Prior art keywords
emulation
printer
information processing
data
processing system
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
JP6282790A
Other languages
Japanese (ja)
Inventor
Masatoshi Kokubo
雅俊 小久保
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP6282790A priority Critical patent/JPH08123639A/en
Publication of JPH08123639A publication Critical patent/JPH08123639A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To enable high-speed print processing without performing unnecessary emulation switching processing on the side of a printer when the printing processing is performed on the printer on which plural kinds of emulation are mounted as to the information processing system and the printer used for the system. CONSTITUTION: To transfer print data to the printer on which plural kinds of emulation are mounted, active emulation currently set to the printer is inquired of the printer and active emulation information on the printer is obtained from the printer (S7); and then the obtained active emulation is compared with the emulation of print data for transmission and only when they are not equal with each other (NO in 88), an emulation switching command is sent to the printer (S9).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数種類のエミュレー
ションをサポートした印刷装置と双方向通信可能なイン
タフェースを介して接続され、アプリケーションプログ
ラムが動作可能な情報処理システムとその情報処理シス
テムに用いられる印刷装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in an information processing system which is connected to a printing apparatus which supports a plurality of types of emulations via an interface capable of bidirectional communication, and in which an application program can operate, and the information processing system. The present invention relates to a printing device.

【0002】[0002]

【従来の技術】パーソナルコンピュータ等のホストに接
続される印刷装置(プリンタ)には様々な種類がある
が、それらプリンタの制御コマンド(以下、エミュレー
ションと称す)は機種によって異なっているのが現状で
ある。従来のプリンタは、唯一つのエミュレーションし
かサポートしておらず、このようなプリンタは、特にホ
ストと一対一に接続されて使用されることが多かった。
ホスト側は、接続されたプリンタのサポートしているエ
ミュレーションに対応するために、次に示す2通りの方
法のどちらかで対応していた。まず、第1の方法として
は、ホストに接続されたプリンタの種類に基づいて予め
アプリケーションプログラムのプリント環境を設定する
ことにより、アプリケーションプログラム自身がプリン
タに対応する制御コマンドを出力する方法である。そし
て、第2の方法としては、アプリケーションプログラム
独自のフォーマットで構成された印刷データを特定のエ
ミュレーションにデータ変換する機能を持つプリンタド
ライバと呼ばれるプログラムを、出力するプリンタの種
類に対応したものに交換する方法である。
2. Description of the Related Art There are various types of printers (printers) connected to a host such as a personal computer, but the control commands (hereinafter referred to as emulation) of these printers are different depending on the model. is there. Conventional printers support only one emulation, and such printers are often used especially in a one-to-one connection with a host.
On the host side, in order to support the emulation supported by the connected printer, one of the following two methods is used. First, the first method is a method in which the application program itself outputs a control command corresponding to the printer by setting the print environment of the application program in advance based on the type of the printer connected to the host. Then, as a second method, a program called a printer driver having a function of converting print data configured in a format unique to an application program into a specific emulation is replaced with a program corresponding to the type of printer to be output. Is the way.

【0003】しかし、近年になって、複数のホストと複
数のプリンタがネットワークを介して接続され使用され
る環境が一般化してきた。これによって複数のホストが
1台のプリンタを共有する状況が発生してきた。一方、
ホストが出力する印刷データのエミュレーションは多種
多様であり、前述したようなネットワーク環境に接続さ
れたプリンタが、従来のように唯一つのエミュレーショ
ンのみをサポートしているだけでは、使い勝手が非常に
悪くなる問題が顕在化してきたため、複数種類のエミュ
レーション機能をサポートするプリンタが登場してき
た。
However, in recent years, an environment in which a plurality of hosts and a plurality of printers are connected and used via a network has become general. This has caused a situation in which a plurality of hosts share one printer. on the other hand,
There are various types of emulation of print data output by the host, and if the printer connected to the network environment as described above only supports one emulation as in the past, the usability will be extremely poor. Has become a reality, and printers that support multiple types of emulation functions have appeared.

【0004】このようなプリンタでは、サポートしてい
る複数のエミュレーションの中から常に1つのエミュレ
ーションプログラムを選択し、実行して印刷データの処
理を行っている。ところで、エミュレーションの選択方
法には様々な方法が採られている。例えば、転送されて
きた印刷データを最初の数十バイト程度解析して印刷デ
ータのエミュレーションの種類を特定して自動的に切替
えを行う方法、あるいは、ホスト側が印刷データの転送
時にデータを構成しているエミュレーションを特定でき
るようなコマンドを追加し、プリンタはこのコマンドに
よってエミュレーション切替えを行う方法等がある。
In such a printer, one emulation program is always selected from a plurality of supported emulations and executed to process print data. By the way, various methods are adopted as a method of selecting emulation. For example, a method to analyze the transferred print data for about the first few tens of bytes and specify the emulation type of the print data to switch automatically, or to configure the data when the host side transfers the print data There is a method of adding a command that can identify the emulation that is present and the printer switching the emulation by this command.

【0005】前者はエミュレーション切替えを自動で行
える利点があるが、一方では似通ったコマンド体系のエ
ミュレーションの判定を誤ることが多く、正確なエミュ
レーション選択が行われない場合、正しい印刷結果が得
られない不具合が発生する。その点、後者の方法では、
正確なエミュレーション切替えが可能であり、印刷の不
具合は発生しない。
The former has an advantage that the emulation can be automatically switched, but on the other hand, it often happens that the emulation of a similar command system is erroneously judged, and a correct print result cannot be obtained unless an accurate emulation is selected. Occurs. On the other hand, in the latter method,
Accurate emulation switching is possible and printing problems do not occur.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、後者の
方法においては、印刷データの転送に際し、ホスト側か
らエミュレーション切替えコマンドを毎回転送するので
は、プリンタ側でのエミュレーション切替え処理及びそ
れに伴う初期化処理が実行されることになり、印刷処理
速度が低下するという問題が発生する。本発明は、上述
した問題点を解決するためになされたものであり、複数
のエミュレーションを搭載したプリンタに印刷データを
転送する際に、プリンタ側での不要なエミュレーション
切替え処理をなくすることが可能で、印刷処理速度を高
めることができる情報処理システム及びそれに用いられ
る印刷装置を提供することを目的とする。
However, in the latter method, when the emulation switching command is transferred from the host side every time when the print data is transferred, the emulation switching process on the printer side and the initialization process accompanying it are performed. As a result, the problem occurs that the print processing speed decreases. The present invention has been made to solve the above-described problems, and when transferring print data to a printer having a plurality of emulations, it is possible to eliminate unnecessary emulation switching processing on the printer side. It is an object of the present invention to provide an information processing system capable of increasing the printing processing speed and a printing apparatus used for the information processing system.

【0007】[0007]

【課題を解決するための手段】この目的を達成するため
に請求項1の情報処理システムは、複数種類のエミュレ
ーションを搭載し、かつ外部からのエミュレーション切
替え命令によってアクティブエミュレーションの切替え
動作が可能な印刷装置と双方向通信可能なインタフェー
スを介して接続され、更にアプリケーションプログラム
が動作可能な情報処理システムであって、アプリケーシ
ョンプログラムから出力される印刷データを印刷装置に
対応するエミュレーションに変換するデータ変換手段
と、印刷装置でのアクティブエミュレーション情報を取
得する取得手段と、データ変換手段で変換対象とするエ
ミュレーションと取得手段で取得した印刷装置のアクテ
ィブエミュレーションとが一致しているか否かを判定す
る判定手段と、判定手段で二つのエミュレーションが不
一致であると判定された場合にのみエミュレーション切
替えコマンドを発行するエミュレーション切替えコマン
ド発行手段と、エミュレーション切替えコマンド発行手
段からの出力とデータ変換手段からの出力とを印刷装置
に転送するデータ転送手段とを備えたものである。ま
た、請求項2の情報処理システムに用いられる印刷装置
は、印刷データの送信前に、印刷装置におけるアクティ
ブエミュレーションの問い合わせがなされたとき、現在
設定されているアクティブエミュレーション情報を送出
する送出手段を備えたものである。
In order to achieve this object, an information processing system according to a first aspect of the present invention is provided with a plurality of types of emulation, and printing capable of switching operation of active emulation by an emulation switching command from the outside. An information processing system that is connected to a device via an interface capable of bidirectional communication, and is capable of operating an application program, and data conversion means for converting print data output from the application program into emulation corresponding to the printing device. An acquisition unit that acquires active emulation information in the printing device; a determination unit that determines whether or not the emulation to be converted by the data conversion unit and the active emulation of the printing device acquired by the acquisition unit match; Judgment The emulation switching command issuing means for issuing the emulation switching command only when it is determined that the two emulations do not match at the stage, and the output from the emulation switching command issuing means and the output from the data converting means are transferred to the printing device. And a data transfer means for performing the same. Further, the printing apparatus used in the information processing system according to claim 2 comprises sending means for sending the currently set active emulation information when an inquiry about active emulation in the printing apparatus is made before transmission of print data. It is a thing.

【0008】[0008]

【作用】上記の構成を有する請求項1の情報処理システ
ムにおいては、動作中のアプリケーションプログラムが
印刷指示して出力してきた印刷データをデータ変換手段
は特定の印刷装置に対応するエミュレーションに変換す
る。一方で、取得手段は、接続されている印刷装置で現
在アクティブになっているエミュレーション情報を印刷
装置から取得する。その結果、判定手段は、印刷装置で
のアクティブエミュレーションとデータ変換手段での印
刷データのエミュレーションが一致していないと判定し
た場合のみ、エミュレーション切替えコマンド発行手段
から発行される、印刷データに使用しているエミュレー
ションへの切替えコマンドを、データ転送手段は、印刷
データ転送に先立ち、あるいは印刷データと一緒に印刷
装置に転送する。そのため、印刷装置側で不要なエミュ
レーション切替えに伴う初期化処理等の無駄な処理を省
くことが可能になる。また、請求項2の請求項1の情報
処理システムに用いられる印刷装置においては、送出手
段が、印刷データが送信される前になされる、印刷装置
に設定されているアクティブエミュレーションの問い合
せに対して応答する。これにより、前記取得手段がエミ
ュレーション情報を取得し、上記情報処理システムが上
記の作用を行う。
In the information processing system having the above-mentioned structure, the data converting means converts the print data output by the operating application program instructing the printing into the emulation corresponding to the specific printing apparatus. On the other hand, the acquisition unit acquires from the printing device the emulation information that is currently active in the connected printing device. As a result, the determining unit uses the print data issued from the emulation switching command issuing unit only when it determines that the active emulation in the printing device does not match the emulation of the print data in the data converting unit. The data transfer means transfers the command for switching to the emulation to the printing device prior to the transfer of the print data or together with the print data. Therefore, it is possible to omit useless processing such as initialization processing accompanying unnecessary emulation switching on the printing apparatus side. Further, in the printing apparatus used in the information processing system according to claim 2 of the present invention, in response to the inquiry of the active emulation set in the printing apparatus, the sending means makes an inquiry before the print data is transmitted. respond. As a result, the acquisition unit acquires the emulation information, and the information processing system performs the above operation.

【0009】[0009]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1は本実施例による情報処理装置
1と印刷処理を行う印刷装置(プリンタ)2を含んだ情
報処理システム3を示すブロック図である。図中、情報
処理装置1はホストコンピュータとして機能するもので
あり、中央処理装置(CPU)4はその全体の制御を司
る。ROM5は、CPU4の制御プログラムや各種文字
コードに対応した文字パターン等を記憶している。RA
M6は、データを一時格納したり、プログラムをロード
する。そして、ROM5、RAM6、CRT表示装置
7、各種情報を入力するためのキーボード8及び外部記
憶装置9がバスラインを介してCPU4に接続されてい
る。外部記憶装置9は、情報処理装置1で動作するアプ
リケーションプログラムP1や、印刷実行時に印刷デー
タのスプーリングや印刷制御などを行うプリントマネー
ジャープログラム(以下、単にプリントマネージャーと
いう)P2や、アプリケーションプログラムP1からの
印刷データをエミュレーションプログラムに変換した
り、接続されたプリンタの状態を取得する機能を有する
プリンタドライバプログラム(以下、単にプリンタドラ
イバという)P3や、印刷データの転送を制御するデバ
イスドライバプログラム(以下、単にデバイスドライバ
という)P4や、各種データを格納する記憶媒体であ
り、例えばハードディスクやCD−ROMなどである。
また、情報処理装置1は外部インタフェース制御部10
と双方向インタフェース19を介してプリンタ2と接続
されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an information processing system 3 including an information processing apparatus 1 according to this embodiment and a printing apparatus (printer) 2 that performs a printing process. In the figure, an information processing device 1 functions as a host computer, and a central processing unit (CPU) 4 controls the whole thereof. The ROM 5 stores control programs for the CPU 4, character patterns corresponding to various character codes, and the like. RA
M6 temporarily stores data and loads a program. A ROM 5, a RAM 6, a CRT display device 7, a keyboard 8 for inputting various information, and an external storage device 9 are connected to the CPU 4 via a bus line. The external storage device 9 includes an application program P1 that operates in the information processing apparatus 1, a print manager program (hereinafter simply referred to as a print manager) P2 that performs print data spooling and print control when printing is executed, and an application program P1. A printer driver program (hereinafter, simply referred to as a printer driver) P3 having a function of converting the print data of the above into an emulation program or acquiring the status of the connected printer, and a device driver program (hereinafter, referred to as a printer driver program) for controlling the transfer of the print data (hereinafter, referred to as a printer driver). P4 and a storage medium for storing various data, such as a hard disk drive or a CD-ROM.
Further, the information processing device 1 includes the external interface control unit 10
And the printer 2 through the bidirectional interface 19.

【0010】図2は本発明の情報処理システム3で使用
されるプリンタ2の実施例構成を示すブロック図であ
る。本発明で用いられるプリンタ2としては、レーザー
プリンタやインクジェットプリンタ等がある。プリンタ
2は、プリンタ装置全体の制御を司る中央処理装置(C
PU)11と、情報処理装置1、すなわちホストコンピ
ュータとの間で双方向でデータの送受信を行うホストイ
ンタフェース制御部12と、CPU11の制御やプリン
タ装置全体の制御及び動作を規定したプログラムを格納
するROM13と、各種エミュレーションプログラムを
ロードしたり、プログラム実行時のワークあるいはデー
タを格納するためのRAM14と、エンジン18との間
でのステータスや印字データのやり取りを行なうエンジ
ンインタフェース15と、プリンタ2のエラー状況や状
態を表示したり、インタフェース選択や紙サイズ選択な
どの各種設定を行うためのパネル16と、文字形状や辞
書などを格納したフォントROM17とを備えている。
ROM13には、前述したようなプリンタ2の制御プロ
グラムのほかに、例えば3種類のプリンタのエミュレー
ションE1,E2,E3の動作を規定するプログラム
や、これらのエミュレーションの中から1つのエミュレ
ーションを選択するプログラムE0が記憶されている。
エミュレーションの選択方法は、パネル16で指定する
ことにより、あるいは情報処理装置1からのエミュレー
ション切替えコマンドによってエミュレーション切替え
プログラムが切替えられるようになっている。
FIG. 2 is a block diagram showing the configuration of an embodiment of the printer 2 used in the information processing system 3 of the present invention. Examples of the printer 2 used in the present invention include a laser printer and an inkjet printer. The printer 2 is a central processing unit (C) that controls the entire printer device.
PU) 11 and the information processing apparatus 1, that is, a host interface control unit 12 that bidirectionally transmits and receives data to and from the host computer, and a program that defines control of the CPU 11 and control and operation of the entire printer apparatus. The ROM 13, the RAM 14 for loading various emulation programs and storing work or data during program execution, the engine interface 15 for exchanging status and print data with the engine 18, and the error of the printer 2 It is provided with a panel 16 for displaying the status and state and for performing various settings such as interface selection and paper size selection, and a font ROM 17 storing character shapes, dictionaries and the like.
In the ROM 13, in addition to the control program of the printer 2 as described above, for example, a program that defines the operations of the three types of printer emulations E1, E2, and E3, and a program that selects one emulation from these emulations. E0 is stored.
The selection method of emulation is designed so that the emulation switching program can be switched by designating on the panel 16 or by an emulation switching command from the information processing apparatus 1.

【0011】次に、このように構成された本実施例の情
報処理システム3における印刷処理の動作概要を図3を
用いて説明する。図3は本実施例における印刷処理プロ
セスを示すフローチャートである。情報処理装置1のR
AM6には、外部記憶装置9に格納されている1つもし
くは複数のアプリケーションプログラムP1がロードさ
れ実行されている。これらの1つから印刷要求が出され
た場合、本情報処理装置1のROM5又は外部記憶装置
9に格納されているオペレーティングシステム(図示せ
ず)を介して、プリントマネージャーP2にその印刷デ
ータが渡される(S1)。そのプリントマネージャーP
2に渡った印刷データは、プリンタドライバP3のデー
タ変換機能(データ変換手段)によってプリンタ2の解
釈するエミュレーションに変換され、その変換された印
刷データは、一旦、外部記憶装置9に保持されプリント
マネージャーP2が管理する(S2)。プリントマネー
ジャーP2(転送手段)は、この印刷データをデバイス
ドライバP4を使用してホストインタフェース制御部1
2で制御される双方向インタフェース19を介してプリ
ンタ7に転送するが、それに先立って、プリントマネー
ジャーP2は、本情報処理装置1とプリンタ2との間の
接続を確立する(S3)。つまり、情報処理装置1から
双方向インタフェース19を介して印刷データをプリン
タ2に転送可能な状態にするため、双方向インタフェー
ス制御デバイスの初期化や転送条件設定等を実行する。
Next, an outline of the operation of the printing process in the information processing system 3 of the present embodiment having the above configuration will be described with reference to FIG. FIG. 3 is a flowchart showing the print processing process in this embodiment. R of information processing device 1
One or a plurality of application programs P1 stored in the external storage device 9 are loaded and executed in the AM6. When a print request is issued from one of these, the print data is passed to the print manager P2 via the operating system (not shown) stored in the ROM 5 or the external storage device 9 of the information processing apparatus 1. (S1). The print manager P
The print data transferred to the printer driver P3 is converted into emulation interpreted by the printer 2 by the data conversion function (data converter) of the printer driver P3, and the converted print data is once held in the external storage device 9 and is stored in the print manager. It is managed by P2 (S2). The print manager P2 (transfer means) uses the device driver P4 to print this print data to the host interface controller 1
The data is transferred to the printer 7 via the bidirectional interface 19 controlled by 2. However, prior to that, the print manager P2 establishes a connection between the information processing apparatus 1 and the printer 2 (S3). That is, in order to transfer the print data from the information processing apparatus 1 to the printer 2 via the bidirectional interface 19, the bidirectional interface control device is initialized and transfer conditions are set.

【0012】本実施例に示すような、双方向インタフェ
ース19の接続確立方法としては、予め規定された接続
確認コマンドを情報処理装置1側からプリンタ2に転送
して、これに対するプリンタ2の応答をチェックする方
法等がとられる。接続が確認された後、プリントマネー
ジャーP2はプリンタ2のエラーステータスを問い合わ
せる(S4)。エラーステータスとは、例えば、用紙切
れやペーパージャムなどプリンタ2が印刷処理を実行で
きない状態のことである。ここで、プリンタ2のエラー
を検出した場合は(S5でYES)、エラー情報及びそ
れに対する処置方法などをCRT表示装置7に表示する
ことにより(S6)、オペレータにエラー解除処理を促
す。次に、プリンタ2が印字可能状態となったことを確
認できた後(S5でNO)、プリントマネージャーP2
はプリンタ2で現在選択(設定)されているエミュレー
ション情報の問合わせ(取得)を行なう(S7)。この
とき、プリンタ2においては、設定されているエミュレ
ーションが何であるか調べ、そのエミュレーションの種
類を双方向インタフェース19を介して情報処理装置1
に送出する
As a method of establishing the connection of the bidirectional interface 19 as shown in this embodiment, a predetermined connection confirmation command is transferred from the information processing apparatus 1 side to the printer 2 and the response of the printer 2 to this is sent. The method of checking is taken. After the connection is confirmed, the print manager P2 inquires about the error status of the printer 2 (S4). The error status is, for example, a state in which the printer 2 cannot execute print processing, such as running out of paper or paper jam. Here, when an error of the printer 2 is detected (YES in S5), the error information and the method for dealing with it are displayed on the CRT display device 7 (S6) to urge the operator to perform the error canceling process. Next, after confirming that the printer 2 is ready to print (NO in S5), the print manager P2
Inquires (acquires) the emulation information currently selected (set) by the printer 2 (S7). At this time, the printer 2 checks what the set emulation is, and determines the type of the emulation via the bidirectional interface 19.
Send to

【0013】この問い合わせに対するプリンタ2の応答
に対して、現在選択されているプリンタドライバP3の
変換対象となるプリンタエミュレーションと、現在プリ
ンタ2に設定されているアクティブエミュレーションが
一致しているか否かを判定する(S8)。判定した結
果、2つのエミュレーションが一致していない場合(S
8でNO)、印字データの転送より前にエミュレーショ
ン切替えコマンドを発行しプリンタ2に転送する(S
9)。続いて、全ての印刷データをプリンタ2に順次転
送する(S10)。一方、S8で2つのエミュレーショ
ンが一致していると判断された場合は(S8でYE
S)、エミュレーション切替えコマンドの転送を行わ
ず、全ての印刷データをプリンタ2に順次転送する(S
10)。また、上記S7のエミュレーション情報の取
得、S8のエミュレーションの判定、及びS9のエミュ
レーション切替えコマンドの発行等は、CPU4の処理
により行われ、CPU4がこれらの機能手段に相当す
る。
In response to the response of the printer 2 to this inquiry, it is determined whether the printer emulation to be converted by the currently selected printer driver P3 and the active emulation currently set in the printer 2 match. Yes (S8). As a result of the determination, if the two emulations do not match (S
8 is NO), an emulation switching command is issued and transferred to the printer 2 before the transfer of print data (S).
9). Then, all print data is sequentially transferred to the printer 2 (S10). On the other hand, if it is determined in S8 that the two emulations match (YES in S8).
S), all the print data is sequentially transferred to the printer 2 without transferring the emulation switching command (S
10). The acquisition of emulation information in S7, the determination of emulation in S8, and the issuance of the emulation switching command in S9 are performed by the processing of the CPU 4, and the CPU 4 corresponds to these functional means.

【0014】次に、プリンタ2側での処理動作を図4を
参照して説明する。ここでは例として、プリンタ2で現
在実行中のエミュレーションがエミュレーションE1で
あり、次に転送されるデータがエミュレーションE2で
ある場合のエミュレーション切替え動作を説明する。プ
リンタ2では、情報処理装置1より受信したデータを、
RAM14に設けられた受信バッファに一旦格納する。
エミュレーションE1のデータ解析部は前記受信バッフ
ァから順次入力データを読み出し処理を行う(S21・
S23)。前記データ解析部が受信バッファより取得し
たデータ中にエミュレーションの切替えコマンドを検出
すると(S22でYES)、処理中の印刷タスクが存在
するか否かの判断を行い(S24)、既に処理中の印刷
タスクが存在した場合(S24でYES)、このタスク
を処理し印字排出するか、タスクを破棄する等の処理を
行う(S25)。既存のタスクの処理が終了した場合
(S24でNO)、あるいは現在処理中印刷タスクが存
在しなかった場合、エミュレーションの切替え処理を実
行するために、以下のような処理を行う。
Next, the processing operation on the printer 2 side will be described with reference to FIG. Here, as an example, an emulation switching operation when the emulation currently being executed by the printer 2 is the emulation E1 and the data to be transferred next is the emulation E2 will be described. In the printer 2, the data received from the information processing device 1
The data is temporarily stored in the reception buffer provided in the RAM 14.
The data analysis unit of the emulation E1 sequentially reads the input data from the reception buffer and performs a process (S21.
S23). When the data analysis unit detects an emulation switching command in the data acquired from the reception buffer (YES in S22), it determines whether or not there is a print task in process (S24), and prints that are already in process. If there is a task (YES in S24), the task is processed and discharged, or the task is discarded (S25). When the processing of the existing task is completed (NO in S24) or when there is no print task currently being processed, the following processing is performed to execute the emulation switching processing.

【0015】まず、エミュレーションE1が、使用して
いるワークメモリやデータの中で消去可能なものを選択
し破棄する。また、異なるエミュレーション間で共有し
ているような資源に対する変更を元に戻したり、これら
の資源の管理情報の修正などエミュレーションの終了処
理を実行する(S26)。次いで、エミュレーション選
択プログラムE0は、情報処理装置1から送られてきた
エミュレーション切替えコマンドによって指定された新
しいエミュレーションであるエミュレーションE2をR
OM13から読み出し、エミュレーションE2は自分自
身の動作環境整備のために初期化処理を実行する(S2
7)。つまり、エミュレーションE2が使用するパラメ
ーターの初期化やワークエリアの確保、既存資源のチエ
ックなどを実行する。初期化処理終了後、エミュレーシ
ョンE2が実行され(S28)、これに従ってプリンタ
2は印刷動作を開始する。エミュレーションE2のデー
タ解析部は、RAM14の受信バッファから印字データ
を順次取出し、印刷処理を実行する(S21・S2
3)。
First, the emulation E1 selects an erasable work memory or data used and discards it. Also, the process for terminating the emulation such as undoing the changes to the resources shared by the different emulations and correcting the management information of these resources is executed (S26). Next, the emulation selection program E0 sets the emulation E2, which is a new emulation specified by the emulation switching command sent from the information processing apparatus 1, to R.
Read from the OM13, the emulation E2 executes an initialization process to maintain its own operating environment (S2).
7). That is, initialization of parameters used by the emulation E2, securing of a work area, checking of existing resources, etc. are executed. After the initialization process is completed, the emulation E2 is executed (S28), and the printer 2 starts the printing operation accordingly. The data analysis unit of the emulation E2 sequentially fetches print data from the reception buffer of the RAM 14 and executes print processing (S21 and S2).
3).

【0016】上記実施例による情報処理システム3及び
それに用いられるプリンタ2によれば、プリンタ2が複
数のエミュレーション機能を搭載しており、印刷に際し
てプリンタ2のアクティブになっているエミュレーショ
ンを検出し、この検出されたエミュレーションと、これ
から印刷データを送ろうとしているエミュレーションが
一致していない場合のみ、エミュレーション切替えコマ
ンドを送信するようにしているので、プリンタ2におい
て不要なエミュレーション切替え処理を行うことがなく
なり、印刷処理速度が高まる。
According to the information processing system 3 and the printer 2 used therein according to the above-described embodiment, the printer 2 has a plurality of emulation functions and detects the active emulation of the printer 2 during printing. Since the emulation switching command is transmitted only when the detected emulation does not match the emulation to which print data is to be transmitted, the printer 2 does not perform unnecessary emulation switching processing, and printing is not performed. Processing speed increases.

【0017】本発明は、上記実施例構成に限られること
なく種々の変形が可能であり、例えば、各種プログラム
を格納した外部記憶装置9は、それに代えて内部記憶手
段を用いても構わない。また、1台の印刷装置2に複数
台の情報処理装置1が接続されている場合にも適用でき
ることは勿論である。
The present invention can be variously modified without being limited to the configuration of the above embodiment. For example, the external storage device 9 storing various programs may use internal storage means instead. Further, it is needless to say that the present invention can be applied to the case where a plurality of information processing apparatuses 1 are connected to one printing apparatus 2.

【0018】[0018]

【発明の効果】以上説明したことから明かなように、請
求項1に係る情報処理システム及び請求項2に係る情報
処理システムに用いられる印刷装置によれば、複数のエ
ミュレーション機能を搭載した印刷装置で印刷を行う場
合、印刷装置で現在アクティブになっているエミュレー
ションを検出し、この検出されたエミュレーションと、
これから印刷データを送ろうとしているエミュレーショ
ンが一致していない場合のみ、エミュレーション切替え
コマンドを送信するようにしているので、印刷装置で不
要なエミュレーション切替え処理を行うことがなくな
り、印刷処理速度の向上が図れる。
As is apparent from the above description, according to the information processing system according to claim 1 and the printing device used in the information processing system according to claim 2, a printing device equipped with a plurality of emulation functions is provided. When printing with, the emulation currently active on the printing device is detected, and the detected emulation is
Since the emulation switching command is transmitted only when the emulation to which print data is going to be sent does not match, the printing device does not perform unnecessary emulation switching processing, and the printing processing speed can be improved. .

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

【図1】本発明の一実施例による情報処理システムの構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an information processing system according to an embodiment of the present invention.

【図2】本実施例における情報処理システムのプリンタ
の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a printer of the information processing system according to the present exemplary embodiment.

【図3】本実施例の情報処理システムにおいて印刷要求
があった時の手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure when there is a print request in the information processing system of this embodiment.

【図4】本実施例の情報処理システムにおいてプリンタ
側での処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing a processing procedure on the printer side in the information processing system according to the present embodiment.

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

1 情報処理装置 2 プリンタ 3 情報処理システム 4 CPU 5 ROM 9 外部記憶装置 10 外部インタフェース制御部 19 双方向インタフェース P2 プリンタマネージャープログラム(転送手段) P3 プリンタドライバプログラム(データ変換手段) 1 Information Processing Device 2 Printer 3 Information Processing System 4 CPU 5 ROM 9 External Storage Device 10 External Interface Control Unit 19 Bidirectional Interface P2 Printer Manager Program (Transfer Means) P3 Printer Driver Program (Data Conversion Means)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数種類のエミュレーションを搭載し、
かつ外部からのエミュレーション切替え命令によってア
クティブエミュレーションの切替え動作が可能な印刷装
置と双方向通信可能なインタフェースを介して接続さ
れ、更にアプリケーションプログラムが動作可能な情報
処理システムにおいて、 前記アプリケーションプログラムから出力される印刷デ
ータを印刷装置に対応するエミュレーションに変換する
データ変換手段と、 前記印刷装置におけるアクティブエミュレーション情報
を取得する取得手段と、 前記データ変換手段で変換対象とするエミュレーション
と前記取得手段で取得した印刷装置のアクティブエミュ
レーションとが一致しているか否かを判定する判定手段
と、 前記判定手段で二つのエミュレーションが不一致である
と判定された場合にのみエミュレーション切替えコマン
ドを発行するエミュレーション切替えコマンド発行手段
と、 前記エミュレーション切替えコマンド発行手段からの出
力と前記データ変換手段からの出力とを前記印刷装置に
転送するデータ転送手段とを備えたことを特徴とする情
報処理システム。
1. A plurality of types of emulation are installed,
In addition, in an information processing system that is connected to a printing apparatus capable of active emulation switching operation by an external emulation switching instruction via an interface capable of bidirectional communication, and further an application program is operable, output from the application program. Data conversion means for converting print data into emulation corresponding to the printing device, acquisition means for acquiring active emulation information in the printing device, emulation to be converted by the data conversion means, and printing device acquired by the acquisition means Determining means for determining whether or not the two emulations match, and the emulation switching command only if the determining means determines that the two emulations do not match. Information processing characterized by comprising emulation switching command issuing means for issuing a command and data transfer means for transferring the output from the emulation switching command issuing means and the output from the data converting means to the printing device. system.
【請求項2】 請求項1に記載の情報処理システムに用
いられる印刷装置であって、 印刷データの送信前に、前記印刷装置におけるアクティ
ブエミュレーションの問い合せがきたとき、設定されて
いるアクティブエミュレーション情報を送出する送出手
段を備えたことを特徴とする印刷装置。
2. The printing apparatus used in the information processing system according to claim 1, wherein, when an inquiry about active emulation is made in the printing apparatus before transmission of print data, the set active emulation information is displayed. A printing apparatus comprising a sending means for sending.
JP6282790A 1994-10-20 1994-10-20 Information processing system and printer used for the same Withdrawn JPH08123639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6282790A JPH08123639A (en) 1994-10-20 1994-10-20 Information processing system and printer used for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6282790A JPH08123639A (en) 1994-10-20 1994-10-20 Information processing system and printer used for the same

Publications (1)

Publication Number Publication Date
JPH08123639A true JPH08123639A (en) 1996-05-17

Family

ID=17657126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6282790A Withdrawn JPH08123639A (en) 1994-10-20 1994-10-20 Information processing system and printer used for the same

Country Status (1)

Country Link
JP (1) JPH08123639A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165780A (en) * 1997-08-11 1999-03-09 Seiko Epson Corp Printer control system and method
EP2428887A2 (en) 2010-09-13 2012-03-14 Seiko Epson Corporation Electronic device, control method for an electronic device, and recording medium
US8625140B2 (en) 2010-09-13 2014-01-07 Seiko Epson Corporation Device that performs multiple image formation processes based on commands sent from a host computer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165780A (en) * 1997-08-11 1999-03-09 Seiko Epson Corp Printer control system and method
EP2428887A2 (en) 2010-09-13 2012-03-14 Seiko Epson Corporation Electronic device, control method for an electronic device, and recording medium
US8625140B2 (en) 2010-09-13 2014-01-07 Seiko Epson Corporation Device that performs multiple image formation processes based on commands sent from a host computer
US8854640B2 (en) 2010-09-13 2014-10-07 Seiko Epson Corporation Electronic device, control method for an electronic device, and recording medium

Similar Documents

Publication Publication Date Title
JPH08161250A (en) Information processor
JPH11327856A (en) Printing controller, data processing method for the same and storage medium storing program which computer can read
US6147765A (en) Printer system, printer, computer with printer, printing control method, and medium for recording printing control program
JP5159908B2 (en) Information processing apparatus, control method, and program
US7315404B2 (en) Monitoring job status for grouped print jobs
JPH09311770A (en) Information processor, and printer, and its print control method
JP2000035864A (en) Printing controller
JPH08123639A (en) Information processing system and printer used for the same
JP3261233B2 (en) Printing apparatus and processing method
JP3985135B2 (en) Device initialization method in control system, control system, program for causing computer to execute device initialization method, and recording medium recording this program
JPH08123631A (en) Method and device for printing, and printing system
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JPH1097395A (en) Print controller, print control method for printer device, and storage medium stored with computer-readable program
JP2003076649A (en) Data processor, print control device, interface selecting method, storage medium, and program
JP3097558B2 (en) Printing control method and printing apparatus
JP5062750B2 (en) Image forming apparatus
JP2002259085A (en) Printer system
KR100193804B1 (en) How to Support Printer Emulation Using Computer
KR100346186B1 (en) Apparatus and method for reprinting the printed documents in pc
JP3241902B2 (en) Print control device and print control method
JP2006123261A (en) Printing apparatus and printing method
JP2000250731A (en) Printer controller, printer system, printer control method and storage medium
KR100530232B1 (en) A printing apparatus printing print reference information and a method providing print reference information thereof
JPH04173173A (en) Printing apparatus
JP2021033314A (en) Information processing system and program

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: 20020115