JPH04143826A - Printing device - Google Patents
Printing deviceInfo
- Publication number
- JPH04143826A JPH04143826A JP2266389A JP26638990A JPH04143826A JP H04143826 A JPH04143826 A JP H04143826A JP 2266389 A JP2266389 A JP 2266389A JP 26638990 A JP26638990 A JP 26638990A JP H04143826 A JPH04143826 A JP H04143826A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- information
- printing
- print information
- 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
Links
- 238000000034 method Methods 0.000 abstract description 17
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 1
- 101150046378 RAM1 gene Proteins 0.000 description 1
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、文字1図形等の印刷情報を複数の送信装置
から受信可能な印刷装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a printing device that can receive print information such as a character, a figure, etc. from a plurality of transmitting devices.
[従来の技術1
従来、複数の送信装置から受信可能な印刷装置において
は、受信した情報を、印刷装置が受信した順番に従って
逐次的に処理、印刷するように構成されていた。[Prior Art 1] Conventionally, a printing device capable of receiving information from a plurality of transmitting devices is configured to sequentially process and print the received information according to the order in which the printing device receives the information.
しかしながら、そのため既に1つ以上の印刷情報を受信
し、その印刷情報の処理、印刷が終わっていない印刷装
置に対して、迅速に処理、印刷される必要のある印刷情
報を受信した場合でも、その印刷情報が処理、印刷され
るためには、既に受信されている印刷情報の処理、印刷
が終了するか、あるいは既に受信した印刷情報を破棄し
なければならず、前者の場合は、処理開始までに相当の
時間を要し、後者の場合には途中までに生成された印刷
出力が無駄になる等の問題点があった。However, for this reason, even if print information that needs to be quickly processed and printed is received for a printing device that has already received one or more pieces of print information and has not yet finished processing and printing that print information, In order for print information to be processed and printed, the processing and printing of the print information that has already been received must be completed, or the print information that has already been received must be discarded. It takes a considerable amount of time, and in the latter case, there are problems such as the print output generated halfway is wasted.
この発明は、上記の問題点を解決するためになされたも
ので、印刷情報の処理に関する優先度を考慮しながら補
助記憶装置に現在処理中の印刷情報を退避、復帰処理す
ることにより、途中までに行った印刷処理を無駄するこ
となく、迅速に処理、印刷しなければならない印刷情報
を受信順位によらずに優先的に印刷処理可能な印刷装置
を得ることを目的とする。This invention was made in order to solve the above-mentioned problems, and by saving and restoring the print information currently being processed in the auxiliary storage device while taking into account the priority regarding the processing of print information, it is possible to To provide a printing device capable of preferentially printing print information that must be quickly processed and printed without wasting print processing performed previously, regardless of the order of reception.
[課題を解決するための手段]
この発明に係る印刷装置は、現在処理中の印刷情報を退
避/復帰するための補助記憶手段と、入出力手段を介し
て入力される印刷情報の優先処理順位を判定しながら補
助記憶手段に現在処理中の印刷情報を退避転送/復帰転
送を制御する転送制御手段とを設けたものである。[Means for Solving the Problems] A printing apparatus according to the present invention includes an auxiliary storage means for saving/restoring print information currently being processed, and a priority processing order of print information inputted via an input/output means. The present invention is provided with a transfer control means for controlling evacuation transfer/return transfer of print information currently being processed in the auxiliary storage means while making a determination.
[作用]
この発明においては、何れかのホストコンピュータより
送信された印刷情報を処理中に、優先度の高いホストコ
ンピュータからの印刷情報入力が発生すると、転送制御
手段が入出力手段を介して入力される印刷情報の優先処
理順位を判定しながら補助記憶手段に現在処理中の印刷
情報を退避転送/復帰転送を制御し、印刷情報入力順位
とは異なる優先順位に応じて印刷順序を変更しながら印
刷処理を実行することを可能とする。[Operation] In the present invention, when print information input from a host computer with a high priority occurs while processing print information transmitted from any host computer, the transfer control means inputs the print information via the input/output means. While determining the priority processing order of the print information to be processed, it controls the evacuation transfer/return transfer of the print information currently being processed to the auxiliary storage means, and changes the print order according to the priority order different from the print information input order. Enables print processing to be executed.
[実施例1
第1図はこの発明の一実施例を示す印刷装置の構成を説
明するブロック図であり、Pは例えば2台のホストコン
ピュータからの印刷情報を受信可能なプリンタで、例え
ば半導体レーザにより画像を形成する印刷部1を備えて
いる。Hl、H2はプリンタPに有線的あるいは無線的
手段により接続されたホストコンピュータ(ホスト)で
、プリンタPに対して印刷要求と、その印刷要求の優先
度を含んだ印刷情報を出力する。[Embodiment 1] Fig. 1 is a block diagram illustrating the configuration of a printing apparatus showing an embodiment of the present invention, and P is a printer capable of receiving print information from two host computers, for example, a semiconductor laser. The printer is equipped with a printing section 1 that forms an image using the following methods. H1 and H2 are host computers (hosts) connected to the printer P by wire or wireless means, and output print requests to the printer P and print information including the priority of the print requests.
2は制御部であるところのCPU、3.4は外部との交
信を行うための入/出力装置、5,6は受信した印刷情
報中から印刷情報の優先度に関する情報を検出し、ホス
トコンピュータH1,H2からの印刷要求を受けたこと
を、文字1図形に関する情報と分離して、その優先度に
応じた割込みレベルの割込み信号でCPU2に通知する
印刷要求通知装置である。7はROMで、前記印刷要求
通知装置5,6から転送された文字7図形に関する情報
に従って画像バッファ8へ展開されている文字5図形に
関するデータを、必要に応じて補助記憶装置9へ転送し
たり、既に補助記憶装置9へ転送されている文字5図形
に関するデータを画像バッファ8に復帰転送するといっ
た一連の処理を行うプログラム(後述するフローチャー
トの手順を含む)を格納しである。CPU2はこのRO
M7に格納されたプログラムに従って各部を総括的に制
御する。10.11はCPU2の一時記憶に使用するた
めのRAM (ランダムアクセスメモリ)、スタックで
ある。2 is a CPU which is a control unit, 3.4 is an input/output device for communicating with the outside, and 5 and 6 detect information regarding the priority of print information from the received print information and send it to the host computer. This print request notification device separates the fact that a print request has been received from H1 and H2 from the information regarding the character 1 graphic and notifies the CPU 2 with an interrupt signal of an interrupt level corresponding to the priority. Reference numeral 7 denotes a ROM, which transfers data related to the characters 5 and figures developed in the image buffer 8 to the auxiliary storage device 9 as needed, according to the information related to the characters 7 and figures transferred from the print request notification devices 5 and 6. , and stores a program (including procedures in a flowchart described later) for performing a series of processes such as returning and transferring data regarding characters 5 and graphics that have already been transferred to the auxiliary storage device 9 to the image buffer 8. CPU2 is this RO
Each part is comprehensively controlled according to the program stored in M7. 10.11 is a RAM (random access memory) and a stack used for temporary storage of the CPU 2.
このように構成された印刷装置において、何れかのホス
トコンピュータより送信された印刷情報を処理中に、優
先度の高いホストコンピュータからの印刷情報入力が発
生すると、転送制御手段(この実施例ではCPU2)が
入出力手段(入/出力装置3,4)を介して入力される
印刷情報の優先処理順位を判定しながら補助記憶手段(
この実施例では補助記憶装置9)に現在処理中の印刷情
報を退避転送/復帰転送を制御し、印刷情報入力順位と
は異なる優先順位に応じて印刷順序を変更しながら印刷
処理を実行する。In the printing apparatus configured as described above, when print information input from a host computer with a high priority occurs while processing print information transmitted from any host computer, the transfer control means (in this embodiment, the CPU 2 ) determines the priority processing order of print information input via the input/output means (input/output devices 3, 4) while the auxiliary storage means (
In this embodiment, the save transfer/return transfer of print information currently being processed to the auxiliary storage device 9) is controlled, and print processing is executed while changing the print order according to a priority order different from the print information input order.
以下、第2図〜第4図に示す各フローチャートを参照し
ながらこの発明に係る印刷装置における印刷情報受信処
理動作について具体的に説明する。Hereinafter, the printing information receiving processing operation in the printing apparatus according to the present invention will be specifically explained with reference to the flowcharts shown in FIGS. 2 to 4.
第2図はこの発明に係る印刷装置における印刷情報受信
割込み処理手順の一例を示すフローチャートである。な
お、(1)はステップを示す。FIG. 2 is a flowchart showing an example of a print information reception interrupt processing procedure in the printing apparatus according to the present invention. Note that (1) indicates a step.
先ず、第1図に示したCPU2は初期状態において、印
刷要求通知装置5,6からの割込み信号、すなわちホス
トコンピュータH1,H2からの印刷要求を待機してい
る (1)。First, in an initial state, the CPU 2 shown in FIG. 1 is waiting for an interrupt signal from the print request notification devices 5 and 6, that is, a print request from the host computers H1 and H2 (1).
ここで、ホストコンピュータH1,H2のいずれからも
印刷要求のない状態で、−カのホストコンピュータ(以
下、これを「先着ホストコンピュータ」と呼ぶ)がある
低い優先度の印刷要求を行ったとする。Here, it is assumed that a low-priority print request is made by a host computer (hereinafter referred to as the "first-arriving host computer") in a state where there is no print request from either host computer H1 or H2.
この場合、先着のホストコンピュータに接続された印刷
要求通知装置(以下、これを[先着の印刷要求通知装置
」と呼ぶ)からある低い割込みレベルの割込み信号がC
PU2に対して発生し、印刷要求に対する処理が開始さ
れる。ここで、CPU2の処理は、第3図に示す手順に
従って処理を開始する。In this case, an interrupt signal of a low interrupt level is sent from the print request notification device connected to the first-arriving host computer (hereinafter referred to as the "first-arrival print request notification device").
This occurs for PU2, and processing for the print request is started. Here, the processing of the CPU 2 starts according to the procedure shown in FIG.
第3図はこの発明に係る印刷装置における印刷要求処理
手順の一例を示すフローチャートである。なお、(1)
〜(7)は各ステップを示す。FIG. 3 is a flowchart showing an example of a print request processing procedure in the printing apparatus according to the present invention. Furthermore, (1)
~(7) shows each step.
先ず、CPtJ2は発生した割込みレベル以下の割込み
信号を直に受は取らずに保留しく1) さらに先着の
ホストコンピュータからの印刷要求の優先度がRAM1
0内に保持され(2)、印刷要求に対する処理が開始さ
れる。First, CPtJ2 does not directly receive an interrupt signal that is lower than the interrupt level that has occurred, but puts it on hold.1) Furthermore, the priority of the print request from the first-arriving host computer is RAM1.
0 (2), and processing for the print request is started.
先着の印刷要求通知装置から転送された文字。Characters transferred from the first print request notification device.
図形に関する情報を展開しく3)1ペ一ジ分の文字9図
形に関するデータがでてきたら(4) 印刷部1を駆
動させて用紙へ印字する(5)。3) When the data related to the 9 characters and figures for one page is obtained (4), the printing section 1 is driven to print on the paper (5).
次いで、先着のホストコンピュータからの印刷情報が存
在するかどうかを判定しく6) YESならばステッ
プ(4)に戻り、NOならば最後のページを印字して(
7)、割込み処理を終了し、CPU2の処理は割込みが
起こる前の状態から再開される。Next, it is determined whether there is print information from the first-arriving host computer 6) If YES, return to step (4); if NO, print the last page (6)
7) The interrupt processing is ended, and the processing of the CPU 2 is resumed from the state before the interrupt occurred.
上記割込み処理の途中で、もう一方のホストコンピュー
タ(以下、これを「後着のホストコンピュータ」と呼ぶ
)から印刷要求があった場合、その印刷要求によって後
着のホストコンピュータに接続された印刷要求通知装置
(以下、これを[後着の印刷要求通知装置」と呼ぶ)か
ら割込み信号が発生するが、後着の印刷要求通知装置か
ら発生した割込み信号が先着の印刷要求通知装置からの
割込み信号より割込みレベルが低い場合、後着の印刷要
求通知装置からの割込み信号は先着の印刷要求通知装置
からの割込み信号による割込み処理が終了するまで保留
させるため、第4図に示す処理、すなわち先着のホスト
コンピュータからの印刷要求に対する印刷処理が終了す
るまで後着のホストコンピュータからの印刷要求に対す
る印刷処理は保留されることになる。During the above interrupt processing, if a print request is received from another host computer (hereinafter referred to as the "later host computer"), the print request connects to the later host computer. An interrupt signal is generated from a notification device (hereinafter referred to as a "later-arriving print request notification device"), but an interrupt signal generated from a later-arriving print request notification device is an interrupt signal from an earlier-arriving print request notification device. If the interrupt level is lower than that, the interrupt signal from the later-arriving print request notification device is suspended until the interrupt processing by the interrupt signal from the first-arriving print request notification device is completed, so that the processing shown in FIG. The print process for the print request from the later arriving host computer is suspended until the print process for the print request from the host computer is completed.
一方、後着の印刷要求通知装置から発生した割込み信号
が先着の印刷要求通知装置からの割込み信号より割込み
レベルが高い場合、後着の印刷要求通知装置からの割込
み信号は直に受は取られ、CPU2は第4図に示す処理
を開始する。On the other hand, if the interrupt signal generated from the later-arriving print request notifying device has a higher interrupt level than the interrupt signal from the first-arriving print request notifying device, the interrupt signal from the later-arriving print request notifying device is not accepted immediately. , the CPU 2 starts the process shown in FIG.
第4図はこの発明に係る印刷装置における印刷要求割込
み処理手順の一例を示すフローチャートである。なお、
(11〜(10)は各ステップを示す。FIG. 4 is a flowchart showing an example of a print request interrupt processing procedure in the printing apparatus according to the present invention. In addition,
(11 to (10) indicate each step.
先ず、現在画像バッファ8に保持されている文字9図形
に関するデータを補助記憶装置9へ退避転送しく1)
その他の文字1図形に関するCPU2の状態をスタッ
ク11へ退避しく2)、後着の印刷要求通知装置から発
生した割込み信号の割込みレベル以下の割込み信号を保
留しく3)、文字1図形情報を画像バッファへ展開しく
4) その後、後着のホストコンピュータからの印刷
要求に対する印刷処理を開始する。First, the data related to the characters 9 graphics currently held in the image buffer 8 is saved and transferred to the auxiliary storage device 9.1)
The state of the CPU 2 related to the other character 1 graphics is saved to the stack 11 2), the interrupt signal lower than the interrupt level of the interrupt signal generated from the subsequent print request notification device is suspended 3), and the character 1 graphic information is stored in the image buffer. 4) Thereafter, print processing is started in response to a print request from a subsequent host computer.
すなわち、1ペ一ジ分の文字5図形に関するデータがで
てきたら(5)、印刷部1を駆動させて用紙へ印字する
(6)
次いで、先着のホストコンピュータからの印刷情報が存
在するかどうかを判定しく71 YESならばステッ
プ(5)に戻り、Noならば最後のベージを印字して(
8)、印刷処理が終了したら、スタック11に退避した
文字2図形に関するCPU2の状態を復帰しく9)、画
像バッファ8から補助記憶装置9へ転送した文字9図形
に関するデータを再度画像バッファ8へ転送して(10
)、先着のホストコンピュータからの印刷要求に対する
割込み処理を再開する。In other words, when data related to 5 characters and 5 figures for one page is obtained (5), the printing unit 1 is driven to print on paper (6) Next, check whether there is print information from the first host computer. 71 If YES, return to step (5); if NO, print the last page (
8) When the printing process is finished, restore the state of the CPU 2 regarding the character 2 graphics saved in the stack 11. 9) Transfer the data regarding the character 9 graphics that was transferred from the image buffer 8 to the auxiliary storage device 9 to the image buffer 8 again. and (10
), resumes interrupt processing in response to a print request from the first arriving host computer.
このようにして、既に1つ以上の印刷情報を受信し、そ
の印刷情報の処理、印刷が終わっていない印刷装置に対
して、迅速に処理、印刷される必要のある印刷情報を送
信した場合でも、既に受信されている印刷情報の処理、
印刷の終了を待たずに処理、印刷が行われる。In this way, even if you send print information that needs to be quickly processed and printed to a printing device that has already received one or more pieces of print information and has not yet finished processing and printing that print information. , processing of print information that has already been received,
Processing and printing are performed without waiting for printing to finish.
なお、上記実施例では送信装置となるホストコンピュー
タが2台接続可能な印刷装置を例にして説明したが、割
込みレベルとRAM10.スタック11を十分に取るこ
とにより、2台以上のホストコンピュータを接続するこ
とが可能であり、優先度に基づ(多彩な飛び越し印刷処
理が可能となる。In the above embodiment, the explanation was given using a printing device to which two host computers, which serve as transmitting devices, can be connected as an example, but the interrupt level and the RAM 10. By providing a sufficient number of stacks 11, it is possible to connect two or more host computers, and it is possible to perform various interlace printing processes based on priority.
また、上記実施例では印刷優先度を印刷情報の中に含め
ていたが、ホストコンピュータと印刷装置が無線的に接
続されている場合、情報転送に用いる無線周波数と印刷
優先度をあらかじめ一意に決めておくことにより、印刷
要求通知回路から、受信した印刷情報の中の印刷優先度
の関する情報を検出する装置を省くこともできる。Furthermore, in the above embodiment, the print priority is included in the print information, but if the host computer and the printing device are connected wirelessly, the radio frequency used for information transfer and the print priority must be uniquely determined in advance. By doing so, it is possible to omit a device for detecting information regarding print priority in received print information from the print request notification circuit.
[発明の効果]
以上説明したように、この発明は現在処理中の印刷情報
を退避/復帰するための補助記憶手段と、入出力手段を
介して入力される印刷情報の優先処理順位を判定しなが
ら補助記憶手段に現在処理中の印刷情報の退避転送/復
帰転送を制御する転送制御手段とを設けたので、迅速に
処理される必要のある印刷情報を印刷装置内部で保留し
たり、現在処理中の印刷情報を破棄する等の処理を行う
ことなく、素早く処理を開始することができ、貴重な時
間や用紙を節約できる等の効果を奏する。[Effects of the Invention] As explained above, the present invention includes an auxiliary storage means for saving/restoring print information currently being processed, and determining the priority processing order of print information inputted through an input/output means. However, since the auxiliary storage means is equipped with a transfer control means for controlling the evacuation transfer/return transfer of the print information currently being processed, it is possible to hold print information that needs to be processed quickly within the printing device, or to Processing can be started quickly without having to perform processes such as discarding the printed information inside, which has the effect of saving valuable time and paper.
第1図はこの発明の一実施例を示す印刷装置の構成を説
明するブロック図、第2図はこの発明に係る印刷装置に
おける印刷情報受信割込み処理手順の一例を示すフロー
チャート、第3図はこの発明に係る印刷装置における印
刷要求処理手順の一例を示すフローチャート、第4図は
この発明に係る印刷装置における印刷要求割込み処理手
順の一例を示すフローチャートである。
図中、1は印刷部、2はcpu、3,4は入/出力装置
、5,6は印刷要求通知装置、7は80M、8は画像バ
ッファ、9は補助記憶装置、10はRAM、11はスタ
ック、Pはプリンタ、Hl、H2はホストコンピュータ
である。
第
図
P:プリンタ
第
図
第
図FIG. 1 is a block diagram illustrating the configuration of a printing apparatus according to an embodiment of the invention, FIG. FIG. 4 is a flowchart showing an example of a print request processing procedure in the printing apparatus according to the invention. FIG. 4 is a flowchart showing an example of a print request interrupt processing procedure in the printing apparatus according to the invention. In the figure, 1 is a printing unit, 2 is a CPU, 3 and 4 are input/output devices, 5 and 6 are print request notification devices, 7 is 80M, 8 is an image buffer, 9 is an auxiliary storage device, 10 is a RAM, 11 is a stack, P is a printer, and H1 and H2 are host computers. Figure P: Printer Figure Figure
Claims (1)
めの入出力手段を有する印刷装置において、現在処理中
の印刷情報を退避/復帰するための補助記憶手段と、前
記入出力手段を介して入力される印刷情報の優先処理順
位を判定しながら前記補助記憶手段に現在処理中の印刷
情報の退避転送/復帰転送を制御する転送制御手段とを
具備したことを特徴とする印刷装置。In a printing apparatus having a printing mechanism and an input/output means for receiving print information from a plurality of transmitting apparatuses, an auxiliary storage means for saving/restoring print information currently being processed, and an input/output means for receiving print information from a plurality of transmitting apparatuses. A printing apparatus comprising: a transfer control means for controlling evacuation transfer/return transfer of print information currently being processed in the auxiliary storage means while determining a priority processing order of input print information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2266389A JP3007404B2 (en) | 1990-10-05 | 1990-10-05 | Printing apparatus and printing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2266389A JP3007404B2 (en) | 1990-10-05 | 1990-10-05 | Printing apparatus and printing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04143826A true JPH04143826A (en) | 1992-05-18 |
JP3007404B2 JP3007404B2 (en) | 2000-02-07 |
Family
ID=17430258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2266389A Expired - Fee Related JP3007404B2 (en) | 1990-10-05 | 1990-10-05 | Printing apparatus and printing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3007404B2 (en) |
-
1990
- 1990-10-05 JP JP2266389A patent/JP3007404B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP3007404B2 (en) | 2000-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3127523B2 (en) | Communication control device and data transmission method | |
JPH04143826A (en) | Printing device | |
JP4098910B2 (en) | Packet transfer control device and packet transfer method | |
JP2006033711A (en) | Data processing apparatus, communication processing method and computer program | |
JP3282205B2 (en) | Received data processing method and communication control device | |
JP3478519B2 (en) | Printer device | |
JP4102405B2 (en) | Data processing device, data communication method, and serial input / output device | |
JPH1049344A (en) | Buffer busy control system | |
JP2001306487A (en) | Interrupt notification system and processor unit | |
JP2002229756A (en) | Data processing system and its control method | |
JP2000155738A (en) | Data processor | |
JPH0267156A (en) | Printer | |
JPH0732667A (en) | High speed printing control system | |
JP2642734B2 (en) | Data processing device | |
JP3211267B2 (en) | Access control method | |
JP2001256171A (en) | Data transfer method and module | |
JPH05303473A (en) | Printer device | |
JPH09240076A (en) | Printer | |
JP2001306285A (en) | Printing system | |
JP2004171150A (en) | Information processor and method and printer system | |
JP2874541B2 (en) | High-speed printer output system | |
JP2000047965A (en) | Information processor | |
JP2925049B2 (en) | Input buffer control method | |
JPH10109463A (en) | Printer with a plurality of receiving ports | |
JPH01184569A (en) | Data transmission equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081126 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081126 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091126 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |