JPH0260781A - Printing system - Google Patents

Printing system

Info

Publication number
JPH0260781A
JPH0260781A JP63210703A JP21070388A JPH0260781A JP H0260781 A JPH0260781 A JP H0260781A JP 63210703 A JP63210703 A JP 63210703A JP 21070388 A JP21070388 A JP 21070388A JP H0260781 A JPH0260781 A JP H0260781A
Authority
JP
Japan
Prior art keywords
section
command
printing device
host computer
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63210703A
Other languages
Japanese (ja)
Other versions
JP2728449B2 (en
Inventor
Saiji Kageyama
斎司 蔭山
Keiichi Nakane
啓一 中根
Hiroaki Kamibayashi
弘明 上林
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63210703A priority Critical patent/JP2728449B2/en
Publication of JPH0260781A publication Critical patent/JPH0260781A/en
Application granted granted Critical
Publication of JP2728449B2 publication Critical patent/JP2728449B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To enhance a printing system in throughput, safety, operability by providing an asynchronous report part and an initiator function part on the side of a printer and a target function part on the side of a host computer. CONSTITUTION:With the detection of such an event as error or page printing termination in each part within a printer 11, reported information is set to a report data part 146. Succeedingly, if a state of a Small Computer System Interface(SCSI) is either a bus free phase or an arbitration phase, an asynchronous report part indicates a bus arbitration right using an arbitration part of a printer SCSI control part, and the printer SCSI control part serves as an initiator. Then, a host computer is selected as a target in a selection phase by a selection part of the printer SCSI control part. Thereafter, the information is transmitted from the printer SCSI control part to a host computer SCSI control part in an information transfer phase using the former initiator function part and the latter target function part.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パーソナルコンビ二一タ、ワークxテーシ冒
ン等のホストコンピュータとレーザビームプリンタ、ワ
イヤドツトプリンタなどの印刷装置をS CS I (
Small Connputer SS75te In
terface )で接続した印刷システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention provides SCSI (
Small Computer SS75te In
terface).

〔従来の技術〕[Conventional technology]

近年、パーソナルコンピュータやワークステージ曹ンの
分野釦おいて、ホストコンビ二−タと、印刷装置、磁気
ディスク装置等の周辺装置との間の標準インターフェー
スとして、SCSI2>KANSI(アメリカ規格協会
)Kより規定され、利用されようとしている。
In recent years, SCSI2>KANSI (American National Standards Institute) has been adopted as a standard interface between host computer and peripheral devices such as printing devices and magnetic disk devices in the field of personal computers and work stage technology. It is about to be defined and used.

ホストコンピュータは、SCSI規格(ANSIxA1
3i)に従って、印刷装置と、例えば第2図のように接
続される。
The host computer complies with the SCSI standard (ANSIxA1
3i), it is connected to a printing device as shown in FIG. 2, for example.

第2の印刷システムにおいて、ホストコンピュータ10
と印刷装置11との間の通信は、次の手順で実行される
(第3図を参照)。
In the second printing system, the host computer 10
Communication between the printer 11 and the printer 11 is performed in the following steps (see FIG. 3).

(1)初期状態では、SCSIバス12の状態はバスフ
リーフェーズである。
(1) In the initial state, the state of the SCSI bus 12 is in the bus free phase.

(2)パスフリーフェーズ〜アービトレーシ冒ンフ工−
ズにおいて、ホストコンピュータ10 カフ −ビトレ
ーシ目ン部131を用いてバス裁定権を表明し、イニシ
ェータとなる。
(2) Pass-free phase - Arbitrage fraud -
In the host computer 10, the host computer 10 uses the cuff-bit controller 131 to assert bus arbitration rights and becomes the initiator.

(3)セレクシ日ン7エーズにおいて、ホストコンピ具
−夕10がセレクシ璽ン部132を用いて、ターゲット
として印刷装置11を選択する。
(3) In the SELEX date 7A, the host computer 10 selects the printing device 11 as a target using the SELECTION code unit 132.

(4)情報転送フェーズにおいては1次の(1)〜(1
v)の手1+11 t f?す。(υ〜(1■)は、各
々コマンド7エーズ、データフェーズ、ステータスフェ
ーズ、メツセージフェーズと呼ばれる。
(4) In the information transfer phase, primary (1) to (1)
v) move 1+11 t f? vinegar. (υ to (1)) are respectively called command 7 aids, data phase, status phase, and message phase.

(1)ホストコンピュータ10が、印刷装置11にイニ
シエータ機能部135を用いて、一つのSC8Iコマン
ドを送信し、印刷装置11に指示を与える。
(1) The host computer 10 uses the initiator function unit 135 to send one SC8I command to the printing device 11 to give instructions to the printing device 11.

なお、SCSIコマンドを以後単にコマンドと呼ぶこと
もある。本SCSIコマンドは、ターゲット機能部14
5を用いて、印刷装置11が受信する。
Note that the SCSI command may be simply referred to as a command hereinafter. This SCSI command is executed by the target function unit 14.
5, the printing device 11 receives it.

(II)続いて、コマンドの種類に応じてデータの送信
または受信をイニシエータ機能部153とターゲット機
能部143を用いて行う。データ送信は、印刷データ等
の送信で用い、データ受信は、ホストコンビ為−夕から
印刷装置11への間合せに対する応答データの受信時に
用いる。コマンドによってはデータの送受信を行わない
ものもある。
(II) Next, data is transmitted or received using the initiator function unit 153 and the target function unit 143 depending on the type of command. Data transmission is used to transmit print data, etc., and data reception is used to receive response data from the host combination to the printing device 11 in response to an arrangement. Some commands do not send or receive data.

(III)続いてターゲット機能部143からイニシエ
ータ機能部133ヘコマンドの実行状態をステータスと
して返送する。
(III) Subsequently, the execution state of the command is returned as a status from the target function unit 143 to the initiator function unit 133.

OV)続いて、ターゲラを機能部143からイニシェー
タ機能部155ヘメッセージを送り、ターゲットによる
ーコマンドの処理が完結したことを報告する。この結果
、SCSIバス12の状態は再びバスフリーフェーズと
なる。
OV) Next, the targeter function unit 143 sends a message to the initiator function unit 155 to report that the processing of the command by the target has been completed. As a result, the state of the SCSI bus 12 becomes the bus free phase again.

以下(2)〜(4)の手順をくり返す。Repeat steps (2) to (4) below.

なお、イニシエータとターゲットは前記SCSI規格に
より、次のように定義されている。
Note that the initiator and target are defined as follows according to the SCSI standard.

イニシエータ:他のSCSI制御部にコマンドの実行を
要求するSCSI制御部。
Initiator: A SCSI control unit that requests other SCSI control units to execute a command.

グーゲット :イニシエータによって要求され几コマン
ドを実行するSCSI制 御部。
Googet: A SCSI controller that executes commands requested by an initiator.

以上の通信手順において、ホストコンピュータ10から
印刷装置11への文字1図形等の紙面上への印刷指示は
、本手順(4)の(1)と(1)でprintその他の
コマンドと付随データを送信することで行う。
In the above communication procedure, the host computer 10 instructs the printing device 11 to print characters, figures, etc. on paper by sending print and other commands and accompanying data in steps (1) and (1) of step (4). This is done by sending.

ここで、前記printその他のコマンドは、コマンド
バッファ部151へ格納した時点で、印刷装置11にお
ける災行を終了したとみなし、ステータスとメツセージ
をターゲット機能部143からイニシエータ機能部13
3へ送信する。この時、ステータスの内容は、コマンド
バッファ部151へのコマンドの格納の成功、不成功t
−表し、メツセージ内容は、−コマンドについての本格
納処理の完結を表す。
Here, when the print and other commands are stored in the command buffer unit 151, it is assumed that the trouble in the printing device 11 has ended, and the status and message are transferred from the target function unit 143 to the initiator function unit 13.
Send to 3. At this time, the contents of the status are success or failure of storing the command in the command buffer section 151.
- represents, and the message content represents the completion of the main storage process for the - command.

印刷装置11本来の処理は、コマンドバッファ部151
内のコマンドを読出し実行すること(以後本処mt−遅
延コマント処理と呼び、コマンドバッファ部へ一旦格納
のa実行されるコマンドを遅延処理コマンドと呼ぶ。)
でるるか、本遅延コマンド処理における各ページの印刷
終了やエラーを、前記ステータスやメツセージを用いた
のでは、それらが既に発行されている九め、印刷装置I
L11からホストコンピュータ10へ伝えることはでき
ない。
The original processing of the printing device 11 is performed by the command buffer section 151.
(Hereinafter, this process will be referred to as delayed command processing, and the command that is once stored in the command buffer and executed will be referred to as delayed processing command.)
However, if the above status and messages are used to indicate the end of printing of each page or an error in this delayed command processing, it is impossible to use the status or message that has already been issued.
It cannot be transmitted from L11 to host computer 10.

を丸、ホストコンビ為−夕10と印刷装置112scs
x以外のインターフェースでVf!続し、印刷装置から
ホストコンピュータへのエラー報告を試みている印刷シ
ステムとして、次の二つがある。
For the host combination - 10 units and printing device 112 scs
Vf with an interface other than x! There are two types of printing systems that attempt to report errors from a printing device to a host computer.

(a)  [%開昭60−204386号公報記載のシ
ステム〕 ホストコンピュータが印刷装置へ、適宜自己診断全要求
し、印刷装置はその結果を報告する。
(a) [% System described in Japanese Patent Publication No. 1983-204386] The host computer requests the printing device to perform self-diagnosis as appropriate, and the printing device reports the results.

(b)〔特開昭62−90058号公報紀載のシステム
〕印刷装置がエラーを検出し、ホストコンピュータへ送
信する。
(b) [System described in Japanese Unexamined Patent Publication No. 62-90058] The printing device detects an error and sends it to the host computer.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記した従来の印刷システムにあっては、解決すべき課
題として、次のような問題点がある。
The conventional printing system described above has the following problems to be solved.

上記s、csr全用いた印刷システムでは、ターゲット
機能部143からイニシエーj1機能部133へのステ
ータス送信以外のフェーズにおいては、印刷装置11に
おけるエラーや印刷終了等の事象を検出しても、印刷装
置からホストコンピュータへ、非同期的に緊急報告する
手段がない。また、ステータス送信フェーズであっ友と
しても、前述したよりに、ステータス全遅延コマンド処
理実行中に検出されたエラーやページ印刷終了をホスト
コンピュータへ送信するために使うことはできない。そ
の九め、ホストコンピュータが印刷装置におけるエラー
、印刷終了等の最新状態をつかめず、印刷装置を効果的
に制御できない。さらに、印刷装置も最新状態に基づく
適切な指示をホストコンピュータから受けられない、と
いう問題点があった。
In a printing system that uses both s and csr, in phases other than the status transmission from the target function unit 143 to the initiator J1 function unit 133, even if an event such as an error or printing end is detected in the printing device 11, the printing device There is no way to asynchronously report an emergency from the computer to the host computer. Furthermore, even if it is a friend in the status sending phase, as described above, it cannot be used to send an error detected during execution of status all delay command processing or page printing completion to the host computer. Ninth, the host computer cannot grasp the latest status of errors, printing completion, etc. in the printing device, and cannot effectively control the printing device. Furthermore, there is a problem in that the printing device cannot receive appropriate instructions based on the latest status from the host computer.

なお、プリントサーバや共用プリンタのような印刷依頼
者と印刷装置が離れた場所で使われる印刷装置において
は、紙やトナー等の消耗品切れエラーや、レーザビーム
プリンタ定着器ヒータの加熱等の危険なエラーを、印刷
装置が検出したら直チニホストコンピュータへ報告する
ことが必要であるが、前記印刷システムではできない。
In addition, in printing devices such as print servers and shared printers where the print requester and the printing device are used in a remote location, there are risks such as errors in running out of consumables such as paper and toner, and heating of the laser beam printer fuser heater. When an error is detected by a printing device, it is necessary to report it directly to the host computer, which is not possible with the printing system.

また、上記特開昭60−204386号公報記載のシス
テムでは、印刷装置内で工2−1印刷終了等の事象が発
生しても、ホストコンピュータから印刷装置へ問合せや
自己診断を要求しない限り、それらの事象をホストコン
ピュータへ伝えられないという問題点があった。
Furthermore, in the system described in the above-mentioned Japanese Patent Application Laid-open No. 60-204386, even if an event such as completion of printing in step 2-1 occurs in the printing device, unless the host computer makes an inquiry to the printing device or requests self-diagnosis, There was a problem in that these events could not be communicated to the host computer.

さらに、上記特開昭62−90058号公報記載のシス
テムでは、印刷装置内で発生し几各種事象を、印刷装置
からホストコンビ瓢−タへ、非同期的に緊急報告する方
法、特に、SCSI通信を用いて非同期報告する方法に
ついては、考慮がなされていないという問題点があった
。また、印刷装置内の事象のうち、エラー検出部が検出
するエラー等の極く一部の事象しかホストコンピュータ
へ伝えられない九め、ホストコンピュータが印刷装置を
効果的に制御できないという問題点もあった。
Furthermore, the system described in the above-mentioned Japanese Patent Application Laid-Open No. 62-90058 provides a method for asynchronously and urgently reporting various events that occur within the printing apparatus from the printing apparatus to the host combiner, in particular using SCSI communication. There was a problem in that no consideration was given to the method of asynchronous reporting. Another problem is that only a very small number of events within the printing device, such as errors detected by the error detection unit, are communicated to the host computer, and the host computer cannot effectively control the printing device. there were.

本発明の目的は、上記従来システムの問題点を解消し、
印刷装置内で発生するエラー、ページ印刷終了、ホスト
コンピュータと印刷装置間の通信可能状態の変化等の各
種事象を、印刷装置からホストコンピュータへ非同期的
に緊急報告し、印刷システムの信頼性、稼動性を高めた
印刷システムを提供することにある。
The purpose of the present invention is to solve the problems of the above conventional system,
Various events such as errors occurring within the printing device, completion of page printing, and changes in communication status between the host computer and the printing device are urgently reported from the printing device to the host computer, thereby improving the reliability and operation of the printing system. Our goal is to provide a printing system with improved performance.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、印刷制御用SCSI制御部に非同期報告部
とイニシエータ機能部を設け、ホストコンピュータ用S
CSI制御部にターゲット機能部を設け、印刷装置内の
各部が報告事象を検出した時点で、報告データ部に報告
データをセットしt後、非同期報告部を起動し、非同期
報告部は、印刷装置用SCSI制御部をイニシェークと
し、ホストコンピュータ用SCSI部をターゲットとし
た後、前者から後者へ上記報告データ部の内容をコマン
ドまたは拡張メツセージとして送信することにより、達
成される。
The above purpose is to provide an asynchronous reporting section and an initiator function section in the SCSI control section for print control, and to
A target function section is provided in the CSI control section, and when each section in the printing device detects a report event, report data is set in the report data section, and after that, the asynchronous reporting section is started. This is achieved by setting the host computer SCSI control section as the initiator, targeting the host computer SCSI section, and then transmitting the contents of the report data section from the former to the latter as a command or extended message.

すなわち、本発明は、ホストコンピュータと、印刷装置
と、これら二つの装置を接続するSCSI(Small
 Computer System Interfac
e )バスとからなり、ホストコンピュータと印刷装置
は、各々互いに通信を行うためのホストコンピュータ用
SCSI制御部と印刷装置用SCSI制御部を有し、前
記ホストコンピュータ用SCSI制御部は、アービトレ
ーシ冒ン部とセレクシ曹ン部とイニシェーク機能部とを
有し、印刷装置用SCSI制御部は、アービトレーシ菖
ン部とセレクシ曹ン部とターゲット機能部とを有し、前
記印刷装置は、前記印刷装置用SCSI制御部以外に、
コマンド処理部、ページバッファ部、プリンタ制御部お
よびプリンタエンジン部を有する印刷システムにおいて
、印刷装置用SCSI制御部にイニシエータ手段を設け
、ホストコンピュータ用SCSI制御部にターゲット手
段を設け。
That is, the present invention provides a host computer, a printing device, and SCSI (Small) for connecting these two devices.
Computer System Interface
e) The host computer and the printing device each have a SCSI control section for the host computer and a SCSI control section for the printing device for communicating with each other, and the SCSI control section for the host computer has an arbitration function. The SCSI control unit for the printing device has an arbitration function unit, a selection function unit, and an initiation function unit, and the printing device has an arbitration function unit, a selection function unit, and an initiation function unit; In addition to the SCSI control unit,
In a printing system having a command processing section, a page buffer section, a printer control section, and a printer engine section, an initiator means is provided in a SCSI control section for a printing device, and a target means is provided in a SCSI control section for a host computer.

かつ、印刷装置用SCSI制御部に、印刷装置の各種事
象の検出により起動されて、前記印刷装置用SCSI制
御部をイニシエータとし、前記ホストコンピュータ用S
CSI制御部をターゲットとした後、前者から後者にコ
マンドまたは拡張メツセージを送信するよう制御する非
同期報告手段を設けたことを特徴とする。
The SCSI control unit for the printing device is activated by the detection of various events of the printing device, and the SCSI control unit for the printing device is used as an initiator, and the SCSI control unit for the host computer is activated by the detection of various events of the printing device.
The present invention is characterized in that an asynchronous reporting means is provided which targets the CSI control unit and then controls the former to transmit a command or extended message to the latter.

前記非同期報告手段は、報告データ部を有し、SC!3
I制御部、コマンド処理部、プリンタ制御部のいずれか
により、印刷装置に生起する各種事象が検出され、その
事象の内容が上記報告データ部に設定された後、起動さ
れるものであることが好ましい。
The asynchronous reporting means has a report data section, and the SC! 3
The I control unit, the command processing unit, or the printer control unit must detect various events that occur in the printing device, and the content of the event must be set in the report data unit before being activated. preferable.

ま几、印刷装置内には、印刷装置内の各部で検出された
各種事象を処理するための異常処理手段、ホストコンピ
ュータと印刷装置との間の通信に関する状態の表示や入
力を行なうユーザパネル部を制御するパネル制御手段、
および、印刷装置内の印刷データのキャンセル処理を行
なうキャンセル手段を設けることが好ましい。
The printing device includes an abnormality processing means for processing various events detected in each part of the printing device, and a user panel section for displaying and inputting the status of communication between the host computer and the printing device. panel control means for controlling the
Further, it is preferable to provide a canceling means for canceling print data in the printing device.

かつ、前記非同期報告手段は、報告データ部を有し、印
刷装置内の異常処理手段、コマンド処理手段、プリンタ
制御手段、パネル制御手段、キャンセル処理手段、SC
SI制御手段の各部により、検出した事象の内容を上記
報告データ部に設定され友後、起動されるものであるこ
とが好ましい。
The asynchronous reporting means has a report data section, and includes abnormality processing means, command processing means, printer control means, panel control means, cancellation processing means, and SC within the printing apparatus.
It is preferable that the content of the detected event be set in the report data section by each section of the SI control means and then activated.

前記非同期報告手段を起動する原因となる各種事象とし
ては、エラー、ページ印刷終了、コマンドバッファ空き
、ホストコンピュータと印刷装置間の通信可能状態の変
化等がおる。
Various events that cause the asynchronous reporting means to be activated include errors, completion of page printing, empty command buffers, and changes in the communicable state between the host computer and the printing device.

ま九、本発明は、上記課題を解決する手段として、ホス
トコンピュータと、印刷装置と、これら二つの装置を接
続するSCSIバスとからなり、ホストコンピュータと
印刷装置は、各々互いに通信を行うためのホストコンビ
具−夕月SCSI制御部と印刷装置用5C9I制御部を
有し、前記ホストコンビ為−タ用SCSI制御部はアー
ビトレーシロン部とセレクシ曹ン部とイニシエータ機能
部とを有し、印刷装置用SCSI制御部は、アービトレ
ーシlン部とセレクション部とターゲット機能部を有し
、前記印刷装置は前記印刷装置用SCSI制御部以外に
、コマンド処理部、ページバッファ部、プリンタ制御部
およびプリンタエンジン部を有する印刷システムにおい
て。
(9) As a means for solving the above-mentioned problems, the present invention comprises a host computer, a printing device, and a SCSI bus connecting these two devices, and the host computer and printing device each have a bus for communicating with each other. The host combination device has a Yuzuki SCSI control section and a 5C9I control section for the printing device, and the SCSI control section for the host combination device has an arbitration section, a selection section, and an initiator function section, and has a printing device SCSI control section. The device SCSI control section includes an arbitration section, a selection section, and a target function section, and the printing device has a command processing section, a page buffer section, a printer control section, and a printer engine in addition to the printing device SCSI control section. In a printing system having a copy.

ホストコンピュータ用SCSI制御部をイニシエータと
し、印刷装置用SCSI制御部をターゲットとして、前
者から後者にコマンドが送信されると、該コマンドを即
時処理コマンドと遅延処理コマンドとに分類するコマン
ド分類手段と、 該コマンドが即時処理コマンドである場合、直ちに実行
する即時コマンド処理手段と、該コマンドが遅延処理コ
マンドである場合、該コマンドを一旦格納保持するコマ
ンドバッファ手段と、 後に、前記コマンドバッファ手段からコマンドを読み出
して実行する遅延コマンド処理手段とを、riilI記
コマンド処理部内に備えて、ホストコンピュータが印刷
装置に印刷を指示するよりに構成したことを特徴とする
a command classification unit that uses a SCSI control unit for a host computer as an initiator and a SCSI control unit for a printing device as a target, and when a command is sent from the former to the latter, classifies the command into an immediate processing command and a delayed processing command; If the command is an immediate processing command, an immediate command processing means to execute it immediately; if the command is a delayed processing command, a command buffer means to temporarily store and hold the command; and later, a command buffer means to execute the command from the command buffer means. The present invention is characterized in that a delayed command processing means for reading and executing the command is provided in the command processing unit described in RIIL, so that the host computer instructs the printing apparatus to print.

上記態様において、好ましくは、印刷装置用SCSI制
御部にイニシエータ手段を設け、ホストコンピュータ用
SCSI制御部にターゲット手段を設け、かつ、印刷装
置用SCSI制御部に、印刷装置の各種事象の検出によ
り起動されて、前記印刷装置用SC!9I制御部をイニ
シエータとし、前記ホストコンピュータ用SCSI制御
部をターゲットとした後、前者から後者にコマンドまた
は拡張メツセージを送信するよう制御する非同期報告手
段を設けて、印刷装置内の状態変化を印刷装置からホス
トコンピュータに緊急報告できるより構成する。
In the above aspect, preferably, the printing device SCSI control section is provided with an initiator means, the host computer SCSI control section is provided with a target means, and the printing device SCSI control section is preferably activated upon detection of various events of the printing device. and the SC for the printing device! With the 9I control unit as an initiator and the SCSI control unit for the host computer as a target, an asynchronous reporting unit is provided that controls sending a command or an extended message from the former to the latter, and reports state changes within the printing device to the printing device. Configure emergency reports from the host computer.

〔作用〕[Effect]

印刷装置内の各部(SG!3I制御部、コマンド処理部
、プリンタ制御部、その他)が、印刷装置内の状VA度
化、つ′−!り、エラー、ページ印刷終了、コマンドバ
ッファ空き、ホストコンピュータト印刷装置間の通信可
能状態の変化等の事象全検出すると、直ちに、それらの
事象内容を前記報告データ部へ設定し友後、非同期報告
部を起動する。
Each part within the printing device (SG!3I control section, command processing section, printer control section, etc.) is controlled by the state of VA within the printing device. When all events such as error, end of page printing, empty command buffer, change in communication status between host computer and printing device are detected, the contents of these events are immediately set in the report data section and asynchronous reporting is performed. start the department.

非同期報告部は、SCSIバス状態がバス7リー7エー
ズまたはアービトレーシ177エーズnらば1次のよう
にして印刷装置からホストコンビ具−タへ非同期的に緊
急報告を行う。
The asynchronous reporting unit asynchronously reports an emergency from the printing device to the host combi-controller if the SCSI bus state is bus 7 7 7 7 AZ or ARBITRARY 1 7 7 AZ n.

(1)バス7リーフエーズ〜アービトレーシツンフエー
ズにおいて、印刷装置用5C9I制御部のアービトレー
ション部を用いてバス裁定権を表明させ、印刷装置用S
CSI制御部をイニ7エータとする。
(1) In Bus 7 LeafAze to Arbitration Status, the arbitration section of the 5C9I control section for the printing device is used to express the bus arbitration right, and the
The CSI control unit is assumed to be the initiator.

(2〕続いてセレクシ肩ンフェーズにおいて、印刷装置
用5C9I制御部のセレクシ曹ン部により、ホストコン
ビ五−夕をターゲットとして選択させる。
(2) Subsequently, in the selection phase, the selection unit of the 5C9I control unit for the printing device selects the host combination Goto as a target.

(3]続いて情報転送フェーズにおいて、印刷装置用S
(:SI制御部からホストコンピュータ用SCSI制御
部へ、前者のイニシエータ機能部と後者のターゲット機
能部を用いて、前記報告データ部の内容を、コマンドま
たは拡張メツセージを用いて送信させる。
(3) Next, in the information transfer phase,
(: The contents of the report data section are transmitted from the SI control section to the host computer SCSI control section using a command or an extended message using the former initiator function section and the latter target function section.

S CS I /(スの状態がバス71J−7エーズで
ないならば、バス7リーフエーズになるのを待って、以
上の手順を行う。
S CS I /(If the status of the bus is not bus 71J-7 AIDS, wait until it becomes bus 7 leaf AIDS and perform the above procedure.

以上のように、印刷制御用5csx制御部とホストコン
ビ二−タ用SCSI制御部を構成し動作させることによ
り、印刷装置内の状態変化事象を印刷装置からホストコ
ンピュータへ緊急報告し、ホストコンピュータがその報
告内容に従って自身と印刷装置を最適圧制御することが
できるので、印刷システムのスルーブツト、安全性、信
頼性、稼動性を高められるといり効果がある。
As described above, by configuring and operating the 5csx control unit for print control and the SCSI control unit for host combinator, status change events within the printing device can be urgently reported from the printing device to the host computer, and the host computer can Since it is possible to optimally control the pressure of itself and the printing device according to the contents of the report, it is effective in improving the throughput, safety, reliability, and operability of the printing system.

〔実施例〕〔Example〕

以下5本発明の第1実施例を第1図の構成例を用いて説
明する。
A first embodiment of the present invention will be described below using the configuration example shown in FIG.

本構成例は、ホストコンピュータ10と印刷装置11と
5C9Iバス12かうなる。ホストコンピュータ10と
印刷装置11は、各々、ホストコンピュータ用SCSI
制御部15と印刷装置用SCSI制御部14を有し、各
々がこれらのSCSI制御部15と14を制御すること
により、SCSIバス12を通じ互いに通信を行う。
This configuration example includes a host computer 10, a printing device 11, and a 5C9I bus 12. The host computer 10 and the printing device 11 each have SCSI for host computers.
It has a control section 15 and a SCSI control section 14 for printing apparatus, and by controlling these SCSI control sections 15 and 14, they communicate with each other through the SCSI bus 12.

ホストコンビ二−タ用SCSI制御部15は、アービト
レーシ日7部151、セフ2フ1フ部132、イニシエ
ータ機能部153を有する。印刷装置用SCSI制御部
14は、アービトレーシ■ン部141、セレクシlン部
142、ターゲット機能部145、を有する。
The host combinatorial SCSI control section 15 includes an arbitration date section 151, a security section 132, and an initiator function section 153. The printing device SCSI control section 14 includes an arbitration section 141, a selection section 142, and a target function section 145.

従来のSCSIを用いた印刷システム(第2図に示した
)では、ホストコンピュータ用S CS I 制御部1
3と印刷装置用SCSI制御部14は、各々イニシエー
タ機能部133によるイニシエータ機能と、ターゲット
機能部143によるターゲット機能の一方しか丈ボート
していなかった。
In a conventional printing system using SCSI (shown in FIG. 2), the SCSI controller 1 for the host computer
3 and the printing device SCSI control unit 14 each had only one of the initiator function by the initiator function unit 133 and the target function by the target function unit 143.

本発明の特徴は、ホストコンピュータ用SC8I制御部
13に、ターゲット機能部154を設け、印刷装置用S
C3I制御部14にイニシエータ機能部144と非同期
報告部145と報告データ部146を設けたことである
The feature of the present invention is that a target function section 154 is provided in the SC8I control section 13 for the host computer, and
This is because the C3I control unit 14 is provided with an initiator function unit 144, an asynchronous reporting unit 145, and a report data unit 146.

印刷装[ftは、上記SOS f制御部14に加えテ、
コマンド処理部15、ページバッファ部16、プリンタ
制御部17、プリンタエンジン部18を有し、15はそ
の内部にコマンドバッファ部151と遅延コマンド処理
部154を持つ。
The printing device [ft is the SOS f control unit 14 described above, as well as the te,
It has a command processing section 15, a page buffer section 16, a printer control section 17, and a printer engine section 18, and the 15 has a command buffer section 151 and a delayed command processing section 154 therein.

ホストコンピュータ用SCSI制御部15と印刷装置用
SCSI制御部14は、5csiバス12を介して、「
従来の技術10項で述べ友ように、通信を行う。
The SCSI control unit 15 for the host computer and the SCSI control unit 14 for the printing device communicate via the 5CSI bus 12.
Communication is performed as described in Prior Art Section 10.

前記コマンドバッファ部151内のコマンドには、pr
intコマンドのように、そのデータ部にサブコマンド
列をもつものと、そうでないものとがある。
The commands in the command buffer section 151 include pr
Some commands, such as the int command, have a subcommand string in their data section, while others do not.

なお、サブコマンドは、SCSI規格の範囲外でるり、
本発明では文字コードとエスケープ7−クンスを用いて
本印刷システム用に定めた。
Note that the subcommands are outside the scope of the SCSI standard.
In the present invention, the character code and escape 7-kunsu are used and defined for this printing system.

tx、コマンドとサブコマンドは、描画を指示するもの
と印刷を指示するものに二分され、前記遅延コマンド処
理部154により実行される。
tx, commands, and subcommands are divided into those instructing drawing and those instructing printing, and are executed by the delayed command processing unit 154.

描画を指示するコマンド、サブコマンドを実行すると、
ページバッファ部16(ビットマツプメモリ)上に文字
や図形がドツトイメージとして描画される。印刷を指示
するコマンド、サブコマンドを実行すると、プリンタ制
御部17が起動される。プリンタ制御部17は、描画の
完了し次ページバッファ部16の内容(ドツトイメージ
データ)を読出し、プリンタエンジン部18へ送(する
When you execute a command or subcommand that instructs drawing,
Characters and figures are drawn as dot images on the page buffer section 16 (bitmap memory). When a command or subcommand instructing printing is executed, the printer control unit 17 is activated. After the drawing is completed, the printer control section 17 reads the contents (dot image data) of the next page buffer section 16 and sends it to the printer engine section 18 .

プリンタエンジン部18は、入力されるドツトイメージ
データに従って、紙面上への印刷を電子写真印刷メカニ
ズムやワイヤドツト印刷メカニズムを用いて行う。
The printer engine unit 18 prints on paper using an electrophotographic printing mechanism or a wire dot printing mechanism according to the input dot image data.

前記遅延コマンド処理部154、プリンタ制御部17.
その他の印刷装置内の各部において、エラー、ページ印
刷終了等の事象が検出されると、K4図の手順に従って
、印刷装置11からホストコンビ為−夕10へそれらの
事象が報告される。
The delayed command processing section 154, the printer control section 17.
When an event such as an error or completion of page printing is detected in each part of the printing device, the printing device 11 reports these events to the host combination server 10 according to the procedure shown in Figure K4.

第4図において、初めに前記事象が検出されると、報告
データ部146ヘセツトされる(41)。
In FIG. 4, when the event is first detected, it is set in the report data section 146 (41).

この事象の検出、設定は、第4図(e)に示すように、
まず、印刷装置内の各部(コマンド処理部、プリンタ制
御部、異常処理部、ツクネル制御部、キャンセル処理部
等)で報告内容を検出する(411)。
The detection and setting of this event is as shown in Figure 4(e).
First, each part (command processing part, printer control part, abnormality processing part, tunnel control part, cancellation processing part, etc.) in the printing apparatus detects the report contents (411).

ついで、報告内容を報告データ部へ設定する(412)
Next, the report contents are set in the report data section (412).
.

続いて、非同期報告42′t−行り、SCSIバスの状
態がパスフリーフエーズマ九はアービトレーション7エ
ーズならば(42−a)、報告1 (43)を行う。報
告1では、前記「作用10項において、(1)〜(5)
として記述した処理を行う。すなわち、第4図(b)に
示すj:5に、 (11パスフリー7エーズ〜アービトレーシ田ンフエー
ズにおいて、印刷装置用SCSI制御部のアービトレー
ション部を用いてバス裁定権を表明させ、印1i11J
装置用SCSI制御部をイ二シエータとする(451)
Subsequently, an asynchronous report 42't- is carried out, and if the state of the SCSI bus is pass-free phase 9 arbitration 7A (42-a), a report 1 (43) is carried out. Report 1 states that (1) to (5) in “Action 10” above.
Perform the processing described as . That is, at j:5 shown in FIG. 4(b), the arbitration section of the SCSI control section for the printing device is used to assert the bus arbitration right in (11 path free 7 phases to arbitrage phase), and the mark 1i11J is
Set the device SCSI control unit as an initiator (451)
.

(2)続いて、セレクシ目ンフエーズにおいて、印刷装
置用SCSI制御部のセレクシ目ン部により、ホストコ
ンピュータをターゲットとして選択させる(432)っ (3)続いて、情報転送7エーズにおいて、印刷装置用
SCSI制御部からホストコンピュータ用SCSI制御
部へ、前者のイニシエータ機能部と後者のターゲット機
能部を用いて、前記報告データ部の内容を、コマンドま
たは拡張メツセージを用いて送信させる(433)。
(2) Next, in the selection phase, the host computer is selected as a target by the selection section of the printing device SCSI control section (432). (3) Then, in the information transfer phase 7, the printing device The contents of the report data section are transmitted from the SCSI control section to the host computer SCSI control section using a command or an extended message using the former's initiator function section and the latter's target function section (433).

上記435の情報転送フェーズにおいて、本実施例では
5endコマンドま几は拡張メツセージを用イテイる。
In the information transfer phase of 435, in this embodiment, the 5end command uses an extended message.

5endコマンドの代りにC0PYコマンドを用いても
良い。
The C0PY command may be used instead of the 5end command.

SCSIバスが情報転送フェーズならば(42−b)、
報告2(44)により、拡張メツセージを用いて報告デ
ータ部の内容をホストコンピュータへ送信する(第4図
(o)参照)。
If the SCSI bus is in the information transfer phase (42-b),
Report 2 (44) sends the contents of the report data section to the host computer using an extended message (see FIG. 4(o)).

SCSIバスがそれ以外のフェーズならば(42−C)
、報告3(45)により、SCSIバス状態がバス7リ
ーフエーズになるのを待って(451)、バスフリー用
の報告1(43)全行5(第4図(d)参照)。
If the SCSI bus is in any other phase (42-C)
, waits for the SCSI bus status to become bus 7 leaf aids according to report 3 (45) (451), and reports 1 (43) for bus free all rows 5 (see FIG. 4(d)).

なお、42−bの情報転送フェーズにおいても、報告2
(44)の代りに報告!(45)の手順を用いても良い
Note that even in the information transfer phase of 42-b, report 2
Report instead of (44)! The procedure (45) may also be used.

なお、以上の実施例において、イニ7エータ機能部(1
44と133)とターゲット機能部(154と143)
は、各々、第5図(a)、(b)のように構成し次。
Note that in the above embodiment, the initiator function section (1
44 and 133) and target function section (154 and 143)
are constructed as shown in FIGS. 5(a) and 5(b), respectively.

第5図(a)に示すイニシエータ機能部153または1
44において、51.52および53は、各々イニシエ
ータがコマンド、データ、メツセージを送信するために
用いる。また、54.55および56は、イ二シエータ
がデータ、ステータス、メツセージを受信する丸めに用
いる。
Initiator function section 153 or 1 shown in FIG. 5(a)
44, 51, 52, and 53 are used by the initiator to send commands, data, and messages, respectively. Also, 54, 55 and 56 are used for rounding when the initiator receives data, status, and messages.

また、第5図(b)K示すターゲット機能部134また
は143において、57.58および59は、各々ター
ゲットがコマンド、データ、メツセージを受信する九め
に用いる。また、5A。
Further, in the target function unit 134 or 143 shown in FIG. 5(b)K, 57, 58, and 59 are respectively used for the ninth point where the target receives commands, data, and messages. Also, 5A.

5B、5Cは、ターゲットがデータ、ステータス、メツ
セージを送信するために用いる。
5B and 5C are used by the target to send data, status, and messages.

第1図の各部は、マイクロプロセッサ、RAM。Each part in FIG. 1 is a microprocessor and a RAM.

ROM、LSI、論理IC,電子写真印刷メカニズム、
ワイヤドツト印刷メカニズム等金用いて、実現すること
ができる。
ROM, LSI, logic IC, electrophotographic printing mechanism,
This can be achieved using a wire dot printing mechanism or the like.

本実施例によれば、印刷装置内の状態変化事象を印刷装
置からホストコンピータへ緊急報告し、ホストコンピー
タがその報告内容に従って自身と印刷装@を最適に制御
することができるので、印刷システムのスループット、
安全性、信頼性、稼動性を高めることができる。
According to this embodiment, status change events within the printing device can be urgently reported from the printing device to the host computer, and the host computer can optimally control itself and the printing device according to the contents of the report. throughput,
Safety, reliability, and operability can be improved.

次に、本発明の第2実施例を、第6図の構成例を用いて
説明する。
Next, a second embodiment of the present invention will be described using the configuration example shown in FIG.

第6図は、第一図に示す第1実施例の印刷装置に、異常
処理部61、パネル制御部62、エラー状態テーブル部
63、キャンセル処理部64を追加したものである。
FIG. 6 shows the printing apparatus of the first embodiment shown in FIG. 1 to which an abnormality processing section 61, a panel control section 62, an error state table section 63, and a cancellation processing section 64 are added.

異常処理部61は、印刷装置11内の各部で工2−が検
出され几場合に、エラ一番号を入力パラメータとして起
動される。本異常処理部61により、印刷装置内の各部
(5C9I制御部14、コマンド処理部15、遅延コマ
ンド処理部154、プリンタ制御部17、プリンタエン
ジン部18、パネル制御部62、その他)で発生するエ
ラーを共通に処理することができる。
The abnormality processing unit 61 is activated using the error number as an input parameter when error 2- is detected in each part of the printing apparatus 11. This abnormality processing section 61 causes errors that occur in each section of the printing apparatus (5C9I control section 14, command processing section 15, delayed command processing section 154, printer control section 17, printer engine section 18, panel control section 62, and others). can be commonly processed.

パネル制御62は、印刷装置とユーザとの間のマンマシ
ンインター7エースヲ司ルユーサハネルを制御するため
に設けである。62は、その−機能として、ホストコン
ピュータ10と印刷装置11との間の通信可能状態(以
下ホスト・プリンタ間通信状態と略す。)の表示、入力
を行う。ここで、ホスト・プリンタ間通信状態としては
、通信可能(オンライン)、通信不可能(オフライン)
およびホールド(ユーザ介入要求)t−設けである。
A panel control 62 is provided to control the man-machine interface between the printing device and the user. The function of 62 is to display and input the communicable state between the host computer 10 and the printing device 11 (hereinafter abbreviated as host-printer communication state). Here, the communication status between the host and printer is communication possible (online) and communication impossible (offline).
and hold (user intervention request) t-provision.

ホールド状態は、紙なし、トナーなし等のユーザの印刷
装置への介入操作により、正常状態に復帰できるタイプ
のエラーに対応させである。本状態では、ホストコンピ
ュータは印刷装置に前記遅延処理コマンドを送信しては
いけない。印刷装置は、送信されても無視する。本状態
でホストコンピュータから印刷装置間へ流せるコマンド
は、後述する即時処理コマンドだけである。
The hold state corresponds to errors such as out of paper and out of toner, which can be returned to a normal state by the user's intervention in the printing device. In this state, the host computer must not send the delay processing command to the printing device. The printing device will ignore it even if it is sent. In this state, the only commands that can be sent from the host computer to the printing apparatuses are immediate processing commands, which will be described later.

キャンセル処理部64は、キャンセル処理(印刷装置内
の全バッファデータのクリア)t−行う九めに設けてる
る。キャンセル処理の指示は、ホストコンピュータから
印刷装置への5top Pr1ntコマンドの送信、ま
几は、ユーザパネルからの入力のいずれかの方法で行う
The cancellation processing unit 64 is provided at the ninth point where cancellation processing (clearing all buffer data in the printing device) is performed. The cancellation processing instruction is performed either by sending a 5top Pr1nt command from the host computer to the printing device, or by inputting it from the user panel.

また、エラー状態テーブル部63は、(a)エラーコー
ド、(b)中断・再開・キャンセルフラグ、(c)ホス
ト・プリンタ間通信状態の順に並べて配置する構成とし
である。(a)には、印刷装置10内の各部で検出され
たエラー#r9が曽込まれる。(b ) vcは、異常
処理部61の実行モード全記入する。(o)への書込み
は、異常処理部61、パネル制御部62等が行い、(o
)の内容を参照しながら印刷装置用SC!3I制御部1
4を動作させる。
Further, the error status table section 63 has a configuration in which (a) error codes, (b) interruption/resume/cancellation flags, and (c) communication status between host and printer are arranged in this order. Error #r9 detected in each part within the printing apparatus 10 is included in (a). (b) For VC, enter all execution modes of the abnormality processing unit 61. Writing to (o) is performed by the abnormality processing unit 61, panel control unit 62, etc.
) while referring to the contents of SC! 3I control section 1
Operate 4.

以上の第6図の構成において、第7因に示す状態変化が
印刷装置11内の各部で検出される。第4図に示した報
告手順の41においては、これらの各種検出に対して、
第4図(e)に示したように、411による検出412
による報告データ部146へのセットが行われる。
In the configuration shown in FIG. 6 above, the state change shown in the seventh factor is detected in each part of the printing apparatus 11. In 41 of the reporting procedure shown in FIG. 4, for these various detections,
As shown in FIG. 4(e), detection 412 by 411
is set in the report data section 146 by.

本実施例における、印刷装fi11からホストコンピュ
ータ10への非同期報告で用いる。コマンド、拡張メツ
セージについてのデータ形式をfJca図〜第11図に
示す。第8図には、S@ndコマンドについての、 (a ) CD B (Command Descri
ptor Block)と呼ばれるSCSIコマンドの
形式、 (b ) 5endコマンドの転送データ部の報告デー
タ形式。
In this embodiment, it is used for asynchronous reporting from the printing device fi 11 to the host computer 10. Data formats for commands and extended messages are shown in Figures fJca to Figure 11. Figure 8 shows (a) CD B (Command Descri) for the S@nd command.
(b) Report data format of the transfer data section of the 5end command.

(Q)報告内容コード を示す。(Q) Report content code shows.

このうち、(0)の報告内容コードは、(b)の報告デ
ータの内容を大別するために定めである。
Of these, the report content code (0) is defined to roughly classify the content of the report data (b).

本コードが1の場合、ホストコンビ轟−夕は、報告デー
タ中のページ通し陽と現在印刷部数と総印刷部数を読出
し、印刷の終了したページを特定化する。本コードが2
の場合、ホストコンビ為−タは、報告データ中のエラー
クラスとエラーコードの組を前記エラ一番号として読出
し、エラー内容を特定化する。本コードが7の場合、ホ
ストコンピュータは、報告データ中のページ通し陽と残
り印刷部数を再送開始ページ位置として読出す。ここで
、残り印刷部数とは、各ページについて、総印刷部数か
ら現在印刷部数を引いた数値である。
If this code is 1, the host combination Todoroki reads out the page count, the current number of copies printed, and the total number of copies printed in the report data, and specifies the page that has been printed. This code is 2
In this case, the host combiner reads out the set of error class and error code in the report data as the error number, and specifies the content of the error. If this code is 7, the host computer reads the page number and the number of remaining print copies in the report data as the retransmission start page position. Here, the remaining number of copies to be printed is a value obtained by subtracting the current number of copies to be printed from the total number of copies to be printed for each page.

また1本印刷システムでは、印刷終了ページを次の三つ
のパラメータで管理している。
Furthermore, in the single print system, the print end page is managed using the following three parameters.

■ページ通し階(ホストコンビ二一夕が遅延処理コマン
ドControl Pr1ter (第13図参照)t
′用いて付けたページの通し陽) ■各ページの現在印刷部数(1〜総印刷部数の値をとる
。) ■各ページの総印刷部数 第9図にはCop7 コマンドについての(a)CDB
と(b)報告データ形式を示す。また、第10図には拡
張メツセージにより、第7図に示した各種事象を一括報
告する場合の拡張メツセージ形式を示す。報告内容コー
ドが1(頁印刷終了報告)の場合、ページ通し−と現在
印刷部数と総印刷部数をセットし報告する。報告内容コ
ードが7(再送開始ページ位置報告)の場合、ページ通
し陽と残り印刷部数をセットし報告する。第11図には
それらの事象を個別報告する場合の拡張メツセージ形式
を示す。拡張メツセージとして第10図と第11図のど
ちらの方式を用いてもよい。
■Page through page (host combination is delayed processing command Control Pr1ter (see Figure 13))
■Current number of copies printed for each page (takes a value from 1 to the total number of copies printed.) ■Total number of copies printed for each page Figure 9 shows (a) CDB for the Cop7 command.
and (b) indicates the report data format. Further, FIG. 10 shows an extended message format in which the various events shown in FIG. 7 are collectively reported by the extended message. If the report content code is 1 (page printing completion report), set the page through page, the current number of copies printed, and the total number of copies printed, and report. If the report content code is 7 (retransmission start page position report), set the page positive and the number of remaining print copies and report. FIG. 11 shows an extended message format for reporting these events individually. Either the method shown in FIG. 10 or FIG. 11 may be used as the extended message.

また、四つの非同期方法(■5end コマンド、■C
op7コマンド、■−括報告用拡張メッセージ、■個別
報告用拡張メツセージ)のうちの任意の一つを実装すれ
ば、−通りの非同期報告機能?:1ボートできる。
In addition, four asynchronous methods (■5end command, ■C
If you implement any one of the following: op7 command, ■-Extended messages for collective reporting, ■Extended messages for individual reports), you can achieve the following asynchronous reporting functions? :Can do 1 boat.

本実施例によれば、印刷装置11内の各部で発生する各
種事象を、残らずホストコンピュータ10へ報告できる
ので、ホストコンビ二一夕は各種事象に対し第7図に示
した適切な処置全行い、無駄な処置をなくすことができ
る。また、異常処理を一箇所で統一的に行っているので
、異常処理用プログラムの容量を減少するとともに、そ
の信頼性を高められるという効果もある。
According to this embodiment, all the various events that occur in each part of the printing apparatus 11 can be reported to the host computer 10, so that the host computer can take all the appropriate actions shown in FIG. 7 in response to various events. This can eliminate unnecessary procedures. Furthermore, since abnormality processing is performed in a unified manner in one place, the capacity of the abnormality processing program can be reduced and its reliability can be improved.

次に、本発明の第5実施例を、第12図の構成例を用い
て説明する。
Next, a fifth embodiment of the present invention will be described using the configuration example shown in FIG. 12.

第12図に示す例は、第1図に示す1実施例のコマンド
処理部15に、コマンド分類部152と即時コマンド処
理部155fc設けるとともに、遅延コマンド処理部1
54内に描画コマンド処理部154&、印刷コマンド処
理部154b1&:設けたものである。
In the example shown in FIG. 12, a command classification section 152 and an immediate command processing section 155fc are provided in the command processing section 15 of the first embodiment shown in FIG.
A drawing command processing section 154 & and a printing command processing section 154 b 1 & are provided in the drawing command processing section 54 .

コマンド分i部152は、ホストコンビ瓢−タ10が印
刷装置11に送信したSCSIコマンドを、即時処理コ
マンドと遅延処理コマンドに分ける。
The command division unit 152 divides the SCSI command sent from the host combinator 10 to the printing device 11 into immediate processing commands and delayed processing commands.

前者は即時コマンド処理部で直ちに実行され、後者は一
旦前記コマンドバッ7ア部151に格納された後、遅延
コマンド処理部154が151の内容を読出し、実行す
る。
The former is immediately executed by the immediate command processing section, and the latter is once stored in the command buffer section 151, and then the delayed command processing section 154 reads out the contents of 151 and executes it.

プリンタエンジン部18にレーザビームプリンタ(LP
と略す)ft用いた場合のSCSIコマンドの例を第1
3図に示す。
A laser beam printer (LP) is installed in the printer engine section 18.
The first example of the SCSI command when using ft is
Shown in Figure 3.

第15図において、(a)プログラムダウンロード用の
1コマンド、(b)間合せ用の4コマンド、および(0
)ホストコンビ為−夕から印刷装置への緊急要求用の2
コマンド、が即時処理コマンドである。マ几、(8)印
刷制御用の3コマンド、(f)描画用の1コマンド、お
よび(g)印刷用の1コマンド、が遅延処理コマンドで
ある。
In Figure 15, (a) 1 command for program download, (b) 4 commands for timing, and (0
) For host combinations - 2 for urgent requests from evening to printing device
command is an immediate processing command. (8) three commands for print control, (f) one command for drawing, and (g) one command for printing are delay processing commands.

また、(d)印刷装置からホストコンビ為−タへの緊急
報告用の1コマンドは、前記非同期報告部145が起動
するためのものであり、本例では5endコマンドを用
いている。
Further, (d) 1 command for emergency reporting from the printing device to the host computer is for starting the asynchronous reporting unit 145, and in this example, the 5end command is used.

第15図において、(d)の1コマンドのみがイニシエ
ータ機能部144からターゲット機能部134へ送信す
るコマンドであり、残りのコマンドはイニシエータ機能
部135からターゲット機能部143へ送信するコマン
ドである。
In FIG. 15, only one command (d) is a command sent from the initiator function section 144 to the target function section 134, and the remaining commands are commands sent from the initiator function section 135 to the target function section 143.

また、(e)の印刷制御用コマンドと(f)の描画用コ
マンドは、第12図に示すコマンド処理部15内の描画
コマンド処理部154aで実行され、(g)の印刷用コ
マンドは、印刷コマンド処理部154bで実行される。
Further, the print control command (e) and the drawing command (f) are executed by the drawing command processing section 154a in the command processing section 15 shown in FIG. It is executed by the command processing unit 154b.

なお、印刷制御用と印刷用のSCSIコマンドはどれも
廃止し、Pr1ntコマンドのサブコマンドとしてその
データ部へ埋込むこともできる。例えば、遅延処理コマ
ンドをPr1ntコマンド−つにしても、第13図の場
合と同様の制御を行うことができる。
It is also possible to abolish all the SCSI commands for print control and printing and embed them as subcommands in the data section of the Pr1nt command. For example, even if the number of delay processing commands is one Pr1nt command, the same control as in the case of FIG. 13 can be performed.

また、第13図において、Program Load 
rContinue  Pr1nt  a  Cont
rol  Pr1nter、Pr1ntOutはペンダ
ユニークなS(:SIコマンドとして、本発明で設は九
ものである。
In addition, in FIG. 13, Program Load
rContinue Pr1nt a Cont
rol Pr1nter, Pr1ntOut are pender-unique S(:SI commands, and there are nine settings in the present invention.

本実施例によれば、印刷装置への描画と印刷を指示する
九めの遅延処理コマンドに加えて、ホストコンピュータ
が即時処理コマンドを印刷装置へ送信し、遅延処理コマ
ンドに優先して実行させることができるので、ホストコ
ンピュータが印刷装置を木目細かく制御できるという効
果がある。
According to this embodiment, in addition to the ninth delayed processing command that instructs the printing device to draw and print, the host computer sends an immediate processing command to the printing device to be executed in priority to the delayed processing command. This has the effect that the host computer can precisely control the printing device.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、印刷装置内の状態変化を印刷装置から
ホストコンピュータへ緊急報告し、ホストコンピュータ
がその報告内容に従りて自身と印刷装置を最適に制御す
ることができるので、印刷システムのスループット、安
全性、信頼性、稼働性を高められるという効果がある。
According to the present invention, a change in the state within a printing device is urgently reported from the printing device to a host computer, and the host computer can optimally control itself and the printing device according to the contents of the report. It has the effect of increasing throughput, safety, reliability, and operability.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明印刷システムの第1実施例の構成を示す
ブロック図、第2図は従来の印刷システムの構成を示す
ブロック図、第5図は上記従来の印刷システムの動作を
示す説明図、第4図は本発明の第1実施例の動作を示す
フローチャート、第5図は上記第1実施例におけるイニ
シエータ機能部およびターゲット機能部の機能を示すブ
ロック図、第6図は本発明印刷システムの第2実施例の
構成を示すブロック図、第7図、第8図、第9図。 第10図および第11図は各々上記第2実施例の作用を
示す説明図、第12図は本発明印刷システムの第5実施
例の構成を示すブロック図、第15図は上記第3実施例
の作用を示す説明図である。 10・・・ホストコンピュータ、11・・・印刷装置、
12・・・SCSIバス、13・・・ホストコンピュー
タ用SCSI制御部、14・・・印刷装置用SCSI制
御部、15・・・コマンド処理部、16・・・ページバ
ッファ部、17・・・プリンタ制御部、18・・・プリ
ンタエンジン部、151・・・アービトレーシlン部、
152・・・セレクシ胃ン部、155・・・イニシエー
タ機能部、134・・・ターゲット機能部、141・・
・アービトレーシ1ン部、142・・・セレクシ日ン部
FIG. 1 is a block diagram showing the configuration of a first embodiment of the printing system of the present invention, FIG. 2 is a block diagram showing the configuration of a conventional printing system, and FIG. 5 is an explanatory diagram showing the operation of the conventional printing system. , FIG. 4 is a flowchart showing the operation of the first embodiment of the present invention, FIG. 5 is a block diagram showing the functions of the initiator function section and the target function section in the first embodiment, and FIG. 6 is a printing system of the present invention. FIG. 7, FIG. 8, and FIG. 9 are block diagrams showing the configuration of the second embodiment. 10 and 11 are explanatory diagrams showing the operation of the second embodiment, respectively, FIG. 12 is a block diagram showing the configuration of the fifth embodiment of the printing system of the present invention, and FIG. 15 is the third embodiment of the invention. It is an explanatory diagram showing the effect of. 10... host computer, 11... printing device,
12... SCSI bus, 13... SCSI control unit for host computer, 14... SCSI control unit for printing device, 15... command processing unit, 16... page buffer unit, 17... printer Control unit, 18... Printer engine unit, 151... Arbitration unit,
152... Selector function part, 155... Initiator function part, 134... Target function part, 141...
・Arbitrage 1st part, 142... Selexy part.

Claims (1)

【特許請求の範囲】 1、ホストコンピュータと印刷装置と、これら二つの装
置を接続するSCSI(SmallComputerS
ystemInterface)バスとからなり、ホス
トコンピュータと印刷装置は、各々互いに通信を行うた
めのホストコンピュータ用SCSI制御部と印刷装置用
SCSI制御部を有し、前記ホストコンピュータ用SC
SI制御部は、アービトレーション部とセレクション部
とイニシエータ機能部とを有し、印刷装置用SCSI制
御部は、アービトレーション部とセレクション部とター
ゲット機能部とを有し、前記印刷装置は、前記印刷装置
用SCSI制御部以外に、コマンド処理部、ページバッ
ファ部、プリンタ制御部およびプリンタエンジン部を有
する印刷システムにおいて、印刷装置用SCSI制御部
にイニシエータ手段を設け、ホストコンピュータ用SC
SI制御部にターゲット手段を設け、 かつ、印刷装置用SCSI制御部に、印刷装置の各種事
象の検出により起動されて、前記印刷装置用SCSI制
御部をイニシェータとし、前記ホストコンピュータ用S
CSI制御部をターゲットとした後、前者から後者にコ
マンドまたは拡張メッセージを送信するよう制御する非
同期報告手段を設けたことを特徴とする印刷システム。 2、前記非同期報告手段は、報告データ部を有し、SC
SI制御部、コマンド処理部、プリンタ制御部のいずれ
かにより、印刷装置に生起する各種事象が検出され、そ
の事象の内容が上記報告データ部に設定された後、起動
されるものである請求項1記載の印刷システム。 3、印刷装置内に、印刷装置内の各部で検出された各種
事象を処理するための異常処理手段、ホストコンピュー
タと印刷装置との間の通信に関する状態の表示や入力を
行なうユーザパネル部を制御するパネル制御手段、およ
び、印刷装置内の印刷データのキャンセル処理を行なう
キャンセル手段を設け、 かつ、前記非同期報告手段は、報告データ部を有し、印
刷装置内の異常処理手段、コマンド処理手段、プリンタ
制御手段、パネル制御手段、キャンセル処理手段、SC
SI制御手段の各部により、検出した事象の内容を上記
報告データ部に設定された後、起動されるものである請
求項4記載の印刷システム。 4、前記各種事象が、エラー、ページ印刷終了、コマン
ドバッファ空き、ホストコンピュータと印刷装置間の通
信可能状態の変化である請求項1、2または3記載の印
刷システム。 5、ホストコンピュータと、印刷装置と、これら二つの
装置を接続するSCSIバスとからなり、ホストコンピ
ュータと印刷装置は、各々互いに通信を行うためのホス
トコンピュータ用SCSI制御部と印刷装置用SCSI
制御部を有し、前記ホストコンピュータ用SCSI制御
部はアービトレーション部とセレクション部とイニシエ
ータ機能部とを有し、印刷装置用SCSI制御部は、ア
ービトレーション部とセレクション部とターゲット機能
部を有し、前記印刷装置は前記印刷装置用SCSI制御
部以外に、コマンド処理部、ページバッファ部、プリン
タ制御部およびプリンタエンジン部を有する印刷システ
ムにおいて、ホストコンピュータ用SCSI制御部をイ
ニシエータとし、印刷装置用SCSI制御部をターゲッ
トとして、前者から後者にコマンドが送信されると、該
コマンドを即時処理コマンドと遅延処理コマンドとに分
類するコマンド分類手段と、該コマンドが即時処理コマ
ンドである場合、直ちに実行する即時コマンド処理手段
と、 該コマンドが遅延処理コマンドである場合、該コマンド
を一旦格納保持するコマンドバッファ手段と、 後に、前記コマンドバッファ手段からコマンドを読み出
して実行する遅延コマンド処理手段とを、前記コマンド
処理部内に備えて、 ホストコンピュータが印刷装置に印刷を指示するよりに
構成したことを特徴とする印刷システム。 6、印刷装置用SCSI制御部にイニシエータ手段を設
け、ホストコンピュータ用SCSI制御部にターゲット
手段を設け、 かつ、印刷装置用SCSI制御部に、印刷装置の各種事
象の検出により起動されて、前記印刷装置用SCSI制
御部をイニシエータとし、前記ホストコンピュータ用S
CSI制御部をターゲットとした後、前者から後者にコ
マンドまたは拡張メッセージを送信するよう制御する非
同期報告手段を設けて、印刷装置内の状態変化を印刷装
置からホストコンピュータに緊急報告できるより構成し
た請求項5記載の印刷システム。
[Claims] 1. A host computer, a printing device, and a SCSI (Small Computer System) that connects these two devices.
system interface) bus, the host computer and the printing device each have a host computer SCSI control unit and a printing device SCSI control unit for communicating with each other, and the host computer SC
The SI control section includes an arbitration section, a selection section, and an initiator function section; the SCSI control section for a printing device includes an arbitration section, a selection section, and a target function section; In a printing system that has a command processing section, a page buffer section, a printer control section, and a printer engine section in addition to the SCSI control section, an initiator means is provided in the SCSI control section for the printing device, and the SC for the host computer
The SI control unit is provided with a target means, and the SCSI control unit for the printing apparatus is activated by detection of various events of the printing apparatus, and the SCSI control unit for the printing apparatus is used as an initiator, and the SCSI control unit for the host computer is activated by the detection of various events of the printing apparatus.
A printing system comprising an asynchronous reporting means that targets a CSI control unit and then controls the former to transmit a command or an extended message to the latter. 2. The asynchronous reporting means has a report data section, and the SC
Claim: The printer is activated after any of the SI control unit, command processing unit, and printer control unit detects various events that occur in the printing device, and the content of the event is set in the report data unit. 1. The printing system described in 1. 3. Controls an abnormality processing means for processing various events detected in each part of the printing apparatus, and a user panel section for displaying and inputting the status of communication between the host computer and the printing apparatus, within the printing apparatus. a panel control means for canceling print data in the printing device; and a canceling device for canceling print data in the printing device; Printer control means, panel control means, cancellation processing means, SC
5. The printing system according to claim 4, wherein the printing system is activated after the content of the detected event is set in the report data section by each section of the SI control means. 4. The printing system according to claim 1, 2 or 3, wherein the various events include an error, completion of page printing, empty command buffer, and change in communicable state between the host computer and the printing device. 5. Consists of a host computer, a printing device, and an SCSI bus that connects these two devices.
The SCSI control unit for a printing device has a control unit, the SCSI control unit for a host computer has an arbitration unit, a selection unit, and an initiator function unit, and the SCSI control unit for a printing device has an arbitration unit, a selection unit, and a target function unit; In addition to the SCSI control section for the printing device, the printing device has a command processing section, a page buffer section, a printer control section, and a printer engine section. command classification means for classifying commands into immediate processing commands and delayed processing commands when a command is sent from the former to the latter, and immediate command processing for immediately executing the command if the command is an immediate processing command. If the command is a delayed processing command, a command buffer means for temporarily storing and holding the command, and a delayed command processing means for later reading and executing the command from the command buffer means are included in the command processing section. A printing system comprising: a host computer instructing a printing device to print. 6. An initiator means is provided in the SCSI control section for the printing device, and a target means is provided in the SCSI control section for the host computer, and the SCSI control section for the printing device is activated by the detection of various events of the printing device to perform the printing. The SCSI controller for the device is used as an initiator, and the SCSI controller for the host computer
A claim that targets a CSI control unit and then provides an asynchronous reporting means for controlling the sending of commands or extended messages from the former to the latter, so that state changes within the printing apparatus can be urgently reported from the printing apparatus to the host computer. The printing system according to item 5.
JP63210703A 1988-08-26 1988-08-26 Printing system, printing apparatus and print control method thereof Expired - Fee Related JP2728449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63210703A JP2728449B2 (en) 1988-08-26 1988-08-26 Printing system, printing apparatus and print control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63210703A JP2728449B2 (en) 1988-08-26 1988-08-26 Printing system, printing apparatus and print control method thereof

Publications (2)

Publication Number Publication Date
JPH0260781A true JPH0260781A (en) 1990-03-01
JP2728449B2 JP2728449B2 (en) 1998-03-18

Family

ID=16593699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63210703A Expired - Fee Related JP2728449B2 (en) 1988-08-26 1988-08-26 Printing system, printing apparatus and print control method thereof

Country Status (1)

Country Link
JP (1) JP2728449B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0660020A (en) * 1991-11-14 1994-03-04 Gerber Syst Corp Image buffer
US5625757A (en) * 1993-12-24 1997-04-29 Hitachi, Ltd. Printing system
US6457884B1 (en) 1993-11-16 2002-10-01 Seiko Epson Corporation Printing apparatus and a control method therefor
US9587748B2 (en) 2013-03-22 2017-03-07 Sanden Holdings Corporation Control valve and variable-displacement compressor provided with said control valve

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60104361A (en) * 1983-11-11 1985-06-08 Fujitsu Ltd Controlling system of printer
JPS61122769A (en) * 1984-11-20 1986-06-10 Fujitsu Ltd Bus control system
JPS63128458A (en) * 1986-11-19 1988-06-01 Fujitsu Ltd Bus control system
JPS63150741A (en) * 1986-12-16 1988-06-23 Fujitsu Ltd Supervisory system between host computers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60104361A (en) * 1983-11-11 1985-06-08 Fujitsu Ltd Controlling system of printer
JPS61122769A (en) * 1984-11-20 1986-06-10 Fujitsu Ltd Bus control system
JPS63128458A (en) * 1986-11-19 1988-06-01 Fujitsu Ltd Bus control system
JPS63150741A (en) * 1986-12-16 1988-06-23 Fujitsu Ltd Supervisory system between host computers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0660020A (en) * 1991-11-14 1994-03-04 Gerber Syst Corp Image buffer
US6457884B1 (en) 1993-11-16 2002-10-01 Seiko Epson Corporation Printing apparatus and a control method therefor
US5625757A (en) * 1993-12-24 1997-04-29 Hitachi, Ltd. Printing system
US9587748B2 (en) 2013-03-22 2017-03-07 Sanden Holdings Corporation Control valve and variable-displacement compressor provided with said control valve

Also Published As

Publication number Publication date
JP2728449B2 (en) 1998-03-18

Similar Documents

Publication Publication Date Title
KR100472799B1 (en) How to update the operational configuration settings of printers, printer communications systems, and printing devices
US8045202B2 (en) Information processing apparatus and print device control method
JP4669895B2 (en) Print control apparatus, print control method, and program
JP2000172453A (en) Print system and host device of same system
US20030174359A1 (en) Proxy print processing apparatus, proxy print processing method, program, and memory medium
WO2005124531A1 (en) Information processing device and job transfer control method
JP2008254346A (en) Image formation device, program, and recording medium
JP2012242897A (en) Host computer, print control system, control method for print control system and program
US7315404B2 (en) Monitoring job status for grouped print jobs
JPH1195941A (en) Printer system, printer unit and computer device for the same
US8355144B2 (en) Apparatus and method of changing printer driver, and printing system and method using the same
CN101231573B (en) Host device and printing control method thereof
JPH0260781A (en) Printing system
JP2718730B2 (en) Printing system
JP3034540B2 (en) Printing system and its error recovery method
JP4127611B2 (en) Image forming apparatus
US9207889B2 (en) Information processing apparatus, information processing method, and storage medium
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JP3194938B2 (en) Printing system
US8994999B2 (en) Image forming apparatus that uses appropriate print control device to complete printing at high speed
US20050246633A1 (en) Printing system
JP2005349768A (en) Printing device and printing method
JP2007034496A (en) Print control system
US6728006B1 (en) Method, system, and program for generating a blank side of a page in a print job
JP2000267825A (en) Printer controller

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees