JPH0542749A - Printing suspension processing device - Google Patents

Printing suspension processing device

Info

Publication number
JPH0542749A
JPH0542749A JP3204156A JP20415691A JPH0542749A JP H0542749 A JPH0542749 A JP H0542749A JP 3204156 A JP3204156 A JP 3204156A JP 20415691 A JP20415691 A JP 20415691A JP H0542749 A JPH0542749 A JP H0542749A
Authority
JP
Japan
Prior art keywords
printing
interruption
processing
print interruption
printing interruption
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
JP3204156A
Other languages
Japanese (ja)
Inventor
Toru Nishikawa
徹 西川
Kazuhisa Ueda
和久 上田
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.)
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata Ltd
Original Assignee
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata Ltd
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 NIIGATA NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Niigata Ltd filed Critical NIIGATA NIPPON DENKI SOFTWARE KK
Priority to JP3204156A priority Critical patent/JPH0542749A/en
Publication of JPH0542749A publication Critical patent/JPH0542749A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable a system to be utilized efficiently in instantaneous response to a request for printing interruption by providing a printing interruption response device which recognizes the issuance of a request for printing interruption, and a printing interruption ending device which performs a termination process following the process to interrupt printing. CONSTITUTION:A printing interruption response process is indicated by a printing interruption response device 1, and if a request for printing interruption generates, the execution of a command for printing interruption processing is checked using a printing interruption checking device 2. If an operator fails to select the execution step, a printing interruption response process is indicated. In addition, if the execution step is selected, the end of the processing is instructed to a main printing processing thread. Then a printing interruption process is displayed using a printing interruption display device 3 in order to display the execution of a command for printing interruption underway. Further, printing information is initialized using a printing information initialization device 4 for following printing process, and a printer is initialized using a printer initialization device 5. Thus the process to interrupt printing is ended by objecting each device to termination process.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は印刷中断処理装置、特
に、印刷中断要求の発生に瞬時に対応し、プリンタ等の
ハード・ウェアの終了処理を平行に行う印刷中断処理装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print interruption processing apparatus, and more particularly to a print interruption processing apparatus which responds to a print interruption request instantaneously and performs termination processing of hardware such as a printer in parallel.

【0002】[0002]

【従来の技術】従来、印刷中断処理装置は、ワードプロ
セッサ等における文書データファイルから、ある単位
で、(例えば1行分)データを読み込んだ後、そのデー
タを印刷処理可能なデータに変換し、その都度プリンタ
等の出力装置に出力していた。そのため、印刷中断要求
の発生は印刷処理単位(前記の場合1桁単位)で、認識
されていた。図3は従来の一例を示すフローチャートで
ある。
2. Description of the Related Art Conventionally, a print interruption processing device reads data from a document data file in a word processor or the like in a certain unit (for example, one line), converts the data into printable data, and It was output to an output device such as a printer each time. Therefore, the generation of the print interruption request is recognized in the unit of print processing (in the above case, in units of one digit). FIG. 3 is a flowchart showing a conventional example.

【0003】ステップ101:文書データを一行分読み
込む。
Step 101: Read one line of document data.

【0004】ステップ102:上記データを、印刷用情
報(例えば、プリンタのシーケンス・コード)に変換す
る。
Step 102: Convert the data into printing information (for example, printer sequence code).

【0005】ステップ103:印刷用情報をプリンタに
出力する。
Step 103: Output the printing information to the printer.

【0006】※ステップ101〜103の最終行まで繰
り返す。
* Repeat steps 101 to 103 until the final line.

【0007】ステップ104:ステップ102とステッ
プ103の間に、印刷中断要求が発生していた場合、印
刷中断確認表示を行い、使用者に対し、印刷中断処理機
能の使用の最終確認を行わせる。
Step 104: If a print interruption request is generated between Step 102 and Step 103, a print interruption confirmation display is displayed, and the user is made to finally confirm the use of the print interruption processing function.

【0008】ステップ105:ステップ104にて、使
用者が印刷中継機能を使用しないと選択した場合、ステ
ップ103の処理を行う。使用者が印刷中断機能を使用
すると選択した場合、印刷中断処理を実行していること
を使用者に示すため、印刷中断表示を行う。
Step 105: If the user selects not to use the print relay function in step 104, the process of step 103 is performed. When the user selects to use the print interruption function, the print interruption display is performed to indicate to the user that the print interruption process is being executed.

【0009】ステップ106:次の印刷処理のため、印
刷情報を初期化する。
Step 106: Initialize print information for the next print processing.

【0010】ステップ107:次の印刷処理のため、プ
リンタを初期化する。
Step 107: The printer is initialized for the next printing process.

【0011】[0011]

【発明が解決しようとする課題】上述した従来の印刷中
断処理装置では、印刷中断要求の発生を印刷中断応答装
置が認識できる処理単位は、文書データに対する処理単
位に比例する。そのため文書データに対する処理単位が
十数行に渡ったり、頁単位になると、使用者から見た印
刷中断処理の反応が鈍くなるという欠点があった。(長
い間、中断キーを押し続けなければならない)また、次
の印刷を行うために各種の初期化・終了処理を行うが、
この処理時間が比較的長いため、効率的なシステムの利
用が行われないという欠点もあった。
In the above-described conventional print interruption processing apparatus, the processing unit in which the print interruption responding apparatus can recognize the occurrence of the print interruption request is proportional to the processing unit for the document data. For this reason, if the processing unit for document data extends over ten lines or becomes a page unit, there is a disadvantage that the reaction of the print interruption process from the viewpoint of the user becomes slow. (You have to keep pressing the suspend key for a long time.) In addition, various initialization / termination processing is performed for the next printing.
Since this processing time is relatively long, there is a drawback that the system is not used efficiently.

【0012】[0012]

【課題を解決するための手段】本発明の印刷中断処理装
置は、印刷中断要求の発生を認識する印刷中断応答装置
と、前記印刷中断応答装置により指示された印刷中断命
令の実行を使用者に対して認識を行う印刷中断確認装置
と、印刷中断処理を実行中であることを使用者に示す印
刷中断表示装置と、次の印刷に備えるための印刷情報初
期化装置、及び、プリンタ初期化装置と、前述の各種装
置を終了させるための、印刷中断終了装置とを有する。
SUMMARY OF THE INVENTION A print interruption processing apparatus according to the present invention provides a user with a print interruption responding apparatus for recognizing the occurrence of a print interruption request and for executing a print interruption instruction instructed by the print interruption responding apparatus. A print interruption confirmation device that recognizes the print interruption information, a print interruption display device that indicates to the user that the print interruption process is being performed, a print information initialization device for preparing for the next printing, and a printer initialization device And a print interruption ending device for ending the above-mentioned various devices.

【0013】[0013]

【実施例】本発明について図面を参照して説明する。図
1は本発明の一実施例を示すブロック図であり、図2は
図1に示す印刷中断処理装置の動作を説明するフローチ
ャートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart for explaining the operation of the print interruption processing device shown in FIG.

【0014】図1は、印刷中断要求の発生を認識する印
刷中断応答装置1,印刷中断命令の実行を使用者に対し
て認識を行う印刷中断確認装置2,印刷中断処理を実行
中であることを使用者に示す印刷中断表示装置3,次の
印刷に備えるための印刷情報初期化装置4,及び、プリ
ンタ初期化装置5と、前述の各種装置を終了させるため
の、印刷中断終了装置6とで構成されている。
FIG. 1 shows that a print interruption responding device for recognizing the occurrence of a print interruption request 1, a print interruption confirmation device 2 for recognizing execution of a print interruption command to a user, and a print interruption process are being executed. A print interruption display device 3, a print information initialization device 4 for preparing for the next printing, a printer initialization device 5, and a print interruption termination device 6 for terminating the various devices described above. It is composed of.

【0015】図2は、マルチスレッド(タスク)技法の
応用による、印刷中断処理を示す。
FIG. 2 shows print interruption processing by application of the multithread (task) technique.

【0016】印刷主処理スレッドの処理概要。Outline of processing of the print main processing thread.

【0017】ステップ201:印刷中断応答処理表示を
行う様に、印刷中断処理スレッドに対して指示する。
Step 201: Instruct the print interruption processing thread to display the print interruption response processing.

【0018】ステップ202:文書データを読み込む。Step 202: Read document data.

【0019】ステップ203:上記データを、印刷用情
報(例えば、プリンタのシーケンス・コード)に変換す
る。
Step 203: Convert the above data into printing information (for example, printer sequence code).

【0020】ステップ204:印刷用情報をプリンタに
出力する。
Step 204: Output the printing information to the printer.

【0021】※ステップ201〜204を文書データが
なくなるまで繰り返す。
* Steps 201 to 204 are repeated until there is no document data.

【0022】ステップ205:印刷主処理の終了。Step 205: End of the main print process.

【0023】印刷中断処理スレッドに対して、処理の終
了を指示する。
The print interruption processing thread is instructed to end the processing.

【0024】印刷中断処理スレッドの処理概要。Outline of processing of the print interruption processing thread.

【0025】ステップ211:印刷主処理スレッドより
指示を受けた時、印刷中断応答処理表示を行う。
Step 211: When an instruction is received from the print main processing thread, a print interruption response processing display is performed.

【0026】ステップ212:印刷中断応答処理にて、
印刷中断要求が発生していた場合、印刷中断確認表示を
行い、使用者に対して、印刷中断処理命令実行の確認を
行う。
Step 212: In the print interruption response process,
If a print interruption request has been issued, a print interruption confirmation display is displayed to confirm the execution of the print interruption processing command to the user.

【0027】ステップ213:印刷中断確認処理にて、
使用者が印刷中断処理命令の実行を選択しなかった場
合、ステップ211の印刷中断応答処理表示を行う。ま
た、使用者が印刷中断処理命令の実行を選択した時、印
刷主処理スレッドに対して、処理の終了を指示する。
Step 213: In the print interruption confirmation processing,
If the user does not select the execution of the print interruption processing command, the print interruption response processing display of step 211 is displayed. When the user selects the execution of the print interruption processing command, the print main processing thread is instructed to end the processing.

【0028】ステップ214:使用者に対して、印刷中
断命令を実行中であることを示すために、印刷中断表示
を行う。
Step 214: A print interruption display is performed to indicate to the user that the print interruption command is being executed.

【0029】ステップ215:次の印刷処理のため、印
刷情報を初期化する。
Step 215: The print information is initialized for the next print processing.

【0030】ステップ216:次の印刷処理のため、プ
リンタを初期化する。
Step 216: Initialize the printer for the next printing process.

【0031】ステップ217:印刷中断処理の終了によ
り、印刷中断応答装置、印刷中断確認装置、印刷情報初
期化処理装置、プリンタ初期化処理装置等の終了処理を
行い、印刷中断処理スレッドを終了させる。
Step 217: Upon completion of the print interruption processing, the print interruption responding apparatus, the print interruption confirmation apparatus, the print information initialization processing apparatus, the printer initialization processing apparatus, etc. are terminated, and the print interruption processing thread is terminated.

【0032】[0032]

【発明の効果】以上説明したように本発明は、印刷中断
処理を印刷主処理と別スレッドにすることにより、瞬時
に印刷中断要求に反応することが出来る。また、プリン
タ等の終了・初期化処理を平行処理で行うことにより、
終了・初期化処理の終了を待たずに次の処理へと進める
ために、システムの効率的な利用ができる効果がある。
As described above, according to the present invention, the print interruption processing can be made to react with the print interruption request instantly by using the thread different from the printing main processing. In addition, by performing the end / initialization processing of the printer etc. in parallel processing,
There is an effect that the system can be used efficiently because the process is advanced to the next process without waiting for the completion of the termination / initialization process.

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

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

【図2】処理の概要を示すフローチャートである。FIG. 2 is a flowchart showing an outline of processing.

【図3】従来の一例を示すフローチャートである。FIG. 3 is a flowchart showing a conventional example.

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

1 印刷中断応答装置 2 印刷中断確認装置 3 印刷中断表示装置 4 印刷情報初期化装置 5 プリンタ初期化装置 6 印刷中断終了装置 1 Print Interruption Response Device 2 Print Interruption Confirmation Device 3 Print Interruption Display Device 4 Print Information Initialization Device 5 Printer Initialization Device 6 Print Interruption End Device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 印刷中断要求の発生を認識する印刷中断
応答装置と、前記印刷中断処理に伴う終了処理を行う印
刷中断終了装置を有することを特徴とする印刷中断処理
装置。
1. A print interruption processing apparatus comprising: a print interruption responding apparatus for recognizing the occurrence of a print interruption request; and a print interruption ending apparatus for performing an ending process associated with the print interruption process.
JP3204156A 1991-08-14 1991-08-14 Printing suspension processing device Pending JPH0542749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3204156A JPH0542749A (en) 1991-08-14 1991-08-14 Printing suspension processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3204156A JPH0542749A (en) 1991-08-14 1991-08-14 Printing suspension processing device

Publications (1)

Publication Number Publication Date
JPH0542749A true JPH0542749A (en) 1993-02-23

Family

ID=16485766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3204156A Pending JPH0542749A (en) 1991-08-14 1991-08-14 Printing suspension processing device

Country Status (1)

Country Link
JP (1) JPH0542749A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980051639A (en) * 1996-12-23 1998-09-25 김광호 How to stop printing
US6050734A (en) * 1994-11-29 2000-04-18 King Jim Co., Ltd. Tape printing device with cutter and program to allow for printing on the tape during an acceleration of the tape
KR20000032928A (en) * 1998-11-18 2000-06-15 윤종용 Method for cancelling print job
US7245123B2 (en) 2002-05-17 2007-07-17 Jtekt Corporation Rolling element bearing unit with sensor and hub unit with sensor
US8596146B2 (en) 2008-11-05 2013-12-03 Ntn Corporation Sensor-equipped bearing for wheel

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6050734A (en) * 1994-11-29 2000-04-18 King Jim Co., Ltd. Tape printing device with cutter and program to allow for printing on the tape during an acceleration of the tape
KR19980051639A (en) * 1996-12-23 1998-09-25 김광호 How to stop printing
KR20000032928A (en) * 1998-11-18 2000-06-15 윤종용 Method for cancelling print job
US7245123B2 (en) 2002-05-17 2007-07-17 Jtekt Corporation Rolling element bearing unit with sensor and hub unit with sensor
US8596146B2 (en) 2008-11-05 2013-12-03 Ntn Corporation Sensor-equipped bearing for wheel

Similar Documents

Publication Publication Date Title
JPH03127088A (en) Label printer
JPH0542749A (en) Printing suspension processing device
JP3179466B2 (en) Printing equipment
JPH056281A (en) Information processor
JPH0660002A (en) Mode setting system of output device
JP2821218B2 (en) Keyboard and information processing device
JP2665016B2 (en) Code conversion method
JP2000242594A (en) Information transmission system for terminal device
JP2504617B2 (en) Data read control method
JP2004062875A (en) Printing system, printer, and printing control method
JPH0462080A (en) Printing device
JP2516810B2 (en) Printer data reception interface
JP2569851B2 (en) Drawing device
JPH0671978A (en) Printer
JPH0639181B2 (en) Bar code printing controller
JPH0612198A (en) Printer device control circuit
JP3210598B2 (en) Print control device and print control method
JPH04290763A (en) Printing device
JPH07320066A (en) Image processor
JPH0225204B2 (en)
JPH03237526A (en) Printing device
JPH0281567A (en) Decoder
JPS59205642A (en) Information output device
JPS6327730B2 (en)
JPS62278630A (en) Printer device