JPH02201531A - Simultaneous exclusive control system for serial printer - Google Patents
Simultaneous exclusive control system for serial printerInfo
- Publication number
- JPH02201531A JPH02201531A JP1021216A JP2121689A JPH02201531A JP H02201531 A JPH02201531 A JP H02201531A JP 1021216 A JP1021216 A JP 1021216A JP 2121689 A JP2121689 A JP 2121689A JP H02201531 A JPH02201531 A JP H02201531A
- Authority
- JP
- Japan
- Prior art keywords
- message
- serial printer
- information
- printer device
- 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
Links
- 238000000034 method Methods 0.000 claims description 7
- 239000000203 mixture Substances 0.000 abstract 1
- 230000000694 effects Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はシリアルプリンタの同時排他制御方式〔従来の
技術〕
従来、この種のシステムでは、メツセージ印字用シリア
ルプリンタ装置と、帳票印字用シリアルプリンタ装置と
が別々に設置され、それぞれの印字出力が独立に行われ
るように構成されている。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a simultaneous exclusive control method for serial printers [Prior Art] Conventionally, in this type of system, a serial printer device for printing messages and a serial printer for printing forms have been used. The devices are installed separately, and each printout is performed independently.
−ト述した従来のシリアルプリンタの同時排他制御方式
は、メツセージ印字用シリアルプリンタ装置と、帳票印
字用シリアルプリンタ装置とが別々に設置されていたた
め、印字出力装置の設置にはシリアルプリンタ装置2台
分のコストがかかつていた。- In the conventional simultaneous exclusive control method for serial printers mentioned above, the serial printer device for printing messages and the serial printer device for printing forms were installed separately. The cost was high.
又、システム運用時に、メツセージ印字用シリアルプリ
ンタ装置が装置異常になりメ・7セ一ジ印字ができない
場合には、帳票印字用シリアルプリンタ装置にメツセー
ジ印字・帳票印字の両方を行わせるようなこともあるが
、メツセージ要求と帳票要求とが同時に行われた場合、
帳票印字行の中にメツセージ印字行が印字されるという
ように、帳票印字行とメツセージ印字行とが混在し、メ
・7セージと帳票とがともに見にくくなるという問題点
があった。Also, during system operation, if the serial printer device for printing messages becomes abnormal and cannot print a single page, the serial printer device for printing forms should be able to print both messages and forms. However, if a message request and a form request are made at the same time,
There is a problem that the message print line is printed in the form print line, so that the form print line and the message print line are mixed, making it difficult to see both the message and the form.
本発明の目的は、シリアルプリンタ装置の台数を減らす
ことができ、又、1台のシリアルプリンタ装置で、メツ
セージ印字行と帳票印字行とが混在することなく印字を
行うことができるシリアルプリンタの同時排他制御方式
を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to reduce the number of serial printer devices, and to simultaneously print messages and forms without mixing message print lines and form print lines with one serial printer device. The objective is to provide an exclusive control method.
〔課題を解決するための手段〕
本発明のシリアルプリンタの同時排他制御方式(A)メ
ツセージ編集要求にもとずきメツセージを編集するメツ
セージ印字情報編集手段、(B)前記メツセージ印字情
報編集手段により編集されたメツセージをシリアルプリ
ンタに出力するメツセージ印字行出力手段、
(C)帳票編集要求にもとずき帳票印字情報の編集を行
う帳票印字情報編集手段、
(D)前記帳票印字情報編集手段により編集された帳票
を前記シリアルプリンタに出力する帳票印字行出力手段
、
(E)前記シリアルプリンタの稼働情況を記憶するシリ
アルプリンタ装置管理テーブル、を有した中央処理装置
と、
(F)前記メツセージ印字情報編集手段により編集され
たメツセージ情報を一時格納するメツセージ印字行情報
格納ファイル、
(G)前記帳票印字情報編集手段により編集された帳票
情報を一時格納する帳票編集要求情報格納ファイル、
を有した固定磁気ディスク装置とを備えて構成されてい
る。[Means for Solving the Problems] A simultaneous exclusive control method for a serial printer according to the present invention: (A) message print information editing means for editing a message based on a message editing request; (B) by the message print information editing means. Message print line output means for outputting the edited message to a serial printer; (C) form print information editing means for editing form print information based on a form editing request; (D) by the form print information editing means. a central processing unit having a form print line output means for outputting the edited form to the serial printer; (E) a serial printer device management table that stores operating status of the serial printer; and (F) the message print information. A fixed magnetic field comprising: a message print line information storage file that temporarily stores the message information edited by the editing means; (G) a form editing request information storage file that temporarily stores the form information edited by the form print information editing means. It is configured with a disk device.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
第1図に示すシリアルプリンタの同時排他制御方式は、
中央処理装置1、シリアルプリンタ装置2、固定磁気デ
ィスク装置3、固定磁気ディスク装置3に内蔵されるメ
ツセージ印字行情報格納ファイル4、帳票編集要求情報
格納ファイル5、メツセージ印字情報編集手段6、メツ
セージ印字行出力手段7、帳票印字情報編集手段8、帳
票印字行出力手段9、シリアルプリンタ装置管理テーブ
ル10から構成されている。The simultaneous exclusive control method of the serial printer shown in Figure 1 is as follows:
Central processing unit 1, serial printer device 2, fixed magnetic disk device 3, message printing line information storage file 4 built in the fixed magnetic disk device 3, form editing request information storage file 5, message printing information editing means 6, message printing It consists of a line output means 7, a form print information editing means 8, a form print line output means 9, and a serial printer management table 10.
次に、動作を説明する。Next, the operation will be explained.
メツセージ印字行情報格納ファイル4には操作記録及び
状態変化記録メツセージなどが、又、帳票編集要求情報
格納ファイル5には帳票編集要求情報が格納されている
。The message print line information storage file 4 stores operation records and status change record messages, and the form editing request information storage file 5 stores form editing request information.
さらに、シリアルプリンタ装置管理テーブル10には、
シリアルプリンタ装置2が「使用中」か、「待機中」か
の、どちらかの情報が設定されている。Furthermore, in the serial printer device management table 10,
Information indicating whether the serial printer device 2 is "in use" or "on standby" is set.
次に、メツセージ印字情報編集手段6に対して、メツセ
ージ編集要求11が行われたときの動作について説明す
る。Next, the operation when a message editing request 11 is made to the message print information editing means 6 will be explained.
メツセージ印字情報編集手段6に対してメ・ンセージ編
集要求11が行われたとき、メ・ノセージ印字情報編集
手段6では、該当のメツセージを編集する。編集後、シ
リアルプリンタ装置2が使用中かどうかシリアルプリン
タ装置管理テーブル10を参照する。When a message editing request 11 is made to the message print information editing means 6, the message print information editing means 6 edits the corresponding message. After editing, the serial printer management table 10 is referred to see if the serial printer 2 is in use.
シリアルプリンタ装置管理テーブル10がシリアルプリ
ンタ装置2「待機中」となっていた場合、メツセージ印
字情報編集手段6はシリアルプリンタ装置管理テーブル
10を、シリアルプリンタ装置2「使用中」に設定した
後、メツセージ印字行出力手段7に対してメツセージ印
字行出力要求12を行い、メツセージがシリアルプリン
タ装置在2によって印字出力される。When the serial printer device management table 10 indicates that the serial printer device 2 is “on standby,” the message print information editing means 6 sets the serial printer device management table 10 to the serial printer device 2 “in use,” and then prints the message. A message print line output request 12 is made to the print line output means 7, and the message is printed out by the serial printer device 2.
メツセージ印字出力の完了を検出したメツセージ印字情
報編集手段6は、シリアルプリンタ装置管理テーブル1
0をシリアルプリンタ装置2「待機中」に設定した後、
帳票印字情報編集手段8に対してメツセージ印字出力終
了通知13を行つ。The message print information editing means 6 detects the completion of the message printout and outputs the message from the serial printer management table 1.
After setting 0 to serial printer device 2 "standby",
A message print output completion notification 13 is sent to the form print information editing means 8.
シリアルプリンタ装置管理テーブル10がシリアルプリ
ンタ装置2「使用中」となっていた場合、メツセージ印
字情報編集手段6は編集したメツセージをメツセージ印
字行情報格納ファイル4に格納する。このメツセージの
格納時、メツセージ印字行情報格納ファイル4に設定さ
れ、現在、何個のメツセージ印字行情報が格納されてい
るのかを示す格納情報数を「七1」する。If the serial printer device management table 10 indicates that the serial printer device 2 is "in use," the message print information editing means 6 stores the edited message in the message print line information storage file 4. When this message is stored, the number of stored information, which is set in the message print line information storage file 4 and indicates how many pieces of message print line information are currently stored, is set to "71".
次に、帳票印字情報編集手段8は、シリアルプリンタ装
置管理テーブル10を参照し、シリアルプリンタ装置2
「待機中」となっていた場合、シリアルプリンタ装置管
理テーブル10をシリアルプリンタ装置2「使用中」に
設定し、該当の帳票印字情報の編集を行った後、帳票印
字行出力手段9に対して帳票印字行出力要求16を行い
、帳票かシリアルプリンタ装置2によって印字出力され
る。Next, the form printing information editing means 8 refers to the serial printer device management table 10 and prints the serial printer device 2.
If it is "on standby", set the serial printer device management table 10 to "in use" for the serial printer device 2, edit the corresponding form printing information, and then send it to the form printing line output means 9. A form print line output request 16 is made, and the form is printed out by the serial printer device 2.
帳票印字出力の完了を検出した帳票印字情報編集手段8
は、シリアルプリンタ装置管理テーブル10をシリアル
プリンタ装置2「待機中」に設定した後、メツセージ印
字情報編集手段6に対して帳票印字出力終了通知17を
行う。Form print information editing means 8 that detects completion of form print output
After setting the serial printer device 2 to “on standby” in the serial printer device management table 10, it notifies the message print information editing means 6 of the completion of form print output 17.
シリアルプリンタ装置管理テーブル10がシリアルプリ
ンタ装置2「使用中」となっていた場合、帳票印字情報
編集手段8は自分自身に対して行われた帳票編集要求1
5の情報を帳票編集要求情報格納ファイル5に格納する
。この情報の格納時、帳票編集要求端ψf’を格納ファ
イル5に設定され、現在、帳票編集要求情報格納ファイ
ル5に何個の帳票編集要求情報が格納されているのかを
示す格納情報数を「+1」する。When the serial printer device management table 10 indicates that the serial printer device 2 is “in use,” the form printing information editing means 8 receives the form editing request 1 made to itself.
5 is stored in the form editing request information storage file 5. When storing this information, the form edit request end ψf' is set in the storage file 5, and the number of stored information indicating how many pieces of form edit request information are currently stored in the form edit request information storage file 5 is set as "+1".
Pi後に、メツセージ印字、又は、帳票印字を行うとき
に、シリアルプリンタ装置2が「使用中」であったため
に、印字処理が行えなかったメツセージ、又は、帳票の
印字処理について、帳票印字を例にとり動作を説明する
。When printing messages or forms after Pi, the printing process for messages or forms that could not be performed because the serial printer device 2 was "in use" will be explained using form printing as an example. Explain the operation.
帳票印字情報編集手段8にメツセージ印字出力終了通知
13が行われたタイミングで、帳票印字情報編集手段8
は、帳票編集要求情報格納ファイル5から格納されてい
る帳票編集情報を1つ収り出す。そして、シリアルプリ
ンタ装置管理テーブル10をシリアルプリンタ装置2「
使用中」に設定し、該当帳票の編集・印字出力処理を行
う。終了後、シリアルプリンタ装置管理テーブル10を
シリアルプリンタ装置2「待機中」にして、メツセージ
印字情報編集手段6に対して帳票印字出力終了通知17
を行う。At the timing when the message print output end notification 13 is sent to the form print information editing means 8, the form print information editing means 8
extracts one piece of form editing information stored from the form editing request information storage file 5. Then, the serial printer device management table 10 is
"In use" and edit and print out the corresponding form. After the completion, the serial printer device management table 10 is set to “standby” for the serial printer device 2, and a form print output completion notification 17 is sent to the message print information editing means 6.
I do.
又、メツセージ印字+rgWi編集手段6は、処理終了
時に、帳票印字情報編集手段8に対してメツセージ印字
出力終了通知を行い、帳票印字情報編集手段8は、その
通知を受けたタイミングで1つの要求に対応する帳票の
編集・出力を行う。Furthermore, the message printing + rgWi editing means 6 notifies the form printing information editing means 8 of the completion of the message printing output at the end of the processing, and the form printing information editing means 8 responds to one request at the timing of receiving the notification. Edit and output the corresponding form.
この動作が帳票編集要求情報格納ファイル5内から帳票
編集要求情報がなくなるまで、繰返される。This operation is repeated until there is no longer any form editing request information in the form editing request information storage file 5.
又、メツセージ印字時にシリアルプリンタ装置2が「使
用中」で印字できなかったメツセージの印字についても
、帳票印字出力が終了するとメツセージ印字行情報格納
ファイル4に格納されている編集されたメツセージを取
り出して印字出力される。Furthermore, even if a message cannot be printed because the serial printer device 2 is "in use" when printing a message, the edited message stored in the message print line information storage file 4 is retrieved once the form printout is completed. Printed out.
このようにして、シリアルプリンタ装置管理テーブル1
0を利用して先着要求優先受は付けでシリアルプリンタ
装置2の資源管理を行うため、帳票印字行の中にメツセ
ージ印字行が混在する−ことはなくなる。In this way, serial printer device management table 1
0 is used to manage the resources of the serial printer 2 on a first-come, first-served basis, so message print lines are no longer mixed in form print lines.
以上説明したように、本発明は、シリアルプリンタ装置
を共有することにより、シリアルプリンタ装置の台数を
減らすことができるという効果を有する。As explained above, the present invention has the effect that the number of serial printer devices can be reduced by sharing the serial printer devices.
又、1台のシリアルプリンタ装置で、メツセージ印字行
と帳票印字行とが混在することなく印字を行うことがで
きるという効果を有する。Further, there is an effect that printing can be performed using one serial printer device without mixing message print lines and form print lines.
15・・・帳票編集要求、16・−・帳票印字行出力要
求、17・・・帳票印字出力終了通知。15... Form editing request, 16... Form print line output request, 17... Form print output completion notification.
Claims (1)
するメッセージ印字情報編集手段、 (B)前記メッセージ印字情報編集手段により編集され
たメッセージをシリアルプリンタに出力するメッセージ
印字行出力手段、 (C)帳票編集要求にもとずき帳票印字情報の編集を行
う帳票印字情報編集手段、 (D)前記帳票印字情報編集手段により編集された帳票
を前記シリアルプリンタに出力する帳票印字行出力手段
、 (E)前記シリアルプリンタの稼働情況を記憶するシリ
アルプリンタ装置管理テーブル、 を有した中央処理装置と、 (F)前記メッセージ印字情報編集手段により編集され
たメッセージ情報を一時格納するメッセージ印字行情報
格納ファイル、 (G)前記帳票印字情報編集手段により編集された帳票
情報を一時格納する帳票編集要求情報格納ファイル、 を有した固定磁気ディスク装置とを備えたことを特徴と
するシリアルプリンタの同時排他制御方式。[Scope of Claims] (A) Message print information editing means for editing a message based on a message editing request; (B) A message print line for outputting the message edited by the message print information editing means to a serial printer. (C) a form printing information editing means that edits the form printing information based on a form editing request; (D) a form printing that outputs the form edited by the form printing information editing means to the serial printer. a central processing unit having: a line output means; (E) a serial printer device management table that stores operational status of the serial printer; and (F) a message that temporarily stores message information edited by the message print information editing means. A serial printer comprising: a fixed magnetic disk device having: a print line information storage file; and (G) a form editing request information storage file that temporarily stores form information edited by the form printing information editing means. simultaneous exclusive control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1021216A JPH02201531A (en) | 1989-01-30 | 1989-01-30 | Simultaneous exclusive control system for serial printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1021216A JPH02201531A (en) | 1989-01-30 | 1989-01-30 | Simultaneous exclusive control system for serial printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02201531A true JPH02201531A (en) | 1990-08-09 |
Family
ID=12048816
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1021216A Pending JPH02201531A (en) | 1989-01-30 | 1989-01-30 | Simultaneous exclusive control system for serial printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02201531A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04257916A (en) * | 1991-02-12 | 1992-09-14 | Fujitsu Ltd | Data output processing system |
-
1989
- 1989-01-30 JP JP1021216A patent/JPH02201531A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04257916A (en) * | 1991-02-12 | 1992-09-14 | Fujitsu Ltd | Data output processing system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02201531A (en) | Simultaneous exclusive control system for serial printer | |
| JPH1191210A (en) | Printer system and recording medium on which control program is recorded | |
| JPS6054040A (en) | Print controller | |
| JP2665185B2 (en) | Data transmission system | |
| JPS5987539A (en) | Controlling system of printing device | |
| JPH0581264A (en) | Print server system | |
| JPS62184528A (en) | Printer controlling and processing system | |
| JPH04330516A (en) | Control system for printer corresponding to multi-job | |
| JP2707812B2 (en) | Facsimile transmission data management method | |
| JPH10283416A (en) | On-line document output control system | |
| JPS6113330A (en) | Data managing device | |
| JPH0353758A (en) | Facsimile equipment | |
| JPS59167175A (en) | Picture data processing device | |
| JP2716927B2 (en) | Form output device | |
| JPH0290315A (en) | Multi-processing japanese word printer | |
| JPH02281331A (en) | Hard copy system for computer system | |
| JPS6299857A (en) | Data transmission system between central processing units | |
| JPS61131118A (en) | Print managing system | |
| JPH0292673A (en) | End printer book/slip output system | |
| JPH09245098A (en) | Form creation system and form printing control method | |
| JPH03271969A (en) | Document issue control system | |
| JPH04340622A (en) | Possible output methods for priority | |
| JPS58175050A (en) | Printing system | |
| JPH06103006A (en) | Document preparation system | |
| JPH04249450A (en) | Telegraphic message receiving processor |