JPS62238757A - Printing control system - Google Patents

Printing control system

Info

Publication number
JPS62238757A
JPS62238757A JP61082574A JP8257486A JPS62238757A JP S62238757 A JPS62238757 A JP S62238757A JP 61082574 A JP61082574 A JP 61082574A JP 8257486 A JP8257486 A JP 8257486A JP S62238757 A JPS62238757 A JP S62238757A
Authority
JP
Japan
Prior art keywords
format
data
storage memory
character data
data storage
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
JP61082574A
Other languages
Japanese (ja)
Inventor
Osamu Sasaki
治 佐々木
Hitoshi Suzuki
仁 鈴木
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 JP61082574A priority Critical patent/JPS62238757A/en
Publication of JPS62238757A publication Critical patent/JPS62238757A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To provide a printing control method of automatically changing a format in accordance with character data inside a printer by checking whether a format indicated by character data is the same as a format which is already set up in a format data storage memory when there are character data requiring a change of format, and if the format is different, executing rewriting of the format set up in the format data storage. CONSTITUTION:A format change discrimination mechanism 5 receives format data from a format data storage memory 3 and character data from a character data storage memory 4 at format B data signal and character B data signal 11 respectively. Then it is checked whether character data relative to format change is involved in the character B data signal 11. If there are any character data relative to format change, then it is checked whether a format indicated by detected character data concerning format change is the same as that which is already set up in the format data storage memory 3. If the format is different, the content of the format data storage memory 3 is to be rewritten into a content corresponding to a format designated anew.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は印字制御方式に関し、特に計算機の出力装置と
して用いられるプリンタ装置における印字制御方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a print control method, and particularly to a print control method in a printer device used as an output device of a computer.

〔従来の技術〕[Conventional technology]

従来のこの種のプリンタ装置における印字制御回路とし
ては1例えば、特開昭60−22234号、同6゜−1
40421号公報に記載されている如く、文字データを
格納するメモリと、書式データを格納するメモリとを持
ち、上記両メモリに格納したデータを読出し組合せて出
力バッファに格納し、印字部に出力するものが知られて
いた6 〔発明が解決しようとする問題点〕 印字制御回路においては、例えば、文字データとして改
行ピッチ変更9文字間隔変更等の、いわゆる制御コード
が挿入されている場合、この改行ピッチ変更等による書
式変更を行うために、プリンタ装置に対して、新たに書
式データの再設定が必要となる。
As a conventional print control circuit for this type of printer device, for example, Japanese Patent Application Laid-Open No. 60-22234, 6°-1
As described in Publication No. 40421, it has a memory for storing character data and a memory for storing format data, and reads and combines the data stored in both memories, stores it in an output buffer, and outputs it to the printing section. [Problem to be solved by the invention] In the print control circuit, for example, when a so-called control code such as change in line feed pitch, change in 9 character spacing, etc. is inserted as character data, this line break is In order to change the format by changing the pitch or the like, it is necessary to newly reset the format data in the printer device.

しかしながら、上述した如き従来の印字制御回路におい
ては、文字データに依存して書式変更を行う等の配慮が
なされていないため、その都度、ホスト側の負荷の増大
およびホストとプリンタ装置間でのデータ量の増加が発
生する等の重大な問題があった。
However, in the conventional print control circuit as described above, consideration has not been given to changing the format depending on the character data. There were serious problems such as an increase in the amount of waste.

本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の印字制御回路における上述の如き
問題を解消して、書式データの変更を必要とする文字デ
ータの挿入が発生しても。
The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in conventional print control circuits, and to eliminate the occurrence of insertion of character data that requires changing format data. Even though.

プリンタ装置内で自動的に文字データに対応する書式変
更を行うようにした印字制御方式を提供することにある
An object of the present invention is to provide a print control method that automatically changes the format corresponding to character data within a printer device.

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

本発明の上記目的は、頁単位に設定可能な書式データを
格納するメモリと、文字データを格納するメモリと、前
記両者を組合せて格納する出力バッフ7を有する印字制
御回路において、前記書式データ格納メモリと文字デー
タ格納メモリとの間に書式変更判別手段を設けて、該判
別手段により上位装置から送られた文字データ中に書式
変更を伴なう文字データがあるか否かを検査し、書式変
更を伴なう文字データがある場合には、該文字データが
示すR式が既に前記書式データ格納メモリ中に、設定さ
れている書式と同じか否かを検査し、これらが異なる場
合に前記書式データ格納メモリ中に設定されている書式
の書換えを実行することを特徴とする印字制御方式によ
って達成される。
The above-mentioned object of the present invention is to provide a print control circuit which has a memory for storing format data that can be set on a page-by-page basis, a memory for storing character data, and an output buffer 7 for storing a combination of the two. A format change determination means is provided between the memory and the character data storage memory, and the determination means inspects whether or not there is character data that involves a format change in the character data sent from the host device. If there is character data that requires a change, it is checked whether the R expression indicated by the character data is the same as the format already set in the format data storage memory, and if they are different, the R expression indicated by the character data is checked. This is achieved by a print control method characterized by rewriting the format set in the format data storage memory.

〔作用〕[Effect]

本発明においては、印字制御回路中に、ホストから送ら
れて来る書式データを格納する書式データ格納メモリと
、文字データを格納する文字データ格納メモリと、以下
に示す書式変更判別機構部と、上記書式データ格納メモ
リおよび文字データ格納メモリの内容を論理和し、出力
バッファに格納する組合せ出力バッファ部とを有する。
In the present invention, the print control circuit includes a format data storage memory for storing format data sent from a host, a character data storage memory for storing character data, a format change determination mechanism section shown below, and the above-mentioned format data storage memory for storing format data sent from a host. It has a combination output buffer unit that logically ORs the contents of the format data storage memory and the character data storage memory and stores the result in an output buffer.

上記書式変更判別機構部は1文字データ中に書式変更に
関する文字データがあるか否かを検査する機能と、検査
した結果、書式変更に関する文字データがない場合は書
式データ格納メモリの内容を変更しない機能と、また、
上記書式変更に関する文字データがある場合は前記書式
データ格納メモリの内容を書替える機能とを有する。
The above-mentioned format change determination mechanism has a function of checking whether or not there is character data related to format change in one character data, and if the result of the check is that there is no character data related to format change, it does not change the contents of the format data storage memory. Function and also
It has a function of rewriting the contents of the format data storage memory when there is character data related to the format change.

この書式変更判別機構部により、書式変更に関する文字
データがある場合で書式データ格納メモリの内容を書き
替えた場合、以後、ホストから新たに書式データが再設
定されるか、書式変更に関する文字データが新たに送ら
れて来るまで、その書式データ格納メモリ内容は保持さ
れる。
This format change determination mechanism determines that if there is character data related to a format change and the contents of the format data storage memory are rewritten, the host will reset new format data or the character data related to the format change will be rewritten. The contents of the format data storage memory are held until new data is sent.

従って1本発明においては、書式データを変更しなけれ
ばならないホストからの文字データが、プリンタ装置に
送られて来た場合、書式変更が無視されることはない。
Therefore, in the present invention, when character data from a host whose format data needs to be changed is sent to the printer device, the format change is not ignored.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の一実施例を示す、ホストとプリンタ装
置とから成るシステムの構成図である。
FIG. 2 is a configuration diagram of a system comprising a host and a printer device, showing one embodiment of the present invention.

図において、1はホスト、2はプリンタ装置、3は書式
データ格納メモリ、4は文字データ格納メモリ、5は書
式変更判別機構部、6は組合せ出力バッファ部、7は印
字機構部を示している。
In the figure, 1 is a host, 2 is a printer device, 3 is a format data storage memory, 4 is a character data storage memory, 5 is a format change determination mechanism section, 6 is a combination output buffer section, and 7 is a printing mechanism section. .

図において、書式データは、ホスト1から書式Aデータ
信号8によって、プリンタ装置2の書式データ格納メモ
リ3に設定され、文字データは、ホスト1から文字Aデ
ータし信号9によって、プリンタ装置i!2の文字デー
タ格納メモリ4に入力される。
In the figure, format data is set in the format data storage memory 3 of the printer device 2 by the format A data signal 8 from the host 1, and character data is set in the format data storage memory 3 of the printer device 2 by the format A data signal 8 from the host 1. 2 is input into the character data storage memory 4.

上述の、書式変更判別機構部5による処理のフローチャ
ートを第1図に示した。以下、第1図に従って、書式変
更判別機構部5による処理について説明する。
A flowchart of the above-mentioned processing by the format change determination mechanism unit 5 is shown in FIG. The processing by the format change determination mechanism section 5 will be described below with reference to FIG.

上記書式変更判別機構部5は、書式データ格納メモリ3
からの書式データと、文字データ格納メモリ4からの文
字データとを、それぞれ、書式Bデータ信号10と、文
字Bデータ信号11とによって受取り(処理21)、該
文字Bデータ信号11中に前記書式変更に関する文字デ
ータ(例えば、「改行ピッチ」等)が含まれているか否
かを検査しく処理22)、書式変更に関する文字データ
がある場合には処理23に、また、書式変更に関する文
字データがない場合には、後述する処理26に進む。
The format change determination mechanism section 5 includes a format data storage memory 3.
and character data from the character data storage memory 4 are received by a format B data signal 10 and a character B data signal 11, respectively (processing 21), and the format data is received in the character B data signal 11. Process 22) checks whether character data related to the change (for example, "line break pitch", etc.) is included, and if there is character data related to the format change, go to process 23), or if there is no character data related to the format change. If so, the process advances to process 26, which will be described later.

処理23においては、検知された上記書式変更に関する
文字データが示す書式が、既に前記書式データ格納メモ
リ3に設定されている書式と同じか否かを検査する。こ
れらが異なる場合には、処理24に進んで、上記書式デ
ータ格納メモリ3の内容を、新たに指定された書式に対
応する内容に書換える。また、これらが一致する場合は
無視して、後述する処理26に進む。
In process 23, it is checked whether the format indicated by the detected character data regarding the format change is the same as the format already set in the format data storage memory 3. If these are different, the process proceeds to step 24, where the contents of the format data storage memory 3 are rewritten to contents corresponding to the newly designated format. If they match, the process is ignored and proceeds to process 26, which will be described later.

処理24における上記書式データ格納メモリ3の内容の
書換えが終了した後、すべての文字データの処理が終了
したか否かを検査しく処理25)、終了していなければ
、処理21〜25を繰り返す。終了していれば、前記処
理22.23からの処理と合せて、処理26に進み、上
記書式データ格納メモリ3の内容と、前記文字データ格
納メモリ4の内容とを組合せて、出力バッファ6に出力
する。
After the rewriting of the contents of the format data storage memory 3 in process 24 is completed, it is checked whether processing of all character data has been completed or not (process 25), and if not, processes 21 to 25 are repeated. If it has been completed, the process proceeds to process 26 together with the processes from process 22 and 23, in which the contents of the format data storage memory 3 and the character data storage memory 4 are combined and stored in the output buffer 6. Output.

上記処理において、書式判別機構部5は、受信データ中
に、書式変更に関する文字データが含まれていれば、そ
れに対応した書式を書式変更データ12として、書式デ
ータ格納メモリ3に送り、書式データを書き替える。
In the above process, if the received data contains character data related to format change, the format discrimination mechanism section 5 sends the corresponding format as format change data 12 to the format data storage memory 3, and stores the format data. Rewrite.

また、上記書式データ格納メモリ3の書式データと文字
データ格納メモリ4の文字データとは、それぞれ、書式
Cデータ信号13と文字Cデータ信号14として論理和
され、組合せ出力バッファ6に格納後、印字データ信号
15として印字機構部に送られる。
The format data in the format data storage memory 3 and the character data in the character data storage memory 4 are logically summed as a format C data signal 13 and a character C data signal 14, respectively, and stored in the combination output buffer 6, and then printed. It is sent as a data signal 15 to the printing mechanism section.

このとき、書式データ格納メモリ3の内容は、ホスト1
から書式データの再設定、あるいは、書式判別機構部5
から書式変更データ12により書き替えられない限り保
持されており、文字データ格納メモリ4の内容は組合せ
出力バッファ6に転送した後、消滅する。
At this time, the contents of the format data storage memory 3 are stored in the host 1.
or reset the format data from the format determination mechanism section 5.
The contents of the character data storage memory 4 are retained as long as they are not rewritten with the format change data 12, and are deleted after the contents of the character data storage memory 4 are transferred to the combination output buffer 6.

上記書式変更判別機構部5で実行する書式変更の具体例
を次に説明する。
A specific example of the format change executed by the format change determination mechanism section 5 will be described next.

書式変更前の書式データは、例えば、第3図に示す如く
書式データ格納メモリ3に横罫線Aデータ17の書式デ
ータが格納されており1文字Dデータ16の「アイウ・
・・・・・セ」と、横罫線Aデータ17とを組合せた印
字データが印刷されるものとする。
For example, as shown in FIG. 3, the format data before the format change includes the format data of the horizontal ruled line A data 17 stored in the format data storage memory 3, and the format data of the one character D data 16 "IU.
.

この状態で、ホスト1から、書式変更を含む文字データ
として、「改行ピッチの変更」および第4図の文字Eデ
ータ18の[タチツ・・・・・・へ」が文字データ格納
メモリ4に送られたとする。このとき、書式変更判別機
構部5は、文字データ格納メモリ4からの「改行ピッチ
の変更」データにより、書式データ格納メモリ3内の横
罫線Aデータ17を、第4図に示す横罫線Aデータ19
に書き替える。
In this state, the host 1 sends "line feed pitch change" and "tachitsu..." of the character E data 18 in FIG. 4 to the character data storage memory 4 as character data including format changes. Suppose that At this time, the format change determination mechanism unit 5 changes the horizontal ruled line A data 17 in the format data storage memory 3 to the horizontal ruled line A data shown in FIG. 19
Rewrite it as

この書換えは、第5図に示すような手順によって行われ
る。
This rewriting is performed by the procedure shown in FIG.

本実施例によれば、文字データとして書式変更に関する
データが文字データ中に存在する。しないにかかわらず
、プリンタ装置側で自動的に書式変更を実行するため、
ホスト側の印字制御処理が軽減されるという効果がある
According to this embodiment, data regarding format changes is present in the character data. Regardless of whether or not the format is changed automatically on the printer device side,
This has the effect of reducing print control processing on the host side.

〔発明の効果〕〔Effect of the invention〕

以上述べた如く1本発明によれば、頁単位に設定可能な
書式データを格納するメモリと、文字データを格納する
メモリと、前記両者゛を組合せて格納する出カバソファ
を有する印字制御回路において、前記書式データ格納メ
モリと文字データ格納メモリとの間に書式変更判別手段
を設けて、該別〉111手段により上位装置から送られ
た文字データ中に書式変更を伴なう文字データがあるか
否かを検査し、書式変更を伴なう文字データがある場合
には、該文字データが示す書式が既に前記書式データ格
納メモリ中に設定されている書式と同じか否かを検査し
、これらが異なる場合に前記書式データ格納メモリ中に
設定されている書式の書換えを実行するようにしたので
、書式データの変更を必要とする文字データの挿入が発
生しても、プリンタ装置内で自動的に文字データに対応
する書式変更を行うようにした印字制御方式を実現でき
るという顕著な効果を奏するものである。
As described above, according to one aspect of the present invention, in a print control circuit having a memory for storing format data that can be set on a page-by-page basis, a memory for storing character data, and an output buffer for storing a combination of the two, A format change determination means is provided between the format data storage memory and the character data storage memory to determine whether or not there is character data accompanied by a format change in the character data sent from the host device by the means. If there is character data that involves a format change, it is checked whether the format indicated by the character data is the same as the format already set in the format data storage memory, and if these are Since the format set in the format data storage memory is rewritten if the format data is different, even if character data that requires a change in format data is inserted, the format is automatically rewritten in the printer device. This has the remarkable effect that it is possible to realize a printing control system that changes the format corresponding to character data.

また、副次的には、 (])ホストとプリンタ装置との間のデータ転送量が減
少する。
Additionally, (]) the amount of data transferred between the host and the printer device is reduced.

(2)文字データの書式変更による印字速度の低下を最
小限に抑えられる。
(2) Decrease in printing speed due to changes in character data format can be minimized.

等の二次的効果も大きい。Secondary effects such as these are also significant.

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

第1図は本発明の一実施例を示す処理フローチャート、
第2図は本発明の一実施例を示すホストとプリンタ装置
とから成るシステムの構成図、第3図は書式変更前のデ
ータ配置図、第4図は書式変更後のデータ配置図、第5
図は書式変更手順の具体例を示す図である。 1:ホスト、2:プリンタ装置、3:書式データ格納メ
モリ、4:文字データ格納メモリ、5:書式変更判別機
構部、6:組合せ出力バッファ部、7:印字機横部。
FIG. 1 is a processing flowchart showing an embodiment of the present invention;
Fig. 2 is a configuration diagram of a system consisting of a host and a printer device showing an embodiment of the present invention, Fig. 3 is a data arrangement diagram before format change, Fig. 4 is a data arrangement diagram after format change, and Fig. 5
The figure is a diagram showing a specific example of a format change procedure. 1: host, 2: printer device, 3: format data storage memory, 4: character data storage memory, 5: format change determination mechanism section, 6: combination output buffer section, 7: side part of printing machine.

Claims (1)

【特許請求の範囲】[Claims] 1、頁単位に設定可能な書式データを格納するメモリと
、文字データを格納するメモリと、前記両者を組合せて
格納する出力バッファを有する印字制御回路において、
前記書式データ格納メモリと文字データ格納メモリとの
間に書式変更判別手段を設けて、該判別手段により、上
位装置から送られた文字データ中に書式変更を伴なう文
字データがあるか否かを検査し、書式変更を伴なう文字
データがある場合には、該文字データが示す書式が既に
前記書式データ格納メモリ中に設定されている書式と同
じか否かを検査し、これらが異なる場合に前記書式デー
タ格納メモリ中に設定されている書式の書換えを実行す
ることを特徴とする印字制御方式。
1. A print control circuit having a memory for storing format data that can be set on a page-by-page basis, a memory for storing character data, and an output buffer for storing a combination of the two,
A format change determination means is provided between the format data storage memory and the character data storage memory, and the determination means determines whether or not there is character data accompanied by a format change in the character data sent from the host device. If there is character data that involves a format change, it is checked whether the format indicated by the character data is the same as the format already set in the format data storage memory, and if these are different. A printing control method characterized in that, if the format data is stored in the format data storage memory, the format set in the format data storage memory is rewritten.
JP61082574A 1986-04-09 1986-04-09 Printing control system Pending JPS62238757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61082574A JPS62238757A (en) 1986-04-09 1986-04-09 Printing control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61082574A JPS62238757A (en) 1986-04-09 1986-04-09 Printing control system

Publications (1)

Publication Number Publication Date
JPS62238757A true JPS62238757A (en) 1987-10-19

Family

ID=13778252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61082574A Pending JPS62238757A (en) 1986-04-09 1986-04-09 Printing control system

Country Status (1)

Country Link
JP (1) JPS62238757A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5104245A (en) * 1989-01-13 1992-04-14 Casio Computer Co., Ltd. Printing apparatus with form editor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5104245A (en) * 1989-01-13 1992-04-14 Casio Computer Co., Ltd. Printing apparatus with form editor

Similar Documents

Publication Publication Date Title
JPH01277928A (en) Printer
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPS62238757A (en) Printing control system
JPS5821274B2 (en) data terminal equipment
JP2520129B2 (en) Information output device
JPS62173526A (en) Page buffer control system
JPH0522933B2 (en)
US4460971A (en) Terminal apparatus using register information to determine the meaning of a buffer stored field defining character
JPS5981778A (en) Print control system
JPS5839326A (en) Program loading system
JPH01139267A (en) Color recording apparatus
JP2717089B2 (en) Image output device
JP3027849B2 (en) Printing device
JP2872144B2 (en) Printing equipment
JPH04201471A (en) Controller of page printer
JPS58222334A (en) Printer
JPH01145150A (en) Printer
JPH0624048A (en) Printer
JPH0196724A (en) Picture output device
JPH01241617A (en) Printer
JPS62172457A (en) Bus connecting device
JPH0761087A (en) Efficient utilization method for frame memory
JPH03180378A (en) Printer controller
JPH02280224A (en) System for reducing list printing quantity
JPH0196723A (en) Picture output device