JPH03219325A - printer - Google Patents
printerInfo
- Publication number
- JPH03219325A JPH03219325A JP2013573A JP1357390A JPH03219325A JP H03219325 A JPH03219325 A JP H03219325A JP 2013573 A JP2013573 A JP 2013573A JP 1357390 A JP1357390 A JP 1357390A JP H03219325 A JPH03219325 A JP H03219325A
- Authority
- JP
- Japan
- Prior art keywords
- host
- data
- printer
- interfaces
- input
- 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
Links
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は複数のインタフェースを有するプリンタの動作
制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an operation control method for a printer having a plurality of interfaces.
(従来の技術)
複数のインタフェースを有するプリンタを効率良く使用
するために、複数のインタフェースを介してデイスプレ
ィ装置や計算機等から送られて来るデータを、一定の切
換え時間を設けたタイマー付き切換え機構により入力デ
ータの切換えを行なう手段(特開昭60−6485号公
報参照)や、あるいは、2つのインタフェースを改ペー
ジデータの検出後、一定時間入力データがない場合、当
該接続状態を解除する切換スイッチ手段(特開昭61−
184630号公報)等がある。(Prior art) In order to efficiently use a printer with multiple interfaces, data sent from a display device, computer, etc. via multiple interfaces is transferred using a switching mechanism with a timer that provides a fixed switching time. Means for switching input data (see Japanese Patent Application Laid-Open No. 60-6485), or changeover switch means for disconnecting two interfaces if there is no input data for a certain period of time after detecting page break data. (Unexamined Japanese Patent Publication No. 1986-
184630), etc.
(発明が解決しようとする課題)
上述した従来技術の前者の場合は、1つのインタフェー
スからの入力データが終了しても、タイマーによる一定
時間が経過するまでは他のインタフェースは使用できず
、その間プリンタは動作できず、複数のインタフェース
を切換えて効率良くプリンタを使用するという本来の目
的が十分達成できない。(Problem to be Solved by the Invention) In the former case of the above-mentioned prior art, even if input data from one interface is finished, other interfaces cannot be used until a certain period of time set by a timer has elapsed, and during that time, the other interfaces cannot be used. The printer cannot operate, and the original purpose of efficiently using the printer by switching between multiple interfaces cannot be fully achieved.
また上述した従来技術の後者の場合も、上記と同様に改
ページデータの検出後に一定時間入力データがないと他
のインタフェースは使用できず、これまた複数のインタ
フェースを切換えて効率良くプリンタを使用するという
目的が十分達成できない。Also, in the latter case of the conventional technology described above, similarly to the above, after detecting page break data, if there is no input data for a certain period of time, other interfaces cannot be used, and the printer is again efficiently used by switching between multiple interfaces. This objective cannot be fully achieved.
(発明の目的)
本発明は上述した従来技術の問題点に鑑み、複数のイン
タフェースを有するプリンタの動作効率の向上をはかる
ことを目的とする。(Object of the Invention) In view of the problems of the prior art described above, an object of the present invention is to improve the operating efficiency of a printer having a plurality of interfaces.
(構成および作用)
本発明は上記目的を達成するため、プリンタコントロー
ラは複数のホストインタフェースを有し、通常は全ての
ホストインタフェースをアクティブ状態とし、該複数の
ホストインタフェースの何れかに入力があった時点で、
他のホストインタフェースを入力禁止状態にして前記1
つのホストインタフェースがホストよりデータを取込み
、かつ、該ホストインタフェースに一定時間、データ入
力がないか、またはホストからデータ終了コマンドを受
取ることにより、他のホストインタフェースの入力禁止
状態を解除して、元のアクティブ状態に戻す制御手段を
有することを特徴とする。(Structure and operation) In order to achieve the above object, the present invention has a printer controller having a plurality of host interfaces, and normally all the host interfaces are in an active state, and when an input is received on any one of the plurality of host interfaces. At the time,
Set other host interfaces to input prohibited state and
If one host interface receives data from the host and there is no data input to that host interface for a certain period of time, or if a data end command is received from the host, the input prohibition state of the other host interface is released and the state is restored. It is characterized by having a control means for returning to the active state.
本発明は複数のホストインタフェースを常にアティブ状
態にしており、何れかのホストインタフェースに入力デ
ータがあった時点で、他のホストインタフェースへの入
力データの入力を禁止状態にして入力データのあったホ
ストインタフェースによりデータを取込むようにした。The present invention always keeps a plurality of host interfaces in an active state, and when there is input data in any host interface, inputting data to other host interfaces is prohibited, and the host that received the input data is disabled. Data can now be imported using an interface.
そして、当該ホストインタフェースに一定時間、入力デ
ータがないかに加えて1本発明ではホストからデータ終
了のコマンドを受取ったか否かの制御手段をもっている
ので、他のホストインタフェースの前記入力禁止状態を
直ちに解除し5元のアクティブ状態に戻し、複数のホス
トからの入力データが速かに入力可能とし、プリンタの
動作効率を向上させる。In addition to checking whether there is no input data in the host interface for a certain period of time, the present invention has a control means for checking whether or not a command to end data has been received from the host, so that the input prohibition state of other host interfaces can be immediately released. 5 to the original active state, input data from multiple hosts can be quickly input, and the operating efficiency of the printer is improved.
(実施例)
第1図は本発明のプリンタシステムの構成を示すブロッ
ク図である。このシステムでは複数のホストシステム1
1より文字コード情報や画像イメージ情報等を受けて、
プリンタ10<7)コントローラ(画像゛処理装置)1
2でページ単位のビデオデータを生成し、プリンタエン
ジン13で記録媒体上に上記ビデオデータをプリントし
出力する。(Embodiment) FIG. 1 is a block diagram showing the configuration of a printer system of the present invention. In this system, multiple host systems 1
After receiving character code information, image image information, etc. from 1,
Printer 10<7) Controller (image processing device) 1
2 generates page-by-page video data, and the printer engine 13 prints and outputs the video data on a recording medium.
第2図は一例としてプリンタ10がレーザプリンタの場
合のコントローラ12の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the controller 12 when the printer 10 is a laser printer, as an example.
図に示すようにプリンタコントローラ12は、外部イン
タフェースとして複数のホストシステム11と接続する
ためのホストインタフェース121と、内部インタフェ
ースとしてフォントカートリッジ14、15と接続する
ためのカートリッジインタフェース122と、ICカー
ド16と接続するためのICカードインタフェース12
3と、コントローラパネル17と接続するためのコント
ロールパネルインタフェース124と、PEユニット(
プリンタエンジン)13と接続するためエンジンインタ
フェース125とを備えている。As shown in the figure, the printer controller 12 includes a host interface 121 for connecting to a plurality of host systems 11 as an external interface, a cartridge interface 122 for connecting to font cartridges 14 and 15 as an internal interface, and an IC card 16. IC card interface 12 for connection
3, a control panel interface 124 for connecting to the controller panel 17, and a PE unit (
The engine interface 125 is provided for connection with the printer engine (printer engine) 13.
また、コントローラ部としてCPU126. ROM1
27. RAM128.データ制御部129.アドレス
制御部130.及びビデオ制御部131とを備えている
。In addition, a CPU 126. ROM1
27. RAM128. Data control unit 129. Address control unit 130. and a video control section 131.
なお、ホストインタフェース121はオフィスコンピュ
ータ、パーソナルコンピュータ、ワードプロセッサ、デ
ータ処理装置9画像処理装置等のホストと接続するため
のインタフェースであり、接続するホストシステムに合
わせて各種のパラレルインタフェースあるいはシリアル
インタフェース等が設定される。Note that the host interface 121 is an interface for connecting to a host such as an office computer, a personal computer, a word processor, a data processing device 9 and an image processing device, etc., and various parallel interfaces or serial interfaces are set according to the host system to be connected. be done.
そして、このホストインタフェース121はホストシス
テム11からの文字コード、制御コード、制御コマンド
等の各種のデータを受信したり、プリンタステータス等
の制御情報をホストシステム11へ送信したりする。The host interface 121 receives various data such as character codes, control codes, and control commands from the host system 11, and transmits control information such as printer status to the host system 11.
また、このプリンタコントローラ12内の各部はアドレ
スバス、制御バス、データバスからなるノ(スラインに
よって”相互に接続されている。Further, each section within this printer controller 12 is interconnected by lines consisting of an address bus, a control bus, and a data bus.
また、上記CPU126は、CPU、ROM、RAM及
び工/○等からなる汎用の16ビツト又は32ビツトの
マイクロコンピュータであり、このプリンタコントロー
ラ12全体の統括制御を司る。The CPU 126 is a general-purpose 16-bit or 32-bit microcomputer consisting of a CPU, ROM, RAM, memory, etc., and is in charge of overall control of the printer controller 12 as a whole.
また、上記ROM127はリードオンリメモリであり、
CPU126を制御するための各種プログラム、常駐フ
ォント等を格納している。Further, the ROM 127 is a read-only memory,
It stores various programs for controlling the CPU 126, resident fonts, etc.
また、上記RAM128は、大容量のランダムアクセス
メモリであり、第3図にその構成を示すように複数の補
助バッファ128−1.インプットバッファ128−2
、ページバッファ128−3.ビデオバッファ128
−4.フォントファイル128−5.プリントスプーラ
ファイル(以下単に「スプーラファイル」と称す)12
8−6等を有すると共に、CPU126が使用するシス
テムメモリ等に使用される。The RAM 128 is a large-capacity random access memory, and as shown in FIG. 3, it has a plurality of auxiliary buffers 128-1. Input buffer 128-2
, page buffer 128-3. Video buffer 128
-4. Font file 128-5. Print spooler file (hereinafter simply referred to as “spooler file”) 12
8-6, etc., and is used as a system memory used by the CPU 126.
前記、データ制御部129は、ページバッファ128−
3のデータに基づき、ビデオバッファ128−4にビデ
オデータを作成していく場合に使用される。The data control unit 129 has page buffers 128-
This is used when creating video data in the video buffer 128-4 based on the data of No. 3.
前記、アドレス制御部130は、ページバッファ12g
−3のデータに基づいてビデオバッファ128−4にビ
デオデータを作る場合のD M A (Direct
MemoryAccess)アドレスを制御するDMA
アドレス制御部と、ビデオバッファ128−4に作られ
たビデオデータをビデオクロック(WCLK)に同期さ
せて順次8力していくためのビデオアドレス制御部等に
よって構成されている。The address control unit 130 controls the page buffer 12g.
DMA (Direct
MemoryAccess) DMA that controls the address
It consists of an address control section and a video address control section for sequentially outputting the video data created in the video buffer 128-4 in synchronization with the video clock (WCLK).
前記、ビデオ制御部131は、ビデオバッファ128−
4に作られたビデオデータが、CPU126の処理単位
である例えば32ビツトずつ読み出された時、そのパラ
レルビデオデータをシリアルビデオデータに変換してP
Eユニット(プリンタエンジン)13に出力する。The video control unit 131 has video buffers 128-
When the video data created in step 4 is read out in units of processing by the CPU 126, for example 32 bits at a time, the parallel video data is converted to serial video data and the
Output to the E unit (printer engine) 13.
上述したように全てのホストインタフェース121に共
通なインプットバッファ12g−2の前段に、各ホスト
インタフェースに対して補助バッファ128−1を有す
る。As described above, an auxiliary buffer 128-1 is provided for each host interface before the input buffer 12g-2 common to all host interfaces 121.
第4図はホストインタフェース121の処理の流れを示
す図であり、ホストシステム11からの入力データがあ
ると全てのホストインタフェースに共通なインタラブド
信号により、第4図のルーチンが起動される。FIG. 4 is a diagram showing the processing flow of the host interface 121. When there is input data from the host system 11, the routine shown in FIG. 4 is activated by an interwoven signal common to all host interfaces.
まず、現在全てのホストインタフェースがアクティブか
否かをCPU126はチエツクする(Sl)。First, the CPU 126 checks whether all host interfaces are currently active (Sl).
そして、全てのホストインタフェースがアクティブ状態
の時は(SlのYES)、各補助バッファ128−1の
チエツクを行ない(S2)、どのホストインタフェース
から入力データがあったかをCPU126は調査(判断
)する。When all the host interfaces are in the active state (Sl: YES), each auxiliary buffer 128-1 is checked (S2), and the CPU 126 investigates (determines) which host interface received the input data.
これにより、入力データのあったホストインタフェース
以外のホストインタフェースを入力禁止状71::CP
U126はする(S3)。この時、複数のホストインタ
フェースから同時に入力データがあった場合には、予め
優先度を定めておくことにより、アクティブとするホス
トインタフェースを決定するようにすればよい。As a result, input prohibition letter 71::CP is issued for host interfaces other than the host interface where the input data was.
U126 does (S3). At this time, if there is input data from multiple host interfaces at the same time, the host interface to be made active may be determined by setting priorities in advance.
一方、最初のチエツク(Sl)で1つのホストインタフ
ェースのみがアクティブ状態の時は(SlのNO)、デ
ータ終了コマンドであるか否かをCPU126はチエツ
クしくSl)、データ終了コマンドの場合には(Slの
YES)、当該ホストインタフェースの占有状態を解除
し、全てのホストインタフェースを元のアクティブ状態
に戻す(S、)。On the other hand, if only one host interface is active in the first check (Sl) (NO in Sl), the CPU 126 checks whether or not it is a data end command (Sl); if it is a data end command, it returns (Sl). YES in Sl), the occupied state of the host interface is released and all host interfaces are returned to the original active state (S,).
このようにして、アクティブなホストインタフェースが
1つに占有された状態で、入力データがデータ終了コマ
ンドでなければ、インプットバッファ128−2にデー
タを入れる(S、)、ここで、データ終了コマンドとし
ては、エスケープ・シーケンス等を用いて設定しておけ
ばよい。In this way, with one active host interface occupied, if the input data is not a data end command, the data is put into the input buffer 128-2 (S,), where it is sent as a data end command. can be set using an escape sequence or the like.
本発明は以上の処理とは別に第5図に示すようにインプ
ットバッファ128−2の入力データの処理を、CPU
126のタイマにより定期的に行なう。In addition to the above-mentioned processing, as shown in FIG.
This is performed periodically using a 126 timer.
まず、インプットバッファ128−2に入力データがあ
ったか否かをCPU126は調査(判断)する(S7)
。そして、入力データがあった場合(S7のYES)、
ホストインタフェース切換え用のタイマを初期化しくS
8)、処理を終了する。First, the CPU 126 investigates (determines) whether there is input data in the input buffer 128-2 (S7).
. Then, if there is input data (YES in S7),
Initialize the timer for host interface switching.
8) End the process.
また、前回のチエツク時は入力データがあったが、今回
のチエツク時は入力データがなl、N場合しこは、上記
タイマを起動する(S、)。そして、タイマをCPU1
26はチエツクし、一定時間経過していない場合(Sl
、のNo)は処理を終了する。また、一定時間経過して
いる場合(S、。のYES)、全てのホストインタフェ
ースをアクティブ状態しこCP ’U126は戻す(S
よ、)。Further, if there was input data at the previous check, but no input data at the current check, the timer is started (S,). Then set the timer to CPU1
26 is checked, and if a certain period of time has not passed (Sl
, No) ends the process. Additionally, if a certain period of time has elapsed (S, YES), the CP'U126 returns all host interfaces to the active state (S).
Yo,).
このように本発明は第4図および第5図でのべた異なる
2系統のチエツクをCPU126により行ない、ホスト
インタフェースの切換えを行ない、プリンタの使用効率
を向上させる。In this way, the present invention uses the CPU 126 to check the two different systems shown in FIGS. 4 and 5, and switches the host interface, thereby improving the usage efficiency of the printer.
(発明の効果)
以上説明したように本発明によれば、複数のイタンフェ
ースを持つプリンタにおいて、従来の一定時間、入力デ
ータがない場合にホストインタフェースの切換えを行う
制御手段に加えて、ホストからデータ終了コマンドを受
は取る事によってもホストインタフェースの切換えを行
う制御手段を持っているので、従来のように入力データ
の終了にもかかわらず他のホストインタフェースが一定
時間待たされる事がない。又、データ終了コマンドを受
は取らなくても一定時間後には全てのホストインタフェ
ースがアクティブ状態となる。(Effects of the Invention) As explained above, according to the present invention, in a printer having a plurality of interfaces, in addition to the conventional control means for switching host interfaces when there is no input data for a certain period of time, Since it has a control means for switching host interfaces by receiving and receiving data end commands, other host interfaces are not forced to wait for a certain period of time even though input data ends, unlike in the past. Furthermore, even if no data end command is received, all host interfaces become active after a certain period of time.
従って、複数のホストインタフェースを持つプリンタと
して従来よりも有効に使用できる。Therefore, it can be used more effectively as a printer with multiple host interfaces than before.
第1図は本発明のプリンタシステムの構成を示すブロッ
ク図、第2図は一例としてレーザプリンタにおけるコン
トローラの構成を示すブロック図、第3図は第2図のコ
ントローラにあるRAMの構成を示すブロック図、第4
図はホストインタフェースの処理の流れを示す図、第5
図はインプットバッファの入力データ処理の流れを示す
図である。
10・・・プリンタ、11・・・複数のホストシステム
、12・・・コントローラ、13・・・プリントエンジ
ン、121・・・ホストインタフェース、126・・・
CPU、127・・・ROM、128・・・RAM、1
28−1・・・複数の補助バッファ、128−2・・・
インプットバッファ、 128−3・・・ページバッフ
ァ、128−4・・・ ビデオバッファ、128−5・
・・ フォントファイル、128−6・・・プリントス
プーラファイル。FIG. 1 is a block diagram showing the configuration of the printer system of the present invention, FIG. 2 is a block diagram showing the configuration of a controller in a laser printer as an example, and FIG. 3 is a block diagram showing the configuration of the RAM in the controller of FIG. Figure, 4th
Figure 5 shows the flow of host interface processing.
The figure is a diagram showing the flow of input data processing of the input buffer. DESCRIPTION OF SYMBOLS 10... Printer, 11... Multiple host systems, 12... Controller, 13... Print engine, 121... Host interface, 126...
CPU, 127...ROM, 128...RAM, 1
28-1... Multiple auxiliary buffers, 128-2...
Input buffer, 128-3... Page buffer, 128-4... Video buffer, 128-5...
... Font file, 128-6... Print spooler file.
Claims (1)
有し、通常は全てのホストインタフェースをアクティブ
状態とし、該複数のホストインタフェースの何れかに入
力があった時点で、他のホストインタフェースを入力禁
止状態にして前記1つのホストインタフェースがホスト
よりデータを取込み、かつ、該ホストインタフェースに
一定時間、データ入力がないか、またはホストからデー
タ終了コマンドを受取ることにより、他のホストインタ
フェースの入力禁止状態を解除して、元のアクティブ状
態に戻す制御手段を有することを特徴とするプリンタの
動作制御方式。The printer controller has a plurality of host interfaces, and normally all the host interfaces are in the active state, and when an input is received to any one of the plurality of host interfaces, the other host interfaces are set to the input prohibited state and the above-mentioned 1. If one host interface receives data from the host and there is no data input to that host interface for a certain period of time, or if a data end command is received from the host, the input prohibition state of the other host interface is released and the state is restored. 1. An operation control method for a printer, comprising control means for returning the printer to an active state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013573A JPH03219325A (en) | 1990-01-25 | 1990-01-25 | printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013573A JPH03219325A (en) | 1990-01-25 | 1990-01-25 | printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03219325A true JPH03219325A (en) | 1991-09-26 |
Family
ID=11836913
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013573A Pending JPH03219325A (en) | 1990-01-25 | 1990-01-25 | printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03219325A (en) |
-
1990
- 1990-01-25 JP JP2013573A patent/JPH03219325A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1168152B1 (en) | Printer control system with copier type document handling | |
| US5630032A (en) | Image generating apparatus having a memory for storing data and method of using same | |
| EP0424885B1 (en) | Control apparatus of high speed/high quality printer | |
| JPH03219325A (en) | printer | |
| US4996649A (en) | Image processor capable of storing character images and graphic images in a memory and including a timer for ensuring image processing operations are carried out in a predetermined time period | |
| JP2699440B2 (en) | Printer device | |
| JPH0465262A (en) | page printer | |
| JPH0659833A (en) | Network environment printer | |
| JPH0778103A (en) | Shared access control device | |
| JP2754630B2 (en) | Page printer control method | |
| JP2792216B2 (en) | Printer device | |
| JPH01263063A (en) | Printing controller | |
| JPH03142271A (en) | printing device | |
| JP2872144B2 (en) | Printing equipment | |
| JPH0537308Y2 (en) | ||
| JP3027849B2 (en) | Printing device | |
| KR950005823Y1 (en) | Multi-language display unit on ibm pc | |
| JPH03161828A (en) | printer control device | |
| JPS5936314B2 (en) | Display device control method | |
| JPH0477272A (en) | printer device | |
| JPH01308658A (en) | Printer | |
| JPH02193216A (en) | Printer interface unit | |
| JPH04261876A (en) | Printer device | |
| JPH04299439A (en) | Memory access control circuit | |
| JPH0124317B2 (en) |