JP3012748B2 - Computer system and form editing and output device - Google Patents

Computer system and form editing and output device

Info

Publication number
JP3012748B2
JP3012748B2 JP4347038A JP34703892A JP3012748B2 JP 3012748 B2 JP3012748 B2 JP 3012748B2 JP 4347038 A JP4347038 A JP 4347038A JP 34703892 A JP34703892 A JP 34703892A JP 3012748 B2 JP3012748 B2 JP 3012748B2
Authority
JP
Japan
Prior art keywords
data
printer
computer
output
image data
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.)
Expired - Fee Related
Application number
JP4347038A
Other languages
Japanese (ja)
Other versions
JPH06195186A (en
Inventor
章一 鈴木
弥 杉山
直人 小松
隆志 大脇
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4347038A priority Critical patent/JP3012748B2/en
Publication of JPH06195186A publication Critical patent/JPH06195186A/en
Application granted granted Critical
Publication of JP3012748B2 publication Critical patent/JP3012748B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は計算機システム及び帳票
編集出力装置にかかわり、特にプリンタと計算機間に設
置することによって、プリンタ出力のプログラミングイ
ンタフェースを向上することのできる帳票編集出力装置
及びそれらを含めた計算機システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system and a form editing and outputting apparatus, and more particularly to a form editing and outputting apparatus which can be installed between a printer and a computer to improve a programming interface of a printer output and includes the same. Computer system.

【0002】[0002]

【従来の技術】複数のプリンタが接続されたプリンタネ
ットワーク内のプリンタへ、計算機から帳票データを出
力する場合、まず使用するプリンタの名称と、それに続
いて帳票データをスプールファイルへ送信し送信順にデ
ータを格納する。次にこのスプールファイルに格納され
た受信データを順次取り出して、使用するプリンタに対
応した物理制御コードに変換し、その変換結果をプリン
タに送信することで帳票出力を行っている。
2. Description of the Related Art When outputting form data from a computer to a printer in a printer network to which a plurality of printers are connected, first, the name of the printer to be used, and then the form data are transmitted to a spool file and the data is transmitted in the order of transmission. Is stored. Next, the received data stored in the spool file is sequentially taken out, converted into a physical control code corresponding to the printer to be used, and the conversion result is transmitted to the printer to output a form.

【0003】このような帳票出力においては、(1)ホ
スト計算機側の帳票出力プログラムでプリンタ名称を意
識し、且つ、印刷順序を意識してデータ送信を行い、更
に、1つの帳票を形成するデ−タ群は、連続して送信し
なければならない。(2)また、ホスト計算機側の複数
の帳票出力プログラムから帳票出力要求が行われた場合
には、後から要求された帳票デ−タの出力待ちとする
か、またはホスト計算機側の帳票出力プログラムで、他
の帳票出力プログラムより発行される帳票出力要求を常
に意識するなどの方法により、ホスト計算機側で帳票出
力処理が競合しないように管理する必要がある。(3)
また、ホスト計算機側で出力するプリンタの物理制御コ
−ドを意識しなくてもよいようにする為には、前記の変
換モジュールを帳票出力するプリンタ台数分用意しなけ
ればならない。
[0003] In such a form output, (1) data transmission is performed in a form output program on the host computer side in consideration of a printer name and a printing order, and further, a data for forming one form. -Data groups must be transmitted continuously. (2) When a plurality of form output programs on the host computer side issue a form output request, the system waits for output of the form data requested later, or the form output program on the host computer side. Therefore, it is necessary to manage the form output processing on the host computer side so as not to conflict with each other by always considering the form output request issued by another form output program. (3)
Further, in order to avoid having to be aware of the physical control code of the printer output on the host computer side, it is necessary to prepare the above-mentioned conversion modules for the number of printers outputting the form.

【0004】以上のような、プリンタ出力の為の対応を
すべて計算機側で行うには、帳票出力用のプログラムが
大きくなり、多くのメモリを必要とし、また出力用のプ
ログラム作成の手間が増える。そこで特開平3ー245
221号に開示された技術では、1つの計算機内で帳票
出力要求が競合しないこと、(計算機と帳票出力とが1
対1であること)、サーバに送信するデータは、送信前
にすべて同一インターフェースのデータに変換するこ
と、同一インターフェースのデータに交換する際は、印
刷順にデータを送ること(ユーザプログラムはプリンタ
別の印刷順序を意識すること)、サーバは、各々のプリ
ンタ毎に物理制御コード格納バッファを持つことを前提
とした上で、複数のプリンタを接続したプリンタネット
ワークと帳票出力を行う装置との間にサーバを設け、こ
のサーバにプリンタ対応の物理制御コードを生成する機
能を持たせて、ユーザプログラムの負担軽減を図ってい
る。又、前記した通り、一つの計算機内で帳票出力要求
が競合しないことを前提としているため、計算機間での
帳票出力要求の競合だけを防止するために、サーバが各
プリンタの状態を示す情報をユーザへ通知している(帳
票出力要求する端末へプリンタ状態を表示する)。
In order for the computer to perform all of the above-described operations for printer output, the form output program becomes large, a large amount of memory is required, and the time and effort for creating the output program increases. Therefore, Japanese Patent Application Laid-Open No. 3-245
In the technology disclosed in Japanese Patent No. 221, there is no conflict between form output requests within one computer, and
The data to be transmitted to the server must be converted to data of the same interface before transmission. When exchanging data for the same interface, the data must be sent in the order of printing. The server must have a physical control code storage buffer for each printer, and a server is connected between a printer network to which a plurality of printers are connected and a form output device. The server is provided with a function of generating a physical control code corresponding to the printer, thereby reducing the burden on the user program. Further, as described above, since it is assumed that the form output requests do not conflict within one computer, the server uses the information indicating the status of each printer to prevent only the form output requests from competing between the computers. The user is notified (printer status is displayed on the terminal that requests form output).

【0005】また特開平2−36415号に開示された
技術では、プリンタ対応の変換モジュールを設けて、こ
れによってプリンタへの送出データを生成することによ
り、ユーザプログラムではプリンタの種別を意識しなく
ても、論理的に出力形式を指定することで帳票出力が行
える様にしている。
In the technique disclosed in Japanese Patent Application Laid-Open No. 2-36415, a conversion module corresponding to a printer is provided to generate data to be sent to the printer, so that the user program does not need to be aware of the type of the printer. Also, the form output can be performed by logically specifying the output format.

【0006】[0006]

【発明が解決しようとする課題】特開平2−36415
号に開示された技術では、ユーザプログラムの負担は減
るが、プリンタ毎の変換モジュールを各計算機に設ける
必要があってメモリ消費の改善はない。また複数の帳票
出力を行うときの競合対策もなされていない。
Problems to be Solved by the Invention
Although the load of the user program is reduced in the technique disclosed in JP-A-2003-264, a conversion module for each printer needs to be provided in each computer, and there is no improvement in memory consumption. In addition, there is no countermeasure against contention when outputting a plurality of forms.

【0007】一方、特開平3−245221号に開示さ
れた技術では、メモリやコード生成のための負担はある
程度軽減できるが、計算機と帳票出力要求する端末が1
対1に対応している必要があり、又同一インターフェー
スのデータに変換する必要があり、又サーバへ送信する
データを同一インターフェースのデータに変換する際、
印刷順序を意識する必要があり、又印刷イメージに展開
したデータをサーバへ送る必要があり、又サーバは各々
プリンタ毎に物理制御コード格納バッファを持つ必要が
あり、又、競合防止もサーバからのデータに応じて対応
するなど、その対策が十分でない。
On the other hand, in the technique disclosed in Japanese Patent Application Laid-Open No. 3-245221, the load for memory and code generation can be reduced to some extent.
It is necessary to correspond to one-to-one, it is necessary to convert to the data of the same interface, and when converting the data to be transmitted to the server to the data of the same interface,
It is necessary to be aware of the printing order, to send the data developed into the print image to the server, each server to have a physical control code storage buffer for each printer, and to prevent contention from the server. Insufficient countermeasures, such as responding to data.

【0008】本発明は、プリンタ名称(型式)、帳票を
形成するデ−タ群の送信順序及び送信方法、他帳票出力
プログラムより発行される帳票出力要求(競合管理)計
算機システム構成(計算機と帳票出力要求する端末とが
N対Mの対応を実現)の五つの項目全てを意識せず、且
つ、印刷位置に伴ったデ−タ送信要求順序の意識しない
高機能なプリンタへの帳票出力するのと同じインタ−フ
ェースで全てのプリンタに対して帳票出力でき、更に、
プリンタ毎に帳票出力装置が備えられている場合と同じ
性能で帳票出力できるようにするための帳票編集出力装
置及び計算機システムを提供するにある。
The present invention relates to a printer name (model), a transmission order and a transmission method of data forming a form, a form output request issued from another form output program (conflict management), and a computer system configuration (computer and form). (The output requesting terminal realizes an N-to-M correspondence.) A form output to a high-performance printer that is unaware of all five items and that is unaware of the data transmission request order according to the print position. Forms can be output to all printers using the same interface as
It is an object of the present invention to provide a form editing and output apparatus and a computer system for outputting a form with the same performance as when a form output apparatus is provided for each printer.

【0009】[0009]

【課題を解決するための手段】本発明は、複数の端末を
接続可能とする、複数の計算機と複数のプリンタ群より
成り、計算機とプリンタとの組合せは任意に可能とする
計算機システムにおいて、計算機の出力データを一旦、
印刷イメージデータに変換し、この印刷イメージデータ
を、組合せ対応のプリンタ用の物理形式のデータに変換
し、これをその組合せ対応のプリンタに送り印字させる
こととした。
According to the present invention, there is provided a computer system which comprises a plurality of computers and a plurality of printer groups, to which a plurality of terminals can be connected, wherein the combination of the computers and the printers is arbitrarily possible. Once the output data of
The image data is converted into print image data, the print image data is converted into data in a physical format for a combination-compatible printer, and the data is sent to the combination-compatible printer for printing.

【0010】更に本発明は、複数の端末を接続可能とす
る、複数の計算機からなる計算機群から出力される印刷
データ、その属性データ、及び印刷位置を含む計算機出
力データを受け取り、複数のプリンタからなるプリンタ
群の帳票出力データを出力するための帳票編集出力装置
に於いて、上記計算機出力データを受信し記憶するため
の受信データ記憶手段と、該手段に記憶された計算機出
力データを解析して帳票形式で印刷されるイメージデー
タに展開するためのイメージ展開手段と、該手段により
展開されたイメージデータを記憶するためのイメージデ
ータ記憶手段と、該手段に記憶されたイメージデータか
ら出力するプリンタの仕様に合わせて文字コード及び制
御コードからなる物理制御データを生成するための物理
データ変換手段と、該手段の生成した物理制御データを
記憶するための物理制御データ記憶手段と、該手段に記
憶された物理制御データの当該プリンタへの送信を制御
するための帳票出力制御手段とを設けることにより達成
され、また上記受信データ記憶手段、上記イメージデー
タ記憶手段、及び上記物理制御データ記憶手段をそれぞ
れ複数個設けるか、あるいは上記受信データ記憶手段を
除去するとともに、上記イメージ展開手段、上記イメー
ジデータ記憶手段、及び上記物理制御データ変換手段を
それぞれ計算機対応に設けることとした。
Further, the present invention receives computer output data including print data output from a computer group comprising a plurality of computers, attribute data thereof, and a print position, which enables connection of a plurality of terminals, and receives the output data from a plurality of printers. In a form editing output device for outputting form output data of a group of printers, receiving data storage means for receiving and storing the computer output data, and analyzing the computer output data stored in the means. Image developing means for developing into image data to be printed in a form, image data storing means for storing the image data developed by the means, and a printer for outputting from the image data stored in the means. Physical data conversion means for generating physical control data consisting of a character code and a control code according to the specification; Achieved by providing physical control data storage means for storing the physical control data generated by the means, and form output control means for controlling transmission of the physical control data stored in the means to the printer. A plurality of the reception data storage means, the image data storage means, and the physical control data storage means, or the reception data storage means is removed, and the image development means, the image data storage means are provided. , And the physical control data conversion means are provided for each computer.

【0011】[0011]

【作用】プリンタの仕様に対応した物理制御データをイ
メージ展開手段及び物理データ変換手段により生成でき
るから、計算機側ではプリンタ及び印刷位置に応じたデ
ータの送信順序を意識する必要がなく、また受信データ
及び途中の処理データの記憶手段を複数個設けるか、あ
るいは物理制御データ生成までの手段を計算機対応に設
けることで、複数端末及び、複数計算機からの出力要求
が競合するのを意識する必要もなくなる。
Since the physical control data corresponding to the specifications of the printer can be generated by the image expanding means and the physical data converting means, the computer does not need to be aware of the transmission order of the data according to the printer and the printing position. Also, by providing a plurality of storage means for processing data in the middle or providing means for generating physical control data corresponding to the computer, there is no need to be aware of conflicting output requests from the multiple terminals and the multiple computers. .

【0012】[0012]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は本発明の帳票編集出力装置の一実施例
を示すブロック図である。本発明の帳票編集出力装置2
00は、データ記憶部130、データ管理部140、及
びデータ編集情報部150の各情報格納部と、データ受
信部111、受信データ解析・イメージ展開部112、
プリンタ物理データ変換部113、および帳票出力制御
部114の4つの処理部で構成されており、端末30
1、302、303等からなる端末群300を帳票出力
要求元とした、帳票出力プログラムを持つ計算機10
1、102、103等からなるホスト計算機群100か
らの帳票出力を処理して帳票出力プリンタ121、12
2、123等からなる帳票出力プリンタ群120へ印刷
データを出力する。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a form editing and outputting apparatus according to the present invention. Form editing and output device 2 of the present invention
Reference numeral 00 denotes each information storage unit of the data storage unit 130, the data management unit 140, and the data editing information unit 150, the data reception unit 111, the reception data analysis / image development unit 112,
The terminal 30 includes four processing units: a printer physical data conversion unit 113 and a form output control unit 114.
A computer 10 having a form output program using a terminal group 300 composed of 1, 302, 303, etc. as a form output request source
The form output from the host computer group 100 composed of 1, 102, 103, etc. is processed and the form output printers 121, 12
The print data is output to a form output printer group 120 composed of 2, 123 and the like.

【0013】データ記憶部130は、受信データ記憶部
131、印刷イメージ展開データ記憶部132、物理制
御データ記憶部133の3つの記憶部から成っている。
受信データ記憶部131は、ホスト計算機側の帳票出力
プログラムより送信されたデータをホスト計算機単位に
蓄積し、印刷イメージ展開データ記憶部132は、ホス
ト計算機毎に印刷イメージ展開データをページ単位に記
憶し、物理制御データ記憶部133は、帳票出力する機
器毎に物理的な制御コ−ドと文字データを記憶する。
The data storage unit 130 comprises three storage units: a reception data storage unit 131, a print image development data storage unit 132, and a physical control data storage unit 133.
The reception data storage unit 131 accumulates data transmitted from the form output program on the host computer side in host computer units, and the print image development data storage unit 132 stores print image development data in page units for each host computer. The physical control data storage unit 133 stores a physical control code and character data for each device that outputs a form.

【0014】データ管理部140は、受信データ管理部
141、印刷イメージ展開データ管理部142、物理制
御データ管理部143の3つの管理部から成っている。
受信デ−タ管理部141は、受信デ−タ記憶部内にホス
ト計算機単位で受信デ−タを蓄積する受信デ−タ蓄積部
と、蓄積されている受信デ−タ数と印刷イメ−ジ展開要
求とホスト計算機より指定された帳票を出力するプリン
タとを管理し、印刷イメ−ジ展開デ−タ管理部142
は、受信デ−タ蓄積部と1対1に対応したイメ−ジ展開
パネルと、そのパネルの展開完了と、イメ−ジ展開した
デ−タを出力するプリンタとを管理し、物理制御デ−タ
管理部143は、プリンタの物理的な構造に伴った制御
コ−ドおよび文字デ−タに変換したデ−タを蓄積する物
理制御デ−タ蓄積部と、物理制御デ−タへの変換及び蓄
積完了と、そのデ−タを出力するプリンタとを管理す
る。
The data management unit 140 comprises three management units: a reception data management unit 141, a print image development data management unit 142, and a physical control data management unit 143.
The reception data management unit 141 stores a reception data in the reception data storage unit for each host computer, the number of the stored reception data, and print image development. It manages the request and the printer that outputs the form specified by the host computer, and print image development data management unit 142
Manages an image development panel corresponding to the received data storage unit on a one-to-one basis, completion of the development of the panel, and a printer for outputting the image-developed data, and physical control data. The data management unit 143 includes a physical control data storage unit that stores control codes associated with the physical structure of the printer and data converted to character data, and conversion to physical control data. And storage completion, and a printer for outputting the data.

【0015】データ編集情報部150には、受信デ−タ
記憶部管理情報151とプリンタ物理制御情報152の
2つの情報が存在し、受信デ−タ記憶部管理情報151
は、帳票データを送信したホスト計算機と受信デ−タ蓄
積部とを関連づける情報と、受信デ−タ蓄積部毎の受信
データ格納先アドレス情報の2つを持ち、プリンタ物理
制御情報152は、帳票出力するプリンタの物理的な情
報を持っている。
In the data editing information section 150, there are two pieces of information, that is, received data storage section management information 151 and printer physical control information 152.
The printer physical control information 152 includes information for associating the host computer that transmitted the form data with the reception data storage unit, and reception data storage destination address information for each reception data storage unit. It has physical information of the printer to output.

【0016】以上に示した記憶装置と管理装置と情報装
置を用いて、データ受信部111、受信データ解析・イ
メージ展開部112、プリンタ物理データ変換部11
3、および帳票出力制御部114は以下に示す処理を行
う。
Using the above-described storage device, management device, and information device, a data receiving unit 111, a received data analyzing / image expanding unit 112, a printer physical data converting unit 11
3, and the form output control unit 114 performs the following processing.

【0017】図2はデータ受信部111の処理フローチ
ャートで、図3はその動作説明図である。まずステップ
100では、以前データを送信したことのある端末か否
かをチェックし、端末が以前データを送信していなけれ
ば、ステップ105で、受信データ記憶部151に、デ
ータを送信した端末番号(例えば301)を設定し、ス
テップ110で、受信データ蓄積先アドレスに0を設定
し、更にステップ115で、受信データ蓄積部名を設定
(他端末で使用していない名称を設定)した後に、又、
以前データを送信していれば何もせずに、次のステップ
120にて、データを送信した端末に対応した受信デー
タ蓄積先アドレス(蓄積部単位の相対アドレス)を受信
データ記憶部情報151より取り出し、ステップ125
では、受信データ記憶部151より、データを送信した
端末に対応したデータ蓄積部名を取り出して、その名称
とステップ120で取り出したアドレスを基に、ステッ
プ130で受信データ記憶部131内の受信データ蓄積
部の満杯チェックを行う。
FIG. 2 is a processing flowchart of the data receiving unit 111, and FIG. 3 is an explanatory diagram of its operation. First, in step 100, it is checked whether or not the terminal has transmitted data before. If the terminal has not transmitted data before, in step 105, the terminal number of the data transmitting terminal ( For example, 301) is set, in step 110, 0 is set to the reception data storage destination address, and further, in step 115, the reception data storage section name is set (a name not used by another terminal is set). ,
If the data has been transmitted before, nothing is performed, and in the next step 120, the reception data storage destination address (relative address in units of storage units) corresponding to the terminal that transmitted the data is extracted from the reception data storage unit information 151. , Step 125
Then, the data storage unit name corresponding to the terminal that transmitted the data is extracted from the reception data storage unit 151, and the received data in the reception data storage unit 131 is extracted in step 130 based on the name and the address extracted in step 120. Check the storage unit for fullness.

【0018】その結果、空きがなければ終了する(受信
データ蓄積部はサイクリック編成であるため基本的に空
き無しは考えられない)が、空きがあればステップ13
5で、前記ステップ120で取り出した受信データ蓄積
先アドレスと前記ステップ115で取り出した受信デー
タ蓄積部とより、それに対応する受信データ記憶部13
1内の受信データ蓄積部へ受信データを格納し、更に、
格納完了後は、ステップ140にて、受信データ記憶部
情報151の当該受信データ蓄積部名に対応する受信デ
ータ蓄積先アドレスを更新し、ステップ145では、受
信データ管理部141を参照し、当該受信データ蓄積部
名があれば、ステップ155でそれに対応する受信デー
タカウンタを1カウントアップし、当該受信データ蓄積
部名が無ければステップ150にて受信データ蓄積部名
を受信データ管理部141に設定し、ステップ155で
受信データカウンタに1を設定する。そして、ステップ
160で出力プリンタ種別を設定し、ステップ165に
て展開要求フラグをオンする。
As a result, if there is no free space, the process is terminated (the received data storage unit is cyclically organized so that no free space is basically considered).
In step 5, the received data storage destination address extracted in step 120 and the received data storage unit extracted in step 115 are used to store the corresponding received data storage unit 13
1 to store the received data in the received data storage unit.
After the storage is completed, the received data storage destination address corresponding to the received data storage unit name in the received data storage unit information 151 is updated in step 140, and in step 145, the received data management unit 141 is referred to and the received data is received. If there is a data storage unit name, the reception data counter corresponding to the data storage unit name is counted up by one in step 155, and if there is no reception data storage unit name, the reception data storage unit name is set in the reception data management unit 141 in step 150. , At step 155, the receiving data counter is set to 1. Then, the output printer type is set in step 160, and the development request flag is turned on in step 165.

【0019】以上のステップ100以降の処理を端末か
らホスト計算機を経由して送られるデータを受信する度
に行うことにより、複数の端末を接続可能とする複数の
計算機から送信されてくるデータを破壊することなく受
信することができ、各々の受信データに対して後述の図
4に示した処理である印刷イメージ展開要求を出すこと
を可能とする。即ち、計算機側ではプリンタ状態(競合
管理)や印刷イメージを意識した帳票出力を行う必要が
ない。
By performing the above-described processing after step 100 each time data transmitted from a terminal via a host computer is received, data transmitted from a plurality of computers to which a plurality of terminals can be connected is destroyed. This makes it possible to issue a print image development request, which is processing shown in FIG. 4 described below, for each piece of received data. That is, it is not necessary for the computer to output the form in consideration of the printer state (contention management) and the print image.

【0020】図4では、受信データ解析・印刷イメ−ジ
展開部112の処理フローチャートで、図5及び図6は
その動作説明図である。受信データ解析・イメージ展開
部112には、受信データを解析する処理と、解析デー
タを印刷イメージに展開する処理とが1組になった受信
データ解析・イメージ展開処理が、複数設けられ、(受
信デ−タ記憶部131内の受信データ蓄積部毎なくても
よい)この処理は受信データ管理部141の展開要求フ
ラグを常に参照(数秒周期で参照)する様になってお
り、受信データ記憶部131内の受信データ蓄積部のデ
ータを以下の様に処理する。
FIG. 4 is a processing flowchart of the received data analyzing / printing image developing unit 112, and FIGS. 5 and 6 are explanatory diagrams of the operation. The reception data analysis / image development unit 112 is provided with a plurality of reception data analysis / image development processes in which a process of analyzing the reception data and a process of developing the analysis data into a print image are provided as one set. This processing does not have to be performed for each reception data storage section in the data storage section 131. This processing always refers to the development request flag of the reception data management section 141 (refers to a cycle of several seconds). The data in the reception data storage unit in the storage 131 is processed as follows.

【0021】まずステップ200では、前記した通り図
5で示した受信データ管理部141の展開フラグを随時
(数秒周期)参照して、展開要求フラグがオンか、オフ
かを調べ、オンであればステップ210で受信データ管
理部141より、展開要求フラグがオンである受信デー
タ蓄積部名を取り出し、その名称の受信データ記憶部1
31内の受信データ蓄積部より受信したデータ単位にデ
ータを取り出し(図6の301〜302の間)、ステッ
プ220でそのデータの解析を行う(図6の302)。
次にステップ230で1ページの終了コードチェックを
行い、終了コード以外であれば、ステップ260で図6
の305に示した順に印刷イメージに展開して、ステッ
プ270で印刷イメージ展開データ記憶部132内の帳
票単位(1ページ単位)に設けられたイメージ展開パネ
ルaa、bb、……に随時格納し、ステップ280へ進
む。
First, in step 200, as described above, the expansion request flag is turned on or off with reference to the expansion flag of the reception data management unit 141 shown in FIG. In step 210, the name of the received data storage unit whose expansion request flag is ON is extracted from the received data management unit 141, and the received data storage unit
Data is extracted in units of data received from the received data storage unit 31 (between 301 and 302 in FIG. 6), and the data is analyzed in step 220 (302 in FIG. 6).
Next, at step 230, the end code of one page is checked.
Are sequentially developed into print images in the order indicated by 305, and are stored as needed in the image development panels aa, bb,... Provided in the form unit (one page unit) in the print image development data storage unit 132 in step 270. Proceed to step 280.

【0022】尚、ここでいう印刷イメージ展開とは、図
6に示す301の端末毎の受信データ(これは論理的な
データである)を解析して、実際に印刷したときのイメ
ージを作り出すことであり、展開データ格納とは、印刷
イメージ展開したデータ(例えば不完全な帳票であるデ
ータにおいても)を印刷イメージ展開データ記憶部13
2内の帳票単位(1ページ単位)に設けられたイメージ
展開パネルへ随時格納することである。例えば図6に示
すように305で先ず上枠を作り出し、次に2段目を作
り出し、最後に文字「あいうえお」を名枠内にいれる展
開をしている場合は、各々1回の受信データは上枠、2
段目、文字の3つであり、帳票としては不完全であるが
304の様な印刷イメージ展開結果印刷イメージ展開デ
ータ記憶部132内のイメージ展開パネルへ格納してい
る。つまり、印字位置が明確になっているために1回に
受信する(端末より送信する)データは、上枠より受信
する必要は全くなく、2段目を一番最初に受信しても、
又は文字を一番最初に受信しても何も問題はない。更
に、枠を受信する際は横線だけを最初に受信し、その後
縦線を受信しても何も問題なく、更に文字と枠線を交互
に受信しても、又文字を「い」「えお」「う」「あ」の
様に順不同に分割して受信しても何も問題がない。
The print image development here means to analyze received data (this is logical data) of each terminal 301 shown in FIG. 6 to create an image when actually printed. The expansion data storage means that the print image expansion data (for example, even in the case of incomplete form data) is stored in the print image expansion data storage unit 13.
2 is stored as needed in an image development panel provided for each form (one page). For example, as shown in FIG. 6, when the upper frame is first created at 305, then the second stage is created, and finally the character “Aioeo” is put into the name box, and each received data is Upper frame, 2
There are three rows, characters, which are incomplete as a form, but are stored in the image development panel in the print image development data storage unit 132, such as 304. That is, since the print position is clear, the data received at one time (transmitted from the terminal) does not need to be received from the upper frame at all, and even if the second stage is received first,
Or there is no problem if the character is received first. Furthermore, when receiving a frame, only horizontal lines are received first, and then vertical lines are received without any problem. Further, even if characters and frame lines are alternately received, characters can be received. There is no problem even if the data is divided and received in any order such as "O""U""A".

【0023】またステップ230で1ページの終了コー
ドを検出した場合には、ステップ240で印刷イメージ
展開データ管理部142のイメージ展開パネル名を設定
し、受信デ−タ展開完了フラグをオンにし、ステップ2
50で出力プリンタを設定して1ページ分の印刷イメー
ジ展開を完了した事をプリンタ物理データ変換部113
に通知し、ステップ280へ進む。ステップ280で
は、受信データ管理部141の受信データカウンタを1
カウントダウンし、ステップ290で受信データカウン
タが0になったかを調べる。ここで、カウンタが0でな
ければステップ210以下の処理を繰り返し、カウンタ
が0になるとステップ300で受信データ管理部141
の展開要求フラグをオフにして、受信データのイメージ
展開が完了した事をデータ受信部111に通知する。
If the end code of one page is detected in step 230, the image development panel name of the print image development data management unit 142 is set in step 240, and the received data development completion flag is turned on. 2
The fact that the output printer has been set at 50 and the development of the print image for one page has been completed is notified to the printer physical data converter 113.
And proceeds to step 280. In step 280, the reception data counter of the reception data management unit 141 is set to 1
It counts down and checks in step 290 whether the received data counter has become zero. Here, if the counter is not 0, the processing of step 210 and subsequent steps is repeated.
Is turned off to notify the data receiving unit 111 that the image development of the received data is completed.

【0024】以上により、ホスト計算機側の帳票出力プ
ログラムは、同一インタ−フェ−スの帳票データを送信
することができ、且つ、ページ単位の帳票出力ができ
る。
As described above, the form output program on the host computer side can transmit the form data of the same interface and output the form in page units.

【0025】図7は、印刷イメ−ジ展開したデ−タをプ
リンタの物理的な制御コ−ドと文字データに変換するた
めのプリンタ物理デ−タ変換部113の処理フローチャ
ートで、図8はその動作説明図である。この処理も、受
信データ解析・イメージ展開処理と同様に印刷イメージ
展開データ管理部142内の受信データ展開完了フラグ
をつねに参照しており、まずステップ300で印刷イメ
−ジ展開デ−タ管理部142の各パネルの受信デ−タ展
開完了フラグのチェックを行い、受信デ−タ展開完了フ
ラグがオンであれば、ステップ310で当該イメージ展
開パネルよりデータを取り出し、プリンタ物理制御情報
152の情報を用いてプリンタ出力する文字デ−タと制
御コ−ドに変換し、ステップ320で物理制御データ記
憶部133内の帳票出力プリンタ毎に設けられた物理制
御データ蓄積部の1つへ格納する。但しどの物理制御デ
ータ蓄積部に格納するかは、印刷イメージ展開データ管
理部142の出力プリンタと物理制御データ管理部14
3の出力プリンタから決定する。次のステップ330で
物理制御データ管理部143の物理制御データ蓄積部名
を設定し、変換完了フラグをオンにしステップ340で
出力プリンタを設定して、帳票出力制御部114に印刷
イメージ展開データを物理制御コードに変換完了した事
を通知する。さらに次のステップ350で、印刷イメー
ジ展開データ管理部142の送信デ−タ展開完了フラグ
をオフにする事で、受信データ解析・イメージ展開部1
12へも1ペ−ジ分の印刷イメ−ジ展開デ−タを物理制
御コ−ドに変換完了した事を通知する。以上により、ホ
スト計算機側の帳票出力プログラムでは、プリンタの物
理的な構造を意識することなく帳票出力が行える。
FIG. 7 is a processing flowchart of the printer physical data conversion unit 113 for converting the data obtained by expanding the print image into physical control codes and character data of the printer. FIG. This processing also always refers to the reception data development completion flag in the print image development data management unit 142 in the same manner as the reception data analysis / image development processing. First, in step 300, the print image development data management unit 142 The received data development completion flag of each panel is checked, and if the received data development completion flag is on, data is extracted from the image development panel in step 310 and the information of the printer physical control information 152 is used. In step 320, the data is converted into character data and control codes to be output to a printer, and stored in one of the physical control data storage sections provided for each form output printer in the physical control data storage section 133. However, which physical control data storage unit is to be stored is determined by the output printer of the print image development data management unit 142 and the physical control data management unit 14.
3 is determined from the output printer. In the next step 330, the physical control data storage section name of the physical control data management section 143 is set, the conversion completion flag is turned on, and the output printer is set in step 340, and the print image development data is physically stored in the form output control section 114. Notifies the control code that conversion has been completed. In the next step 350, the transmission data development completion flag of the print image development data management unit 142 is turned off, so that the reception data analysis / image development unit 1
12 is also notified that the conversion of the print image development data for one page into the physical control code has been completed. As described above, the form output program on the host computer side can perform form output without being aware of the physical structure of the printer.

【0026】図9は、帳票出力制御部114の処理フロ
ーチャートで、図10はその動作説明図である。この処
理も、前記同様、物理制御データ管理部143内の変換
完了フラグをつねに参照しており、先ずステップ400
で物理制御デ−タ管理部143の変換完了フラグのチェ
ックを行い、変換完了フラグがオンの物理データ蓄積部
に対して、ステップ410で物理制御データ管理部14
3の出力プリンタ種別を確認し、ステップ420で上記
蓄積部の物理制御データをプリンタへ出力する。さらに
この帳票出力後にステップ430で物理制御データ管理
部143の変換完了フラグをオフにする事で、物理制御
コード変換部113へ帳票出力が終了したことを通知す
る。以上により、同一型式はもとより、型式の異なるプ
リンタが複数台接続されていても、帳票出力プログラム
ではプリンタ型式に依存する事なく帳票出力する事がで
きる。
FIG. 9 is a processing flowchart of the form output control unit 114, and FIG. 10 is an explanatory diagram of the operation. Also in this processing, as described above, the conversion completion flag in the physical control data management unit 143 is always referred to.
Checks the conversion completion flag of the physical control data management unit 143, and checks the physical control data management unit 14 in step 410 for the physical data storage unit whose conversion completion flag is ON.
In step 420, the physical control data of the storage unit is output to the printer. Further, after the form is output, the conversion completion flag of the physical control data management unit 143 is turned off in step 430 to notify the physical control code conversion unit 113 that the form output is completed. As described above, even if a plurality of printers of different types as well as the same model are connected, the form output program can output the form without depending on the printer type.

【0027】尚、帳票出力制御装置の機能は、ホスト計
算機の1つに持たせてもよい。この場合、帳票出力制御
装置はバッファに置き換えて、バッファリング機能のみ
を持つようにしてもよい。
The function of the form output control device may be provided in one of the host computers. In this case, the form output control device may be replaced with a buffer and have only a buffering function.

【0028】[0028]

【発明の効果】本発明によれば、個々の帳票出力プログ
ラムでは、別の計算機内にある帳票出力プログラムより
の帳票出力要求との競合を全く意識する事なく、且つ、
帳票出力するプリンタの物理的な構造を意識しない論理
的な帳票データで、更に、帳票デ−タの印刷順序を全く
意識せずにアトランダムに帳票デ−タを送信しても帳票
出力することができる。また、帳票出力するプリンタが
複数台接続されていて、且つ、プリンタ型式が各々異な
る場合でも、プリンタ型式に依存しない同一インターフ
ェースの帳票データで全てのプリンタに対して帳票出力
できる。
According to the present invention, each form output program does not need to be aware of any conflict with a form output request from a form output program in another computer, and
It is logical form data that is not aware of the physical structure of the printer that outputs the form, and even if the form data is transmitted at random without considering the print order of the form data at all, the form is output. Can be. Further, even when a plurality of printers for outputting forms are connected and the printer types are different from each other, the forms can be output to all the printers using the form data of the same interface independent of the printer type.

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

【図1】本発明になる帳票編集出力装置の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a form editing and output apparatus according to the present invention.

【図2】データ受信部の処理を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating a process of a data receiving unit.

【図3】データ受信部処理部の動作説明図である。FIG. 3 is an explanatory diagram of an operation of a data receiving unit processing unit.

【図4】受信データ解析・イメージ展開処理部の処理を
示すフローチャートである。
FIG. 4 is a flowchart illustrating processing of a received data analysis / image development processing unit.

【図5】受信データ解析・イメージデータ展開処理部の
動作説明図である。
FIG. 5 is an explanatory diagram of an operation of a reception data analysis / image data expansion processing unit.

【図6】イメージ展開処理の説明図である。FIG. 6 is an explanatory diagram of an image development process.

【図7】プリンタ物理データ変換部の処理を示すフロー
チャートである。
FIG. 7 is a flowchart illustrating processing of a printer physical data conversion unit.

【図8】プリンタ物理データ変換処理部の動作説明図で
ある。
FIG. 8 is a diagram illustrating the operation of a printer physical data conversion processing unit.

【図9】帳票出力制御部の処理を示すフローチャートで
ある。
FIG. 9 is a flowchart illustrating processing of a form output control unit.

【図10】帳票出力制御処理部の動作説明図である。FIG. 10 is a diagram illustrating the operation of a form output control processing unit.

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

111 データ受信部 112 受信データ解析・イメージ展開部 113 プリンタ物理データ変換部 114 帳票出力制御部 131 受信データ記憶部 132 印刷イメージ展開データ記憶部 133 物理制御データ記憶部 141 受信データ管理部 142 印刷イメージ展開データ管理部 143 物理制御データ管理部 151 受信データ記憶部管理情報 152 プリンタ物理制御情報 111 Data Receiving Unit 112 Received Data Analysis / Image Expansion Unit 113 Printer Physical Data Conversion Unit 114 Form Output Control Unit 131 Received Data Storage Unit 132 Print Image Expansion Data Storage Unit 133 Physical Control Data Storage Unit 141 Received Data Management Unit 142 Print Image Expansion Data management unit 143 Physical control data management unit 151 Received data storage unit management information 152 Printer physical control information

フロントページの続き (72)発明者 杉山 弥 茨城県日立市大みか町五丁目2番1号 日立プロセスコンピュータエンジニアリ ング株式会社内 (72)発明者 小松 直人 茨城県日立市大みか町五丁目2番1号 日立プロセスコンピュータエンジニアリ ング株式会社内 (72)発明者 大脇 隆志 茨城県日立市大みか町五丁目2番1号 株式会社日立製作所大みか工場内 (56)参考文献 特開 平6−19645(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/12 Continued on the front page (72) Inventor Yasushi Sugiyama 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Within Hitachi Process Computer Engineering Co., Ltd. (72) Inventor Naoto Komatsu 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture No. Hitachi Process Computer Engineering Co., Ltd. (72) Inventor Takashi Owaki 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture In-house Omika Plant of Hitachi, Ltd. (56) References JP-A-6-19645 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G06F 3/12

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 帳票出力要求元である複数の端末を接続
可能とする、帳票処理機能を持つ複数の計算機群と複数
のプリンタ群より成り、計算機とプリンタとの組合せは
任意に設定可能とする計算機システムにおいて、各計算
機と各プリンタとの組合せを各計算機等の指示により設
定させておき、各計算機の帳票出力データを、計算機又
は端末、及び設定組合わされる相手プリンタ別に区分し
た印刷イメージデータに変換し、この各印刷イメージデ
ータを、設定組合せ対応の相手プリンタ用の物理形式の
データに変換し、これらをその組合せ対応の相手として
自動選択したプリンタに送り印字させることを特徴とす
る計算機システム。
1. A plurality of computer groups and a plurality of printer groups each having a form processing function and capable of connecting a plurality of terminals as form output request sources, and a combination of a computer and a printer can be arbitrarily set. In the computer system, the combination of each computer and each printer is set according to the instruction of each computer, etc., and the form output data of each computer is converted into print image data classified according to the computer or terminal, and the partner printer associated with the setting. A computer system for converting each print image data into physical format data for a partner printer corresponding to the set combination, and sending the data to a printer automatically selected as the partner corresponding to the combination for printing.
【請求項2】 帳票出力要求元である複数の端末を接続
可能とする、帳票処理機能を持つ複数の計算機群と複数
のプリンタ群より成り、計算機とプリンタとの組合せは
任意に設定可能とする計算機システムにおいて、各計算
機と各プリンタとの組合せを各計算機等の指示により設
定しておくと共に、計算機群とプリンタ群との間に出力
制御手段を設け、この出力制御手段は、各計算機の帳票
出力データを、計算機又は端末、及び設定組合わされる
相手プリンタ別に区分した印刷イメージデータに変換
し、この各印刷イメージデータを、設定組合せ対応の相
手プリンタ用の物理形式のデータに変換し、これらをそ
の組合せ対応の相手として自動選択したプリンタに印字
のために送出させる機能を持つことを特徴とする計算機
システム。
2. A plurality of computer groups having a form processing function and a plurality of printer groups which enable connection of a plurality of terminals as form output request sources, wherein a combination of a computer and a printer can be set arbitrarily. In the computer system, a combination of each computer and each printer is set in accordance with an instruction from each computer and the like, and output control means is provided between the computer group and the printer group. The output data is converted into print image data classified according to the computer or terminal, and the partner printer associated with the setting, and each print image data is converted into data in the physical format for the partner printer corresponding to the setting combination. A computer system characterized by having a function of sending to a printer automatically selected as a partner corresponding to the combination for printing.
【請求項3】 帳票出力要求元である複数の端末を接続
可能とする、帳票処理機能を持つ複数の計算機群と複数
のプリンタ群より成り、計算機とプリンタとの組合せは
任意に設定可能とする計算機システムにおいて、各計算
機と各プリンタとの組合せを各計算機等の指示により設
定しておくと共に、上記計算機の少なくとも1つに、各
計算機の帳票出力データを、計算機又は端末、及び設定
組合わされる相手プリンタ別に区分した印刷イメージデ
ータに変換し、この各印刷イメージデータを、組合せ対
応の相手プリンタ用の物理形式のデータに変換し、これ
らをその組合せ対応の相手として自動選択したプリンタ
に送り印字させる機能を持たせることを特徴とする計算
機システム。
3. A plurality of computer groups having a form processing function and a plurality of printer groups, which are capable of connecting a plurality of terminals as form output request sources, and a combination of a computer and a printer can be arbitrarily set. In the computer system, a combination of each computer and each printer is set in accordance with an instruction from each computer or the like, and at least one of the above computers is used to combine the form output data of each computer with a computer or terminal and a setting. The print image data is converted into print image data classified for each partner printer, each print image data is converted into data in a physical format for the partner printer corresponding to the combination, and these are sent to the printer automatically selected as the partner corresponding to the combination and printed. A computer system characterized by having functions.
【請求項4】 複数の端末を接続可能とする、複数の計
算機からなる計算機群と、計算機群から出力される印刷
データ、その属性データ、及び印刷位置を含む計算機出
力データを受け取り、帳票出力データを出力するための
帳票編集出力装置と、この帳票出力データを受取り印字
する複数のプリンタと、より成る計算機システムに於い
て、上記帳票編集出力装置は、上記計算機出力データを
受信し記憶するための受信データ記憶手段と、該手段に
記憶された計算機出力データを解析して帳票形式で印刷
されるイメージデータに展開するためのイメージ展開手
段と、該手段により展開されたイメージデータを記憶す
るためのイメージデータ記憶手段と、該手段に記憶され
たイメージデータから出力するプリンタの仕様に合わせ
て文字コード及び制御コードからなる物理制御データを
生成するための物理データ変換手段と、該手段の生成し
た物理制御データを記憶するための物理制御データ記憶
手段と、該手段に記憶された物理制御データの当該プリ
ンタへの送信を制御するための帳票出力制御手段と、よ
り成ることを特徴とする計算機システム。
4. A computer group comprising a plurality of computers capable of connecting a plurality of terminals, and print data output from the computer group, its attribute data, and computer output data including a print position are received, and form output data is received. And a plurality of printers for receiving and printing the form output data, the form editing and output apparatus is configured to receive and store the computer output data. Receiving data storing means, image developing means for analyzing computer output data stored in the means and developing the data into image data to be printed in a form, and storing the image data developed by the means; Image data storage means, and character codes and controls in accordance with the specifications of the printer for outputting the image data stored in the means. Physical data conversion means for generating physical control data comprising control codes, physical control data storage means for storing the physical control data generated by the means, and the printer for storing the physical control data stored in the means. And a form output control means for controlling transmission to the computer.
【請求項5】 複数の端末を接続可能とする、複数の計
算機からなる計算機群から出力される印刷データ、その
属性データ、及び印刷位置を含む計算機出力データを受
け取り、複数のプリンタからなるプリンタ群の帳票出力
データを出力するための帳票編集出力装置に於いて、上
記計算機出力データを受信し記憶するための受信データ
記憶手段と、該手段に記憶された計算機出力データを解
析して帳票形式で印刷されるイメージデータに展開する
ためのイメージ展開手段と、該手段により展開されたイ
メージデータを記憶するためのイメージデータ記憶手段
と、該手段に記憶されたイメージデータから出力するプ
リンタの仕様に合わせて文字コード及び制御コードから
なる物理制御データを生成するための物理データ変換手
段と、該手段の生成した物理制御データを記憶するため
の物理制御データ記憶手段と、該手段に記憶された物理
制御データの当該プリンタへの送信を制御するための帳
票出力制御手段とを設けたことを特徴とする帳票編集出
力装置。
5. A printer group comprising a plurality of printers, which receives print data output from a computer group comprising a plurality of computers, attribute data thereof, and a print position, which are connectable to a plurality of terminals, and comprises a plurality of printers. In a form editing and outputting device for outputting form output data, receiving data storage means for receiving and storing the computer output data, and analyzing the computer output data stored in the means to form the form output form. Image developing means for developing the image data to be printed, image data storing means for storing the image data developed by the means, and matching the specifications of the printer for outputting from the image data stored in the means. Data conversion means for generating physical control data consisting of a character code and a control code, A physical control data storage means for storing the obtained physical control data, and a form output control means for controlling transmission of the physical control data stored in the means to the printer. Editing output device.
JP4347038A 1992-12-25 1992-12-25 Computer system and form editing and output device Expired - Fee Related JP3012748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4347038A JP3012748B2 (en) 1992-12-25 1992-12-25 Computer system and form editing and output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4347038A JP3012748B2 (en) 1992-12-25 1992-12-25 Computer system and form editing and output device

Publications (2)

Publication Number Publication Date
JPH06195186A JPH06195186A (en) 1994-07-15
JP3012748B2 true JP3012748B2 (en) 2000-02-28

Family

ID=18387503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4347038A Expired - Fee Related JP3012748B2 (en) 1992-12-25 1992-12-25 Computer system and form editing and output device

Country Status (1)

Country Link
JP (1) JP3012748B2 (en)

Also Published As

Publication number Publication date
JPH06195186A (en) 1994-07-15

Similar Documents

Publication Publication Date Title
JP4330665B2 (en) Client server system and image processing apparatus
Thacker et al. Alto: A personal computer
CN1064559A (en) Display station controller
CN100580646C (en) Image processing apparatus, information processing apparatus and control method
CN114528044B (en) Interface calling method, device, equipment and medium
CN113094125B (en) Business process processing method, device, server and storage medium
JP3012748B2 (en) Computer system and form editing and output device
JPH04128068A (en) Page description language processing and printing apparatus
CN114090242A (en) Model training method, device, equipment, storage medium and program product
CN102256041B (en) Image forming apparatus, method of acquiring identification information
Thacker et al. Alto: A personal computer
CN102253940B (en) Method and device for processing data by tree view
US5668714A (en) Control system for multi-processor apparatus
JP6558250B2 (en) Design support device
Jafari A new loop structure for distributed microcomputing systems.
CN117557240B (en) Method, system, device and storage medium for reading jobs
Rich et al. The Programmer's Apprentice: a program design scenario
JPH0580697B2 (en)
JP4208468B2 (en) Software system operation check device
JPH11212962A (en) Document processing device and method and storage medium
CN112783454A (en) Virtual printing method, system, electronic equipment and storage medium
JP4208461B2 (en) Software system operation check device
JPH07210341A (en) On-line printing system
JPH05233395A (en) Data conversion system
CN114969482A (en) Method for automatically completing request by online configuration interface and related equipment thereof

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees