JPH0443426A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0443426A
JPH0443426A JP2149759A JP14975990A JPH0443426A JP H0443426 A JPH0443426 A JP H0443426A JP 2149759 A JP2149759 A JP 2149759A JP 14975990 A JP14975990 A JP 14975990A JP H0443426 A JPH0443426 A JP H0443426A
Authority
JP
Japan
Prior art keywords
data
processing
priority
input port
job
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2149759A
Other languages
Japanese (ja)
Inventor
Toshiharu Takahashi
俊晴 高橋
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2149759A priority Critical patent/JPH0443426A/en
Publication of JPH0443426A publication Critical patent/JPH0443426A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute a data processing having the highest priority without delay by altering the priority of an input port, processing the data having the highest priority and interrupting a data processing having lower priority at the time of paging at any time. CONSTITUTION:A data processor has plural input ports 11 and 12 having priority and it can alter priority. A change-over switch 15 is switch-controlled by a reception buffer switch part 17 and a user can freely set priority in the input ports 11 and 12 in a control panel 18. In such a case, a job in the midst of processing is interrupted in a prescribed unit, for example to a section of a page, and after storing in a set parameter the job received in the input port having high priority in the processing is processed. After the termination of the processing, the processing of the job interrupted by the restored parameter is continued from the subsequent page. Thus, the processing of data can efficiently be executed in conformity with the set priority.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、印字制御命令やデータを複数の入力ポート
から受入し、これらに基づいて所定のデータ処理を行な
うデータ処理装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention provides a data processing device that receives print control commands and data from a plurality of input ports, and performs predetermined data processing based on these commands. Regarding.

(従来の技術) 複数の入力ポートを有し、これらの入力ポートを介して
外部装置、例えばホストコンピュータから受は取った印
字制御命令に従って、同様に受は取ったデータに基づい
て画像を紙の上に形成する、データ処理装置が用いられ
ている。この場合、複数の入力ポートに対して予め所定
の優先度を設定し、例えば2つの入力ポートに同時にデ
ータが与えられたときは、優先度の高い方の入力ポート
に与えられたデータをまず処理する。
(Prior Art) The receiver has a plurality of input ports, and according to print control commands received from an external device, such as a host computer, through these input ports, the receiver also prints an image on paper based on the received data. A data processing device formed above is used. In this case, a predetermined priority is set in advance for multiple input ports, and for example, when data is given to two input ports at the same time, the data given to the input port with a higher priority is processed first. do.

この状態で、例えば現在処理中の入力ポートより高い優
先度が与えられている入力ポートにデータが与えられて
も、従来では、現在処理中のデータをすべて処理してか
らでないと高い優先度の入力ポートに与えられたデータ
の処理ができない。
In this state, for example, even if data is given to an input port that is given a higher priority than the input port that is currently being processed, conventionally, all the data that is currently being processed must be processed before the higher priority input port is given. Unable to process data given to input port.

あるいは、優先度の高い入力ポートにデータが与えられ
ると、直ちにその方へ処理を切り換えるようにしたシス
テムも考えられるが、この場合は、それまで処理されて
いたデータが捨てられてしまうことになる。
Alternatively, a system could be created in which when data is given to an input port with a high priority, processing is immediately switched to that port, but in this case, the data that had been processed up to that point would be discarded. .

(発明が解決しようとする課題) 従来は、複数の入力ポートを有するデータ処理装置にお
いて、複数ページを形成するデータから成るファイルを
一つの入力ポートから受けて処理している最中に、優先
度がそれより高いジョブである他のファイルを、他の高
い優先度が与えられている入力ポートに供給して処理し
ようとしても、現在処理中のファイルの処理が終了する
のを待つか、或いは現在処理中のファイルを途中で放棄
して新しいデータを受は入れなければならないという問
題がある。この問題は、入力ポートに設定されている優
先度をファイルの処理の途中で切り換えるような場合に
も同様に生じることである。
(Problem to be Solved by the Invention) Conventionally, in a data processing device having a plurality of input ports, priority If you try to process another file whose job is higher than that by feeding it to another input port that has a higher priority, you will have to wait for the file currently being processed to finish processing, or There is a problem in that the file being processed must be abandoned midway to accept new data. This problem also occurs when the priority level set for an input port is changed during file processing.

そこで、この発明は、複数の所定の単位、例えば複数ペ
ージを形成するデータからなるファイルを処理中に、優
先度の高いジョブの処理の必要が生じたときに、現在の
処理を中断して比較的短時間でこの新・しいジョブの処
理を開始できるとともに、中断したファイルを捨てるこ
となく、新しいジョブの処理が完了後、再度中断したフ
ァイルの処理を継続できるように構成されたデータ処理
装置を提供することを目的とする。
Therefore, the present invention provides a method for interrupting current processing and comparing data when it becomes necessary to process a high-priority job while processing a file consisting of data forming multiple predetermined units, for example, multiple pages. The data processing device is configured to be able to start processing this new job in a relatively short period of time, and to continue processing the interrupted file again after the new job processing is completed without discarding the interrupted file. The purpose is to provide.

[発明の構成] (課題を解決するための手段) この発明は上記の課題を解決するために、複数の優先度
を有する入力ポートを有し、この優先度を変更可能なデ
ータ処理装置において、第1の人力ポートからのデータ
を受信実行中に、これより高い優先度の第2の入力ポー
トからデータを受信したことを検知する手段と、 この検知手段の出力に応じて第1の入力ポートからのデ
ータによる実行中のファイルを所定の単位まで処理した
後、このファイルの処理の実行を中止する手段と、 前記ファイルにおいて設定されたパラメータを記憶する
メモリと、 このメモリにパラメータの記憶後、前記第2の入力ポー
トからのデータの処理を開始する手段と、を有するデー
タ処理装置である。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the present invention provides a data processing device that has an input port having a plurality of priorities and can change the priorities. means for detecting that data has been received from a second input port having a higher priority while receiving data from the first manual port; means for stopping the execution of processing of the file after processing the file being executed based on data from the file up to a predetermined unit; a memory for storing parameters set in the file; and after storing the parameters in the memory; and means for starting processing of data from the second input port.

(作用) この発明によれば、処理中のジョブを所定の単位、例え
ば頁の区切りまでで中断して、設定されているパラメー
タを記憶した後で、処理の優先度の高い入力ポートに受
信されたジョブの処理を行ない、この処理の終了後、再
びリストアしたパラメータによって中断していたジョブ
の処理を続きの頁から続行する。
(Operation) According to the present invention, a job being processed is interrupted at a predetermined unit, for example, up to a page break, and after the set parameters are memorized, the job is received at an input port with a high processing priority. After completing this processing, the job processing that was interrupted is resumed from the next page based on the restored parameters.

(実施例) 以下、この発明をレーザビームプリンタに適応した実施
例を、第1図乃至第6図を参照して説明する。
(Example) Hereinafter, an example in which the present invention is applied to a laser beam printer will be described with reference to FIGS. 1 to 6.

第1図において、サブCPU管理部10内の2個の入力
ポート11.12には、外部装置、例えばホストコンピ
ュータからプリントすべきデータおよび印字パラメータ
、例えばトップマージン、1ページ当りの行数、カーソ
ルの位置、エミュレーションタイプ等を表わすパラン・
−タデータが供給される。入力ポート11.12に供給
された各データは、メインCPU管理部24内の受信バ
ッファ13.14に送られて一時的に保持される。
In FIG. 1, two input ports 11 and 12 in the sub CPU management unit 10 receive data to be printed and printing parameters from an external device, such as a host computer, such as a top margin, number of lines per page, and a cursor. Paran indicating the location, emulation type, etc.
- data is provided. Each data supplied to the input port 11.12 is sent to a reception buffer 13.14 in the main CPU management section 24 and is temporarily held there.

入カポ−)11.12から受信バッファ13゜14へ送
られたデータは、切り換えスイッチ15を介して選択的
にデータ解析処理部16へ送られる。この切り換えスイ
ッチ15は受信バッファ切り換え部17によって切り換
え制御される。この切り換えは、受信バッファ13.1
4にデータが保持されているか否かを受信バッファ切り
換え部17で調べ、現在設定されている優先度が高い方
、例えば受信バッファ13にデータが保持されていれば
、この受信バッファ13のデータがデータ解析処理部1
6へ送られるようにスイッチ15を切り換える。受信バ
ッファ13にデータが保持されてなければ、他方の優先
度の低い方の受信バッファ14にデータが保持されてい
るか調べ、あればこのデータがデータ解析処理部16へ
送られるようにスイッチ15を切り換える。いずれの受
信バッファ13.14にもデータがなければ、一定時間
毎に、受信バッファ13.14の順にデータが保持され
ているか調べ続ける。
The data sent from the input ports 11 and 12 to the reception buffers 13 and 14 is selectively sent to the data analysis processing section 16 via the changeover switch 15. This changeover switch 15 is controlled by a reception buffer changeover section 17. This switching is done by receiving buffer 13.1.
The reception buffer switching unit 17 checks whether data is held in the reception buffer 4, and if data is held in the currently set higher priority, for example the reception buffer 13, the data in the reception buffer 13 is Data analysis processing section 1
switch 15 so that the signal is sent to 6. If no data is held in the reception buffer 13, check whether data is held in the other reception buffer 14 with a lower priority, and if so, turn the switch 15 so that this data is sent to the data analysis processing section 16. Switch. If there is no data in any of the receiving buffers 13.14, then it continues to check whether data is held in the receiving buffers 13.14 at regular intervals.

尚、入力ポート11.12における優先度の設定はコン
トロールパネル18においてユーザが自由に設定できる
もので、優先度設定データは、コントロールパネル18
からパネル制御部19を介して受信バッファ切り換え部
17へ送られる。従って、この実施例の場合は入力ポー
ト11の方が高い優先度に設定されたものとしているが
、入力ポート12の方が高くなるようにも設定できる。
The priority settings for the input ports 11 and 12 can be set freely by the user on the control panel 18, and the priority setting data can be set on the control panel 18.
The data is sent from the panel controller 19 to the reception buffer switching unit 17 . Therefore, in this embodiment, the input port 11 is set to have a higher priority, but the input port 12 can also be set to have a higher priority.

この場合は、まず受信バッファ14内にデータが保持さ
れているか調べ、あればそのデータを処理し、なければ
他方の受信バッファ13内にデータが保−持されている
か調べる。優先度の低い方の受信バッファにのみデータ
が保持されているときはこのデータの処理を行なうが、
この場合は改頁(フオームフィード)の記号の処理終了
毎に高い優先度の受信バッファ13にデータが来ている
かを調べる。 もし優先度の低い方のデータを処理中に
高い方の受信バッファ13にデータが見付かれば、パネ
ル制御部19からパラメータデータ、リストア制御部2
0へ制御信号が送られ、データ解析処理部16は、今ま
で行なってきたジョブ(優先度の低い受信バッファ14
からのデータの処理)を中断するために、現在の印字パ
ラメータデータ(トップマージン、1頁当りの行数、カ
ーソルの位置、エミュレーションタイプ等)を保持する
だけの領域21a、21b、・・・がメモリ21上にあ
るかを調べる。あればその領域、例えば領域21aへそ
のパラメータデータをセイブする。
In this case, first, it is checked whether data is held in the receiving buffer 14, and if so, that data is processed, and if not, it is checked whether data is held in the other receiving buffer 13. If data is held only in the receive buffer with lower priority, this data will be processed, but
In this case, each time the processing of a page feed (form feed) symbol is completed, it is checked whether data has arrived in the high priority reception buffer 13. If data is found in the higher priority receive buffer 13 while processing data with lower priority, the panel controller 19 sends the parameter data to the restore controller 2.
0, the data analysis processing unit 16 sends the control signal to
In order to interrupt the processing of data from (from), areas 21a, 21b, . Check whether it is on memory 21. If so, the parameter data is saved in that area, for example, area 21a.

尚上記ジョブの中で作られたマクロファイル、フォント
データ等は消さずに残しておく。
Note that the macro files, font data, etc. created in the above job are left without being deleted.

データ解析処理部16へ送られたデータは、画像データ
に変換され、ページメモリへ格納され、ビデオインタフ
ェース23を介してレーザプリンタエンジン30内のレ
ーザ装置へ駆動信号とじて送られる。
The data sent to the data analysis processing section 16 is converted into image data, stored in a page memory, and sent as a drive signal to the laser device in the laser printer engine 30 via the video interface 23.

ここで、第2図、第3図を参照してこの発明の一実施例
のレーザプリンタの全体の回路ブロック構成、および構
造の説明を行なう。
Here, the overall circuit block configuration and structure of a laser printer according to an embodiment of the present invention will be explained with reference to FIGS. 2 and 3.

第2図は回路ブロックを概略的に示し、ホストコンピュ
ータから送られたプリントデータ、パラメータデータは
メインCPU管理部である制御回路24へ送られ、ここ
で、レーザプリンタエンジン30を構成するメインモー
タ32の駆動回路31、ミラーモータ34の駆動回路3
3、レーザ光学系36のレーザ出力制御回路35へ夫々
駆動信号、制御信号が供給され、レーザ発光がプリント
データに従って制御される。
FIG. 2 schematically shows a circuit block. Print data and parameter data sent from the host computer are sent to a control circuit 24 which is a main CPU management section, and here, a main motor 32 constituting a laser printer engine 30 is sent. drive circuit 31, drive circuit 3 of mirror motor 34
3. Drive signals and control signals are supplied to the laser output control circuit 35 of the laser optical system 36, respectively, and laser emission is controlled according to the print data.

又、レーザプリンタの構造は第3図に示す構成となって
いる。
The structure of the laser printer is shown in FIG.

すなわち、図中40はレーザプリンタ41のプリンタ本
体であり、このプリンタ本体40の上面部分は一段高く
なっており、その上面中央部には排紙部としての四部4
2が形成されている。上記四部42には、ジョガーによ
って移動可能に支持された排紙トレイ43が装着されて
いるとともに、この四部42の右側には操作パネルとし
ての操作盤表示部および操作盤スイッチ部が、左側には
3つのICカード挿入口がそれぞれ配設された状態とな
っている。
That is, 40 in the figure is a printer main body of a laser printer 41, and the upper surface of this printer main body 40 is one step higher, and in the center of the upper surface there are four parts 4 serving as a paper ejection section.
2 is formed. A paper output tray 43 movably supported by a jogger is attached to the four parts 42, and the right side of the four parts 42 has an operation panel display section and an operation panel switch section as an operation panel, and the left side has an operation panel display section and an operation panel switch section. Three IC card insertion slots are provided respectively.

さらに、プリンタ本体40の前面には排紙トレイが、ま
た、後面側には手差しトレイ44が装着されている。
Furthermore, a paper ejection tray is attached to the front side of the printer main body 40, and a manual feed tray 44 is attached to the rear side.

また、プリンタ本体40のほぼ中央部には、像担持体と
してのドラム状感光体45が設けられているとともに、
その周囲には帯電装置46.レーザ光学系47.現像手
段としての現像装置(現像器ユニット)48.転写装置
49.剥離装置50゜クリーナ手段としてのクリーニン
グ装置(感光体ユニット)51.および除霜装置52が
順次配置されている。
Further, a drum-shaped photoreceptor 45 as an image carrier is provided approximately at the center of the printer main body 40, and
Around it is a charging device 46. Laser optical system 47. Developing device (developing device unit) as a developing means 48. Transfer device 49. Peeling device 50° Cleaning device (photoreceptor unit) 51 as a cleaner means. and a defrosting device 52 are arranged in this order.

上記レーザ光学系47は、レーザ光を発生する半導体レ
ーザ発振器(図示しない)、この発振器からのレーザ光
を平行光に補正するコリメータレンズ(図示しない)、
このコリメータレンズからの光を1走査ライン分ごとに
反射する8面体のミラ一部を有するポリゴンミラー(回
転ミラー)47a、f−θレンズ47b、ミラー47c
The laser optical system 47 includes a semiconductor laser oscillator (not shown) that generates laser light, a collimator lens (not shown) that corrects the laser light from this oscillator into parallel light,
A polygon mirror (rotating mirror) 47a having a portion of an octahedral mirror that reflects the light from this collimator lens for each scanning line, an f-theta lens 47b, and a mirror 47c.
.

47d、および上記ポリゴンミラー47aを回転駆動す
るミラーモータ(回転手段)34などから構成されてい
る。
47d, and a mirror motor (rotating means) 34 for rotationally driving the polygon mirror 47a.

さらに、プリンタ本体40内には、感光体45と転写装
置49との間の画像転写部53を経て前方向に伸びる像
支持体搬送路54が形成されており、プリンタ本体40
内の底部に収納された給紙カセット55から給紙ローラ
58および移相ローラ59等を介して自動給紙された用
紙21手差しトレイ44から手差し供給された用紙Pを
前記画像転写部53に導くようになっている。
Further, an image support transport path 54 is formed in the printer main body 40 and extends forward through an image transfer section 53 between the photoreceptor 45 and the transfer device 49.
Paper 21 is automatically fed from a paper feed cassette 55 housed at the bottom of the interior via a paper feed roller 58, a phase shift roller 59, etc. Paper P manually fed from a manual feed tray 44 is guided to the image transfer section 53. It looks like this.

また、この像支持体搬送路54の画像転写部53の上流
側にはアライニングローラ対60が配置され、下流側に
は定着装置61.排紙セレクタ62および排紙ローラ対
63が配置されている。
Further, an aligning roller pair 60 is disposed on the upstream side of the image transfer section 53 of the image support transport path 54, and a fixing device 61. A paper discharge selector 62 and a pair of paper discharge rollers 63 are arranged.

なお、像支持体搬送路54の終端側には、前記排紙セレ
クタ62により振分けられた用紙Pを排紙部としての前
記凹部42に導くべく排紙ローラ対64を備えた分岐搬
送路65が形成されている。
At the end of the image support conveyance path 54, there is a branch conveyance path 65 provided with a pair of paper discharge rollers 64 to guide the sheets P sorted by the paper discharge selector 62 to the recess 42 serving as a paper discharge section. It is formed.

又、第3図に示す77.78・・・、79は制御部を構
成する制御基板である。
Further, 77, 78, . . . , 79 shown in FIG. 3 are control boards constituting the control section.

しかして、画像形成動作にあたっては、感光体45か駆
動されるとともに帯電装置46の働きで・−様に帯電さ
れ、ついでレーザ光学系47により感光体45上に画像
信号に対応した露光か行われ静電潜像が形成される。つ
いて、この感光体45上の静電潜像兎はl・ナーとキャ
リアとからなる二成分現像剤を使用する現像装置48に
より現像され、現像剤像として画像転写部53側に送込
まれる。
In the image forming operation, the photoreceptor 45 is driven and charged by the charging device 46, and then the laser optical system 47 exposes the photoreceptor 45 to light corresponding to the image signal. An electrostatic latent image is formed. The electrostatic latent image on the photoreceptor 45 is then developed by a developing device 48 that uses a two-component developer consisting of l.color and carrier, and is sent to the image transfer section 53 as a developer image.

一方、この現像剤像形成動作に同期して給紙カセット5
5から取出された用紙P1あるいは手差しされた用紙P
がアライニングローラ対60を介して送り込まれ、予め
感光体45上に形成された上記現像剤像が転写装置49
の働きにより用紙Pに転写される。ついで、用紙Pは剥
離装置50により感光体45より引き剥がされて像支持
体搬送路54を通過して定着装置61に送り込まれる。
Meanwhile, in synchronization with this developer image forming operation, the paper feed cassette 5
Paper P1 taken out from 5 or paper P fed manually
is fed through the aligning roller pair 60, and the developer image previously formed on the photoreceptor 45 is transferred to the transfer device 49.
The image is transferred to paper P by the action of . Then, the paper P is peeled off from the photoreceptor 45 by the peeling device 50, passes through the image support transport path 54, and is sent to the fixing device 61.

ここで現像剤像が用紙Pに溶融定着された後、排紙セレ
クタ62により排出方向が振分けられ上部の排紙トレイ
43もしくは前部の排紙トレイ上に排出される。
Here, after the developer image is fused and fixed on the paper P, the paper discharge selector 62 selects the discharge direction and discharges the paper onto the upper paper discharge tray 43 or the front paper discharge tray.

なお、用紙P上に現像剤像を転写した後、感光体45上
に残った残留トナーは清掃装置5]により01目1■さ
れ、次のコピー動作が可能な状態となる。
After the developer image is transferred onto the paper P, the residual toner remaining on the photoreceptor 45 is cleaned by the cleaning device 5, and the next copying operation is ready.

以下、第4図乃至第6図を参照して第1図乃至第3図に
示した構成を有するこの発明の一実施例の動作を説明す
る。ここで、まず初期設定として、コントロールパネル
18からのユーザによる指定の結果、人力ポート11が
入力ポート1′、2よりデータ処理の優先度を高く設定
されたものとする。
The operation of an embodiment of the present invention having the configuration shown in FIGS. 1 to 3 will be described below with reference to FIGS. 4 to 6. Here, as an initial setting, it is assumed that the manual port 11 is set to have a higher data processing priority than the input ports 1' and 2 as a result of the user's designation from the control panel 18.

この優先度設定信号は受信バッファ切り換え部17にパ
ネル制御部19を介して送られて記憶され、スイッチ1
5が入力ポート11からのデータを保持するための受信
バッファ13側へ切り換えられる。
This priority setting signal is sent to the reception buffer switching section 17 via the panel control section 19 and stored therein.
5 is switched to the receiving buffer 13 side for holding data from the input port 11.

第4図はサブCPU管理部1oの動作を示すフローチャ
ートであり、入力ポート11,1.2から受信バッファ
13゜14へのデータの受は渡しの管理を行なう。サブ
CPU管理部10は、入力ポート11.12の優先度に
かかわらず、第1図に示した装置がデータ受信可ステー
ト(オンラインステート)にある間、且つ、受信バッフ
ァ13゜14に空きがある間は、入力ポート11から受
信したデータは受信バッファ13へ、入力ポート12か
ら受信したデータは受信バッファ14へ転送する。尚、
第1図に示した装置は通常はオンラインステートにある
が、コントロールパネル18より印字パラメータを設定
するとき、及び第1図の装置のCPU管理部10.24
側の装置、又はレーザプリンタエンジン30側にエラー
が発生したときにオフラインステートになる。又、コン
トロールパネル18の制御はメインCPU管理部24で
バックグラウンドで行なっている。
FIG. 4 is a flowchart showing the operation of the sub-CPU management section 1o, which manages the reception and transfer of data from the input ports 11, 1.2 to the reception buffers 13-14. Regardless of the priorities of the input ports 11 and 12, the sub CPU management unit 10 determines whether the device shown in FIG. During this period, data received from the input port 11 is transferred to the reception buffer 13, and data received from the input port 12 is transferred to the reception buffer 14. still,
The apparatus shown in FIG. 1 is normally in an online state, but when setting printing parameters from the control panel 18, the CPU management section 10.24 of the apparatus shown in FIG.
When an error occurs in the side device or the laser printer engine 30 side, the printer enters an offline state. Further, the control panel 18 is controlled by the main CPU management section 24 in the background.

第4図において、最初のステップS]で第1図の装置が
オンラインステートであるかチエツクされ、YESであ
れば次のステップS2へ進み、人力ポート11.12へ
データ入力があったかチエツクされる。入力ポート11
.12のいずれか一方、もしくは双方に入力データがあ
ればYESとなり、次のステップS3へ進む。このステ
ップS3では受信バッファ13.14に空きがあるかが
チエツクされ、YESであれば入力ポート11へのデー
タは受信バッファ13へ、入力ポート12へのデータは
受信バッファ14へ転送される。
In FIG. 4, in the first step S], it is checked whether the apparatus shown in FIG. 1 is in an online state. If YES, the process advances to the next step S2, and it is checked whether data has been input to the manual port 11.12. Input port 11
.. If there is input data in one or both of 12, the answer is YES, and the process advances to the next step S3. In this step S3, it is checked whether there is space in the reception buffers 13, 14, and if YES, the data to the input port 11 is transferred to the reception buffer 13, and the data to the input port 12 is transferred to the reception buffer 14.

次に第5図においてメインCPU管理部24の動作を説
明する。第5図のフローチャートにおいて、まず最初の
ステップS1により高い方の優先度が設定されている入
力ポート11に接続されている受信バッファ13よりデ
ータを読み込むことにより、この受信バッファ13に受
信データがあるかをチエツクする。この場合、入力デー
タがあれば次のステップS2へ進み、読み込んだデータ
がファイルの終りのデータ(END OF JOB)で
あるかがチエツクされる。
Next, the operation of the main CPU management section 24 will be explained with reference to FIG. In the flowchart of FIG. 5, first, by reading data from the receiving buffer 13 connected to the input port 11 to which the higher priority is set in the first step S1, the received data is stored in the receiving buffer 13. Check. In this case, if there is input data, the process advances to the next step S2, and it is checked whether the read data is the end of the file data (END OF JOB).

読み込んだデータがファイルの途中であればNOが得ら
れ、次のステップS3へ進む。このステップS3では受
入されたファイルデータがデータ解析処理部16からペ
ージメモリ22へ送られ、更にビデオインターフェース
23を介してレーサプリンタエンジン30へ送られ、入
力データに基づくレーザプリンタ動作が実行される。
If the read data is in the middle of the file, NO is obtained and the process advances to the next step S3. In this step S3, the accepted file data is sent from the data analysis processing section 16 to the page memory 22, and further sent to the laser printer engine 30 via the video interface 23, where a laser printer operation based on the input data is executed.

このレーザプリンタ動作は、次のステップS4で改頁の
処理が検出されるまで続行される。改頁の処理であるこ
とがステップS4で検知されると、処理は次のステップ
S5へ進み、ここで、優先度がより高い入力ポートから
のデータがあるかがチエツクされる。
This laser printer operation continues until a page break process is detected in the next step S4. If it is detected in step S4 that the process is a page break process, the process proceeds to the next step S5, where it is checked whether there is data from an input port with a higher priority.

この場合、最初の優先度の設定は入力ポー:・11側を
高くしてあったが、入力ポート11への入力データの処
理中に、ユーザにより優先度がコントロールパネル18
からの指示により入力ポート12側へ高い優先度が切り
換えられることがある。
In this case, the initial priority was set high for input port 11, but while processing input data to input port 11, the priority was changed by the user to control panel 18.
A higher priority may be switched to the input port 12 side by an instruction from the input port 12 side.

例えば第6図に示したように、時点t1までは入力ポー
ト11が高い優先度に設定され、受信バッファ13へは
、サブCPU管理部10の制御下でジョブ1の4頁目の
データが途中まで書き込まれている。一方、ジョブ1の
データの処理の方は、2頁目のプリント動作が途中まで
進行し、ていることが示されている。
For example, as shown in FIG. 6, the input port 11 is set to a high priority until time t1, and data from the fourth page of job 1 is being sent to the reception buffer 13 under the control of the sub CPU management unit 10. has been written up to. On the other hand, in the processing of data for job 1, it is shown that the printing operation for the second page has progressed halfway.

第5図のステップS5におけるチエツク動作が第6図の
優先度切り換え時点t1の後で、且つ入力ポート12に
データ受信があった時点t2の後であれば、ステップS
5においてYESが得られ、次のステップS6へ進む。
If the check operation in step S5 in FIG. 5 is after the priority switching time t1 in FIG. 6 and after the time t2 when data is received at the input port 12, step S
5, YES is obtained, and the process proceeds to the next step S6.

ここで、今まで行なっていたジョブ1を中断するために
、現在の印字パラメータ(トップマージン、1頁当りの
行数、カーソルの位置、エミュレーションタイプ等)を
保持するだけの領域がパラメータセーブ領域21内にあ
るか調べ、あるならばステップS6でフラグセットがな
く、その領域、例えば領域21aヘセイブする。このと
き、ジョブ1の中で作られたマクロファイル、フォノ・
トデータ等は消さずに残しておく。
Here, in order to interrupt Job 1 that has been in progress, the parameter save area 21 is an area that holds the current printing parameters (top margin, number of lines per page, cursor position, emulation type, etc.). If it is, the flag is not set in step S6, and the area is saved, for example, area 21a. At this time, the macro file created in job 1, phono
Leave the data etc. without erasing it.

もしパラメータセーブ領域21内に空きが、ないときは
、ステップS6でフラグがセットされており、ジョブ、
1は中断されず、そのまま処理が続行される。
If there is no free space in the parameter save area 21, a flag is set in step S6, and the job
1 is not interrupted and processing continues as is.

パラメータデータがセイブされたときには、ステップS
6でNOが得られ、次のステップS7へ進んでフラグが
セットされ、ステップS8でパラメータデータがセイブ
される。この後、受信バッファ切り換え部17によりス
イッチ15が受信バッファ14側へ切り換えられ、ステ
ップS9で入力ポート12へ受信されたジョブ2のデー
タが、受信バッファ14からデータ解析処理部16へ送
られる。
When the parameter data is saved, step S
If NO is obtained in step 6, the process proceeds to the next step S7, where a flag is set, and the parameter data is saved in step S8. Thereafter, the switch 15 is switched to the reception buffer 14 side by the reception buffer switching section 17, and the data of job 2 received at the input port 12 in step S9 is sent from the reception buffer 14 to the data analysis processing section 16.

このようにして、第6図に示したように、ジョブ1の2
頁目のプリントが終ってフオームフィード(改頁)命令
FFが、時点t3で得られると、処理はジョブ2の方へ
切り換えられ、ジョブ2のデータ処理、プリントが開始
される。
In this way, as shown in FIG.
When printing of the page is completed and a form feed (page break) command FF is obtained at time t3, processing is switched to job 2, and data processing and printing of job 2 are started.

この処理の途中で入力ポートの優先度が再度人力ポート
11側へ切り換えられたときは、同様にしてジョブ2中
の改頁のフィードフオーム命令で処理を中断し、印字パ
ラメータを領域21中ヘセイブする。優先度の変更がな
ければ、入力ポート12への入力データに従って、ジョ
ブ2の処理がそのままファイルの終りまで(END 0
1’ JOBコマンドまで)続行される。
If the priority of the input port is switched to the manual port 11 side again during this process, the process is similarly interrupted with the feed form command for page break in job 2, and the print parameters are saved in area 21. . If the priority is not changed, job 2 continues processing until the end of the file (END 0
1' JOB command).

第6図の時点t4でジョブ2の処理が終了し、それ以上
のデータが入力ポート12から受信バッファ14へ送ら
れていなければ、優先度の低い方の入力ポート11側へ
スイッチ15が切り換えられ、受信バッファ13へ保持
されているジョブ1のデータの処理が再開される。
If the processing of job 2 ends at time t4 in FIG. 6 and no more data is sent from the input port 12 to the reception buffer 14, the switch 15 is switched to the input port 11 side with lower priority. , processing of the data of job 1 held in the reception buffer 13 is restarted.

第6図の時点t4からのジョブ1の処理の再開動作を第
5図(b)により説明する。第5図(a)のステップS
2でEND OF JOBのチエツクでYESが得られ
ると、ステップSIOへ進み、パラメータセイブ領域2
1内のいずれかにジョブ1のパラメータデータがセイブ
されているかチェクされる。
The operation of restarting the processing of job 1 from time t4 in FIG. 6 will be explained with reference to FIG. 5(b). Step S in FIG. 5(a)
If YES is obtained from the END OF JOB check in step 2, proceed to step SIO and save parameter save area 2.
It is checked whether the parameter data of job 1 is saved in any of the files in job 1.

例えば、パラメータセイブ領域21aにパラメータデー
タがセイブされていれば、次のステップS11へ進み、
受信バッファ14がスイッチ15を介してデータ解析処
理部16へ接続される。
For example, if parameter data is saved in the parameter save area 21a, the process advances to the next step S11,
A reception buffer 14 is connected to a data analysis processing section 16 via a switch 15.

この状態で、セイブされていた印字パラメータデータが
ステップS12で領域21aからリストアされ、中断さ
れていたジョブ1の5頁目のプリント処理が再開される
。これに伴って処理は次のステップ313へ進み、パラ
メータセイブ状態を表示しているフラグをリセットする
In this state, the saved print parameter data is restored from the area 21a in step S12, and the interrupted printing process for the fifth page of job 1 is restarted. Accordingly, the process proceeds to the next step 313, and the flag indicating the parameter save state is reset.

[発明の効果] 以上説明したようにこの発明によれば、複数の入力ポー
トを持つデータ処理装置において、随時、人力ポートの
優先度を変更し、高優先度のデータを処理し、低優先度
のデータ処理は改頁のところで中断し、印字パラメータ
をセイブしておき、再度直ちに処理を再開できるように
構成したから、高優先度のデータ処理を遅滞なく行ない
得、しかも処理中のデータが捨てられることがなく、デ
ータの処理を設定優先度に速応して極めて能率的に行な
い得るデータ処理装置が提供できる。
[Effects of the Invention] As explained above, according to the present invention, in a data processing device having a plurality of input ports, the priority of the manual port is changed at any time, high priority data is processed, and low priority data is processed. Data processing is interrupted at a page break, print parameters are saved, and processing can be resumed immediately.This allows high-priority data processing to be performed without delay, and also to ensure that the data being processed is not discarded. Therefore, it is possible to provide a data processing device that can process data extremely efficiently in response to set priorities without being overloaded.

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

第1図はこの発明の一実施例のデータ処理装置の主要部
の構成を示すブロック図、第2図はこの実施例の制御系
のブロック図、第3図はこの実施例の機構部の概略図、
第4図は第1図中のサブCPU管理部の動作フローチャ
ート、第5図(a)。 (b)は第1図中のメインCPU管理部の動作フローチ
ャート、第6図はこの実施例の動作を説明するt二めの
タイミングチャートである。 ]1,12・・・入力ポート、13.14・・・受信バ
ッファ、15・・・優先度切換えスイッチ、16・・・
データ解析処理部、17・・・受信バッファ切り換え部
、18・ コントロールパネル、20・・・印字パラメ
ータデータ、リストア制御部、21・・・パラメータセ
イブメモリ、22・・・ページメモリ、23・・・ビデ
オインターフェース。 出願人代理人 弁理士 鈴 江 武 彦第 図 プブcpu 第4 図
FIG. 1 is a block diagram showing the configuration of the main parts of a data processing device according to an embodiment of the present invention, FIG. 2 is a block diagram of the control system of this embodiment, and FIG. 3 is a schematic diagram of the mechanical section of this embodiment. figure,
FIG. 4 is an operation flowchart of the sub CPU management section in FIG. 1, and FIG. 5(a). (b) is an operation flowchart of the main CPU management section in FIG. 1, and FIG. 6 is a second timing chart explaining the operation of this embodiment. ]1, 12...Input port, 13.14...Reception buffer, 15...Priority changeover switch, 16...
Data analysis processing unit, 17... Receive buffer switching unit, 18. Control panel, 20... Print parameter data, restore control unit, 21... Parameter save memory, 22... Page memory, 23... video interface. Applicant's agent Patent attorney Takehiko Suzue Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)第1の入力ポートと、この第1の入力ポートより
も処理の優先度の高い第2の入力ポートとを有し、これ
ら第1、第2の入力ポートに対する優先度を変更可能な
データ処理装置において、前記第1の入力ポートからの
データを受信実行中に、前記第2の入力ポートからデー
タを受信したことを検知する手段と、 この検知手段の出力に応じて前記第1の入力ポートから
のデータによる実行中のファイルを所定の単位まで処理
した後、このファイルの処理の実行を中止する手段と、 前記ファイルにおいて設定されたパラメータを記憶する
メモリと、 このメモリにパラメータを記憶後、前記第2の入力ポー
トからのデータの処理を開始する手段と、を有するデー
タ処理装置。
(1) It has a first input port and a second input port that has a higher processing priority than the first input port, and the priority for these first and second input ports can be changed. In the data processing device, means for detecting that data has been received from the second input port while receiving data from the first input port; means for stopping execution of the file being executed after processing a file being executed based on data from an input port up to a predetermined unit; a memory for storing parameters set in the file; and storing the parameters in the memory. and means for starting processing of data from the second input port.
(2)第1の入力ポートと、この第1の入力ポートより
も処理の優先度の高い第2の入力ポートとを有し、これ
ら第1、第2の入力ポートに対する優先度を変更可能な
データ処理装置において、前記第1の入力ポートからの
データを受信実行中に、前記第2の入力ポートからデー
タを受信したことを検知する手段と、 この検知手段の出力に応じて前記第1の入力ポートから
のデータによる実行中のファイルを所定の単位まで処理
した後、このファイルの処理の実行を中止する手段と、 前記ファイルにおいて設定されたパラメータを記憶する
メモリと、 このメモリにパラメータを記憶後、前記第2の入力ポー
トからのデータの処理を開始する手段と、前記第2の入
力ポートからデータ処理終了後、前記メモリに記憶され
ているパラメータをリストアして第1の入力ポートから
のファイルデータの受信、処理を再開する手段と、 を有するデータ処理装置。
(2) It has a first input port and a second input port that has a higher processing priority than the first input port, and the priority for these first and second input ports can be changed. In the data processing device, means for detecting that data has been received from the second input port while receiving data from the first input port; means for stopping execution of the file being executed after processing a file being executed based on data from an input port up to a predetermined unit; a memory for storing parameters set in the file; and storing the parameters in the memory. a means for starting processing of data from the second input port; and a means for restoring the parameters stored in the memory after completing data processing from the second input port; A data processing device comprising: means for restarting receiving and processing file data.
JP2149759A 1990-06-11 1990-06-11 Data processor Pending JPH0443426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2149759A JPH0443426A (en) 1990-06-11 1990-06-11 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2149759A JPH0443426A (en) 1990-06-11 1990-06-11 Data processor

Publications (1)

Publication Number Publication Date
JPH0443426A true JPH0443426A (en) 1992-02-13

Family

ID=15482128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2149759A Pending JPH0443426A (en) 1990-06-11 1990-06-11 Data processor

Country Status (1)

Country Link
JP (1) JPH0443426A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0836472A (en) * 1994-07-22 1996-02-06 Fujitsu Ltd Printer, printing controlling method in printer and character font pattern controlling method
WO2003035405A1 (en) * 2001-10-25 2003-05-01 Seiko Epson Corporation Printer
EP1408401A2 (en) * 2002-10-11 2004-04-14 Samsung Electronics Co., Ltd. Printing method and printer
US7054018B1 (en) 1994-07-22 2006-05-30 Fuji Xerox Co., Ltd. Printing apparatus and printing control method and character font pattern control method in printing apparatus
JP2016097544A (en) * 2014-11-20 2016-05-30 セイコーエプソン株式会社 Printer and printing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0836472A (en) * 1994-07-22 1996-02-06 Fujitsu Ltd Printer, printing controlling method in printer and character font pattern controlling method
US7054018B1 (en) 1994-07-22 2006-05-30 Fuji Xerox Co., Ltd. Printing apparatus and printing control method and character font pattern control method in printing apparatus
WO2003035405A1 (en) * 2001-10-25 2003-05-01 Seiko Epson Corporation Printer
EP1408401A2 (en) * 2002-10-11 2004-04-14 Samsung Electronics Co., Ltd. Printing method and printer
EP1408401A3 (en) * 2002-10-11 2008-06-04 Samsung Electronics Co., Ltd. Printing method and printer
US7505166B2 (en) 2002-10-11 2009-03-17 Samsung Electronics Co., Ltd. Method of controlling print job schedule and printing system using the method
US8144347B2 (en) 2002-10-11 2012-03-27 Samsung Electronics Co., Ltd. Method of controlling print job schedule and printing system using the method
JP2016097544A (en) * 2014-11-20 2016-05-30 セイコーエプソン株式会社 Printer and printing system

Similar Documents

Publication Publication Date Title
US6526253B2 (en) Image forming apparatus
KR100343234B1 (en) Image forming apparatus for image formation on sheet
EP2058706B1 (en) Image Forming Apparatus
JPH0443426A (en) Data processor
JP3275931B2 (en) Image processing device
JP2895120B2 (en) Printer device
JPH11133678A (en) Image forming device
JPH02182636A (en) Image forming device
JPH09295748A (en) Image forming device
JP3518833B2 (en) Information processing apparatus and image forming apparatus
JP2003202777A (en) Image forming apparatus
US20010026700A1 (en) Image forming apparatus, job controlling apparatus, and job controlling method
JP2001156969A (en) Image forming device
JPH1134436A (en) Image forming system and control method therefor
JPH03213370A (en) Page printer
JPH03143673A (en) Image forming device
JPH0764091B2 (en) Electrophotographic printer
JPH0752458A (en) Printing speed control method for electronic printing device
JPH10254302A (en) Image forming device
JP2000312285A (en) Image forming device
JP2788759B2 (en) Page printer
JPH08310083A (en) Method for printing a plurality of sections in image forming device
JP2001038989A (en) Printer, printing method and storage medium
JPH02155358A (en) Recorder
JP2002002068A (en) System and method for selecting image forming apparatus and network server