[go: up one dir, main page]

JPH06297815A - Multi-port printer - Google Patents

Multi-port printer

Info

Publication number
JPH06297815A
JPH06297815A JP5088261A JP8826193A JPH06297815A JP H06297815 A JPH06297815 A JP H06297815A JP 5088261 A JP5088261 A JP 5088261A JP 8826193 A JP8826193 A JP 8826193A JP H06297815 A JPH06297815 A JP H06297815A
Authority
JP
Japan
Prior art keywords
printing
register
print data
pages
unit
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
JP5088261A
Other languages
Japanese (ja)
Inventor
Takeshi Mashita
武司 間下
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 JP5088261A priority Critical patent/JPH06297815A/en
Publication of JPH06297815A publication Critical patent/JPH06297815A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To efficiently use a printer without the exclusive use of the printer by a specific host device. CONSTITUTION:A title multi-port printer comprises an interface 3 receiving printing data and the number of printing pages that are respectively transmitted from a plurality of host devices 1, 2; a memory 4 storing the printing data; a printing part 5 printing the printing data; and registers 10, 11 respectively corresponding to the two or more host devices 1, 2 and subtracting the number of pages printed by the printing part 5 from the number of printing pages. Furthermore, it comprises a comparison part 12 discriminating a relation of magnitude between the values of the registers 10, 11; a control part 6 controlling the printing part 5 so as to print printing data from a specific host device selected out of the two or more host devices 1, 2 based on the discriminated result of the comparison part 12; and a time allocation part 13 allowing a host device corresponding to a register of a specific value compared with the value of the register corresponding to the specific host device to transmit printing data with the priority under control after the printing part 5 is occupied by the specific host device for a predetermined time.

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, and more particularly to a multi-port printer that receives print data from a plurality of host devices and prints it.

【0002】[0002]

【従来の技術】図4は、従来の複数ポートプリンタの一
例を示すブロック図である。図4を参照すると、この従
来の複数ポートプリンタ14は、印刷データを送信する
上位装置1および2と、この印刷データを受信するイン
ターフェイス3と、この印刷データを一時記憶するメモ
リ4と、この印刷データをプリント出力する印刷部5
と、各各の部分を制御する制御部6とから構成される。
2. Description of the Related Art FIG. 4 is a block diagram showing an example of a conventional multi-port printer. Referring to FIG. 4, the conventional multi-port printer 14 includes a host device 1 and 2 for transmitting print data, an interface 3 for receiving the print data, a memory 4 for temporarily storing the print data, and a printout for the print data. Printing unit 5 that prints out data
And a control unit 6 for controlling each part.

【0003】いま、上位装置1が印刷データを送信中で
あるとする。そのとき、上位装置2が印刷データを送信
しようとするが、信号線9にビジイ信号が立っているた
め送信不可能となり、上位装置1が印刷データを送信し
終えるまで待たなければならない。
Now, it is assumed that the host device 1 is transmitting print data. At that time, the higher-level device 2 tries to transmit the print data, but since the busy signal is raised on the signal line 9, the higher-level device 2 cannot transmit the print data, and must wait until the high-level device 1 finishes transmitting the print data.

【0004】[0004]

【発明が解決しようとする課題】この従来の複数ポート
プリンタは、ある上位装置から印刷データが送信中であ
ると、この上位装置の印刷データ送信が終了するまで他
の上位装置は送信できないので、上位装置の処理の妨げ
になる。
In this conventional multi-port printer, when print data is being transmitted from a certain higher-level device, other higher-level devices cannot transmit until the print data transmission of this higher-level device is completed. It interferes with the processing of the host device.

【0005】[0005]

【課題を解決するための手段】本発明の複数ポートプリ
ンタは、複数の上位装置からそれぞれ送信される印刷デ
ータと印刷ページ数とを受信する受信手段と、この印刷
データを記憶する記憶手段と、前記印刷データを印刷す
る印刷手段と、前記印刷ページ数を一時記憶し前記印刷
ページ数から前記印刷手段が印刷終了したページ数を減
算する前記複数の上位装置にそれぞれ対応するレジスタ
群と、これらのレジスタ群の値の大小関係を判別する比
較手段と、この比較手段の判別に基づいて前記複数の上
位装置のうちの特定の上位装置から前記印刷データを前
記印刷手段が印刷することを制御する制御手段とを備え
る。
A multi-port printer of the present invention comprises a receiving means for receiving print data and the number of print pages respectively transmitted from a plurality of host devices, a storage means for storing the print data, A printing unit that prints the print data, a register group that temporarily stores the number of printed pages and that subtracts the number of pages that the printing unit has finished printing from the number of printed pages, and a register group that corresponds to each of the plurality of upper devices, and these Comparing means for discriminating the magnitude relationship of the values of the register group, and control for controlling the printing means to print the print data from a specific upper device among the plurality of upper devices based on the discrimination of the comparing device. And means.

【0006】また、本発明の複数ポートプリンタは、前
記特定の上位装置に前記印刷手段が所定時間占有される
とこの特定の上位装置に対応するレジスタの値と比較し
た特定値のレジスタに対応する上位装置が優先して印刷
データを送信できるように制御する時間割付手段を備え
る。
Further, the multi-port printer of the present invention corresponds to a register having a specific value which is compared with a value of a register corresponding to the specific upper device when the printing means is occupied by the specific upper device for a predetermined time. A time allocation means is provided for controlling the higher-level device to preferentially transmit print data.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。本発明の第1の実施例をブロックで示す図1を参照
すると、この実施例の複数ポートプリンタ15におい
て、インターフェイス3は上位装置1および2から信号
線8および9を介してそれぞれ送信される印刷データと
印刷ページ数とを受信する。メモリ4はこの印刷データ
を記憶する。印刷部5は印刷データを印刷する。上位装
置1および2にそれぞれ対応する第1レジスタ10およ
び第2レジスタ11は印刷ページ数を一時記憶し、この
印刷ページ数から印刷部5が印刷終了したページ数を減
算する。比較部12は第1レジスタ10および第2レジ
スタ11の値の大小関係を判別する。制御部6はこの比
較部12の判別に基づいて上位装置1および2のうちの
特定の上位装置から印刷データを印刷部5が印刷するこ
とを制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. Referring to FIG. 1 which is a block diagram of a first embodiment of the present invention, in a multi-port printer 15 of this embodiment, an interface 3 is a printing device which transmits signals from host devices 1 and 2 via signal lines 8 and 9, respectively. Receives data and the number of pages to print. The memory 4 stores this print data. The printing unit 5 prints print data. The first register 10 and the second register 11 respectively corresponding to the higher-level devices 1 and 2 temporarily store the number of printed pages, and subtract the number of pages printed by the printing unit 5 from the number of printed pages. The comparison unit 12 determines the magnitude relationship between the values of the first register 10 and the second register 11. The control unit 6 controls the printing unit 5 to print the print data from a specific upper device of the upper devices 1 and 2 based on the determination of the comparison unit 12.

【0008】図2はこの実施例の動作を説明する流れ図
である。図2を図1に併せて参照してこの実施例の動作
を説明する。上位装置1から印刷要求の印刷ページ数と
して数値5が送信されたとする。送信された印刷ページ
数の数値5はインターフェイス3を介して第1レジスタ
10に蓄えられる(S2)。このとき、上位装置2は稼
働していないものとする。レジスタ10および11の初
期値を無限大にしておけば(S1)、第1レジスタ10
の内容は5であり、第2レジスタ11の内容は無限大で
あるから、比較部12はこれらレジスタ10および11
の内容を比較し(S3)、第1レジスタ10の内容が小
さいので、印刷部5は上位装置1からの印刷データを1
ページ印刷する(S4)。印字部5が1ページの印刷を
終える毎に、制御部6はレジスタ10から数値1を減算
するように信号線7を介して信号を送る(S5)。この
ようにして、第1レジスタ10の内容が値3になったと
き、上位装置2から印刷要求の印刷ページ数として数値
2が第2レジスタ11に蓄えられたとする(S2)。比
較部12はこれらレジスタ10および11の内容を比較
し(S3)第2レジスタ11の内容が小さいので、印刷
部5は上位装置2からの印刷データを印刷する(S
4)。もし、上位装置2からの印刷要求の印刷ページ数
が数値3以上ならば、ひき続いて上位装置1からの印刷
データを印刷部5は印刷する。このように、印刷ページ
数の数値が小さい上位装置の印刷データが優先して印刷
され、印刷終了後レジスタの内容を無限大とすること
(S7)により再び他方の上位装置の印刷データの印刷
が実行される。
FIG. 2 is a flow chart for explaining the operation of this embodiment. The operation of this embodiment will be described with reference to FIG. 2 together with FIG. It is assumed that a numerical value 5 is transmitted from the upper level device 1 as the number of print pages of the print request. The transmitted number 5, which is the number of print pages, is stored in the first register 10 via the interface 3 (S2). At this time, it is assumed that the host device 2 is not operating. If the initial values of the registers 10 and 11 are set to infinity (S1), the first register 10
Is 5, and the content of the second register 11 is infinite, the comparison unit 12 uses the registers 10 and 11
Are compared (S3), and since the content of the first register 10 is small, the printing unit 5 sets the print data from the host device 1 to 1
The page is printed (S4). Each time the printing unit 5 finishes printing one page, the control unit 6 sends a signal via the signal line 7 so as to subtract the numerical value 1 from the register 10 (S5). In this way, when the content of the first register 10 becomes the value 3, it is assumed that the numerical value 2 is stored in the second register 11 as the number of print pages of the print request from the upper level device 2 (S2). The comparing unit 12 compares the contents of the registers 10 and 11 (S3) and the contents of the second register 11 are small, so the printing unit 5 prints the print data from the higher-level device 2 (S3).
4). If the number of pages to be printed in the print request from the higher-level device 2 is 3 or more, the printing unit 5 subsequently prints the print data from the higher-level device 1. In this way, the print data of the higher-level device having a smaller number of print pages is printed with priority, and after the printing is completed, the content of the register is set to infinity (S7), so that the print data of the other higher-level device is printed again. To be executed.

【0009】次に、本発明の第2の実施例をブロックで
示す図3を参照すると、この実施例の複数ポートプリン
タ16において、インターフェイス3、メモリ4、印刷
部5、上位装置1および2にそれぞれ対応する第1レジ
スタ10および第2レジスタ11、比較部12および制
御部6の機能は上述の第1の実施例と同様である。時間
割付部13は特定の上位装置に印字部5が所定時間占有
されるとこの特定の上位装置に対応するレジスタの値と
比較した特定値のレジスタに対応する上位装置が優先し
て印刷データを送信できるように制御する。
Next, referring to FIG. 3 which is a block diagram showing a second embodiment of the present invention, in the multi-port printer 16 of this embodiment, the interface 3, the memory 4, the printing section 5, the upper devices 1 and 2 are provided. The functions of the corresponding first register 10 and second register 11, the comparison unit 12, and the control unit 6 are the same as those in the above-described first embodiment. When the printing unit 5 is occupied by a specific upper device for a predetermined time, the time allocation unit 13 preferentially prints the print data by the upper device corresponding to the register of the specific value compared with the value of the register corresponding to the specific upper device. Control to send.

【0010】図4はこの実施例の動作を説明する流れ図
である。図4を図3に併せて参照してこの実施例の動作
を説明する。上述の第1の実施例と同様に、まず上位装
置1からの印刷データを印刷部5が印刷する(S1〜S
7)。特定時間経過後、上位装置1からの印刷データの
印刷が終了しないとき(S8)、時間割付部13が働
き、比較部12の制御を無効にし(S9)、現在印刷デ
ータを送信中の上位装置1に対応する第1レジスタ10
の値の次に大きな値を有する第2レジスタ11に対応す
る上位装置2に優先権を与え(S10)、上位装置2か
らの印刷データを1ページ印刷し、第2レジスタ11の
値を1つ減算する(S11)。この場合、上記の値を持
つレジスタが存在しなければ(S10)、最小値を持つ
レジスタに対応する上位装置の印刷データを印刷する
(S12)。特定時間内に印刷が終了したとき(S1
3)のみ、比較部12の制御を有効にして(S15)、
終了した上位装置に対応するレジスタに無限大を設定し
て(S16)、レジスタ値の比較を行なう(S3)。
FIG. 4 is a flow chart for explaining the operation of this embodiment. The operation of this embodiment will be described with reference to FIG. 4 together with FIG. Similar to the first embodiment described above, first, the printing unit 5 prints the print data from the higher-level device 1 (S1 to S
7). When the printing of the print data from the higher-level device 1 is not completed after the lapse of the specific time (S8), the time allocating unit 13 operates to invalidate the control of the comparing unit 12 (S9), and the higher-level device currently transmitting the print data. 1st register 10 corresponding to 1
The priority is given to the higher-level device 2 corresponding to the second register 11 having the next largest value (S10), one page of print data from the higher-level device 2 is printed, and the value of the second register 11 is set to one. Subtract (S11). In this case, if the register having the above value does not exist (S10), the print data of the host device corresponding to the register having the minimum value is printed (S12). When printing is completed within the specified time (S1
Only in 3), the control of the comparison unit 12 is enabled (S15),
Infinity is set in the register corresponding to the completed upper device (S16), and the register values are compared (S3).

【0011】上述の第1および第2の実施例において、
上位装置およびレジスタの数はそれぞれ2個であるが、
さらに多い数でも良い。また、比較部12は、小さい値
のレジスタを選択しているが、あらかじめ定めた規定に
よる値を選択することでも良い。
In the first and second embodiments described above,
The number of host devices and registers is two, respectively,
A higher number is also acceptable. Further, although the comparison unit 12 selects a register having a small value, it may also select a value according to a predetermined rule.

【0012】[0012]

【発明の効果】以上説明したように、本発明によれば、
複数の上位装置からそれぞれ送信される印刷データと印
刷ページ数とを受信し、印刷ページ数を一時記憶し、こ
の印刷ページ数から印刷終了したページ数を減算した値
の大小関係を判別し、この判別に基づいて複数の上位装
置のうちの特定の上位装置から印刷データを印刷するこ
とにより、印刷要求されたときの印刷ページ数の少ない
印刷データを優先して印刷するため、印刷ページ数の多
い上位装置にプリンタが独占されることなく効率良く使
用できる。
As described above, according to the present invention,
The print data and the number of print pages transmitted from each of the plurality of host devices are received, the number of print pages is temporarily stored, and the magnitude relationship of the value obtained by subtracting the number of pages that have been printed from this number of print pages is determined. By printing the print data from a specific higher-level device among a plurality of higher-level devices based on the determination, the print data with a smaller number of print pages when a print request is made is printed with priority, and thus the number of print pages is larger. The printer can be efficiently used without being monopolized by the upper device.

【0013】また、特定の上位装置に所定時間占有され
るとこの特定の上位装置に対応するレジスタの値と比較
した特定値のレジスタに対応する上位装置が優先して印
刷データを送信できるように制御することにより、印刷
ページ数が少なくても時間がかかる印刷データは後回し
にすることで効率良くプリンタが使用される。
Further, when a specific upper-level device is occupied for a predetermined time, the upper-level device corresponding to the register having the specific value compared with the value of the register corresponding to the specific higher-level device can preferentially transmit the print data. By controlling the print data, which takes time even if the number of print pages is small, the printer can be used efficiently by postponing the print data.

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

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

【図2】同実施例おける動作の一例を示す流れ図であ
る。
FIG. 2 is a flow chart showing an example of an operation in the same embodiment.

【図3】本発明の第2の実施例の構成を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図4】同実施例おける動作の一例を示す流れ図であ
る。
FIG. 4 is a flowchart showing an example of an operation in the embodiment.

【図5】従来例の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a conventional example.

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

1,2 上位装置 3 インターフェイス 4 メモリ 5 印刷部 6 制御部 7,8,9 信号線 10 第1レジスタ 11 第2レジスタ 12 比較部 13 時間割付部 14,15,16 プリンタ 1, 2 Host device 3 Interface 4 Memory 5 Printing unit 6 Control unit 7, 8, 9 Signal line 10 First register 11 Second register 12 Comparison unit 13 Time allocation unit 14, 15, 16 Printer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の上位装置からそれぞれ送信される
印刷データと印刷ページ数とを受信する受信手段と、こ
の印刷データを記憶する記憶手段と、前記印刷データを
印刷する印刷手段と、前記印刷ページ数を一時記憶し前
記印刷ページ数から前記印刷手段が印刷終了したページ
数を減算する前記複数の上位装置にそれぞれ対応するレ
ジスタ群と、これらのレジスタ群の値の大小関係を判別
する比較手段と、この比較手段の判別に基づいて前記複
数の上位装置のうちの特定の上位装置から前記印刷デー
タを前記印刷手段が印刷することを制御する制御手段と
を備えることを特徴とする複数ポートプリンタ。
1. A receiving unit for receiving print data and the number of pages to be printed, which are respectively transmitted from a plurality of upper devices, a storage unit for storing the print data, a printing unit for printing the print data, and the printing. A register group for temporarily storing the number of pages and subtracting the number of pages printed by the printing unit from the number of printed pages and a register unit corresponding to each of the plurality of higher-level devices and a comparing unit for discriminating the magnitude relationship between the values of these register groups. And a control unit that controls the printing unit to print the print data from a specific upper-level device among the plurality of higher-level devices based on the determination of the comparison unit. .
【請求項2】 前記特定の上位装置に前記印刷手段が所
定時間占有されるとこの特定の上位装置に対応するレジ
スタの値と比較した特定値のレジスタに対応する上位装
置が優先して印刷データを送信できるように制御する時
間割付手段を備えることを特徴とする請求項1記載の複
数ポートプリンタ。
2. When the printing unit is occupied by the specific upper device for a predetermined time, the upper device corresponding to the register having a specific value compared with the value of the register corresponding to the specific upper device is given priority to print data. 2. The multi-port printer according to claim 1, further comprising a time allocating means for controlling so that the printer can be transmitted.
JP5088261A 1993-04-15 1993-04-15 Multi-port printer Pending JPH06297815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5088261A JPH06297815A (en) 1993-04-15 1993-04-15 Multi-port printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5088261A JPH06297815A (en) 1993-04-15 1993-04-15 Multi-port printer

Publications (1)

Publication Number Publication Date
JPH06297815A true JPH06297815A (en) 1994-10-25

Family

ID=13937946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5088261A Pending JPH06297815A (en) 1993-04-15 1993-04-15 Multi-port printer

Country Status (1)

Country Link
JP (1) JPH06297815A (en)

Similar Documents

Publication Publication Date Title
US5781927A (en) Main memory arbitration with priority scheduling capability including multiple priorty signal connections
JPH05155070A (en) Printing control device
US4642761A (en) Dedicated I/O serial bit interface with peripheral selection
US5682467A (en) Arbitrating apparatus for controlling selective access of multiple bus masters to a printing system video bus
US6216176B1 (en) Method of passing right to use input/output port between softwares
US5668936A (en) Printer for exclusively selecting a host apparatus and a command system for use with the selected host apparatus
US5630030A (en) Output method and apparatus for a recording device
JPH06297815A (en) Multi-port printer
JPH05108283A (en) Printer management device
JP2945403B2 (en) Recording control device
US6292266B1 (en) Printing apparatus with facsimile function
KR0164782B1 (en) Router built-in printer and its control method
JP2000099391A (en) Printer, printer controlling method and storage medium
JP3245789B2 (en) Printer device
JPS5829043A (en) Printer controlling system
JP2995420B2 (en) Network disconnection method
JP3028812B2 (en) Printer device
JP3027849B2 (en) Printing device
JPH07104824B2 (en) Print control device
JPH03216373A (en) Page printer
KR940015759A (en) Simultaneous processing of serial / parallel data input
JPH04631A (en) Printing system
JPH04343125A (en) Printer device
JPH06149735A (en) Data reception controller
JPH10161966A (en) Communication terminal equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990721