JP2001334731A - Printing device - Google Patents

Printing device

Info

Publication number
JP2001334731A
JP2001334731A JP2000158577A JP2000158577A JP2001334731A JP 2001334731 A JP2001334731 A JP 2001334731A JP 2000158577 A JP2000158577 A JP 2000158577A JP 2000158577 A JP2000158577 A JP 2000158577A JP 2001334731 A JP2001334731 A JP 2001334731A
Authority
JP
Japan
Prior art keywords
data
print data
print
size
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000158577A
Other languages
Japanese (ja)
Other versions
JP4459385B2 (en
Inventor
Kazuto Tamura
和人 田村
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP2000158577A priority Critical patent/JP4459385B2/en
Publication of JP2001334731A publication Critical patent/JP2001334731A/en
Application granted granted Critical
Publication of JP4459385B2 publication Critical patent/JP4459385B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printing device wherein an order to shift to analysis of data and processing of printing and which takes precedence over it is decided as properly and reduces useless waiting time and to work for improvement in efficiency when plural printing data are input in parallel. SOLUTION: The printing device comprises receiving means (14, 104) having a plurality of ports in which print data are to be inputted and capable of receiving a plurality of print data in parallel, a spool device for accumulating the print data once before the data is transported for print processing, and a main control section (101) which decides priority order of the ports and transports the print date beginning from one having high priority order for print processing when respective print data are received in parallel with the port means. The main control section (101) determines the data size of the print data inputted in each port and decides the priority order of each port based on the data size.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ネットワークプ
リンタなど複数のホストコンピュータから複数の印刷デ
ータを並行して受信可能な印刷装置に適用して有用な技
術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique useful when applied to a printing apparatus such as a network printer capable of receiving a plurality of print data in parallel from a plurality of host computers.

【0002】[0002]

【従来の技術】LAN(ローカル・エリア・ネットワー
ク)接続されるプリンタ(ネットワークプリンタと云
う)など、複数のホストコンピュータから印刷データを
並行して受信し、これら印刷データを一旦受信バッファ
等に蓄えた後、1個ずつ印刷処理に移行していく印刷装
置は公知である。
2. Description of the Related Art Print data is received in parallel from a plurality of host computers such as a printer (called a network printer) connected to a LAN (local area network), and the print data is temporarily stored in a reception buffer or the like. Printing apparatuses that subsequently shift to the printing process one by one are known.

【0003】従来、上記のような印刷装置においては、
複数の印刷データを並行して受信した場合、これらの印
刷データは受信順に印刷処理に移行されるのが一般であ
る。
Conventionally, in such a printing apparatus as described above,
When a plurality of print data are received in parallel, these print data are generally transferred to print processing in the order of reception.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
ように受信順に印刷処理に移行する従来の印刷処理方式
では、例えば図10に示すように、大きなサイズの印刷
データが受信されたすぐ後に、小サイズの印刷データが
受信された場合、小サイズの印刷データは、大サイズの
印刷データが受信を完了しデータ解析と印刷処理が完了
するのを待ってから、データ解析と印刷処理へと移行さ
れる。
However, according to the conventional print processing method in which the printing process is shifted to the receiving order as described above, as shown in FIG. 10, for example, as shown in FIG. When the print data of the size is received, the print data of the small size is transferred to the data analysis and the print process after waiting for the reception of the large size print data and the completion of the data analysis and the print process. You.

【0005】小さいサイズの印刷データであれば、大サ
イズの印刷データの受信中に、データ解析から印刷処理
まで行ってしまえるが、従来の方式では大きいサイズの
印刷データが僅かにでも早く受信された場合には、後回
しで処理されるため、無駄な待ち時間が発生してオフィ
ス全体としての作業効率を低下させていた。
With print data of a small size, data analysis to print processing can be performed during reception of print data of a large size. However, in the conventional method, print data of a large size is received even slightly earlier. In such a case, since the processing is performed later, a wasteful waiting time occurs and the work efficiency of the entire office is reduced.

【0006】この発明の目的は、複数の印刷データが並
行して入力された場合に、データ解析や印刷処理へ移行
する優先順序を適宜決定してやることで、無駄な待ち時
間を少なくし作業効率の向上を図れる印刷装置を提供す
ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to reduce a wasteful waiting time and to improve work efficiency by appropriately determining a priority order for shifting to data analysis and print processing when a plurality of print data are input in parallel. It is an object of the present invention to provide a printing apparatus that can improve the performance.

【0007】[0007]

【課題を解決するための手段】本発明の印刷装置は、上
記目的を達成するため、印刷データが入力される複数の
ポート手段を有し複数の印刷データを並行して受信可能
な受信手段と、印刷データを印刷処理に移行させる前に
一旦蓄積する記憶装置と、上記複数のポート手段の優先
順位を決定するとともに、複数のポート手段に並行して
それぞれ印刷データが受信された場合に優先順位の高い
ポート手段の印刷データから優先的に印刷処理へ移行さ
せる印刷制御手段とを備え、上記印刷制御手段は、各ポ
ート手段に入力された印刷データのデータサイズを判定
し、データサイズに基づいて上記ポート手段の優先順位
を決定するように構成する。
In order to achieve the above object, a printing apparatus according to the present invention has a plurality of port means for inputting print data and a receiving means capable of receiving a plurality of print data in parallel. A storage device for temporarily storing print data before shifting to print processing, and determining a priority order of the plurality of port means, and determining a priority order when print data is received in parallel with the plurality of port means. Print control means for preferentially shifting to print processing from print data of a high port means, the print control means determines the data size of the print data input to each port means, and based on the data size The priority order of the port means is determined.

【0008】このような手段によれば、並行して複数の
印刷データが受信された場合にこれら印刷データを印刷
処理にかける優先順位が、従来のように受信順ではな
く、印刷データのデータサイズに基づいて決定するの
で、例えば、小サイズの印刷データと大サイズの印刷デ
ータとが並行して受信された場合に、小サイズの印刷デ
ータを優先させて、大サイズの印刷データの受信中に印
刷処理を行ってしまうなど、作業効率の向上を図ること
が出来る。
According to such means, when a plurality of print data are received in parallel, the priority order for applying the print data to the print processing is not the order of reception as in the prior art, but the data size of the print data. Therefore, for example, when the small-size print data and the large-size print data are received in parallel, the small-size print data is prioritized while the large-size print data is being received. It is possible to improve work efficiency, for example, by performing a printing process.

【0009】望ましくは、入力された印刷データのデー
タサイズに関するサイズ情報を格納する格納手段を各ポ
ート手段毎に設け、上記印刷制御手段は上記格納手段に
格納されたサイズ情報に基づいて上記優先順位を決定す
るように構成する。なお、上記サイズ情報は、実際のデ
ータサイズを示したデータでも良いし、100Kbyt
e以上とか200Kbyte以上とか、おおよそのデー
タサイズを示すデータでも良い。
Preferably, storage means for storing size information relating to the data size of the input print data is provided for each port means, and the print control means performs the priority ordering based on the size information stored in the storage means. Is determined. Note that the size information may be data indicating an actual data size, or 100 Kbytes.
Data indicating an approximate data size, such as e or more or 200 Kbytes or more, may be used.

【0010】具体的には、上記格納手段には、過去に入
力された印刷データを含めて認識し得る最新の印刷デー
タのサイズ情報が各ポート手段毎に格納されるようにし
ておき、上記印刷制御手段は、新たな印刷データが任意
のポート手段に入力された場合に、該ポート手段のサイ
ズ情報と優先順位が該ポート手段の優先順位に連続する
他のポート手段のサイズ情報とを各々比較して、比較し
たポート手段の優先順位を上記サイズ情報に示されるデ
ータサイズの小さい順に入れ替えていく優先順位更新処
理を行うように構成すると良い。
More specifically, the storage means stores the latest print data size information that can be recognized including print data input in the past for each port means, and The control unit compares the size information of the port unit with the size information of another port unit whose priority order is consecutive to the priority order of the port unit when new print data is input to an arbitrary port unit. Then, it is preferable to perform a priority update process in which the priorities of the compared port means are exchanged in ascending order of the data size indicated in the size information.

【0011】入力される印刷データのデータサイズが認
識できるタイミングは、その言語フォーマットにより、
受信開始直後、受信半ば、受信終了間際と一定でなく、
また、各ポート手段に印刷データが送られてくるタイミ
ングもばらばらであるため、受信中の印刷データ同士の
データサイズを比較していたのでは、例えば、小サイズ
の印刷データと大サイズの印刷データとがほぼ同時に受
信開始された場合でも、小サイズの印刷データの受信が
完了し大サイズの印刷データの受信終了時まで待ってデ
ータサイズの比較を行い印刷処理に移行するなど、その
比較タイミングや各印刷データを印刷処理へ移行させる
タイミングが取り難くなり、本発明の目的達成があやう
くなる場合も考えられる。
The timing at which the data size of the input print data can be recognized depends on the language format.
Immediately after the start of reception, in the middle of reception, just before the end of reception, it is not constant,
In addition, since the timing at which print data is sent to each port means is also different, comparing the data sizes of print data being received may result in, for example, small-size print data and large-size print data. Even when the reception starts at almost the same time, the reception of the small-size print data is completed and the data size comparison is performed until the reception of the large-size print data is completed. It may be difficult to set the timing to shift each print data to the print processing, and it may be possible to achieve the object of the present invention.

【0012】そこで、上記構成のように、新たに印刷デ
ータが入力されたポート手段については該印刷データの
データサイズに基づき、それ以外のポート手段について
は過去最新の印刷データのデータサイズに基づき、これ
らを比較してポート手段の優先順位を更新するので、デ
ータサイズの比較タイミングや印刷処理への移行タイミ
ングが取り易くなる。また、過去の印刷データとの比較
で優先順位の更新を行っても、印刷処理へ移行させる印
刷データを決定する際には、現在印刷データが入力され
ているポート手段の優先順位だけが関係するので、入力
された印刷データを適宜な順序で印刷処理へ移行させる
ことが出来る。
Therefore, as described above, the port means to which the print data is newly input is based on the data size of the print data, and the other port means is based on the data size of the latest print data. Since the priority of the port means is updated by comparing these, the timing for comparing the data size and the timing for shifting to the printing process can be easily set. Even if the priority is updated by comparing with the past print data, only the priority of the port unit to which the print data is currently input is relevant when determining the print data to be shifted to the print processing. Therefore, the input print data can be shifted to the print processing in an appropriate order.

【0013】更に、各ポート手段に受信される印刷デー
タのサイズに一定の傾向がある場合には、過去に入力さ
れた印刷データのサイズ比較により過去の傾向に適宜従
った優先順位の入れ替えが可能である。
Further, when there is a certain tendency in the size of the print data received by each port means, it is possible to switch the priorities appropriately according to the past tendency by comparing the size of the print data inputted in the past. It is.

【0014】また、上記の優先順位更新処理では、優先
順位が連続する他のポート手段間(1個に限られず複数
個でも良い)で優先順位を入れえるだけで、全てのポー
ト手段の間で優先順位の入れ替えを行うわけではないの
で、優先順位の適度な変更が可能である。優先順位の過
度の変更は、例えば大サイズの印刷データの入力ととも
に、それより少しばかり小さいサイズの印刷データがい
ろんなポート手段から連続して入力された場合に、大サ
イズの印刷データが不適切に待たされてしまうといった
不都合を生じる可能性があるが、上記適度な変更により
このような不都合を回避できる。
Further, in the above-mentioned priority update process, the priority order can be set only between other port means having a continuous priority order (the number is not limited to one but may be plural). Since the priority order is not changed, the priority order can be appropriately changed. Excessive change of the priority may be caused, for example, by inputting large-size print data and improperly inputting large-size print data when print data of a slightly smaller size is successively input from various port means. There is a possibility that a problem such as waiting may occur, but such a problem can be avoided by the appropriate change.

【0015】具体的には、上記優先順位更新処理は、新
たに入力があったポート手段のサイズ情報と該ポート手
段より優先順位が1つ低いポート手段のサイズ情報とを
比較してこれらポート手段の優先順位をデータサイズの
小さい順に入れ替えるステップと、該ステップで優先順
位の入れ替えがなかった場合に上記新たに入力があった
ポート手段のサイズ情報と該ポート手段より優先順位が
1つ高いポート手段のサイズ情報とを比較してこれらポ
ート手段の優先順位をデータサイズの小さい順に入れ替
えるステップとを有するように構成すると良い。
More specifically, the priority order updating process compares the size information of the newly input port means with the size information of the port means having a priority lower by one than the port means, and compares these size information. Replacing the priority order of the port means in ascending order of the data size, and, if the priority order is not replaced in the step, the size information of the newly input port means and the port means having a priority one higher than the port means And switching the priority order of these port means in ascending order of the data size.

【0016】また、ポート手段の数が多い場合や、過去
のデータサイズより現在に近いデータサイズの影響を大
きくしたい場合には、1回の更新処理で優先順位の続く
2〜5個など多数のポート手段の比較を行って、これら
ポート手段間で優先順位の入れ替えを行うようにしても
良い。
When the number of port means is large, or when it is desired to increase the influence of a data size closer to the present than a past data size, a large number of ports, such as 2 to 5 which have a higher priority in one update process. By comparing the port means, the priority order may be exchanged between these port means.

【0017】また、本発明は、複数種類のフォーマット
言語に対応して各フォーマット言語により作成された印
刷データを解析して印刷処理可能なデータに変換可能な
解析手段を備え、上記複数のポート手段はそれぞれ所定
のフォーマット言語の印刷データが入力されるように対
応されている印刷装置に対して特に有効である。
The present invention further comprises an analyzing means for analyzing print data created in each format language corresponding to a plurality of types of format languages and converting the print data into printable data. Is particularly effective for a printing apparatus which is adapted to input print data in a predetermined format language.

【0018】すなわち、フォーマット言語と印刷データ
のサイズとにはある程度の相関があるため、各ポート手
段に入力される印刷データのサイズにも一定の傾向が生
じることとなり、上記過去の印刷データのデータサイズ
との比較により適切な優先順位の更新ができる。
That is, since there is a certain correlation between the format language and the size of the print data, a certain tendency also occurs in the size of the print data input to each port means. By comparing with the size, the appropriate priority can be updated.

【0019】[0019]

【発明の実施の形態】以下、本発明の好適な実施例を図
面に基づいて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.

【0020】図1は、本発明の実施例である印刷装置1
のハード的な構成を示すブロック図、図2はこの印刷装
置1の機能構成を示す機能ブロック図である。
FIG. 1 shows a printing apparatus 1 according to an embodiment of the present invention.
FIG. 2 is a functional block diagram showing a functional configuration of the printing apparatus 1. As shown in FIG.

【0021】この実施例の印刷装置1は、図1に示すよ
うに、この装置の全体的な制御を行うCPU10と、ホ
ストコンピュータ2から送られてきた印刷データが一時
的に蓄えられるハードディスク装置や半導体メモリなど
からなるスプール用の記憶装置11と、ユーザーにより
操作可能な入力キーや操作内容を表示する表示部が設け
られた操作パネル12と、CPU10により実行される
制御用プログラムや制御用データが記憶されたプログラ
ムROM13と、ネットワーク4を介して接続された複
数のホストコンピュータ2との間でデータの送受信を行
うホストインターフェース14と、供給された印刷デー
タに従って印刷処理を行う印刷手段としてのプリンタエ
ンジン16と、該プリンタエンジン16に印刷データを
転送するためのエンジンインターフェース15などから
構成される。
As shown in FIG. 1, a printing apparatus 1 of this embodiment includes a CPU 10 for overall control of the apparatus, a hard disk device for temporarily storing print data sent from a host computer 2, A spool storage device 11 composed of a semiconductor memory or the like, an operation panel 12 provided with input keys operable by a user and a display unit for displaying operation contents, a control program and control data executed by the CPU 10 A stored program ROM 13, a host interface 14 for transmitting and receiving data to and from a plurality of host computers 2 connected via a network 4, and a printer engine as a printing means for performing a printing process in accordance with the supplied print data 16 and an error for transferring print data to the printer engine 16. And the like gin interface 15.

【0022】ホストインターフェース14は、例えばパ
ケット通信などにより複数のホストコンピュータ2…と
並行してデータ通信が可能なものである。
The host interface 14 is capable of performing data communication in parallel with a plurality of host computers 2 by, for example, packet communication.

【0023】CPU10は、内部にRAMを備えたプロ
セッサであり、該RAMを作業スペースとして上記プロ
グラムROM13に記憶された制御用プログラムや制御
用データに従って、複数の機能モジュールを実現する。
かかる機能モジュールとしては、図2に示すように、ホ
ストインターフェース14を介して受信されるデータを
内部に取り込む受信手段としてのインターフェース部1
02、印刷データの言語解析を行いプリンタエンジン1
6が処理可能なデータ(例えばラスタデータ)に変換し
てエンジンインターフェース15に出力する解析手段と
しての言語解析ブロック103、ホストコンピュータ2
から送られてくる印刷データを記憶装置11に蓄積する
と共にこの蓄積された印刷データの管理を行うスプール
部104、上記の各機能モジュールを統括的に制御する
印刷制御手段としてのメインコントロール部101など
がある。これら複数の機能モジュールは、CPU10に
よる制御用プログラムの並列処理により同時に並行して
動作可能であり、各機能モジュール間では更にRAMを
介したデータのやり取りが可能になっている。
The CPU 10 is a processor having a RAM therein, and implements a plurality of functional modules in accordance with a control program and control data stored in the program ROM 13 using the RAM as a work space.
As shown in FIG. 2, such a functional module includes an interface unit 1 as a receiving unit that takes in data received via the host interface 14 therein.
02, printer engine 1 performs language analysis of print data
A language analysis block 103 as analysis means for converting the data into processable data (for example, raster data) and outputting the data to the engine interface 15;
The spool unit 104 stores print data sent from the storage unit 11 in the storage device 11 and manages the stored print data, the main control unit 101 as a print control unit that comprehensively controls each of the above functional modules, and the like. There is. These plurality of functional modules can be operated simultaneously in parallel by the parallel processing of the control program by the CPU 10, and data can be further exchanged between the functional modules via the RAM.

【0024】言語解析ブロック103は、例えば、所定
の描画コマンドと描画パラメータから構成されるベクタ
データのような言語フォーマットや、印刷ドット毎に色
や階調度を示すラスタデータのような言語フォーマッ
ト、並びに、これらベクタデータとラスタデータが混在
した言語フォーマットなど、複数種の言語フォーマット
に対応することができるように構成されている。
The language analysis block 103 includes, for example, a language format such as vector data composed of predetermined drawing commands and drawing parameters, a language format such as raster data indicating a color and a gradation for each print dot, and It is configured to be compatible with a plurality of language formats, such as a language format in which vector data and raster data are mixed.

【0025】インターフェース部102は、ポート手段
として複数の論理ポート(例えばポート〜ポート)
を備え、これら論理ポートがそれぞれ独立してデータ受
信できるように構成されている。すなわち、ネットワー
ク4に接続されたホストコンピュータ2…からはこれら
各論理ポートを介してそれぞれ並行して印刷データの入
力が行えるようになっている。
The interface unit 102 includes a plurality of logical ports (for example, ports to ports) as port means.
, So that these logical ports can receive data independently of each other. That is, the host computer 2 connected to the network 4 can input print data in parallel via each of these logical ports.

【0026】図3には、入力された印刷データをインタ
ーフェース部102の各論理ポートに割り当てる方式を
説明する第1実施例の説明図を示す。
FIG. 3 is an explanatory diagram of the first embodiment for explaining a method of allocating input print data to each logical port of the interface unit 102.

【0027】この第1実施例においては、各論理ポート
への印刷データの割り当ては、印刷データの入力順すな
わち印刷データの受信開始時刻の早い順に、空いている
論理ポートのうち番号の若い方から印刷データを割り当
てていくといった方式で行われる。例えば、あるホスト
コンピュータ2から印刷データDATA1(図3)が送
信され、この送信中に別のホストコンピュータ2から別
の印刷データDATA2が送信された場合、1番目に入
力された印刷データDATA1はポートに受信され、
2番目に入力された印刷データDATA2はポートに
受信される。
In the first embodiment, print data is allocated to each logical port in the order of input of print data, that is, in order of earliest reception start time of print data, from the smallest logical port among the free logical ports. This is performed by a method of allocating print data. For example, if print data DATA1 (FIG. 3) is transmitted from a certain host computer 2 and another print data DATA2 is transmitted from another host computer 2 during this transmission, the first input print data DATA1 Received by
The second input print data DATA2 is received by the port.

【0028】全ての論理ポートがデータ受信でふさがっ
ている場合には、何れかの論理ポートのデータ受信が完
了するまで、新たな印刷データは受けつけずホストコン
ピュータの送信待機状態となる。
When all the logical ports are occupied by data reception, no new print data is received and the host computer waits for transmission until data reception of any of the logical ports is completed.

【0029】この第1実施例の方式においては、各論理
ポートに入力される印刷データのデータサイズに一定の
傾向が生じることはなく、入力される印刷データ毎にそ
のデータサイズはばらばらなものとなる。
In the method of the first embodiment, the data size of the print data input to each logical port does not tend to be constant, and the data size varies for each input print data. Become.

【0030】この実施例では、印刷データの受信開始の
際には、受信開始と受信した論理ポートの番号とを示す
情報がインターフェース部102からメインコントロー
ル部101に渡される。また、受信中、印刷データのデ
ータサイズが分かった時点で、該データサイズを示すサ
イズ情報がメインコントロール部101に渡される。印
刷データのデータサイズが分かるタイミングは、各言語
フォーマットにより異なり、例えば、印刷データのヘッ
ダー部にデータサイズが記録されている言語フォーマッ
トであれば受信直後に分かるが、データサイズの記録が
ない言語であれば、受信半ばや受信完了間際に分かる。
In this embodiment, at the start of print data reception, information indicating the start of reception and the number of the received logical port is passed from the interface unit 102 to the main control unit 101. During reception, when the data size of the print data is known, size information indicating the data size is passed to the main control unit 101. The timing at which the data size of the print data is known differs depending on the language format.For example, in the language format in which the data size is recorded in the header part of the print data, the timing is known immediately after reception. If so, it is known in the middle of reception or immediately before reception is completed.

【0031】また、印刷データの受信完了時には、受信
完了と受信完了した論理ポートの番号とを示す情報がイ
ンターフェース部102からメインコントロール部10
1に渡される。また、受信した印刷データはメインコン
トロール部の指示に従ってスプール部104により記憶
装置11に格納されていく。
When print data reception is completed, information indicating the completion of reception and the number of the logical port for which reception has been completed is transmitted from the interface unit 102 to the main control unit 10.
Passed to 1. The received print data is stored in the storage device 11 by the spool unit 104 according to an instruction from the main control unit.

【0032】メインコントロール部101は、詳細は後
述するが、受信した印刷データを記憶装置11に格納す
る際に、各印刷データに印刷処理の順番を示す印刷順序
を設定して、スプール管理情報としてスプール部104
に渡す。また、インターフェース部102に複数の印刷
データが並行して受信されている場合には、受信順では
なく各論理ポートに設定されている優先順位の高い順に
印刷処理が行われるように、各印刷データに上記印刷順
番情報を設定してスプール部に渡す。これら各論理ポー
トに設定される優先順位は、メインコントロール部10
1により受信した印刷データのデータサイズに基づき決
定され、印刷データを受信されるたびに更新されていく
ようになっている。
When storing the received print data in the storage device 11, the main control unit 101 sets a print order indicating the order of the print processing for each print data and stores the print data as spool management information. Spool unit 104
Pass to. When a plurality of print data are received in parallel by the interface unit 102, each print data is processed in descending order of the priority set for each logical port, not in the order of reception. And sets the print order information and passes it to the spool unit. The priority set for each of these logical ports is determined by the main control unit 10
1 is determined based on the data size of the received print data, and is updated each time the print data is received.

【0033】そして、スプール部104に印刷データが
格納され、且つ、言語解析ブロック103が解析処理可
能な状態になると、メインコントロール部101からス
プール部104に次の印刷データを言語解析ブロックに
供給するよう指示が与えられる。すると、スプール部1
04が記憶装置11に格納されている印刷データの中か
ら印刷順序情報に基づき印刷順序の最も早いものを検索
して、該当の印刷データを読み出して言語解析ブロック
103に供給していく。そして、言語解析ブロック10
3に供給された印刷データは印刷処理可能なデータ(例
えばラスタデータ)に変換されてプリンタエンジン16
に供給され、印刷処理が行われていく。
When print data is stored in the spool unit 104 and the language analysis block 103 is ready for analysis processing, the main control unit 101 supplies the next print data to the spool unit 104 to the language analysis block. Instructions are given. Then, spool part 1
04 searches the print data stored in the storage device 11 for the earliest print order based on the print order information, reads out the relevant print data, and supplies it to the language analysis block 103. Then, the language analysis block 10
The print data supplied to the printer engine 16 is converted into print-processable data (for example, raster data).
And the printing process is performed.

【0034】図6には、入力された印刷データをインタ
ーフェース部102の各論理ポートに割り当てる方式を
説明する第2実施例の説明図を示す。
FIG. 6 is an explanatory diagram of a second embodiment for explaining a method of allocating input print data to each logical port of the interface unit 102.

【0035】この第2実施例においては、CPU10に
はフラッシュROM等の不揮発性メモリが備わり、該不
揮発性メモリの中には、後述する論理ポートの優先順位
を表す第2実施例のデータテーブル101b(図6,図
7)が構成されるようになっている。
In the second embodiment, the CPU 10 is provided with a non-volatile memory such as a flash ROM. The non-volatile memory includes a data table 101b of the second embodiment which indicates the priority order of the logical ports described later. (FIGS. 6 and 7) are configured.

【0036】この第2実施例の方式は、予め各論理ポー
トを印刷データの言語フォーマットの何れかに対応付け
ておき、ある言語フォーマットの印刷データが入力され
た場合には該言語フォーマットに対応した論理ポートに
印刷データが受信されるようにしたものである。例え
ば、図6に示すように、ポート〜は言語フォーマッ
トa、ポート〜は言語フォーマットb、ポート,
は言語フォーマットcと予め設定しておく。そして、
あるホストコンピュータ2から言語フォーマットbの印
刷データDATA1が送信され、この送信中に別のホス
トコンピュータ2から言語フォーマットaの印刷データ
DATA2が送信された場合には、始めの印刷データD
ATA1はこの言語フォーマットbに対応するポート
に受信され、2番目の印刷データDATA2はこの言語
フォーマットaに対応するポートに受信される。
In the method of the second embodiment, each logical port is associated in advance with one of the language formats of the print data, and when print data of a certain language format is input, the logical port is adapted to the language format. The print data is received by a logical port. For example, as shown in FIG. 6, port ~ is language format a, port ~ is language format b, port,
Is set in advance as the language format c. And
If print data DATA1 of language format b is transmitted from a certain host computer 2 and print data DATA2 of language format a is transmitted from another host computer 2 during this transmission, the first print data D
ATA1 is received at the port corresponding to the language format b, and the second print data DATA2 is received at the port corresponding to the language format a.

【0037】同じ言語フォーマットの印刷データが続い
て入力された場合には、該言語フォーマットに対応付け
られた複数の論理ポートのうち、空いている論理ポート
の番号の若い方から印刷データを割り当てていき、すべ
ての論理ポートがふさがった場合には印刷要求元のホス
トコンピュータは送信待機状態にされる。
When the print data of the same language format is successively input, the print data is allocated from the smaller logical port number among the plurality of logical ports associated with the language format. When all the logical ports are blocked, the host computer that has issued the print request is put into a transmission standby state.

【0038】この第2実施例の方式においては、各論理
ポートに入力される印刷データはその言語フォーマット
が固定されているため、そのデータサイズも各論理ポー
トごとに一定の傾向が生じることになる。
In the method of the second embodiment, since the language format of the print data input to each logical port is fixed, the data size tends to be constant for each logical port. .

【0039】この第2の実施例における印刷処理は第1
実施例と同様の制御で実行される。
The printing process in the second embodiment is the first
It is executed under the same control as in the embodiment.

【0040】次に、図3に示す第1実施例と図6に示す
第2実施例の場合にわけて、メインコントロール部10
1が各論理ポートの優先順位を決定し更新する処理手
順、各印刷データに印刷順序を設定していく処理手順に
ついて詳細に説明する。 [第1実施例]第1実施例は、先に説明したように、印
刷データを空いている論理ポートの中からポート番号が
一番若い論理ポートに割り当てて受信させる方式のもの
である。
Next, in the case of the first embodiment shown in FIG. 3 and the second embodiment shown in FIG.
The processing procedure for determining and updating the priority order of each logical port and the processing procedure for setting the printing order for each print data will be described in detail. [First Embodiment] In the first embodiment, as described above, the print data is allocated to the logical port having the smallest port number from the available logical ports and received.

【0041】この第1実施例においては、各論理ポート
に受信される印刷データのデータサイズには一定の傾向
が生じないので、現在受信している印刷データのデータ
サイズのみに基づいて論理ポートの優先順位を決定して
いく。
In the first embodiment, since the data size of the print data received by each logical port does not have a certain tendency, the data size of the logical port is determined based only on the data size of the print data currently received. Determine priorities.

【0042】図4には、この実施例で各ポートの優先順
位を決定するために使用されるデータテーブルの一例
を、図5には、メインコントロール部101により実行
される上記データテーブルの更新処理のフローチャート
を示す。
FIG. 4 shows an example of a data table used for determining the priority of each port in this embodiment. FIG. 5 shows an update process of the data table executed by the main control unit 101. The flowchart of FIG.

【0043】論理ポートの優先順位の決定には、RAM
に設けられた格納手段としてのデータテーブル101a
が使用される。このデータテーブル101aには、図4
に示すように、優先順位順に、ポート番号と、現在論理
ポートで受信中の印刷データのデータサイズを示すサイ
ズ情報とが、それぞれ対応付けられて格納される。現在
受信していない論理ポートのデータについては、例えば
データテーブル101aから削除される。
To determine the priority order of the logical ports, the RAM
Data table 101a as storage means provided in
Is used. This data table 101a includes FIG.
As shown in (1), the port number and the size information indicating the data size of the print data currently being received by the logical port are stored in association with each other in the order of priority. The data of the logical port that is not currently received is deleted from the data table 101a, for example.

【0044】データテーブル101aの更新処理は、図
5に示すフローチャートの手順でメインコントロール部
101により行われる。即ち、ステップS1において新
しく入力された印刷データのサイズ情報がインターフェ
ース部102から通知されたか判別し、通知されていれ
ばステップS2,S3の更新処理に移行するが、通知さ
れていなければステップS4にジャンプする。
The update processing of the data table 101a is performed by the main control unit 101 according to the procedure of the flowchart shown in FIG. That is, in step S1, it is determined whether or not the size information of the newly input print data has been notified from the interface unit 102. If the size information has been notified, the process proceeds to steps S2 and S3, but if not, the process proceeds to step S4. Jump.

【0045】ステップS4では、受信中の印刷データの
受信完了の通知がインターフェース部102からあった
か判別し、通知があればステップS5,S6の更新処理
に移行するが、通知されていなければステップS1に戻
って、これらの判別処理を繰り返す。
In step S4, it is determined whether or not a notification of the completion of the reception of the print data being received has been received from the interface unit 102. If there is a notification, the process proceeds to steps S5 and S6. Returning, these determination processes are repeated.

【0046】その結果、新たな印刷データのサイズ情報
の通知があってステップS2に移行すると、新たな印刷
データを受信したポート番号とその印刷データのサイズ
情報をデータテーブル101aの空いている行に書き込
む。そして、ステップS3でこのデータテーブル101
aの全ての行を対象に、サイズ情報が小さい順になるよ
うに行を並べ換えるソート処理を行う。なお、ポート番
号やサイズ情報が入力されてない行は下位に下げる。
As a result, when the size information of the new print data is notified and the process proceeds to step S2, the port number at which the new print data was received and the size information of the print data are stored in an empty line of the data table 101a. Write. Then, in step S3, this data table 101
A sort process is performed on all the rows a to rearrange the rows so that the size information is in ascending order. Lines in which no port number or size information has been input are moved down.

【0047】つまり、上記ステップS2,S3のデータ
処理によって、印刷データの受信が複数ある場合にこれ
らを受信している論理ポートの優先順位が印刷データサ
イズの小さい順に設定されることとなる。
That is, by the data processing in steps S2 and S3, when there are a plurality of print data receptions, the priorities of the logical ports receiving these are set in ascending order of the print data size.

【0048】一方、印刷データの受信完了の通知があっ
てステップS5に移行すると、受信完了した論理ポート
のポート番号とサイズ情報とをデータテーブル101a
から削除し、次いでステップS6でその行を詰める処理
を行う。そして、ステップS1の判別処理に戻る。
On the other hand, when there is a notification of the completion of the reception of the print data and the process proceeds to step S5, the port number and size information of the logical port for which the reception has been completed are stored in the data table 101a.
, And then, in step S6, a process of packing the line is performed. Then, the process returns to the determination processing of step S1.

【0049】しかして、データテーブル101aに現在
受信中である受信ポートのポート番号が優先度順に並べ
られる。
Thus, the port numbers of the receiving ports currently being received are arranged in the data table 101a in order of priority.

【0050】次に、メインコントロール部101により
行われる印刷データの印刷順序の設定処理について説明
する。
Next, the process of setting the print order of the print data performed by the main control unit 101 will be described.

【0051】メインコントロール部101は、印刷デー
タの受信完了時にデータテーブル101aの優先順位に
従って該印刷データの印刷順序を決定し、その印刷順序
情報をスプール管理情報としてスプール部104に渡し
ていく。
When the reception of the print data is completed, the main control unit 101 determines the print order of the print data according to the priority order of the data table 101a, and passes the print order information to the spool unit 104 as spool management information.

【0052】具体的には、図6に示すように、3つの印
刷データを並行して受信し、その中のポートの受信が
完了したとすると、これら3つの印刷データに対して各
論理ポートの優先順位に従い通し番号で印刷順序を設定
する。この通し番号は例えば電源投入時やリセット時か
ら連続するものであり、現時点で100番目の印刷デー
タだとすれば、ポートの印刷データに100番、ポー
トの受信完了した印刷データに101番、ポートの
印刷データに102番の印刷順序をそれぞれ設定する。
More specifically, as shown in FIG. 6, if three print data are received in parallel, and the reception of the ports among them is completed, the three print data are received by each logical port. The printing order is set by the serial number according to the priority. This serial number is continuous from, for example, power-on or reset. If the current print data is the 100th print data at this time, the print data of the port is 100, the print data that has been completely received is 101, and the print data of the port is 101. The print order of No. 102 is set in the print data.

【0053】これらの印刷順序のうち、受信を完了した
ポートの印刷データの101番については確定である
が、まだ受信中のポートとポートの印刷データの1
00番と102番については確定でない。そして、この
まま新たに印刷データの受信もなく、ポートとポート
の受信が完了すれば、上記の印刷順序がそのまま確定
となる。
Of these print orders, the number 101 of the print data of the port for which reception has been completed is determined, but the number of the print data of the port and the port which is still being received.
No. 00 and 102 are not determined. Then, if the reception of the port is completed without receiving the new print data as it is, the above-described printing order is determined as it is.

【0054】一方、ポートやポートの受信中に新た
な印刷データの受信が開始され、このサイズ情報がメイ
ンコントロール部101に通知されると、このサイズ情
報に基づいてデータテーブル101aの更新処理が行わ
れる。例えば、図4のデータテーブルで2行目の印刷デ
ータの受信が完了した後、新たにポートに10kby
teの印刷データが受信されたとすれば、優先順位はポ
ートが「順位1」、ポートが「順位2」、ポート
が「順位3」へと更新される。
On the other hand, when reception of new print data is started during reception of a port or a port, and this size information is notified to the main control unit 101, the data table 101a is updated based on this size information. Will be For example, after the reception of the print data on the second line in the data table of FIG.
Assuming that the print data of te is received, the priority is updated to “order 1” for the port, “order 2” for the port, and “order 3” for the port.

【0055】そして、この状態で何れかの印刷データの
受信が完了されたときには、まだ使用されてない通し番
号によりこれら印刷データの印刷順序をそれぞれ設定し
ていく。例えばポートの印刷データの受信が完了され
た場合には、先ほどの印刷データで101番を使用して
いるため、まだ使用していない通し番号の100番、1
02番、103番を使用して、ポートの印刷データに
100番、ポートの受信完了した印刷データに102
番、ポートの印刷データに103番の印刷順序をそれ
ぞれ設定していく。そして、受信完了したポートの印
刷データの102番が確定される。以降は同様の処理を
繰り返して、受信完了の印刷データの印刷順序を設定し
ていく。
When the reception of any print data is completed in this state, the print order of these print data is set by a serial number that has not been used. For example, when the reception of the print data of the port is completed, since the print data of No. 101 is used, the serial numbers 100, 1
Using the numbers 02 and 103, the port print data is set to 100 and the port print data is set to 102
The print order of No. 103 is set to the print data of No. and the port, respectively. Then, the print data No. 102 of the port whose reception has been completed is determined. Thereafter, the same processing is repeated to set the print order of the print data of the reception completion.

【0056】その後は、スプール部104が上記印刷順
序に従って印刷データを1個ずつ読み出して言語解析ブ
ロック103に供給していくことで、各印刷データが順
番にの印刷処理に移行される。 [第2実施例]第2実施例は、各論理ポートが所定の言
語フォーマットに対応付けられ、入力された印刷データ
がその言語フォーマットに対応した論理ポートに割り当
てられて受信されていく方式のものである。
Thereafter, the spool unit 104 reads out the print data one by one in accordance with the above printing order and supplies it to the language analysis block 103, whereby each print data is shifted to the printing process in order. [Second Embodiment] In a second embodiment, each logical port is associated with a predetermined language format, and input print data is assigned to a logical port corresponding to the language format and received. It is.

【0057】この第2実施例においては、各論理ポート
に受信される印刷データサイズには一定の傾向が生じる
ので、現在受信中の印刷データだけでなく過去に受信し
た印刷データのデータサイズ情報も使用して論理ポート
の優先順位を決定していく。
In the second embodiment, the print data size received by each logical port has a certain tendency. Therefore, not only the print data currently received but also the data size information of the print data received in the past is displayed. It is used to determine the priority of the logical port.

【0058】図7には、この実施例で各ポートの優先順
位を決定するために使用されるデータテーブルの一例
を、図8には、メインコントロール部101により実行
される優先順位更新処理としてのデータテーブルの更新
処理のフローチャートを示す。
FIG. 7 shows an example of a data table used to determine the priority of each port in this embodiment, and FIG. 8 shows the data as priority update processing executed by the main control unit 101. 4 shows a flowchart of a data table update process.

【0059】この実施例においても、論理ポートの優先
順位の決定に格納手段としてのデータテーブル101b
を使用する。このデータテーブル101bには過去に受
信した最新の印刷データについての情報も格納しておく
ので、不揮発性メモリ内に設け、電源を切ってもデータ
が消えないようにしておく。
Also in this embodiment, the data table 101b as storage means is used for determining the priority of the logical port.
Use Since the data table 101b also stores information on the latest print data received in the past, the data table 101b is provided in a nonvolatile memory so that the data is not erased even when the power is turned off.

【0060】このデータテーブル101bには、図7に
示すように、優先順位順に、ポート番号と、該論理ポー
トで現在に最も近い時点に受信した印刷データのデータ
サイズを示すサイズ情報とが、それぞれ対応付けられて
格納される。
As shown in FIG. 7, the data table 101b stores, in order of priority, port numbers and size information indicating the data size of the print data received at the logical port closest to the present time. They are stored in association with each other.

【0061】この実施例のデータテーブル101bの更
新処理は、図8のフローチャートに示す手順で行われ
る。すなわち、ステップS11において、新しく入力さ
れた印刷データのサイズ情報がインターフェース部10
1から通知されたかを判別し、通知されたらステップS
12移行の更新処理に移行するが、通知がなければこの
ステップS101の処理を繰り返し行う。
The process of updating the data table 101b of this embodiment is performed according to the procedure shown in the flowchart of FIG. That is, in step S11, the size information of the newly input print data is
It is determined whether the notification has been made from step 1 and if so, step S
The process shifts to the update process of shift 12, but if there is no notification, the process of step S101 is repeated.

【0062】その結果、ステップS12に移行したら、
該ステップで該当するポート番号のサイズ情報を新たに
通知されたものに書き換える。これによりデータテーブ
ル101aのサイズ情報が現在に最も近い時点の印刷デ
ータのものに更新されていく。
As a result, after shifting to step S12,
In this step, the size information of the corresponding port number is rewritten to the newly notified size information. As a result, the size information of the data table 101a is updated to that of the print data closest to the present time.

【0063】次にステップS13において、新たに印刷
データの受信があったポート番号の行と、それより順位
の1つ低い行とを、データサイズが小さい順になるよう
に並べ替える。
Next, in step S13, the line of the port number from which the print data has been newly received and the line having the next lower rank are rearranged so that the data size becomes smaller.

【0064】次いで、ステップS13で行の並べ替えが
行われたか否か判別して、並べ替えが行われていれば、
1回の更新処理を終えてステップS11の判別処理に戻
るが、並べ替えが行われていなければ、ステップS15
に移行して、新たに印刷データの受信があったポート番
号の行と、それより順位の1つ高い行とを、データサイ
ズが小さい順になるように並べ替える。そして、1回の
更新処理を終えてステップS11の判別処理に戻る。
Next, in step S13, it is determined whether or not the rows have been rearranged.
After one update process, the process returns to the determination process in step S11. If the rearrangement has not been performed, step S15
Then, the line of the port number from which the print data has been newly received and the line with the next higher rank are rearranged so that the data size becomes smaller. Then, after one update process, the process returns to the determination process of step S11.

【0065】しかして、データテーブル101bに各論
理ポートが優先度順に並べられる。上記の優先順位の設
定方法によれば、全ての論理ポートがサイズ情報の小さ
い順に常に並べられるわけではなく、過去から現在にか
けて受信した印刷データのデータサイズが小さければそ
の論理ポートは優先順位が高く、データサイズが大きけ
ればその論理ポートは優先順位が低くなるように、過去
から現在にかけたデータサイズの傾向が各論理ポートの
優先順位に反映されるようになっている。
Thus, the logical ports are arranged in the data table 101b in order of priority. According to the above priority setting method, not all the logical ports are always arranged in ascending order of the size information.If the data size of the print data received from the past to the present is small, the logical port has a high priority. If the data size is large, the priority of the logical port is lowered so that the tendency of the data size from the past to the present is reflected in the priority of each logical port.

【0066】なお、ステップS13やステップS15に
おいて行われるソート処理の行数を増やすことで、過去
のデータサイズの影響を少なく現在のデータサイズの影
響を大きくすることができる。
The influence of the past data size can be reduced and the influence of the current data size can be increased by increasing the number of rows in the sorting process performed in step S13 or S15.

【0067】その後、メインコントロール部101によ
り行われる印刷順序の設定方法は、第1の実施例のもの
とほぼ同様である。第2の実施例では現在印刷データを
受信していない論理ポートの優先順位もデータテーブル
101bに表されているので、これらの論理ポートは除
外し、印刷データを受信している論理ポートのみを対象
として、優先順位の比較を行い、これら印刷データに印
刷順序を設定していく。
Thereafter, the method of setting the printing order performed by the main control unit 101 is substantially the same as that of the first embodiment. In the second embodiment, the priority order of the logical ports that are not currently receiving print data is also shown in the data table 101b, so these logical ports are excluded and only the logical ports that are receiving print data are targeted. The priority order is compared, and the print order is set for these print data.

【0068】なお、この実施例においては、印刷データ
を受信開始してからそのデータサイズを認識するまでの
間においても、各論理ポートには過去のデータに基づく
優先順位が設定されているので、これら過去のデータに
基づく優先順位を用いて各印刷データの印刷順序を設定
することも可能である。すなわち、印刷データの受信完
了時に印刷順序を設定するのではなく、印刷データの受
信開始時や受信半ばなど、該印刷データのデータサイズ
が認識できてないタイミングにおいて、該印刷データの
印刷順序を設定するように構成することもできる。
In this embodiment, since the priority order based on the past data is set for each logical port from the start of the reception of the print data to the recognition of the data size, It is also possible to set the printing order of each print data by using the priorities based on these past data. That is, instead of setting the print order when the print data reception is completed, the print order of the print data is set at a timing when the data size of the print data cannot be recognized, such as at the start of reception of the print data or in the middle of the reception. It can also be configured to do so.

【0069】以上のように、第1および第2実施例の印
刷装置1によれば、並行して複数の印刷データが受信さ
れた場合にこれら印刷データを印刷処理にかける優先順
位が、従来のように受信順ではなく、印刷データのデー
タサイズに基づいて適宜にデータサイズの小さい順に決
定されるので、印刷処理の作業効率の向上を図ることが
出来る。
As described above, according to the printing apparatuses 1 of the first and second embodiments, when a plurality of print data are received in parallel, the priorities for applying these print data to the print processing are the same as those of the prior art. As described above, since the data size is appropriately determined based on the data size of the print data instead of the reception order, the work efficiency of the printing process can be improved.

【0070】すなわち、実施例の印刷処理のタイムチャ
ートの一例を表した図9に示すように、大サイズと小サ
イズの印刷データが並行して入力された場合に、小サイ
ズの印刷データを大サイズの印刷データよりも優先させ
て印刷処理(言語解析と実印刷処理)に移行させること
ができ、それにより、大サイズ印刷データの受信中に、
小サイズの印刷データを印刷処理してしまうといった作
業効率の向上を図ることが出来る。
That is, as shown in FIG. 9 showing an example of a time chart of the printing process of the embodiment, when large-size and small-size print data are input in parallel, the small-size print data is enlarged. The printing process (language analysis and actual printing process) can be shifted to the printing process prior to the printing data of the large size.
It is possible to improve work efficiency such as printing small-size print data.

【0071】また、第2実施例の印刷装置1によれば、
各論理ポート毎に受信データサイズに一定の傾向がある
ことを利用して、過去受信した印刷データのデータサイ
ズを優先順位に反映し、各論理ポートの優先順位が緩や
かに入れ替わっていくように構成されているので、過度
な優先順位の変化により、優先順位の低い印刷データが
不適切に長く待たされてしまうといった不都合が回避可
能であるなど、作業効率の向上を図りつつ適切な優先順
位で印刷データを印刷処理に移行させることが出来る。
According to the printing apparatus 1 of the second embodiment,
Utilizing the fact that the received data size has a certain tendency for each logical port, the data size of the print data received in the past is reflected in the priority, and the priority of each logical port is gradually replaced Printing can be performed at an appropriate priority while improving work efficiency, such as avoiding the inconvenience of printing data with a low priority being inappropriately waited for a long time due to an excessive change in priority. Data can be transferred to print processing.

【0072】以上本発明を実施例に基づき具体的に説明
したが、本発明は上記実施例に限定されるものではな
く、その要旨を逸脱しない範囲で種々変更可能であるこ
とはいうまでもない。
Although the present invention has been described in detail with reference to the embodiments, it is needless to say that the present invention is not limited to the above-described embodiments, and can be variously modified without departing from the gist thereof. .

【0073】例えば、複数のポート手段として、並列処
理により複数の印刷データを受信可能なインターフェー
ス部102の複数の論理ポートを例示したが、ハード的
なポートを複数設けても良いし、ハード的なポートと実
施例の論理ポートとが複数混在しているような構成でも
良い。
For example, although a plurality of logical ports of the interface unit 102 capable of receiving a plurality of print data by parallel processing have been illustrated as a plurality of port means, a plurality of hardware ports may be provided, or a plurality of hardware ports may be provided. A configuration in which a plurality of ports and the logical ports of the embodiment are mixed may be employed.

【0074】また、上記実施例では、印刷データが入力
された際に該印刷データが複数のポートの何れかに割り
当てられて受信されるシステム構成として説明したが、
予め各ポートと各ホストコンピュータとが対応付けら
れ、送信された印刷データはそのホストコンピュータに
対応するポートに入力されるような構成を有する印刷装
置に対しても本発明を適用可能である。
Further, in the above-described embodiment, the system configuration has been described in which when print data is input, the print data is allocated to any of a plurality of ports and received.
The present invention is also applicable to a printing apparatus having a configuration in which each port is associated with each host computer in advance, and transmitted print data is input to a port corresponding to the host computer.

【0075】また、実施例においては、印刷データがイ
ンターフェース部102からスプール部104に格納さ
れる際に、各論理ポートの優先順位に従って印刷順序を
決定する構成としたが、印刷データを言語解析ブロック
103に送って印刷処理に移行させる際に、論理ポート
の優先順位に従って何れの印刷データを言語解析ブロッ
ク103に送るか決定するように構成することも可能で
ある。
In the embodiment, when the print data is stored in the spool unit 104 from the interface unit 102, the print order is determined in accordance with the priority order of each logical port. When sending the print data to the language analysis block 103 in accordance with the priority order of the logical ports, the print data can be configured to be sent to the language analysis block 103 when the print data is sent to the print processing.

【0076】さらに、印刷データサイズを比較する際
に、ある一定量以上の差がある場合にのみ優先順位を入
れ替え、あまり大きな差がないときは受信順とすること
も可能である。
Further, when comparing the print data sizes, it is possible to change the order of priority only when there is a difference of a certain amount or more, and to arrange the reception order when there is no significant difference.

【0077】[0077]

【発明の効果】以上説明したように、本発明に従うと、
並行して複数の印刷データが受信された場合にこれら印
刷データを印刷処理にかける優先順位が、従来のように
受信順ではなく、印刷データのデータサイズに基づいて
適宜にデータサイズの小さい順に決定されるので、大サ
イズと小サイズの印刷データが並行して入力された場合
に、大きいサイズの印刷データの受信と印刷処理とが完
了するのを待ってから、小さいサイズの印刷データが処
理されるといった無駄が回避され、大サイズ印刷データ
の受信中に、小サイズの印刷データを印刷処理するとい
った作業効率の向上を図ることが出来る。
As described above, according to the present invention,
When a plurality of print data are received in parallel, the priority order for applying the print data to the print processing is determined not in the order of reception as in the past but in the order of smaller data size appropriately based on the data size of the print data. Therefore, if large-size and small-size print data are input in parallel, wait until the reception of the large-size print data and the printing process are completed before processing the small-size print data. This avoids waste and improves the work efficiency of printing small-size print data while receiving large-size print data.

【0078】更に、過去の印刷データのサイズ情報を比
較対象としたり、1回の優先順位の更新処理で、優先順
位が連続する所定個のポート手段のみを入れ替えるよう
にすることで、優先順位の更新が急激でなく緩やかに変
更されていくので、過度な優先順位の変化により、優先
順位の低い印刷データが不適切に長く待たされてしまう
といった不都合を回避し、作業効率の向上を図りつつ適
切な優先順位で印刷データを印刷処理に移行させていく
ことが出来る。
Furthermore, the size information of the past print data is set as a comparison target, and only a predetermined number of port means having consecutive priorities are replaced in one update process of the priority order, whereby the priority order is changed. The update is not abrupt but changes gradually, so it is possible to avoid the inconvenience of excessively changing the priority, such as inappropriately waiting for low-priority print data, and improve work efficiency. The print data can be transferred to the print processing with a high priority.

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

【図1】本発明の実施例である印刷装置のハード構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a hardware configuration of a printing apparatus according to an embodiment of the present invention.

【図2】実施例の印刷装置の機能構成の一例を示す機能
ブロック図である。
FIG. 2 is a functional block diagram illustrating an example of a functional configuration of a printing apparatus according to an embodiment.

【図3】印刷装置の各ポートとホストコンピュータとの
対応関係の第1実施例を示す説明図である。
FIG. 3 is an explanatory diagram showing a first embodiment of a correspondence relationship between each port of the printing apparatus and a host computer.

【図4】図3の実施例で各ポートの優先順位を決定する
ためのデータテーブルの一例を示す図である。
FIG. 4 is a diagram showing an example of a data table for determining the priority of each port in the embodiment of FIG.

【図5】図3の実施例におけるデータテーブルの更新処
理の手順を示すフローチャートである。
FIG. 5 is a flowchart illustrating a procedure of a data table update process in the embodiment of FIG. 3;

【図6】印刷装置の各ポートとホストコンピュータとの
対応関係の第2実施例を示す説明図である。
FIG. 6 is an explanatory diagram showing a second embodiment of the correspondence between each port of the printing apparatus and the host computer.

【図7】図6の実施例で各ポートの優先順位を決定する
ためのデータテーブルの一例を示す図である。
FIG. 7 is a diagram showing an example of a data table for determining the priority of each port in the embodiment of FIG. 6;

【図8】図6の実施例におけるデータテーブルの更新処
理の手順を示すフローチャートである。
FIG. 8 is a flowchart showing a procedure of a data table update process in the embodiment of FIG. 6;

【図9】実施例の印刷装置において大サイズと小サイズ
の印刷データが並行して入力された場合の処理の一例を
示すタイムチャートである。
FIG. 9 is a time chart illustrating an example of processing when large-size and small-size print data are input in parallel in the printing apparatus according to the embodiment.

【図10】従来の印刷装置において大サイズと小サイズ
の印刷データが並行して入力された場合の処理の一例を
示すタイムチャートである。
FIG. 10 is a time chart illustrating an example of processing when large-size and small-size print data are input in parallel in a conventional printing apparatus.

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

1 印刷装置 2… ホストコンピュータ 10 CPU 11 スプール用記憶装置 14 ホストインターフェース 16 プリンタエンジン 101 メインコントロール部(印刷制御手段) 101a データテーブル(格納手段) 101b データテーブル(格納手段) 102 インターフェース部(受信手段) 103 言語解析ブロック(解析手段) 104 スプール部 DESCRIPTION OF SYMBOLS 1 Printing device 2 ... Host computer 10 CPU 11 Spool storage device 14 Host interface 16 Printer engine 101 Main control part (print control means) 101a Data table (storage means) 101b Data table (storage means) 102 Interface part (receiving means) 103 language analysis block (analysis means) 104 spool unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 印刷データが入力される複数のポート手
段を有し複数の印刷データを並行して受信可能な受信手
段と、 印刷データを印刷処理に移行させる前に一旦蓄積する記
憶装置と、 上記複数のポート手段の優先順位を決定するとともに、
複数のポート手段に並行してそれぞれ印刷データが受信
された場合に優先順位の高いポート手段の印刷データか
ら優先的に印刷処理へ移行させる印刷制御手段とを備
え、 上記印刷制御手段は、各ポート手段に入力された印刷デ
ータのデータサイズを判定し、データサイズに基づいて
上記ポート手段の優先順位を決定するように構成されて
いることを特徴とする印刷装置。
A receiving unit having a plurality of port means for receiving print data and capable of receiving a plurality of print data in parallel; a storage device for temporarily storing print data before shifting to print processing; While determining the priority order of the plurality of port means,
Print control means for, when print data is received in parallel to the plurality of port means, shifting preferentially to print processing from the print data of the port means having a higher priority, wherein the print control means A printing apparatus configured to determine a data size of the print data input to the means, and determine a priority order of the port means based on the data size.
【請求項2】 入力された印刷データのデータサイズに
関するサイズ情報を格納する格納手段を各ポート手段毎
に備え、 上記印刷制御手段は上記格納手段に格納されたサイズ情
報に基づいて上記優先順位を決定することを特徴とする
請求項1記載の印刷装置。
2. A storage unit for storing size information relating to the data size of input print data is provided for each port unit, and the print control unit sets the priority based on the size information stored in the storage unit. The printing apparatus according to claim 1, wherein the determination is made.
【請求項3】 上記格納手段には、過去に入力された印
刷データを含めて認識し得る最新の印刷データのサイズ
情報が各ポート手段毎に格納され、 上記印刷制御手段は、新たな印刷データが任意のポート
手段に入力された場合に、該ポート手段のサイズ情報
と、優先順位が該ポート手段の優先順位に連続する他の
ポート手段のサイズ情報とを各々比較して、比較したポ
ート手段の優先順位を上記サイズ情報に示されるデータ
サイズの小さい順に入れ替えていく優先順位更新処理を
行うことを特徴とする請求項2記載の印刷装置。
3. The storage means stores, for each port means, size information of the latest print data that can be recognized including print data input in the past, and the print control means stores new print data. Is input to an arbitrary port means, the size information of the port means is compared with the size information of other port means whose priority order is consecutive to the priority order of the port means. 3. The printing apparatus according to claim 2, wherein priority order updating processing is performed in which the priority order is changed in ascending order of the data size indicated by the size information.
【請求項4】 上記優先順位更新処理は、新たに入力が
あったポート手段のサイズ情報と該ポート手段より優先
順位が1つ低いポート手段のサイズ情報とを比較してデ
ータサイズの小さい順に上記優先順位を入れ替えるステ
ップと、該ステップで優先順位の入れ替えがなかった場
合に上記新たに入力があったポート手段のサイズ情報と
該ポート手段より優先順位が1つ高いポート手段のサイ
ズ情報とを比較してデータサイズの小さい順に上記優先
順位を入れ替えるステップとを有することを特徴とする
請求項3記載の印刷装置。
4. The priority order updating process compares the size information of a newly input port means with the size information of a port means having a priority lower by one than the port means, and compares the size information of the port means with a smaller data size in the order of smaller data size. Replacing the priority order, and comparing the size information of the newly input port means and the size information of the port means which is one priority higher than the port means when the priority order is not replaced in the step. 4. The printing apparatus according to claim 3, further comprising the step of changing the priority order in ascending order of the data size.
【請求項5】 複数種類のフォーマット言語に対応して
これら各フォーマット言語により作成された印刷データ
を解析して印刷処理可能なデータに変換可能な解析手段
を備え、上記複数のポート手段はそれぞれ所定のフォー
マット言語の印刷データが入力されるように対応されて
いることを特徴とする請求項3又は4に記載の印刷装
置。
5. An analysis means for analyzing print data created in each of these format languages corresponding to a plurality of format languages and converting the data into printable data, wherein each of said plurality of port means is a predetermined one. The printing apparatus according to claim 3, wherein the printing apparatus is adapted to input print data in a format language of (b).
JP2000158577A 2000-05-29 2000-05-29 Printing device Expired - Fee Related JP4459385B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000158577A JP4459385B2 (en) 2000-05-29 2000-05-29 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000158577A JP4459385B2 (en) 2000-05-29 2000-05-29 Printing device

Publications (2)

Publication Number Publication Date
JP2001334731A true JP2001334731A (en) 2001-12-04
JP4459385B2 JP4459385B2 (en) 2010-04-28

Family

ID=18663031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000158577A Expired - Fee Related JP4459385B2 (en) 2000-05-29 2000-05-29 Printing device

Country Status (1)

Country Link
JP (1) JP4459385B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2412527A (en) * 2004-03-25 2005-09-28 Murata Machinery Ltd Printing device
JP2006306021A (en) * 2005-03-31 2006-11-09 Ricoh Co Ltd Data processor, data processing system, method for controlling data processor, method for adding data conversion function, program and recording medium
JP2009105754A (en) * 2007-10-24 2009-05-14 Ricoh Co Ltd Image processor and precedence determining method
US7965403B2 (en) 2005-03-22 2011-06-21 Brother Kogyo Kabushiki Kaisha Image forming apparatus, management information processing terminal, and status information management system
JP2012030596A (en) * 2005-03-31 2012-02-16 Ricoh Co Ltd Data processing system, data processing apparatus, information processing apparatus, program and recording medium
JP2012064140A (en) * 2010-09-17 2012-03-29 Brother Ind Ltd Data processing device, data processing system, data processing program, and device driver
JP2013105241A (en) * 2011-11-11 2013-05-30 Riso Kagaku Corp Control program updating device and control program updating program
JP2020126367A (en) * 2019-02-01 2020-08-20 ブラザー工業株式会社 Support program, information processor, and printing method
US20220417388A1 (en) * 2021-06-25 2022-12-29 Canon Kabushiki Kaisha Image forming apparatus capable of achieving both convenience of user and defense against external threats, control method for image forming apparatus, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6398345B2 (en) 2014-06-10 2018-10-03 富士ゼロックス株式会社 Printing apparatus and program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2412527A (en) * 2004-03-25 2005-09-28 Murata Machinery Ltd Printing device
US7965403B2 (en) 2005-03-22 2011-06-21 Brother Kogyo Kabushiki Kaisha Image forming apparatus, management information processing terminal, and status information management system
JP2006306021A (en) * 2005-03-31 2006-11-09 Ricoh Co Ltd Data processor, data processing system, method for controlling data processor, method for adding data conversion function, program and recording medium
JP2012030596A (en) * 2005-03-31 2012-02-16 Ricoh Co Ltd Data processing system, data processing apparatus, information processing apparatus, program and recording medium
JP2009105754A (en) * 2007-10-24 2009-05-14 Ricoh Co Ltd Image processor and precedence determining method
JP2012064140A (en) * 2010-09-17 2012-03-29 Brother Ind Ltd Data processing device, data processing system, data processing program, and device driver
US8762582B2 (en) 2010-09-17 2014-06-24 Brother Kogyo Kabushiki Kaisha Data processing apparatus capable of communicating with external device via a plurality of logical lines, data processing system, data processing device storing data processing program, and device driver
JP2013105241A (en) * 2011-11-11 2013-05-30 Riso Kagaku Corp Control program updating device and control program updating program
JP2020126367A (en) * 2019-02-01 2020-08-20 ブラザー工業株式会社 Support program, information processor, and printing method
JP7268375B2 (en) 2019-02-01 2023-05-08 ブラザー工業株式会社 Support program, information processing device, and printing method
US20220417388A1 (en) * 2021-06-25 2022-12-29 Canon Kabushiki Kaisha Image forming apparatus capable of achieving both convenience of user and defense against external threats, control method for image forming apparatus, and storage medium
US11683439B2 (en) * 2021-06-25 2023-06-20 Canon Kabushiki Kaisha Image forming apparatus capable of achieving both convenience of user and defense against external threats, control method for image forming apparatus, and storage medium

Also Published As

Publication number Publication date
JP4459385B2 (en) 2010-04-28

Similar Documents

Publication Publication Date Title
US7027169B1 (en) System for efficiently distributing print jobs
EP1122635A2 (en) Printing apparatus
JP2932346B2 (en) PRINTING APPARATUS AND PRINT CONTROL METHOD AND CHARACTER FONTS PATTERN MANAGEMENT METHOD IN PRINTING APPARATUS
US7973958B2 (en) Image forming apparatus conducting an interpretation operation
JP2001334731A (en) Printing device
US20100030850A1 (en) Server unit, server control method, and recording medium in server-based computing system
EP0772115B1 (en) System, output device, method, and computer-usable medium using a split printer driver to control a computer printer device
US20050213148A1 (en) Printer device
US4967190A (en) Method of and apparatus for controlling screen display
US7590769B2 (en) Data communication apparatus and transmission reservation managing method
US20060082827A1 (en) Network printer to control a print queue and method thereof
US6873425B1 (en) Delayed printing of print jobs requiring special resources
US20040190048A1 (en) Image forming device and method
JP2697588B2 (en) Communication task management method
JP3087462B2 (en) Print control device
JPH1097391A (en) Printer system and print control method
JP3125997B2 (en) Print information output device and print system
US8542387B2 (en) Printing apparatus, printing system and printer driver
JPH09190317A (en) Printing device and printing method
US20110279853A1 (en) Job processing apparatus and job processing method
JPH10278364A (en) Page printer
JP2000322212A (en) Print control device
JPH08305517A (en) Printer control system
JPH103367A (en) Printer system
JPH096556A (en) Printing data transfer system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040303

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070117

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091102

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100119

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100209

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100210

R150 Certificate of patent or registration of utility model

Ref document number: 4459385

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130219

Year of fee payment: 3

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D04

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees