JPH05100803A - Plural port printer controllers and its control system - Google Patents

Plural port printer controllers and its control system

Info

Publication number
JPH05100803A
JPH05100803A JP3259017A JP25901791A JPH05100803A JP H05100803 A JPH05100803 A JP H05100803A JP 3259017 A JP3259017 A JP 3259017A JP 25901791 A JP25901791 A JP 25901791A JP H05100803 A JPH05100803 A JP H05100803A
Authority
JP
Japan
Prior art keywords
area
host
data
printer controller
devices
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.)
Pending
Application number
JP3259017A
Other languages
Japanese (ja)
Inventor
Tatsuo Owada
達男 大和田
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3259017A priority Critical patent/JPH05100803A/en
Publication of JPH05100803A publication Critical patent/JPH05100803A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently use buffer memories corresponding to plural host devices between the host devices in a printer controller having an interface with the host devices. CONSTITUTION:A central processing unit 5 allocates the areas 7 and 8 of a device corresponding memory 6 to the concerned host devices in accordance with area size instructions from the host device 1 or 2. Thus, the respective host devices 1 and 2 operate in such a way that the capacity of the buffer memories are apparently enlarged. When the other host device intends to use the areas 7 and 8 which a certain host device uses, a request and permission against alteration are transmitted and received between the host devices, and a new area size instruction is transmitted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は複数の上位装置とのイン
ターフェイスを持ち、指定された上位装置からのデータ
を印刷する複数ポートプリンタコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-port printer controller which has an interface with a plurality of host devices and prints data from designated host devices.

【0002】[0002]

【従来の技術】従来の複数ポートプリンタコントローラ
は、複数の上位装置からのデータを各上位装置に対応さ
せた装置対応メモリにそれぞれ記憶し、装置対応メモリ
に記憶したデータが、印刷用紙1ベージ分に達したとこ
ろから順次印刷するようになっていた。
2. Description of the Related Art A conventional multi-port printer controller stores data from a plurality of host devices in a device memory corresponding to each host device, and the data stored in the device memory corresponds to one page of printing paper. It was supposed to print sequentially from the point when it reached.

【0003】上述の従来技術を図2を用いて説明する。
図2において、21と22は、印刷したいデータを送信
する上位装置。4は上位装置21と22からのデータを
受信するインターフェイス回路。26は、装置対応メモ
リで、上位装置21からのデータを記憶するエリア27
と、上位装置22からのデータを記憶するエリア28と
から成る。エリア27とエリア28の大きさは印刷用紙
1ベージ分とする。25は、インターフェイス回路4で
受信されたデータを上位装置21又は22に対応させて
エリア27又はエリア28に記憶させる中央処理装置。
9は、エリア27又はエリア28に記憶されたデータを
印刷する印刷機構である。23は、インターフェイス回
路4と、中央処理装置25と、装置対応メモリ26と、
印刷機構9とから成る複数ポートプリンタコントローラ
である。なお、本例では上位装置を2台としている。
The above-mentioned conventional technique will be described with reference to FIG.
In FIG. 2, reference numerals 21 and 22 are host devices that transmit data to be printed. Reference numeral 4 is an interface circuit for receiving data from the higher-level devices 21 and 22. 26 is a device-compatible memory, which is an area 27 for storing data from the higher-level device 21.
And an area 28 for storing data from the host device 22. The size of the areas 27 and 28 is one page of printing paper. A central processing unit 25 stores the data received by the interface circuit 4 in the area 27 or the area 28 in association with the host device 21 or 22.
A printing mechanism 9 prints the data stored in the area 27 or the area 28. 23 is an interface circuit 4, a central processing unit 25, a device corresponding memory 26,
A multi-port printer controller including a printing mechanism 9. In this example, the number of host devices is two.

【0004】ここで、上位装置21又は22がデータの
送信を始めたとする。中央処理装置25はインターフェ
イス回路4からデータを取り出し、上位装置21からの
データはエリア27に、上位装置22からのデータはエ
リア28に記憶させる。順次データが記憶され、例えば
エリア27が一杯、つまり印刷用紙1ベージ分に達する
と、中央処理装置25は、エリア27のデータを印刷す
るように印刷機構9に命じる。印刷機構9がエリア27
のデータの印刷を終るまで、エリア27に上位装置21
から送信されて来る次のデータを記憶させることができ
ないことから、上位装置21はエリア27が空くまで、
つまり、エリア27のデータが印刷されるまでデータの
送信ができなくなり、待ち状態となる。
Here, it is assumed that the upper device 21 or 22 starts data transmission. The central processing unit 25 takes out the data from the interface circuit 4 and stores the data from the host device 21 in the area 27 and the data from the host device 22 in the area 28. The data is sequentially stored, and when the area 27 is full, for example, when one page of printing paper is reached, the central processing unit 25 commands the printing mechanism 9 to print the data in the area 27. Printing mechanism 9 is in area 27
Until the end of printing the data of
Since the next data transmitted from the host device 21 cannot be stored, the host device 21 waits until the area 27 becomes available.
That is, the data cannot be transmitted until the data in the area 27 is printed, and the standby state is set.

【0005】[0005]

【発明が解決しようとする課題】この従来の複数ポート
プリンタコントローラでは、各上位装置に対応した装置
対応メモリ内のエリアが一杯になると、該エリアの印刷
が終了するまで該エリアに対応する上位装置がデータ送
信を行えなくなり、上位装置の処理の妨げになるという
問題点があった。
In this conventional multi-port printer controller, when an area in the device memory corresponding to each host device becomes full, the host device corresponding to the area is completed until printing of the area is completed. However, there is a problem in that it becomes impossible to transmit data, which hinders the processing of the host device.

【0006】[0006]

【課題を解決するための手段】本発明の複数ポートプリ
ンタコントローラは、複数の上位装置とのインターフェ
イスを持ち、前記各上位装置からのデータを記憶し印刷
する複数ポートプリンタコントローラにおいて、前記各
上位装置から受信したデータを該各上位装置に割当てら
れた領域に記憶する装置対応メモリと、前記各上位装置
から受信した領域サイズ命令に応じて前記装置対応メモ
リ内の前記各上位装置に割当てられた領域の大きさを変
更する手段を具備している。
A multi-port printer controller of the present invention is a multi-port printer controller which has an interface with a plurality of host devices and stores and prints data from each host device. A device-corresponding memory that stores the data received from the device in a region allocated to each host device, and a region allocated to each host device in the device-corresponding memory according to a region size command received from each host device. Is provided with a means for changing the size of the.

【0007】本発明の複数ポートプリンタコントローラ
の制御方式は、上記構成の複数ポートプリンタコントロ
ーラに接続された複数の上位装置において、前記領域サ
イズ命令により前記装置対応メモリ内の前記各上位装置
に割当てられた領域の大きさを変更する場合、前記複数
の上位装置間で互いに変更に対する許可を得てから行
う。
According to the control system for a multi-port printer controller of the present invention, in a plurality of host devices connected to the above-configured multi-port printer controller, each of the host devices in the device corresponding memory is assigned by the area size command. When changing the size of the area, the plurality of higher-level devices are allowed to change each other.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0009】図1は本発明の一実施例を示すブロック図
である。図1において、1と2とは上位装置。4はイン
ターフェイス回路。5は中央処理装置。6は装置対応メ
モリで、上位装置1からのデータ、あるいは上位装置2
からのデータのどちらか一方のデータを記憶するエリア
7とエリア8とから成る。又、エリア7とエリア8の大
きさはそれぞれ印刷用紙1ベージ分とする。9は印刷機
構。3は、インターフェイス回路4と、中央処理装置5
と、装置対応メモリ6と、印刷機構9とから成る複数ポ
ートプリンタコントローラである。インターフェイス回
路4は、上位装置1とデータ信号線10によって接続さ
れ、又、上位装置2とデータ信号線11によって接続さ
れる。中央処理装置5は、データ信号線12によってイ
ンターフェイス回路4と装置対応メモリ6と印刷機構9
とに接続される。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, 1 and 2 are host devices. 4 is an interface circuit. 5 is a central processing unit. Reference numeral 6 denotes a device-compatible memory, which is data from the higher-level device 1 or higher-level device 2
Area 7 and area 8 for storing either one of the data from. The size of each of the areas 7 and 8 is one page of printing paper. 9 is a printing mechanism. 3 is an interface circuit 4 and a central processing unit 5
A multi-port printer controller including a device-compatible memory 6 and a printing mechanism 9. The interface circuit 4 is connected to the host device 1 by the data signal line 10, and is also connected to the host device 2 by the data signal line 11. The central processing unit 5 uses the data signal line 12 for the interface circuit 4, the device-corresponding memory 6, and the printing mechanism 9.
Connected to.

【0010】なお、上位装置1と2との間でデータ信号
線15を介して印刷制御に必要な情報を送受信すること
ができる。
Information required for print control can be transmitted and received between the upper level devices 1 and 2 through the data signal line 15.

【0011】次に複数ポートプリンタコントローラ3の
動作を説明する。ここで、上位装置2は稼働していない
ため印刷したいデータを保持しておらず、一方、上位装
置1は印刷したいデータを保持しているとする。
Next, the operation of the multi-port printer controller 3 will be described. Here, it is assumed that the higher-level device 2 does not operate and therefore does not hold the data to be printed, while the higher-level device 1 holds the data to be printed.

【0012】上位装置1は、複数ポートプリンタコント
ローラ3を専有できることから、まず、2ベージ分の装
置対応メモリ6を確保するための領域サイズ命令を送信
する。なお、領域サイズ命令は印刷するための文字コー
ド等として定義されていないコードを使用する。中央処
理装置5は上位装置1から送られて来たデータをインタ
ーフェイス回路4から読み出し、これが領域サイズ命令
で2ベージ分の装置対応メモリ6の確保を指定している
ことを解読すると、エリア7とエリア8とを上位装置1
に割当てる。これにより、上位装置1からのデータはエ
リア7に記憶され、エリア7が一杯になると、中央処理
装置5は印刷機構9にエリア7のデータを印刷するよう
に命じる。この時、続いて上位装置1からデータが送信
されて来た場合、中央処理送地5は、エリア8にこれを
記憶し、エリア8が一杯になると印刷機構9にエリア8
のデータを印刷するように命じる。以後は同様に、エリ
ア7のデータの印刷が終了していれば、エリア7にデー
タを記憶し印刷する。ただし、エリア7のデータが未だ
印刷中であれば上位装置1はデータ送信を待つことにな
る。
Since the higher-level device 1 can exclusively use the multi-port printer controller 3, first, an area size command for securing the device-compatible memory 6 for two pages is transmitted. The area size command uses a code that is not defined as a character code for printing. When the central processing unit 5 reads the data sent from the higher-level device 1 from the interface circuit 4 and decodes that this specifies the reservation of the device-corresponding memory 6 for 2 pages by the area size command, the area 7 Area 8 and host device 1
Assign to. As a result, the data from the host device 1 is stored in the area 7, and when the area 7 is full, the central processing unit 5 commands the printing mechanism 9 to print the data in the area 7. At this time, when data is subsequently transmitted from the higher-level device 1, the central processing destination 5 stores this in the area 8 and when the area 8 is full, the central processing destination 5 sends the area 8 to the printing mechanism 9.
Command to print the data. After that, similarly, if the printing of the data in the area 7 is completed, the data is stored in the area 7 and printed. However, if the data in the area 7 is still being printed, the host device 1 waits for data transmission.

【0013】なお、現在稼働していない上位装置2が稼
働しデータの送信をしようとした場合、装置対応メモリ
6が確保できなければ、データの送信を待つことにな
る。つまりこの場合、上位装置1が新たな領域サイズ命
令送出により、1ベージ分以上の装置対応メモリ6を空
け渡すまで上位装置2は待つことになる。
When the host device 2 which is not currently operating operates and tries to transmit data, if the device-corresponding memory 6 cannot be secured, data transmission is waited. That is, in this case, the higher-level device 1 waits until the higher-level device 1 sends out a new area size command to free up the device-corresponding memory 6 for one page or more.

【0014】次に、上位装置1と2との間で互いに装置
対応メモリ6の領域サイズの調整を行う場合の動作を説
明する。前述と同様に、上位装置2は稼働しておらず、
上位装置1が印刷のデータを保持しているとする。上位
装置1が、エリア7とエリア8を確保して印刷する過程
は上記と同様である。
Next, the operation when the area sizes of the device-corresponding memory 6 are mutually adjusted between the upper level devices 1 and 2 will be described. Similarly to the above, the host device 2 is not operating,
It is assumed that the higher-level device 1 holds print data. The process in which the higher-level device 1 secures the areas 7 and 8 and prints is the same as above.

【0015】ここで、上位装置2が稼働し、印刷しよう
としたとする。上位装置2は、まず、上位装置1にデー
タ信号線15を介して装置対応メモリ6の確保を要求す
る。これにより上位装置1は、例えば1ベージ分の装置
対応メモリ6を上位装置2に渡すために領域サイズ命令
を送信する。この命令を受けた中央処理装置5は、印刷
機構9が印刷し終えたエリア7又はエリア8のいずれか
を上位装置2に、他方を上位装置1に割当てる。以上に
より上位装置1及び2ともに印刷のデータを送信するこ
とが可能となる。
Here, it is assumed that the higher-level device 2 operates and tries to print. The higher-level device 2 first requests the higher-level device 1 to secure the device-compatible memory 6 via the data signal line 15. Thereby, the higher-level device 1 transmits an area size command in order to pass the device-corresponding memory 6 for one page, for example, to the higher-level device 2. Receiving this instruction, the central processing unit 5 assigns either the area 7 or the area 8 where the printing mechanism 9 has finished printing to the higher-level device 2 and the other to the higher-level device 1. As described above, it becomes possible for both of the upper level devices 1 and 2 to transmit print data.

【0016】[0016]

【発明の効果】以上説明したように本発明の複数ポート
プリンタコントローラは、使用されていない装置対応メ
モリ内のエリアを、領域サイズ命令により任意に上位装
置へ割り当てるようにしたので、装置対応メモリを効率
よく使用でき、又、みかけ上装置対応メモリを大きくす
ることができるため、エリア内のデータが印刷されるま
で上位装置がデータの送信を待つということを少なくす
る効果がある。
As described above, in the multi-port printer controller of the present invention, an unused area in the device-corresponding memory is arbitrarily allocated to the host device by the area size command. Since it can be used efficiently and the memory corresponding to the device can be apparently enlarged, it is effective in reducing the wait for the host device to transmit the data until the data in the area is printed.

【0017】また、複数の上位装置相互間で複数ポート
プリンタコントローラの装置対応メモリの割り当てを行
なえるようにしたので、1台の上位装置が複数ポートプ
リンタコントローラを専有し続けてしまうことがなくな
り、複数ポートプリンタコントローラをより効率よく使
用できる効果がある。
Further, since the device corresponding memory of the multi-port printer controller can be allocated among the plurality of host devices, one host device does not keep monopolizing the multi-port printer controller. There is an effect that the multi-port printer controller can be used more efficiently.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】従来の複数ポートプリンタコントローラを示す
ブロック図である。
FIG. 2 is a block diagram showing a conventional multi-port printer controller.

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

1,2,21,22 上位装置 4 インターフェイス回路 5,25 中央処理装置 6,26 装置対応メモリ 7,8,27,28 エリア 9 印刷機構 1,2,21,22 Upper device 4 Interface circuit 5,25 Central processing unit 6,26 Device compatible memory 7, 8, 27, 28 Area 9 Printing mechanism

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の上位装置とのインターフェイスを
持ち、前記各上位装置からのデータを記憶し印刷する複
数ポートプリンタコントローラにおいて、前記各上位装
置から受信したデータを該各上位装置に割当てられた領
域に記憶する装置対応メモリと、前記各上位装置から受
信した領域サイズ命令に応じて前記装置対応メモリ内の
前記各上位装置に割当てられた領域の大きさを変更する
手段を具備することを特徴とする複数ポートプリンタコ
ントローラ。
1. A multi-port printer controller having an interface with a plurality of higher-level devices and storing and printing data from the respective higher-level devices, wherein data received from the respective higher-level devices is assigned to the respective higher-level devices. A device-corresponding memory to be stored in the region; and means for changing the size of the region allocated to each of the host devices in the device-corresponding memory according to a region size command received from each of the host devices. And a multi-port printer controller.
【請求項2】 請求項1記載の複数ポートプリンタコン
トローラに接続された複数の上位装置において、前記領
域サイズ命令により前記装置対応メモリ内の前記各上位
装置に割当てられた領域の大きさを変更する場合、前記
複数の上位装置間で互いに変更に対する許可を得てから
行うことを特徴とする複数ポートプリンタコントローラ
の制御方式。
2. A plurality of host devices connected to the multi-port printer controller according to claim 1, wherein the size of an area assigned to each host device in the device corresponding memory is changed by the area size command. In this case, the control method of the multi-port printer controller is characterized in that the plurality of higher-level devices are allowed to change each other first.
JP3259017A 1991-10-07 1991-10-07 Plural port printer controllers and its control system Pending JPH05100803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3259017A JPH05100803A (en) 1991-10-07 1991-10-07 Plural port printer controllers and its control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3259017A JPH05100803A (en) 1991-10-07 1991-10-07 Plural port printer controllers and its control system

Publications (1)

Publication Number Publication Date
JPH05100803A true JPH05100803A (en) 1993-04-23

Family

ID=17328196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3259017A Pending JPH05100803A (en) 1991-10-07 1991-10-07 Plural port printer controllers and its control system

Country Status (1)

Country Link
JP (1) JPH05100803A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07311662A (en) * 1994-05-17 1995-11-28 Mitsubishi Electric Corp Multi-port printer controller
US6111591A (en) * 1996-02-16 2000-08-29 Fuji Xerox Co., Ltd. Image processing system and information processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07311662A (en) * 1994-05-17 1995-11-28 Mitsubishi Electric Corp Multi-port printer controller
US6111591A (en) * 1996-02-16 2000-08-29 Fuji Xerox Co., Ltd. Image processing system and information processing system

Similar Documents

Publication Publication Date Title
US4953103A (en) Page printer
JP2742073B2 (en) Print control method and apparatus
JPH08263458A (en) Data transfer controller
JPH05100803A (en) Plural port printer controllers and its control system
JP3179466B2 (en) Printing equipment
JPH05108283A (en) Printer management device
JP3173721B2 (en) Printer and operation method thereof
JP2005044202A (en) Image data transfer controller
JPH0728612A (en) Printer
JPH0659833A (en) Printer in network environment
JPH09216424A (en) Printer
JPH08310084A (en) Printer
JPH03129423A (en) Print controller
JPH03163621A (en) Page printer
JPH0532765B2 (en)
JP2000181665A (en) Network printer system
JP3027849B2 (en) Printing device
JPH0550695A (en) Print data processing device
JPH04343125A (en) Printer device
JPH09286147A (en) Printer equipment with auxiliary memory
JPH05303474A (en) Control device for page printer
JPH08286850A (en) Printer changeover device
JPH04189167A (en) Overlay development control method
JPH08174924A (en) Printer apparatus
JPH0548782A (en) Facsimile communication method