JP2658931B2 - Printer controller - Google Patents

Printer controller

Info

Publication number
JP2658931B2
JP2658931B2 JP6326838A JP32683894A JP2658931B2 JP 2658931 B2 JP2658931 B2 JP 2658931B2 JP 6326838 A JP6326838 A JP 6326838A JP 32683894 A JP32683894 A JP 32683894A JP 2658931 B2 JP2658931 B2 JP 2658931B2
Authority
JP
Japan
Prior art keywords
port
bidirectional
information
printer
print job
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.)
Expired - Fee Related
Application number
JP6326838A
Other languages
Japanese (ja)
Other versions
JPH08185286A (en
Inventor
裕 志楽
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6326838A priority Critical patent/JP2658931B2/en
Publication of JPH08185286A publication Critical patent/JPH08185286A/en
Application granted granted Critical
Publication of JP2658931B2 publication Critical patent/JP2658931B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、双方向ポートをインタ
フェースとして有するプリンタコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer controller having a bidirectional port as an interface.

【0002】[0002]

【従来の技術】特開平2−211517号公報には、上
位装置としてのホストコンピュータの複数台を1台のプ
リンタに接続するインタフェースとして、マルチプレク
サ及びバッファとしての機能を持つファイル・マルチプ
レクサ・バッファを用いることによって、プリンタの状
態情報、故障情報等のメッセージを任意のホストコンピ
ュータに通知できるようにしたシステムが開示されてい
る。複数のホストコンピュータから入力されたデータ
は、ファイル・マルチプレクサ・バッファに集められ
る。ファイル・マルチプレクサ・バッファでは、複数の
ホストコンピュータのうちのあるホストコンピュータか
ら入力されたデータをセレクタが選択データとして選択
して、選択データをMPU(マイクロプロセッサユニッ
ト)に送出する。MPUは、選択データをレベル変換回
路を介してプリンタに送る。これにより、プリンタから
のデータを前記あるホストコンピュータへ逆の経路で送
信することが可能になる。
2. Description of the Related Art Japanese Unexamined Patent Publication (Kokai) No. 2-21517 discloses a file multiplexer / buffer having a function as a multiplexer and a buffer as an interface for connecting a plurality of host computers as upper devices to one printer. Thus, a system has been disclosed which is capable of notifying a host computer of a message such as printer status information and failure information. Data input from multiple host computers is collected in a file multiplexer buffer. In the file multiplexer buffer, the selector selects data input from one of the plurality of host computers as selected data, and sends the selected data to an MPU (microprocessor unit). The MPU sends the selected data to the printer via the level conversion circuit. This makes it possible to transmit data from the printer to the host computer via the reverse route.

【0003】他方、例えば、双方向セントロニクスポー
トを双方向ポートとして用いたインタフェースを有する
従来のプリンタコントローラでは、図8に示す様に、複
数のホストコンピュータのうちのあるホストコンピュー
タから入力された印刷業務JOBn を受信すると(ステ
ップS1)、印刷業務JOBn がプリンタにその状態情
報等を応答させる状態応答要求であるか否かを判定する
(ステップS2)。印刷業務JOBn が状態応答要求で
はない場合、印刷業務JOBn が描画データであるか否
かを判定し(ステップS3)、印刷業務JOBn が描画
データである場合、印刷業務JOBn の描画処理を実行
する(ステップS4)。描画処理の終了後、当該印刷業
務JOBn の印刷処理を実行し(ステップS5及びS
6)、再びステップS1の受信処理に戻る。ステップS
3において、印刷業務JOBn が描画データでない場
合、印刷業務JOBn で示された個別処理を行い(ステ
ップS7)、ステップS1の受信処理に戻る。そして、
ステップS1にて複数のホストコンピュータのうちの一
つのホストコンピュータから入力された新たな印刷業務
JOBn を受信し、ステップS2において、受信した新
たな印刷業務JOBn が状態応答要求である場合は、印
刷業務JOBn のジョブ記述言語を解釈し、応答すべき
状態応答データを前記一つのホストコンピュータに送信
終了後(ステップS8及びS9)、ステップS1の受信
処理に戻る。
On the other hand, for example, in a conventional printer controller having an interface using a bidirectional Centronics port as a bidirectional port, as shown in FIG. When job JOB n is received (step S1), it is determined whether or not the print job JOB n is a status response request for causing the printer to respond with status information and the like (step S2). If printing business JOB n is not a status response request, the print work JOB n it is determined whether the drawing data (step S3), and if the print work JOB n is drawing data, the drawing process of the printing business JOB n Is executed (step S4). After the drawing process is completed, the printing process of the print job JOB n is executed (Steps S5 and S5)
6), and return to the receiving process of step S1 again. Step S
In step 3, if the print job JOB n is not drawing data, the individual process indicated by the print job JOB n is performed (step S7), and the process returns to the reception process of step S1. And
In step S1, a new print job JOB n input from one of the plurality of host computers is received, and in step S2, if the received new print job JOB n is a status response request, After interpreting the job description language of the print job JOB n and transmitting the status response data to be responded to the one host computer (steps S8 and S9), the process returns to the reception process of step S1.

【0004】[0004]

【発明が解決しようとする課題】上記特開平2−211
517号に開示されたファイル・マルチプレクサ・バッ
ファをインタフェースとして用いた場合、本来の印刷制
御を実行する回路の他に、複数のホストコンピュータを
切り換えるセレクタが必要であり、構造が複雑となる。
さらに、セレクタは、ある一時刻に、一つのホストコン
ピュータからデータ受信を行っている場合、他のホスト
コンピュータからのデータ受信が不可となる。このた
め、前記他のホストコンピュータからのプリンタの状態
情報、故障情報等を要求するための送信要求は、セレク
タが切り換わり得る状態(すなわち、実行中の受信処理
が全て終了後に他のホストコンピュータへのサービスが
可能な状態)まで待たされることとなり、ホストコンピ
ュータはプリンタの状態情報、故障情報等を即座に得ら
れない。
Problems to be Solved by the Invention
When the file multiplexer buffer disclosed in Japanese Patent No. 517 is used as an interface, a selector for switching between a plurality of host computers is required in addition to a circuit for executing the original print control, which complicates the structure.
Further, when the selector is receiving data from one host computer at a certain time, it cannot receive data from another host computer. For this reason, the transmission request for requesting the printer status information, the failure information, and the like from the other host computer is in a state where the selector can be switched (that is, the transmission request to the other host computer after all the reception processes being executed are completed). (The service is available), and the host computer cannot immediately obtain the printer status information, failure information, and the like.

【0005】図8を用いて説明した従来のプリンタコン
トローラでも、同様に、プリンタコントローラが一つの
ホストコンピュータからの印刷業務JOBn の実行して
いる間は、他のホストコンピュータからの状態応答要求
は、ステップS4、S5,及びS6における当該印刷業
務JOBn の描画処理及び印刷処理の終了まで、或いは
ステップS7における個別処理の終了まで、待たされる
こととなり、ホストコンピュータはプリンタの状態情報
等を即座に得られない。
[0005] Also in the conventional printer controller described with reference to FIG. 8, similarly, while the printer controller is running the printing business JOB n from one host computer, the status response request from another host computer , Until the drawing process and the printing process of the print job JOB n in Steps S4, S5, and S6 are completed, or until the individual process in Step S7 is completed, the host computer immediately sends the printer status information and the like. I can't get it.

【0006】それ故、本発明の課題は、上位装置からの
要求に即座に応答して、プリンタの状態情報を当該上位
装置に送信可能なプリンタコントローラを提供すること
にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printer controller capable of transmitting printer status information to a host device immediately in response to a request from the host device.

【0007】[0007]

【課題を解決するための手段】本発明によれば、第1及
び第2の上位装置とプリンタとに接続され、前記第1及
び前記第2の上位装置のうちの一方から送信された、描
画処理ステップ及びそれに続く印刷処理ステップを有す
る印刷業務を実行することによって、前記プリンタを制
御するプリンタコントローラにおいて、前記第1の上位
装置に接続された第1の入力ポートと、前記第1の上位
装置に接続された第1の出力ポートとを、有する第1の
双方向ポートと;前記第2の上位装置に接続された第2
の入力ポートと、前記第2の上位装置に接続された第2
の出力ポートとを、有する第2の双方向ポートと;前記
第1の双方向ポートの前記第1の入力ポートに接続され
た第1の入力バッファメモリと;前記第2の双方向ポー
トの前記第2の入力ポートに接続された第2の入力バッ
ファメモリと;前記第1及び前記第2の入力バッファメ
モリに接続された入力端子と、出力端子とを有し、前記
プリンタに接続された制御部と;前記制御部の前記出力
端子と前記第1の双方向ポートの前記第1の出力ポート
とに接続された第1の出力バッファメモリと;前記制御
部の前記出力端子と前記第2の双方向ポートの前記第2
の出力ポートとに接続された第2の出力バッファメモリ
と;前記第1の双方向ポートの前記第1の入力ポートと
前記制御部の前記入力端子とを接続する第1の信号線
と;前記第2の双方向ポートの前記第2の入力ポートと
前記制御部の前記入力端子とを接続する第2の信号線
と;を備え、前記制御部は、前記第1及び前記第2の上
位装置のうちの前記一方から送信された前記印刷業務
を、前記第1及び前記第2の双方向ポートのうちの一方
及び前記第1及び前記第2の入力バッファメモリの一方
を介して受信すると、当該印刷業務を実行し、当該印刷
業務を実行している間に、前記第1及び前記第2の上位
装置のうちの他方から送信されたデバイスID情報要求
を、前記第1及び前記第2の双方向ポートのうちの他方
と、前記第1及び前記第2の双方向ポートのうちの前記
他方に接続された前記第1及び前記第2の信号線のうち
の一つとを介して受信すると、前記印刷業務における前
記印刷処理ステップを実行していない限り、前記デバイ
スID情報要求に応答して、デバイスID情報と、前記
プリンタの状態を表す状態情報とを、作成し、前記デバ
イスID情報及び前記状態情報を、前記第1及び前記第
2の上位装置のうちの前記他方に、前記第1及び前記第
2の双方向ポートのうちの前記他方に接続された前記第
1及び前記第2の出力バッファメモリのうちの一つと、
前記第1及び前記第2の双方向ポートのうちの前記他方
とを介して、送信することを特徴とするプリンタコント
ローラが得られる。
According to the present invention, a drawing connected to a first and second higher-level device and a printer and transmitted from one of the first and second higher-level devices is provided. A first input port connected to the first higher-level device, the printer controller controlling the printer by executing a print job including a processing step and a subsequent print processing step; A first bidirectional port having a first output port connected to the second host device; and a second bidirectional port connected to the second host device.
And a second input port connected to the second higher-level device.
A first bidirectional port having an output port of the second bidirectional port; a first input buffer memory connected to the first input port of the first bidirectional port; A second input buffer memory connected to the second input port; an input terminal connected to the first and second input buffer memories; and an output terminal, the control being connected to the printer. A first output buffer memory connected to the output terminal of the control unit and the first output port of the first bidirectional port; the output terminal of the control unit and the second output buffer memory The second of the bidirectional ports
A second output buffer memory connected to the output port of the first bidirectional port; a first signal line connecting the first input port of the first bidirectional port to the input terminal of the control unit; A second signal line connecting the second input port of a second bidirectional port and the input terminal of the control unit; wherein the control unit is configured to control the first and second host devices. Receiving the print job transmitted from the one of the first and second bidirectional ports via one of the first and second bidirectional ports and one of the first and second input buffer memories; A print job is executed, and while the print job is being executed, a device ID information request transmitted from the other one of the first and second higher-level devices is transmitted to both the first and second devices. And the other of the first and second ports Receiving via one of the first and second signal lines connected to the other of the two bidirectional ports, unless the print processing step in the print job is performed, In response to the device ID information request, device ID information and status information representing the status of the printer are created, and the device ID information and the status information are stored in the first and second higher-level devices. The other one of the first and second output buffer memories connected to the other one of the first and second bidirectional ports;
A printer controller is provided which transmits data via the other of the first and second bidirectional ports.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0009】図1を参照すると、本発明の一実施例によ
るプリンタコントローラは、第1及び第2の上位装置
(典型的にはホストコンピュータ)1及び2とプリンタ
3とに接続され、第1及び第2の上位装置1及び2のう
ちの一方から送信された印刷業務(図1に示したJOB
n 、JOBn+1 、JOBn+2 のうちのいずれかであ
る。)を実行することにより、プリンタ3を制御する。
印刷業務は、描画処理ステップ及びそれに続く印刷処理
ステップを有する。
Referring to FIG. 1, a printer controller according to an embodiment of the present invention is connected to first and second higher-level devices (typically host computers) 1 and 2 and a printer 3, and includes The print job transmitted from one of the second higher-level devices 1 and 2 (JOB shown in FIG. 1)
n , JOB n + 1 , or JOB n + 2 . ) To control the printer 3.
The printing job includes a drawing processing step and a subsequent printing processing step.

【0010】このプリンタコントローラは、第1及び第
2の上位装置1及び2に接続された第1及び第2の双方
向ポート5及び6を有する。第1の双方向ポート5は、
第1の上位装置1に接続された第1の入力ポートと、第
1の上位装置1に接続された第1の出力ポートとを、有
する。第2の双方向ポート6は、第2の上位装置2に接
続された第2の入力ポートと、第2の上位装置2に接続
された第2の出力ポートとを、有する。第1及び第2の
双方向ポート5及び6の各々は、典型的には、IEEE
E・P1284の規格に準拠した入出力回路である双方
向セントロニクスポートである。
The printer controller has first and second bidirectional ports 5 and 6 connected to first and second higher-level devices 1 and 2, respectively. The first bidirectional port 5
It has a first input port connected to the first host device 1 and a first output port connected to the first host device 1. The second bidirectional port 6 has a second input port connected to the second higher-level device 2 and a second output port connected to the second higher-level device 2. Each of the first and second bidirectional ports 5 and 6 is typically an IEEE
It is a bidirectional Centronics port which is an input / output circuit conforming to the E.P1284 standard.

【0011】第1の入力バッファメモリ7は、第1の双
方向ポート5の前記第1の入力ポートに接続されてい
る。第2の入力バッファメモリ8は、第2の双方向ポー
ト6の前記第2の入力ポートに接続されている。
The first input buffer memory 7 is connected to the first input port of the first bidirectional port 5. The second input buffer memory 8 is connected to the second input port of the second bidirectional port 6.

【0012】制御部9は、第1及び第2の入力バッファ
メモリ7及び8に接続された入力端子と、出力端子とを
有し、かつ、プリンタ3に接続されている。
The control section 9 has an input terminal connected to the first and second input buffer memories 7 and 8, and an output terminal, and is connected to the printer 3.

【0013】第1の出力バッファメモリ11は、制御部
9の前記出力端子と第1の双方向ポート1の前記第1の
出力ポートとに接続されている。第2の出力バッファメ
モリ12は、制御部9の前記出力端子と第2の双方向ポ
ート6の前記第2の出力ポートとに接続されている。
The first output buffer memory 11 is connected to the output terminal of the control unit 9 and the first output port of the first bidirectional port 1. The second output buffer memory 12 is connected to the output terminal of the control unit 9 and the second output port of the second bidirectional port 6.

【0014】第1及び第2の入力バッファメモリ7及び
8及び第1及び第2の出力バッファメモリ11及び12
はいずれも一時的にデータを記憶する一時記憶装置であ
る。
First and second input buffer memories 7 and 8 and first and second output buffer memories 11 and 12
Are temporary storage devices for temporarily storing data.

【0015】第1の信号線13は、第1の双方向ポート
5の前記第1の入力ポートと制御部9の前記入力端子と
を接続している。第2の信号線14は、第2の双方向ポ
ート6の前記第2の入力ポートと制御部9の前記入力端
子とを接続している。
The first signal line 13 connects the first input port of the first bidirectional port 5 to the input terminal of the control unit 9. The second signal line 14 connects the second input port of the second bidirectional port 6 and the input terminal of the control unit 9.

【0016】制御部9は、第1及び第2の上位装置1及
び2のうちの一方から送信された印刷業務(この印刷業
務がJOBn であると仮定する)を、第1及び第2の双
方向ポート5及び6のうちの一方及び第1及び第2の入
力バッファメモリ7及び8の一方を介して受信すると、
当該印刷業務JOBn を実行する。制御部9は、当該印
刷業務JOBn を実行している間に、第1及び第2の上
位装置1及び2のうちの他方から送信されたデバイスI
D情報要求を、第1及び第2の双方向ポート5及び6の
うちの他方と、第1及び第2の双方向ポート5及び6の
うちの前記他方に接続された第1及び第2の信号線13
及び14のうちの一つとを介して受信すると、前記印刷
業務JOBn における前記印刷処理ステップを実行して
いない限り、デバイスID(識別)情報要求に対する応
答として、デバイスID情報と、プリンタ3の状態を表
す状態情報とを、作成し、前記デバイスID情報及び前
記状態情報を、第1及び第2の上位装置1及び2のうち
の前記他方に、第1及び第2の双方向ポート5及び6の
うちの前記他方に接続された第1及び第2の出力バッフ
ァメモリ11及び12のうちの一つと、第1及び第2の
双方向ポート5及び6のうちの前記他方とを介して、送
信する。デバイスID情報要求に対する応答としての前
記デバイスID情報及び前記状態情報は、図1に“応
答”と記述されている。
The control unit 9 converts a print job transmitted from one of the first and second higher-level devices 1 and 2 (assuming that this print job is JOB n ) into first and second print jobs. When received via one of the bidirectional ports 5 and 6 and one of the first and second input buffer memories 7 and 8,
The print job JOB n is executed. While executing the print job JOB n , the control unit 9 transmits the device I transmitted from the other of the first and second higher-level devices 1 and 2.
The D information request is transmitted to the other of the first and second bidirectional ports 5 and 6 and to the first and second bidirectional ports 5 and 6 connected to the other one of the first and second bidirectional ports 5 and 6. Signal line 13
And 14, the device ID information and the status of the printer 3 as a response to the device ID (identification) information request unless the print processing step in the print job JOB n is performed. And the device ID information and the status information are transmitted to the other one of the first and second higher-level devices 1 and 2 by the first and second bidirectional ports 5 and 6. Transmission via one of the first and second output buffer memories 11 and 12 connected to the other one of the first and second bidirectional ports 5 and 6 I do. The device ID information and the status information as a response to the device ID information request are described as “response” in FIG.

【0017】詳細には、制御部9は、第1及び第2の上
位装置1及び2のうちの前記一方から送信された前記印
刷業務における前記描画処理ステップを実行している間
に、第1及び第2の上位装置1及び2のうちの前記他方
から送信されたデバイスID情報要求を受信すると、デ
バイスID情報要求に応答して、前記印刷業務における
前記描画処理ステップの実行を中断して、前記デバイス
ID情報及び前記状態情報を作成し、前記デバイスID
情報及び前記状態情報を第1及び第2の上位装置1及び
2のうちの前記他方に送信する。
More specifically, while executing the drawing processing step in the print job transmitted from the one of the first and second higher-level devices 1 and 2, the control unit 9 performs the first And receiving the device ID information request transmitted from the other one of the second higher-level devices 1 and 2, in response to the device ID information request, suspends the execution of the drawing processing step in the print job, Creating the device ID information and the status information;
The information and the status information are transmitted to the other one of the first and second higher-level devices 1 and 2.

【0018】第1及び第2の上位装置1及び2のうちの
前記他方は、前記デバイスID情報及び前記状態情報の
受信を終了すると、前記デバイスID情報要求の送信を
停止する(これは、終了要求に対応する。)ので、制御
部9は、前記デバイスID情報要求を受信しなくなると
終了要求があったと判断して、前記印刷業務における前
記描画処理ステップの実行を再開する。
When the other of the first and second higher-level devices 1 and 2 has finished receiving the device ID information and the status information, it stops transmitting the device ID information request (this is a termination Therefore, when the control unit 9 does not receive the device ID information request, it determines that there is an end request, and restarts the execution of the drawing processing step in the print job.

【0019】その代りに、制御部9は、前記デバイスI
D情報及び前記状態情報の第1及び第2の上位装置1及
び2のうちの前記他方への送信が終了すると、プリンタ
3に前記印刷業務における前記描画処理ステップの実行
を再開するようにしても良い。
Instead, the control unit 9 controls the device I
When the transmission of the D information and the status information to the other one of the first and second higher-level devices 1 and 2 is completed, the printer 3 may resume the execution of the drawing processing step in the printing operation. good.

【0020】なお、制御部9は、入力バッファ7及び8
に存在する印刷業務をその到着順に処理する。即ち、図
1に示された例では、印刷業務JOBn の受信、描画処
理及び印刷処理の終了後、印刷業務JOBn+1 及び印刷
業務JOBn+2 を順次実行する。
The control unit 9 includes input buffers 7 and 8
Are processed in the order of their arrival. That is, in the example shown in FIG. 1, after the reception of the printing job JOB n , the drawing process, and the printing process, the printing job JOB n + 1 and the printing job JOB n + 2 are sequentially executed.

【0021】図2を参照して、図1のプリンタコントロ
ーラの制御部9の動作を説明する。印刷業務JOBn
受信すると、制御部9は印刷業務JOBn の描画処理を
実行する(ステップS11)。ステップS12において
デバイスID情報要求を受けない限り、制御部9は、印
刷業務JOBn の描画処理の続行する(ステップS1
3)。印刷業務JOBn の描画処理が終了したことを、
ステップS13において検出すると、印刷業務JOBn
の印刷処理を行い(ステップS14)、印刷業務JOB
n の印刷処理を終了すると、次の印刷業務JOBn+1
受信し、次の印刷業務JOBn+1 について、同様の処理
を行う。
Referring to FIG. 2, the operation of the controller 9 of the printer controller shown in FIG. 1 will be described. Upon receiving the print job JOB n , the control unit 9 executes a drawing process of the print job JOB n (step S11). Unless a device ID information request is received in step S12, the control unit 9 continues the drawing process of the print job JOB n (step S1).
3). The completion of the drawing process of the print job JOB n
If it is detected in step S13, the print job JOB n
Print processing (step S14), and print job JOB
When the print processing of n is completed, the next print job JOB n + 1 is received, and the same processing is performed for the next print job JOB n + 1 .

【0022】印刷業務JOBn の描画処理を行っている
間に、制御部9がステップS12において他の上位装置
からのデバイスID情報要求(すなわち、リバースチャ
ネル(上方向)の要求)を受けた場合、制御部7は、ネ
ゴシエーション(すなわち、応答の為の交渉)を行な
い、応答可能な状態にある場合は、IEEE・P128
4仕様に示される最小要求の標準デバイスID情報と、
プリンタ3の状態を表す状態情報を含む拡張デバイスI
D情報とを、応答として、他の上位装置に応答する。こ
の応答に対して、他の上位装置から前述の終了要求があ
った時、リバースチャネルを終了し、印刷業務JOBn
の描画処理にもどる。
When the control unit 9 receives a device ID information request (that is, a request for a reverse channel (upward)) from another higher-level device in step S12 while the printing job JOB n is being rendered. The control unit 7 performs negotiation (that is, negotiation for a response).
4 standard device ID information of minimum requirement indicated in the specification;
Extended device I including status information indicating the status of printer 3
D information and a response to another host device. In response to this response, when the above-mentioned end request is received from another higher-level device, the reverse channel is ended and the print job JOB n
Return to the drawing process.

【0023】図3は、デバイスID情報の一例である。
MFG、CMD、及びMDLは標準デバイスID情報で
あり、上記仕様での最小要求事項である。ADVINF
は、本発明で追加した拡張デバイスID情報である。
FIG. 3 shows an example of the device ID information.
MFG, CMD, and MDL are standard device ID information, and are minimum requirements in the above specification. ADVINF
Is extended device ID information added in the present invention.

【0024】図4は拡張デバイスID情報(ADVIN
F)の詳細を示している。拡張デバイスID情報は、4
バイトのプリンタ状態、2バイトのメモリサイズ、1バ
イトの現在選択中のホッパ番号、1バイトのホッパの
数、及び各ホッパの状態を与える配列データから構成さ
れる。
FIG. 4 shows extended device ID information (ADVIN).
The detail of F) is shown. The extended device ID information is 4
It consists of a printer status of bytes, a memory size of 2 bytes, a currently selected hopper number of 1 byte, the number of hoppers of 1 byte, and array data giving the status of each hopper.

【0025】図5は、拡張デバイスID情報(ADVI
NF)の実際の値を示している。拡張デバイスID情報
(ADVINF)の値が2バイト以上のデータである場
合は、最下位バイトから先に送られる。
FIG. 5 shows extended device ID information (ADVI
NF). When the value of the extended device ID information (ADVINF) is data of 2 bytes or more, the data is transmitted from the least significant byte first.

【0026】図6は図4のulStatusの詳細を示
している。4バイト、32ビットの各ビットにプリンタ
の状態を対応させ、ビットが“1”の時、当該状態が発
生していることを表わす。
FIG. 6 shows details of ulStatus in FIG. The state of the printer is made to correspond to each bit of 4 bytes and 32 bits. When the bit is "1", it indicates that the state is occurring.

【0027】図7は、図4のaFeedCfgの詳細を
示している。前のubNumFeedersで与えられ
る数の配列より構成され、各配列は4バイトの要素、す
なわち、カセットの種類、トレーの状態、用紙の状態、
及び用紙サイズをそれぞれ提供する。
FIG. 7 shows details of aFeedCfg in FIG. It consists of an array of numbers given by the previous ubNumFeeders, each array being a 4-byte element: cassette type, tray status, paper status,
And paper size.

【0028】以上のように、図1のプリンタコントロー
ラでは、プリンタコントローラと上位装置との通信にお
いて、エミュレーション言語による通信により通知する
のでなく、ハードウェアのプロトコルすなわち前述の双
方向セントロニクス仕様のデバイスID情報を拡張し、
新たに定義し、この拡張デバイスID情報でプリンタ3
の構成、状態の情報を通知する様にしたので、上位装置
はプリンタ3の状態を即座に知ることが出来る。
As described above, in the printer controller of FIG. 1, the communication between the printer controller and the host device is not notified by the communication in the emulation language, but is performed by the hardware protocol, that is, the device ID information of the bidirectional Centronics specification. To
A newly defined printer 3
, The host device can immediately know the status of the printer 3.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば、
上位装置からの要求に即座に応答して、プリンタの状態
情報を当該上位装置に送信可能なプリンタコントローラ
が得られる。
As described above, according to the present invention,
A printer controller capable of transmitting printer status information to the host device immediately in response to a request from the host device is obtained.

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

【図1】本発明の一実施例によるプリンタコントローラ
のブロック図。
FIG. 1 is a block diagram of a printer controller according to an embodiment of the present invention.

【図2】図1のプリンタコントローラの動作を説明する
ためのフローチャート。
FIG. 2 is a flowchart for explaining the operation of the printer controller of FIG. 1;

【図3】図1のプリンタコントローラにおいて用いられ
るデバイスID情報及び拡張デバイスID情報(ADV
INF)を説明するための図。
3 shows device ID information and extended device ID information (ADV used in the printer controller of FIG. 1);
INF).

【図4】図3の拡張デバイスID情報(ADVINF)
の詳細を説明するための図。
FIG. 4 is an extended device ID information (ADVINF) of FIG. 3;
FIG.

【図5】拡張デバイスID情報(ADVINF)の実際
の値を示した図。
FIG. 5 is a diagram showing actual values of extended device ID information (ADVINF).

【図6】図4のulStatusの詳細を示した図。FIG. 6 is a diagram showing details of ulStatus in FIG. 4;

【図7】図4のaFeedCfgの詳細を示した図。FIG. 7 is a diagram showing details of aFeedCfg in FIG. 4;

【図8】従来のプリンタコントローラの動作を説明する
ためのフローチャート。
FIG. 8 is a flowchart illustrating the operation of a conventional printer controller.

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

1 第1の上位装置 2 第2の上位装置 3 プリンタ 5 第1の双方向ポート 6 第2の双方向ポート 7 第1の入力バッファメモリ 8 第2の入力バッファメモリ 9 制御部 11 第1の出力バッファメモリ 12 第2の出力バッファメモリ 13 第1の信号線 14 第2の信号線 REFERENCE SIGNS LIST 1 first high-order device 2 second high-order device 3 printer 5 first bidirectional port 6 second bidirectional port 7 first input buffer memory 8 second input buffer memory 9 control unit 11 first output Buffer memory 12 Second output buffer memory 13 First signal line 14 Second signal line

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1及び第2の上位装置とプリンタとに
接続され、前記第1及び前記第2の上位装置のうちの一
方から送信された、描画処理ステップ及びそれに続く印
刷処理ステップを有する印刷業務を実行することによっ
て、前記プリンタを制御するプリンタコントローラにお
いて、 前記第1の上位装置に接続された第1の入力ポートと、
前記第1の上位装置に接続された第1の出力ポートと
を、有する第1の双方向ポートと;前記第2の上位装置
に接続された第2の入力ポートと、前記第2の上位装置
に接続された第2の出力ポートとを、有する第2の双方
向ポートと;前記第1の双方向ポートの前記第1の入力
ポートに接続された第1の入力バッファメモリと;前記
第2の双方向ポートの前記第2の入力ポートに接続され
た第2の入力バッファメモリと;前記第1及び前記第2
の入力バッファメモリに接続された入力端子と、出力端
子とを有し、前記プリンタに接続された制御部と;前記
制御部の前記出力端子と前記第1の双方向ポートの前記
第1の出力ポートとに接続された第1の出力バッファメ
モリと;前記制御部の前記出力端子と前記第2の双方向
ポートの前記第2の出力ポートとに接続された第2の出
力バッファメモリと;前記第1の双方向ポートの前記第
1の入力ポートと前記制御部の前記入力端子とを接続す
る第1の信号線と;前記第2の双方向ポートの前記第2
の入力ポートと前記制御部の前記入力端子とを接続する
第2の信号線と;を備え、 前記制御部は、前記第1及び前記第2の上位装置のうち
の前記一方から送信された前記印刷業務を、前記第1及
び前記第2の双方向ポートのうちの一方及び前記第1及
び前記第2の入力バッファメモリの一方を介して受信す
ると、当該印刷業務を実行し、当該印刷業務を実行して
いる間に、前記第1及び前記第2の上位装置のうちの他
方から送信されたデバイスID情報要求を、前記第1及
び前記第2の双方向ポートのうちの他方と、前記第1及
び前記第2の双方向ポートのうちの前記他方に接続され
た前記第1及び前記第2の信号線のうちの一つとを介し
て受信すると、前記印刷業務における前記印刷処理ステ
ップを実行していない限り、前記デバイスID情報要求
に応答して、前記プリンタのデバイスID情報と、前記
プリンタの状態を表す状態情報とを、作成し、前記デバ
イスID情報及び前記状態情報を、前記第1及び前記第
2の上位装置のうちの前記他方に、前記第1及び前記第
2の双方向ポートのうちの前記他方に接続された前記第
1及び前記第2の出力バッファメモリのうちの一つと、
前記第1及び前記第2の双方向ポートのうちの前記他方
とを介して、送信することを特徴とするプリンタコント
ローラ。
1. A drawing processing step and a subsequent printing processing step connected to a first and second higher-level device and a printer and transmitted from one of the first and second higher-level devices. A printer controller that controls the printer by executing a print job; a first input port connected to the first host device;
A first bidirectional port having a first output port connected to the first host device; a second input port connected to the second host device; and the second host device A second bidirectional port having a second output port connected to the first bidirectional port; a first input buffer memory connected to the first input port of the first bidirectional port; A second input buffer memory connected to the second input port of the bidirectional port; and the first and the second
A control unit having an input terminal connected to the input buffer memory and an output terminal, and connected to the printer; the output terminal of the control unit and the first output of the first bidirectional port; A first output buffer memory connected to a port; a second output buffer memory connected to the output terminal of the control unit and the second output port of the second bidirectional port; A first signal line connecting the first input port of the first bidirectional port and the input terminal of the control unit; the second signal line of the second bidirectional port;
A second signal line connecting the input port of the control unit and the input terminal of the control unit, wherein the control unit transmits the signal transmitted from the one of the first and second higher-level devices. When a print job is received via one of the first and second bidirectional ports and one of the first and second input buffer memories, the print job is executed and the print job is executed. During the execution, the device ID information request transmitted from the other of the first and second higher-level devices is transmitted to the other of the first and second bidirectional ports, and Executing the print processing step in the print job when received via one of the first and second signal lines connected to the other one of the first and second bidirectional ports. Unless the device ID is In response to the information request, device ID information of the printer and status information representing the status of the printer are created, and the device ID information and the status information are transmitted to the first and second higher-level devices. The other of the first and second output buffer memories connected to the other one of the first and second bidirectional ports;
The printer controller transmits data via the other one of the first and second bidirectional ports.
【請求項2】 前記制御部は、前記第1及び前記第2の
上位装置のうちの前記一方から送信された前記印刷業務
における前記描画処理ステップを実行している間に、前
記第1及び前記第2の上位装置のうちの前記他方から送
信された前記デバイスID情報要求を受信すると、前記
デバイスID情報要求に応答して、前記印刷業務におけ
る前記描画処理ステップの実行を中断して、前記デバイ
スID情報及び前記状態情報を作成し、前記デバイスI
D情報及び前記状態情報を前記第1及び前記第2の上位
装置のうちの前記他方に送信することを特徴とする請求
項1に記載のプリンタコントローラ。
2. The method according to claim 1, wherein the controller is configured to execute the first and the second processing while executing the drawing processing step in the printing operation transmitted from the one of the first and the second higher-level devices. Upon receiving the device ID information request transmitted from the other one of the second higher-level devices, in response to the device ID information request, suspends execution of the drawing processing step in the print job, and ID information and the state information are created, and the device I
The printer controller according to claim 1, wherein the D information and the status information are transmitted to the other of the first and second higher-level devices.
【請求項3】 前記制御部は、前記デバイスID情報及
び前記状態情報の前記第1及び前記第2の上位装置のう
ちの前記他方への送信が終了すると、前記印刷業務にお
ける前記描画処理ステップの実行を再開することを特徴
とする請求項2に記載のプリンタコントローラ。
3. When the transmission of the device ID information and the status information to the other of the first and second higher-level devices ends, the control unit executes the drawing process step in the print job. 3. The printer controller according to claim 2, wherein execution is resumed.
【請求項4】 前記第1及び前記第2の上位装置のうち
の前記他方は、前記デバイスID情報及び前記状態情報
の受信を終了すると、前記デバイスID情報要求の送信
を停止し、前記制御部は、前記デバイスID情報要求を
受信しなくなると前記印刷業務における前記描画処理ス
テップの実行を再開することを特徴とする請求項2に記
載のプリンタコントローラ。
4. The other of the first and second higher-level devices stops transmitting the device ID information request when receiving the device ID information and the status information, and 3. The printer controller according to claim 2, wherein when the device ID information request is no longer received, the execution of the drawing processing step in the print job is restarted.
【請求項5】 前記第1及び前記第2の双方向ポートが
双方向セントロニクスポートであることを特徴とする請
求項1〜4のいずれかに記載のプリンタコントローラ。
5. The printer controller according to claim 1, wherein said first and second bidirectional ports are bidirectional Centronics ports.
JP6326838A 1994-12-28 1994-12-28 Printer controller Expired - Fee Related JP2658931B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6326838A JP2658931B2 (en) 1994-12-28 1994-12-28 Printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6326838A JP2658931B2 (en) 1994-12-28 1994-12-28 Printer controller

Publications (2)

Publication Number Publication Date
JPH08185286A JPH08185286A (en) 1996-07-16
JP2658931B2 true JP2658931B2 (en) 1997-09-30

Family

ID=18192284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6326838A Expired - Fee Related JP2658931B2 (en) 1994-12-28 1994-12-28 Printer controller

Country Status (1)

Country Link
JP (1) JP2658931B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4208690B2 (en) 2003-10-02 2009-01-14 キヤノン株式会社 Status information acquisition method, apparatus, program, and storage medium
JP5453772B2 (en) * 2008-11-10 2014-03-26 セイコーエプソン株式会社 Request processing device

Also Published As

Publication number Publication date
JPH08185286A (en) 1996-07-16

Similar Documents

Publication Publication Date Title
US6282597B1 (en) Information processing apparatus, control method, and transmission medium using thin protocol that responds to A/V control commands
JPH0824320B2 (en) Method and device for buffer chaining in communication control device
US6741606B1 (en) Interface control apparatus
US7489414B2 (en) Image forming system and image forming apparatus
US5926650A (en) Method and system utilizing a negotiation phase to transfer commands and data in separate modes over a host/peripheral interface
JP2658931B2 (en) Printer controller
JPH11316661A (en) Printing control method, system and recording medium
JPH064239A (en) Printer server system for lan
US5761397A (en) Controlling logical channel use based upon printing system environment
JP2001067193A (en) Printing system, printer and its controlling method
JP3335094B2 (en) Printer interface system
JPH086746A (en) Printer device
JP2003209553A (en) Interface processing
JP3125997B2 (en) Print information output device and print system
JP2001086132A (en) Communication system, print system, communication method and print control method
JP4065466B2 (en) Data communication system
JP2995420B2 (en) Network disconnection method
JP3004440B2 (en) Printing method and apparatus
JP3175378B2 (en) Facsimile connection control device
JPH04233028A (en) Printer
JPH10124265A (en) Printer
JP2000207142A (en) System and method for transferring print data
JP2001333234A (en) Image forming system
JPH05250287A (en) Communication processor
JPH10320345A (en) Bus controller

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

LAPS Cancellation because of no payment of annual fees