JPS6260026A - Spool processor - Google Patents

Spool processor

Info

Publication number
JPS6260026A
JPS6260026A JP60200066A JP20006685A JPS6260026A JP S6260026 A JPS6260026 A JP S6260026A JP 60200066 A JP60200066 A JP 60200066A JP 20006685 A JP20006685 A JP 20006685A JP S6260026 A JPS6260026 A JP S6260026A
Authority
JP
Japan
Prior art keywords
printer
output
print data
spool
processing
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
JP60200066A
Other languages
Japanese (ja)
Inventor
Yoichi Nakajima
洋一 中嶋
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP60200066A priority Critical patent/JPS6260026A/en
Publication of JPS6260026A publication Critical patent/JPS6260026A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To output print data independently however many printers are installed actually in a system by providing an output processor which reads the print data out of an external storage device and outputs it to the printers. CONSTITUTION:The print data is sent to a printer output control part 11 and a busy monitoring part 12 checks whether a printer 16 is in printing operation or not. When the printer 16 is in printing operation, the print data is sent to a spool processing part 17 and each output request unit is given a file name for spooling printer output images and outputted to a file on a disk device 19. When an application processing part 10 which is in printing operation on the printer 16 generates a macroinstruction CLOSE and when the printer 16 becomes free, that is reported to an output processing part 20. At this time, the processing part 20 reads the print data out of a device 19 according to spool file information controlled by a spool queue control part 18 and sends it to the control part 11, which prints it out on the printer 16.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はスプール処理装置、特に比較的小型のコンピュ
ータ・システムにおいて、各々独立して動作する処理主
体からの印字データを2例えば1台のプリンタに、各処
理主体毎に整理して出力できるようにしたスプール処理
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is a spool processing device, particularly a relatively small-sized computer system, in which print data from processing entities that each operate independently is transferred to two printers, for example, one printer. The present invention relates to a spool processing device that is capable of organizing and outputting data for each processing entity.

〔従来の技術と問題点〕[Conventional technology and problems]

比較的小型のコンピュータ・システムにおいても、いわ
ゆるマルチタスク構成により、複数のデータ処理主体が
、各々独立して動作できるような機能が提供されてきて
いる。各処理主体が、データ処理結果をプリンタに印字
出力するとき、各処理主体の数だけプリンタがあれば、
各処理主体毎にプリンタを割当てて処理結果を印字でき
るので問題はない。しかし1通常、プリンタはシステム
に1台ないし2台程度しかないのが普通であり。
Even in relatively small-sized computer systems, a so-called multitasking configuration has provided a function that allows a plurality of data processing entities to operate independently. When each processing entity prints out data processing results to a printer, if there are as many printers as there are processing entities,
There is no problem because a printer can be assigned to each processing entity and the processing results can be printed. However, 1.Normally, there are only one or two printers in a system.

その場合に、それぞれの処理主体が、独立にプリンタに
対する印字要求を行うと1例えば印字の行単位に各処理
主体が出力する印字データが混在してバラバラに出力さ
れてしまうことになる。
In this case, if each processing entity makes a print request to the printer independently, the print data output by each processing entity will be mixed and output separately, for example, for each line of printing.

そのため、従来、各処理主体が、ユーザレベルでプリン
タ出力に関する排他制御を行わなければならず、処理負
担ないし操作負担が大きいという問題があった。
Therefore, in the past, each processing entity had to perform exclusive control regarding printer output at the user level, posing a problem of a heavy processing or operational burden.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点の解決を図り、システムに設置した
プリンタが何台であっても、各処理主体が、各々プリン
タを占有しているかのように出力できるスプール処理装
置を提供する。
The present invention aims to solve the above-mentioned problems and provides a spool processing device that allows each processing entity to output as if it were occupying each printer, regardless of how many printers are installed in the system.

そのため2本発明のスプール処理装置は、オペレーティ
ング・システム内に設けられるプリンタ出力制御部にお
いて、プリンタ使用中に関する管理を行い、既に他の応
用処理部である処理主体が。
Therefore, in the spool processing device of the present invention, the printer output control unit provided in the operating system manages the printer while it is in use, and the processing main body, which is another application processing unit, already manages the printer output control unit provided in the operating system.

プリンタに印字中であって、プリンタがビジーであると
、後からの出力要求に係る応用処理部からの印字データ
を、磁気ディスク装置等の外部記憶装置に一旦スプール
しておくようにし、実際のプリンタが空きになった時点
で、出力要求の順に外部記憶装置にスプールしておいた
印字データを読み出して、プリンタに出力する手段を設
けている。
When printing is in progress and the printer is busy, the print data from the application processing unit related to a later output request is temporarily spooled in an external storage device such as a magnetic disk device, and the actual print data is When the printer becomes vacant, means is provided for reading the print data spooled in the external storage device in the order of output requests and outputting it to the printer.

〔作用〕[Effect]

本発明によれば、プリンタのビジー状態によって、印字
データが実際のプリンタに出力されるか。
According to the present invention, print data is output to the actual printer depending on the busy state of the printer.

外部記憶装置ヘスプールされるかの処理が、自動的に行
われるので、各応用処理部は、実際のプリンタの使用状
態を意識することな(2それぞれ仮想的なプリンタを占
有しているかのように、印字データを出力できることと
なる。
Since the process of spooling to an external storage device is automatically performed, each application processing unit does not have to be aware of the actual usage status of the printer (2. , print data can be output.

〔実施例〕〔Example〕

第1図は本発明の一実施例ブロック図、第2図は本発明
の一実施例動作説明図を示す。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is an explanatory diagram of the operation of an embodiment of the present invention.

図中、10は各々独立した印字出力要求を行う応用処理
部、11はプリンタに対する印字出力要求を制御するプ
リンタ出力制御部、12はプリンタのビジー状態を監視
するビジー監視部、13はプリンタのビジー状態によっ
て印字データの出力先を切替える出力切替部、14は印
字データをスプール処理部へ送出するスプール出力部、
15は印字データをプリンタに出力する印字出力部、1
6はプリンタ、17は印字データを外部記憶装置ヘスプ
ールするスプール処理部、18は各応用処理部10から
の出力要求単位に印字データの管理情報をキューによっ
て管理するスプールキュー管理部、19はスプール対象
のデバイスであるディスク装置、20はプリンタ16が
空きになったときスプールされている印字データをディ
スク装置19から読み出してプリンタ出力制御部11へ
出力依頼を行う出力処理部を表す。
In the figure, reference numeral 10 indicates an application processing unit that makes independent print output requests, 11 indicates a printer output control unit that controls print output requests to the printer, 12 indicates a busy monitoring unit that monitors the busy state of the printer, and 13 indicates a busy state of the printer. an output switching unit that switches the output destination of the print data depending on the state; 14 is a spool output unit that sends the print data to the spool processing unit;
15 is a print output unit that outputs print data to the printer;
6 is a printer; 17 is a spool processing unit that spools print data to an external storage device; 18 is a spool queue management unit that manages print data management information using a queue for each output request from each application processing unit 10; and 19 is a spool target. A disk device 20 represents an output processing section that reads spooled print data from the disk device 19 when the printer 16 becomes vacant and requests the printer output control section 11 to output it.

各応用処理部10は、一連の印字データを出力するとき
、従来と同様にいわゆる0PENコマンドにより5出力
嬰求を通知する。そして、一連の印字データの出力が終
了したとき、CLO3Eコマンドにより、終了を通知す
る。本発明の場合。
When each application processing section 10 outputs a series of print data, it notifies the request for 5 outputs using a so-called 0PEN command, as in the past. When the output of a series of print data is completed, the CLO3E command is used to notify the end. In the case of the present invention.

0PENコマンドが発行されると、システムに実際に設
置されているプリンタ16の台数に関係なく、ある仮想
的なプリンタPRN iが割当てられる。各応用処理部
10は、仮想プリンタPRNiが実際のプリンタである
かのように、以後、ct。
When the 0PEN command is issued, a certain virtual printer PRN i is assigned, regardless of the number of printers 16 actually installed in the system. From now on, each application processing unit 10 uses ct as if the virtual printer PRNi were an actual printer.

O3Eコマンドを発行するまで、印字データを出力する
ことができる。
Print data can be output until the O3E command is issued.

印字データは、プリンタ出力制御部11へ送られ、ビジ
ー監視部12は、プリンタ16が印字中かどうかのチェ
ックを行う。印字中でない場合。
The print data is sent to the printer output control section 11, and the busy monitoring section 12 checks whether the printer 16 is printing. When not printing.

出力切替部13を介して、印字データが印字出力要求5
へ送られ、印字出力部15はプリンタ16へデータを出
力する。プリンタ16が、他の応用処理部10による印
字データを印字中である場合には、出力切替部13を介
して、印字データをスプール出力部14へ送り2スプ一
ル出力部14からスプール処理部17へ、印字データが
送られる。
The print data is sent to the print output request 5 via the output switching unit 13.
The print output section 15 outputs the data to the printer 16. When the printer 16 is printing print data from another application processing section 10, the print data is sent to the spool output section 14 via the output switching section 13 and from the spool output section 14 to the spool processing section. Print data is sent to 17.

スプール処理部17では、出力要求単位にプリンタ出力
イメージをスプールするファイル名を付与し、印字デー
タをディスク装置19上のファイルに出力する。スプー
ルキュー管理部18は、そのスプールファイルをキュー
管理する。
The spool processing unit 17 assigns a file name for spooling the printer output image to each output request, and outputs the print data to a file on the disk device 19. The spool queue management unit 18 manages the spool file as a queue.

プリンタ16に印字していた応用処理部10が。The application processing unit 10 was printing on the printer 16.

CL OS Eマクロを発行し、プリンタ16が空きに
なると、出力処理部20へ空き通知がなされる。
When the CLOSE macro is issued and the printer 16 becomes vacant, the output processing section 20 is notified of its availability.

このとき、出力処理部20は、スプールキュー管理部1
8が管理するスプールファイル情報に従って、ディスク
装置19からファイルに格納されている印字データを読
み出し、プリンタ出力制御部11へ送り、プリンタ16
への印字出力を行う。
At this time, the output processing section 20 outputs the spool queue management section 1.
According to the spool file information managed by the printer 16
Print output to .

第2図は、第1から第3までの3個の応用処理部10が
、それぞれ仮想プリンタPRNI、PRN2.PRN3
に、印字データを出力する処理動作の例を示している。
FIG. 2 shows that three application processing units 10, first to third, are connected to virtual printers PRNI, PRN2. PRN3
2 shows an example of a processing operation for outputting print data.

第2図における仮想プリンタPRN1ないしPRN3の
エントリにおいて。
In the entries for virtual printers PRN1 to PRN3 in FIG.

白丸から黒丸までの期間は、0PENコマンドを受は取
ってから、CLO3Eコマンドを受は取るまでの間を示
す。実プリンタPRNの場合、白丸から黒丸までの期間
は、スプールファイルをoPENしてCLO5Eするま
での間を示す。
The period from the white circle to the black circle indicates the period from when the 0PEN command is received until when the CLO3E command is received. In the case of a real printer PRN, the period from the white circle to the black circle indicates the period from oPEN to CLO5E of the spool file.

最初、第1の応用処理部loが、仮想プリンタPRN 
1に出力すると、プリンタ16は空き状態にあるので、
印字データはプリンタ16に直接印字される。このとき
、第2の応用処理部1oが。
Initially, the first application processing unit lo uses the virtual printer PRN.
1, the printer 16 is empty, so
The print data is directly printed on the printer 16. At this time, the second application processing section 1o.

仮想プリンタPRN2に印字データを出力すると。When print data is output to virtual printer PRN2.

プリンタ16はビジーであるため、印字データは。Since the printer 16 is busy, the print data is.

スプールファイル(ファイル名F21)に出力される。It is output to a spool file (file name F21).

スプール(SP)キューエリアには、そのファイル名が
、0PENコマンドを受は取った順番に登録される。
The file names are registered in the spool (SP) queue area in the order in which the 0PEN commands are received.

スプールファイル(ファイル名F21)に格納された印
字データは、仮想プリンタPRNIによる出力が終了し
、プリンタ16が空きになった時点で、出力処理部20
に割当てられた実プリンタPRNを介して、印字出力さ
れる。このとき、第3の応用処理部10からの要求に係
る仮想プリンタPRN3への出力要求があると、同様に
、スプールファイル(ファイル名F31)へのスプール
が行われる。以下、同様に第2図に示すように。
The print data stored in the spool file (file name F21) is transferred to the output processing unit 20 when the output by the virtual printer PRNI is finished and the printer 16 becomes vacant.
It is printed out via the real printer PRN assigned to . At this time, when there is an output request to the virtual printer PRN3 in response to a request from the third application processing unit 10, spooling to the spool file (file name F31) is similarly performed. Hereinafter, similarly as shown in FIG.

印字データの出力処理が行われていく。Print data output processing is performed.

上記実施例では、実際のプリンタが1合である場合を説
明したが、プリンタが2台以上ある場合にも、同様に仮
想プリンタと実プリンタとを対応づけることにより、ス
プールによる印字制御を行うことが可能である。
In the above embodiment, the case where there is only one actual printer was explained, but even when there are two or more printers, printing control using spooling can be performed by similarly associating the virtual printer and the real printer. is possible.

〔発明の効果〕 以上説明したように9本発明によれば、システムに実際
に設置されるプリンタが何台であっても。
[Effects of the Invention] As explained above, according to the present invention, no matter how many printers are actually installed in the system.

各応用処理部は、各々独立に印字データを出力すること
ができ、応用処理部における排他制御の処理が簡易化さ
れ、また、他の応用処理部による印字終了を待ち合わせ
る必要がないので、印字データをスプール後に、直ちに
次の処理へ移行することができるようになる。
Each application processing section can output print data independently, simplifying exclusive control processing in the application processing section, and eliminating the need to wait for other application processing sections to finish printing. After spooling, you can immediately move on to the next process.

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

第1図は本発明の一実施例ブロック図、第2図は本発明
の一実施例動作説明図を示す。 図中、10は応用処理部、11はプリンタ出力制御部、
12はビジー監視部、13は出力切替部。 I4はスプール出力部、15は印字出力部、16はプリ
ンタ、17はスプール処理部、18はスプールキュー管
理部、19はディスク装r、20は出力処理部を表す。 特許出願人   アルプス電気株式会社代理人弁理士 
 森 1) 寛(外3名)A爬明り一゛(ネし例 第1図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is an explanatory diagram of the operation of an embodiment of the present invention. In the figure, 10 is an application processing section, 11 is a printer output control section,
12 is a busy monitoring section, and 13 is an output switching section. I4 represents a spool output section, 15 a print output section, 16 a printer, 17 a spool processing section, 18 a spool queue management section, 19 a disk device r, and 20 an output processing section. Patent applicant: Patent attorney representing Alps Electric Co., Ltd.
Mori 1) Hiroshi (3 others)

Claims (1)

【特許請求の範囲】 プリンタ(16)を備え、複数の応用処理部(10)が
各々独立に上記プリンタ(16)に印字データを出力す
るデータ処理システムにおいて、 上記プリンタ(16)のビジー状態を監視するビジー監
視部(12)と、 上記プリンタ(16)のビジー状態によって、印字デー
タの出力先を切替える出力切替部(13)と、上記プリ
ンタ(16)が、ある応用処理部から要求された印字デ
ータを印字しているときに、後の要求に係る他の応用処
理部からの印字データを外部記憶装置にスプールする処
理を行うスプール処理部(17)と、 上記プリンタ(16)が空き状態になったときに、スプ
ールされた順番に従って、印字データを上記外部記憶装
置から読み出し、上記プリンタ(16)へ出力する出力
処理部(20)とを備えたことを特徴とするスプール処
理装置。
[Claims] In a data processing system including a printer (16) and in which a plurality of application processing units (10) each independently output print data to the printer (16), the busy state of the printer (16) is A busy monitoring unit (12) that monitors, an output switching unit (13) that switches the output destination of print data depending on the busy state of the printer (16), and the printer (16) when requested by a certain application processing unit. When print data is being printed, the spool processing unit (17), which performs processing to spool print data from other application processing units related to subsequent requests to an external storage device, and the printer (16) are in an idle state. A spool processing device comprising: an output processing unit (20) that reads print data from the external storage device according to the spooled order when the print data is spooled, and outputs the read data to the printer (16).
JP60200066A 1985-09-10 1985-09-10 Spool processor Pending JPS6260026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60200066A JPS6260026A (en) 1985-09-10 1985-09-10 Spool processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60200066A JPS6260026A (en) 1985-09-10 1985-09-10 Spool processor

Publications (1)

Publication Number Publication Date
JPS6260026A true JPS6260026A (en) 1987-03-16

Family

ID=16418272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60200066A Pending JPS6260026A (en) 1985-09-10 1985-09-10 Spool processor

Country Status (1)

Country Link
JP (1) JPS6260026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4995103A (en) * 1988-09-14 1991-02-19 Hitachi, Ltd. Print control method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4995103A (en) * 1988-09-14 1991-02-19 Hitachi, Ltd. Print control method and system

Similar Documents

Publication Publication Date Title
TWI239450B (en) Apparatus, computer readable recording medium, and method for yielding to a processor within a logically partitioned data processing system
US4701848A (en) System for effectively paralleling computer terminal devices
JPH09174964A (en) Processor for page description language
JPS6260026A (en) Spool processor
JP2000132347A (en) Printing method, printer executing the same and storage medium
JP2000353064A (en) Printing control method for generating and transmitting printing command, printing controller and recording medium recording program for the same
JPH03282727A (en) Universal print control system in distributed processing
JPH11184800A (en) Data processor and system constitution method
JPH11184801A (en) Interface device and data processing system
JP3144197B2 (en) Printing equipment
JP2752696B2 (en) Printer control method under network environment
JPH10264455A (en) Printer and operating method thereof
JPH11234463A (en) Data processing unit, control method for data processing system and storage medium storing program
JP3196180B2 (en) Image processing system
JPH0216626A (en) Printer output control system
JP2003150367A (en) Print controller, print control method, storage medium and program
JPS62184528A (en) Printer controlling and processing system
JP2000132400A (en) Picture processor in modular-type picture processing system, recording medium which records memory management program applied to processor and which computer can read and memory management method
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JPH0884213A (en) Facsimile equipment with host connection function
JP2000156750A (en) Operating system for facsimile equipment
JPH05108582A (en) Computer system
JPH05241749A (en) Form control method for business for system
JPH0683917A (en) Image storage device
JPH0747331B2 (en) Image recording device control device