JPS63246263A - Character pattern printer - Google Patents

Character pattern printer

Info

Publication number
JPS63246263A
JPS63246263A JP62077439A JP7743987A JPS63246263A JP S63246263 A JPS63246263 A JP S63246263A JP 62077439 A JP62077439 A JP 62077439A JP 7743987 A JP7743987 A JP 7743987A JP S63246263 A JPS63246263 A JP S63246263A
Authority
JP
Japan
Prior art keywords
character pattern
print data
group
management table
area
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
JP62077439A
Other languages
Japanese (ja)
Inventor
Toshiyuki Yamada
利之 山田
Yoshito Hagiwara
萩原 義人
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
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering 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 Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP62077439A priority Critical patent/JPS63246263A/en
Publication of JPS63246263A publication Critical patent/JPS63246263A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To enable a character pattern memory to be rewritten without interrupting a printing operation and enable a higher effective printing performance, by providing holding means for plural groups of printing data and plural groups of character patterns, and a control table for recording the use conditions of the holding means. CONSTITUTION:A control table 12 comprises 'V flags' for displaying the use conditions of rewritable areas 1-n in a character pattern memory correspondingly to the areas, and final page pointers 13 for printing data groups provided in a printing data buffer correspondingly to the areas. An input area pointer 16 includes an address 18 in the control table at which a character pattern group is to be stored next. When a designation for storage of character patterns is received, the V flag pointed by the pointer 16 is checked, and when the V flag is reset, a V flag is set in the control table; thus the pointer 13 is set. After updating the pointer 16 to point the next control table address, the character pattern group is stored into a corresponding character pattern memory area. When the V flag is set when it is checked, resetting of the V flag is waited for.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は上位装置からの印刷データを文字ノくターンv
c変換して印刷を行なう印刷装置ItK係り、特に高速
の印刷装置に好適な文字パターン印刷装置〔従来の技術
〕 一般に印刷文字種が多い文字ノくターン印刷装置は、印
刷データと、その印刷データで使用する文字パターンを
上位装置より受信し、印刷データを文字パターンに変換
して印刷を行う。例えば特開昭6a −171527号
公報は文字パターン記憶手段、イメージバッファ、プリ
ンタ制御部およびプリンタ駆動部より構成され、印刷デ
ータ受信前に、印刷データで使用する文字パターンを外
部装置より受信して文字パターン記憶手段にて記憶し、
印刷データ受信時に対応する文字ノくターンを文字ノく
ターン記憶手段から読出してイメージバッファに「納し
、CRコードを受取るとイメージノ(ツファから文字パ
ターンを読出して印字する方式を示して−ゝる。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention converts print data from a host device into character
A character pattern printing device that is particularly suitable for high-speed printing devices [Prior art] Character pattern printing devices that print with many types of characters are generally used to convert print data and print data. The character pattern to be used is received from the host device, the print data is converted to the character pattern, and printing is performed. For example, Japanese Patent Application Laid-open No. 6a-171527 is composed of a character pattern storage means, an image buffer, a printer control section, and a printer drive section. stored in a pattern storage means,
When print data is received, the corresponding character pattern is read from the character pattern turn storage means and stored in the image buffer, and when the CR code is received, the character pattern is read from the image buffer and printed. Ru.

〔発明が解決しようとする四組点〕[Four points to be solved by the invention]

上記従来技術ではイメージバッファの印字が終了しない
と、次のデータのイメージノ(ツ7アへの文字パターン
展開ができないという間順がある。
In the above-mentioned prior art, there is a problem in that unless the printing of the image buffer is completed, the character pattern cannot be developed to the next image data.

この対策としてイメージバッファを2面持つ方式がある
が、それでもイメージバッファへの文字)9ターン展開
中には次の印刷データおよびそれに灯応する文字パター
ンを受信できないため、プリ/夕駆動部の印刷に要する
時間が印刷データおよび文字パターンの受信とイメージ
バッファへの展開に要する時間に比較して小さいとき、
すなわち高速プリンタまたは文字種が多く文字パターン
受信時間が長いような大規模印刷装置におい℃は印胴r
に中断時間ができてしまい実効印刷性能が落ちるという
問題があった。
As a countermeasure to this problem, there is a system that has two image buffers, but even so, the next print data and the corresponding character pattern cannot be received while the character to the image buffer is being expanded (9 turns). When the time required to process is small compared to the time required to receive print data and character patterns and develop them into the image buffer,
In other words, in high-speed printers or large-scale printing equipment with many character types and long character pattern reception times, °C is the printing cylinder r.
There was a problem in that the effective printing performance deteriorated due to the interruption time.

本発明の目的は実効印刷性能の低下しない文字パターン
印刷装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character pattern printing device in which effective printing performance does not deteriorate.

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

上記目的は、印刷装置に、複数の印刷データ許な保持す
る印刷データ保持手段と、複数の文字パターン群を保持
する文字パターン保持手段と、印刷データおよび文字パ
ターンの各群の保持手段の使用状態を記録する管理テー
ブルを備え、ある群の印刷データに対応するある群の文
字パターンを文字パターン保持手段に格納する動作と、
別群の印刷データに対応する別群の文字パターンを読出
して印字機阿部に送出して印字させる動作とを併行して
実行することにより達成される。
The above purpose is to provide a printing device with a print data holding means for holding a plurality of print data, a character pattern holding means for holding a plurality of character pattern groups, and a usage state of the holding means for each group of print data and character patterns. an operation of storing a certain group of character patterns corresponding to a certain group of print data in a character pattern holding means;
This is achieved by simultaneously reading out another group of character patterns corresponding to another group of print data, sending it to the printing machine Abe, and having it printed.

〔作 用〕[For production]

上位装置から受信した印刷データ群は印刷データ保持手
段に書込まれる。印刷データ群の印刷に使用する文字パ
ターンは、印刷データ群の受信に先立って上位装置また
は本装置に接続された記憶装置から受信し、文字パター
ン群保持手段に格納される。文字パターン群保持手段は
複数の領域な有しているので、どの領域に格納するかを
管理するため、各預域対応に1使用中1または@空き”
を表示するフラグを持った管理テーブルが使用さ。
The print data group received from the host device is written into the print data holding means. The character patterns used for printing the print data group are received from the host device or the storage device connected to this device prior to receiving the print data group, and are stored in the character pattern group holding means. Since the character pattern group holding means has multiple areas, in order to manage which area to store data in, it is necessary to set 1 in use or 1 in use for each storage area.
A management table with a flag to display is used.

れる。It will be done.

印刷データ群の印刷を開始するとき、対応する文字パタ
ーン群領域の管理テーブルのフラグを1使用中”にし℃
、対応する文字パターンを読出して印刷機構部に送出し
印刷する。これと並行して、次の印刷データ群と文字パ
ターン群の受信か行われるが、文字パターン群は管理テ
ーブルのプラグをチェックして1空き”表示のある領域
に格納される。
When starting printing a print data group, set the flag in the management table of the corresponding character pattern group area to 1 "In use".
, the corresponding character pattern is read out and sent to the printing mechanism section for printing. In parallel with this, the next print data group and character pattern group are received, and the character pattern group is stored in the area indicated by "1 free" after checking the plug in the management table.

印刷データ群の印刷が終了すると、対応する文字パター
ン群が格納されていた文字パターン保持手段領域の管理
テーブルのフラグが”空き”と表示される。以上の動作
を繰返すことによって印刷が中断されることなく実行さ
れる。
When the printing of the print data group is completed, the flag in the management table of the character pattern holding means area in which the corresponding character pattern group was stored is displayed as "empty". By repeating the above operations, printing can be executed without interruption.

〔実施例〕〔Example〕

第1図は演字プリンタの構成を示している。 FIG. 1 shows the configuration of a character printer.

上位装置1からは、まず各印刷ジョブにおいて共“通に
使用される文字パターン群が送信される。漢字プリンタ
は、メインプロセッサ4の制御により上記文字パターン
群を中間バッファ6経由で文字パターンメモリ6の固定
領域に格納する。以後、上位装置1からは、第1群印刷
データ用文字パターン、第1群印刷データ、第2群印刷
データ用文字パターン、第2群印刷データ、・・・のよ
うな順序で送信される。
The host device 1 first sends a group of character patterns commonly used in each print job. After that, the host device 1 sends data such as the character pattern for the first group print data, the first group print data, the character pattern for the second group print data, the second group print data, etc. sent in the correct order.

ある群の印刷データが固定領域の文字パターンのみを使
用する場合は、その群特有の文字パターンは不要であり
、上位装置1はその群に対応する文字パターンは送信し
ない。各群の印刷データは1頁または複数頁分のデータ
で構成される。上aご各群の文字パターンの受信とメモ
リへの格納方法等の詳細については後述する。
If a certain group of print data uses only character patterns in a fixed area, character patterns unique to that group are unnecessary, and the host device 1 does not transmit character patterns corresponding to that group. Each group of print data is composed of data for one page or multiple pages. The details of how to receive the character patterns of each group (a) and how to store them in the memory will be described later.

上位装置1より送られてきた印刷データは、1行分ずつ
中間バッファ2に一時格納される。メインプロセッサ4
はメインメモリ5内の制御情報に従い、中間バッファに
格納されている印刷データ゛を編集して印刷データバッ
ファ5に蓄積する。1頁分の印刷データが蓄積されると
、メインプロセッサ4はプリントプロセッサ7に印刷指
示を行う。
Print data sent from the host device 1 is temporarily stored in the intermediate buffer 2 line by line. main processor 4
edits the print data stored in the intermediate buffer according to the control information in the main memory 5 and stores it in the print data buffer 5. When one page of print data is accumulated, the main processor 4 instructs the print processor 7 to print.

メインプロセッサ4は更に上位装置からの印刷データの
受信を続ける。印刷指示を受けたプリントプロセッサ7
は、印刷データバッファ5内の文字情報に従い、文字パ
ターンメモリ6より文字パターンを取り出してビデオ信
号に変換し、レープビームプリンタ8に送出して印刷を
行う。
The main processor 4 further continues receiving print data from the host device. Print processor 7 that received print instructions
In accordance with the character information in the print data buffer 5, a character pattern is taken out from the character pattern memory 6, converted into a video signal, and sent to the Lebbeam printer 8 for printing.

一方、文字パターンメモリ゛6内の文字パターン゛の誓
き替えは、上位装置の指示に従いメイ/プd七ッサ4が
行う。文字パターンデータは、上位装置から送られて(
る場合と、漢字プリンタ制御波Wvc内蔵されているフ
ロッピディスク9から読み出す場合がある。
On the other hand, the replacement of the character pattern in the character pattern memory 6 is carried out by the mapper 4 in accordance with instructions from the host device. Character pattern data is sent from the host device (
There are cases where the data is read from the floppy disk 9 in which the kanji printer control wave Wvc is built.

第2図は書き替え可能な文字パターンメモリを複数領域
(以下、この領域は面と呼ぶ)装備する方式の漢字プリ
ンタの主要部を示す。
FIG. 2 shows the main parts of a kanji printer equipped with multiple areas (hereinafter referred to as areas) of rewritable character pattern memory.

上位装置または上記フロッピディスクから受信した文字
パターン群は文字パターンメ七す11に格゛納する。各
印刷データで共通的に使用される使用′頻度の高い文字
パターン群は予め固定領域に格納され、それ以外の文字
パターンは、印刷データ群・に対応して書き替え可能領
域に格納される。第2図の例では路面の書き替え可能領
域を有している。
The character pattern group received from the host device or the floppy disk is stored in the character pattern memory 11. A frequently used character pattern group commonly used in each print data is stored in a fixed area in advance, and other character patterns are stored in a rewritable area corresponding to the print data group. The example shown in FIG. 2 has a rewritable area on the road surface.

また、上位装置から受信した印刷データ群は唯刷データ
バッファ5に格納される。1群の印刷データは複数頁か
ら構成されている。印刷データバッファには被数群の印
刷データが格納可能である。
Further, the print data group received from the host device is stored in the print data buffer 5. One group of print data is composed of multiple pages. The print data buffer can store print data of the augend group.

文字パターンメモリおよび印刷データバッファのどの領
域を使用するかを効率的に管理するために骨埋テーブル
12および入力面ポインタ16.出力面ポインタ17が
使用される。以下これらの機能の俸細について説明する
A bone burial table 12 and an input surface pointer 16 are used to efficiently manage which areas of the character pattern memory and print data buffer are to be used. An output surface pointer 17 is used. The details of these functions will be explained below.

第2図において、管理テーブル12は、文字パターンメ
モリの各書き替え可能領域(1)〜(ル)面に対応して
各面の使用状態表示用の°■フラグと各面に対応した印
刷データバッファ中の印刷データ群の最終頁ポインタ1
5から構成される。
In FIG. 2, the management table 12 includes °■ flags for displaying the use status of each side, and print data corresponding to each side, corresponding to each of the rewritable areas (1) to (ru) of the character pattern memory. Last page pointer 1 of print data group in buffer
Consists of 5.

入力面ポインタ16は、文字パターン群を次にどの面に
格納するかを示す管理テーブルのアドレス18を含む、
文字パターン格納指示を受けると、入力面ポインタ16
−C示される管理テーブルの■フラグをチェックし、リ
セットされていれば、すなわち”空き”表示であれば、
管理テーブルに■フラグをセットし、すなわち、”使用
中”表示とし、最終頁ボイ/り15をセットし、入力面
ポインタが次の管理テーブルアドレスを指すよう更新し
、然る後該当する文字パターンメモリ面に文字パターン
群を格納する。
The input surface pointer 16 includes an address 18 of a management table indicating on which surface the character pattern group will be stored next.
When receiving a character pattern storage instruction, the input surface pointer 16
-C Check the ■ flag in the management table shown, and if it has been reset, that is, if it is displayed as "vacant",
Set the ■ flag in the management table, that is, display it as "in use," set the last page VOI/RE15, update the input screen pointer to point to the next management table address, and then display the corresponding character pattern. Store character patterns on the memory surface.

入力面ポインタ16 lxされる管理テーブルのVフラ
グをチェックしたとき、セットされていればすなわち“
使用中”であれば、リセットされるま・で待つ。1■フ
ラグのリセットは後述の出力処理で行う。管理テーブル
12は、最初は(11面から使用し、(rL)面まで順
次使用する。管理テーブル0”■フラグの初期値は”未
使用”状態とし、(rL)面まで1度使用するまで、新
しく使用する面は未使用状態となっている。(ル)面使
用後、(1)前に戻り再度(11面から(ル)面まで順
次使用する。管理テーブルの1■フラグのリセットは、
出方処−理で行う。出力処理では、印刷が終了した印刷
データの頁数をカウントし、出力面ポインタ17で示さ
れる管理テーブルの印刷データの最終頁ポインタ15と
比較を行い、一致すると出力面ポインタで示される管理
テーブルの1■フラグをリセットする。第2図の出力面
ポインタ17の更新は”v7ラグリセツト後行い、以降
新しい出力面ポイ/りで示される管理テーブルの最終頁
ポインタと出力処理でカウントする印刷が終了した員数
を比較する0 面は先入れ先出し論理により、最新の面が(−)面とす
ると最も以前に薔き替えが行なわれた面は、(、z:+
1)面である。従って、C−)面書き替え後次の畜き替
えは(J+1)面となり、面が使用中かどうかの判定は
(J+1)面だけで行う。面が使用中かどうかの判定は
、管理テーブルの”Vフラグで行い、(J+1)面が使
用中の場合には出力処理で(a=+1)面の@Vフラグ
がリセッ・トされ、面が空(のを待ってから文字パター
ンC誓き替えを行う。
Input surface pointer 16 When checking the V flag of the management table to be lx, if it is set, that is, “
If it is "in use", wait until it is reset. 1. The flag is reset in the output process described later. The management table 12 is initially used from the (11th side) and sequentially up to the (rL) side. .Management table 0"■ The initial value of the flag is "unused", and until the (rL) surface is used once, the newly used surface remains unused. After the (r) surface is used, ( 1) Go back and use again (sequentially from level 11 to level (R). To reset the 1■ flag in the management table,
This is done in the output process. In the output process, the number of pages of the print data that has been printed is counted and compared with the last page pointer 15 of the print data of the management table indicated by the output surface pointer 17. If they match, the number of pages of the print data of the management table indicated by the output surface pointer is counted. 1■Reset the flag. The output surface pointer 17 in FIG. 2 is updated after the v7 lag reset, and after that, the last page pointer of the management table indicated by the new output surface pointer is compared with the number of printed pages counted during output processing. According to the first-in, first-out logic, if the latest side is the (-) side, the side that was replaced most recently is (, z: +
1) It is a surface. Therefore, after rewriting the C-) side, the next rewrite will be the (J+1) side, and whether or not the side is in use is determined only from the (J+1) side. Whether or not a surface is in use is determined by the "V flag" in the management table. If surface (J+1) is in use, the @V flag of surface (a=+1) is reset in the output process, and the surface is Wait until the character pattern C is empty, then replace the character pattern C.

文字パターン書き替え後、印刷データ群をバッファに蓄
積する際、後でプリントプロセッサが対応する文字パタ
ーンメモリ面が分るように新しい面情報15を付加する
After rewriting the character pattern, when storing the print data group in the buffer, new surface information 15 is added so that the print processor can later identify the corresponding character pattern memory surface.

第5図(α)は上記の入力処理の手順を示す。文字パタ
ーン蕾き替え指示がされると、入力面ポインタで示され
る管理テーブルの■フラグのチェックを行なう(ステッ
プ101)。°Vフラグ″が°使用中1を表示していれ
ば°空き”になるまで待つ。′■フラグ1が“空き”を
表示していれば入力面ポインタが示している管理テーブ
ルに対応する文字パターンメモリ面に文字パターンを格
納する(ステップ102)。次に管理テーブルに@V7
ラグと印刷データ群の最終頁ポインタをセクトする(ス
テップ105)。この後入力面ポインタ16が管理テー
ブルの次の面のアドレスを指すように更新する(ステッ
プ104)。
FIG. 5(α) shows the procedure of the above input processing. When a character pattern bud change instruction is given, the ■ flag in the management table indicated by the input screen pointer is checked (step 101). If the °V flag'' is displaying ``1 in use'', wait until it becomes ``vacant''. If the flag 1 indicates "empty", the character pattern is stored in the character pattern memory surface corresponding to the management table indicated by the input surface pointer (step 102). Next, go to the management table @V7
The lag and the last page pointer of the print data group are sected (step 105). Thereafter, the input surface pointer 16 is updated to point to the address of the next surface of the management table (step 104).

第5図(A)は上記の出力処理の手順を示す。1頁の印
刷が終了すると、印刷データの負数をカランドアツブす
る(ステップ111)。これと出力面ポインタ17゛C
示される管理テーブルの印刷データ群の最終頁ポインタ
1Sと比較を行なう(ステップ112)。一致しない場
合は印刷データ群の印刷は未完として本出力処理は終る
。一致する場合は印刷データ群の印刷は終了したことに
なり、管理テーブルの該当する“■フラグをリセットす
る(ステップ113)。続いて出力面ポインタ17が管
理テーブルの次の面を指すように更新する(ステップ1
14)。
FIG. 5(A) shows the procedure of the above output processing. When printing of one page is completed, a negative number of the print data is added (step 111). This and the output surface pointer 17゛C
A comparison is made with the last page pointer 1S of the print data group of the management table shown (step 112). If they do not match, the printing of the print data group is considered incomplete and the main output process ends. If they match, it means that printing of the print data group has finished, and the corresponding "■ flag in the management table is reset (step 113). Then, the output surface pointer 17 is updated to point to the next surface in the management table. (Step 1
14).

この方式は、文字パターンの書き替え量が一定でないと
きには無駄になるメモリ量が増大するという欠点がある
が、文字パターンの書き替え量が一定の場合、例えば一
定の文字数を文字セットイヒして扱うときには、制御が
容易であり有効な方式である。なお、複数の面は一面の
文字パターンメモリを均等に分割し、論理的な面として
扱うことも可能である。
This method has the disadvantage that the amount of wasted memory increases when the amount of character pattern rewriting is not constant, but when the amount of character pattern rewriting is constant, for example, when handling a certain number of characters with a character set, , is an easy and effective method to control. Note that it is also possible to equally divide one side of the character pattern memory into a plurality of planes and treat them as logical planes.

第4〜6図は、本発明の他の実施例を示すものテ111
kTの文字ハターンメモリ21を文字パターンの誉き替
え意に応じて論理的に分割する方式の実施・例である。
4 to 6 show other embodiments of the present invention.
This is an implementation example of a system in which the character pattern memory 21 of kT is logically divided according to the intention of changing character patterns.

第4図に示すように、文字パターンメモリの書き替え可
能領域に対して適当な回数外、例えばル回分の管理テー
ブル22をメインメモリに用意し、文字パターン薔き替
え時その領域に対して管理テーブルを割り当て、1使用
中”であることを示す°■フラグをセットする。領域に
割り当てられた管理テーブルは、入力領域ポインタ26
および補助的に使用する一時ポインタ26gと出力領域
ポインタ27の管理テーブルアドレス28.28g。
As shown in FIG. 4, a management table 22 is prepared in the main memory for an appropriate number of times, for example, one time, for the rewritable area of the character pattern memory, and the management table 22 is prepared for the rewritable area in the character pattern memory. Allocates a table and sets the °■ flag indicating that the table is in use.The management table allocated to the area is located at the input area pointer 26.
and management table address 28.28g of temporary pointer 26g and output area pointer 27 used auxiliary.

29によっ℃示される。入力領域ポインタ26および一
時ポインタ26tLは、第6図(a)で示す入力処理で
使用する(説明後述)。
It is indicated by 29 °C. The input area pointer 26 and the temporary pointer 26tL are used in the input processing shown in FIG. 6(a) (explanation will be given later).

文字パターン書き替え時、文字パターンを一旦中間バッ
ファに所定の文字数分(例えば最大26文字分)受信し
てから、空き領域に格納していき、格納完了時に入力領
域ポインタで示される管理テーブルに°■フラグと文字
パターンが格納された最終アドレスを文字パターンメモ
リポインタ25に、および印刷データ群の最終頁番号を
最終頁がインタ24vcセツトし、入力領域ポインタの
管理テ−プルアドレス28と文字パターンメモリポイン
タ50を更新する。文字パターンメモリポインタ50匠
When rewriting a character pattern, the character pattern is first received in the intermediate buffer for a predetermined number of characters (for example, up to 26 characters), then stored in an empty area, and when the storage is completed, it is stored in the management table indicated by the input area pointer. ■The last address where the flag and character pattern are stored is set to the character pattern memory pointer 25, and the last page number of the print data group is set to the last page interface 24vc, and the management table address 28 of the input area pointer and the character pattern memory are set. Update pointer 50. 50 character pattern memory pointers.

は、直前で使用していた管理テーブルにセットされた文
字パターンメモリポインタ+1の値を入れる。
enters the character pattern memory pointer +1 value set in the management table that was used immediately before.

最初、文字パターンメモリは書き替え可能領域の先頭ア
ドレスから順次最終アドレスまで使用し、管理テーブル
も1回目からル回目まで順次使用する。管理テーブルの
1■フラグの初期値は未使用とし、ル回目まで1度使用
するまでは未使用状態である。文字パターンメモリは最
終アドレス使用後、書き替え可能領域の先頭アドレスに
戻り再度使用され、管理テーブルも九回目使用後1回目
に戻り再度使用される。
Initially, the character pattern memory is used sequentially from the first address to the last address of the rewritable area, and the management table is also used sequentially from the first time to the second time. The initial value of the 1■ flag in the management table is unused, and it remains unused until it is used once. After the last address is used, the character pattern memory returns to the first address of the rewritable area and is used again, and the management table also returns to the first address after being used for the ninth time and is used again.

管理テーブルの”Vフラグのリセットは、出力処理で行
う。出力処理では、第6図<b>で示すように印刷が終
了した印刷データ群の頁数をカウントし、第4図の出力
領域ポインタ27−C示される管理テーブル中の印刷デ
ータの最終頁ポインタ24と比較し、一致すると出力領
域ポインタで示される管理テーブルの°■フラグをリセ
ットする。
The "V" flag in the management table is reset in the output process. In the output process, the number of pages of the print data group that has been printed is counted as shown in Figure 6 <b>, and the output area pointer in Figure 4 is 27-C It is compared with the last page pointer 24 of the print data in the management table shown, and if they match, the °■ flag of the management table shown by the output area pointer is reset.

出力領域ポインタは”■フラグリセット後、管理テーブ
ルアドレスと文字パターンメモリポインタを更新する。
The output area pointer is "■ After the flag is reset, the management table address and character pattern memory pointer are updated.

文字パターンメモリポインタ51には、′■フラグをリ
セットした管理テーブル中にセットされていた文字パタ
ーンメモリポインタ25の値+1が入る。以降、新しい
出力領域ポインタで示される管理テーブルの最終頁ポイ
ンタと出力処理でカウントする印刷が終了した負数を比
較する。
The character pattern memory pointer 51 receives the value +1 of the character pattern memory pointer 25 that was set in the management table in which the '■ flag was reset. Thereafter, the final page pointer of the management table indicated by the new output area pointer is compared with the negative number counted in the output process, indicating the completion of printing.

この方式では、文字パターンメモリの分割領域数と管理
テーブルの数が一致するとは限らないため、第5図で示
すように、(α)文字パターンメモリ容量に比べ管理テ
ーブル数が少ないケース、(h) 文字パターンメモリ
容量に比べ管理テーブル数が多過ぎるケースが発生する
可能性がある。
In this method, the number of divided areas of the character pattern memory and the number of management tables do not necessarily match, so as shown in Figure 5, (α) the case where the number of management tables is small compared to the character pattern memory capacity, (h ) There may be a case where the number of management tables is too large compared to the character pattern memory capacity.

文字パターンメモリ容量に比べ管理テーブル数が少ない
ケ′−ス(α)では、メモリに52よすような空き領域
があるにもかかわらず、管理テープI22が全て”使用
中”であるため、管理テーブル2zが空くのを待たなけ
ればならない。例えば、F&回目の管理テーブル使用後
は、1回目に使用した管理テーブルに戻って再度使用す
るか、1回目に書き替えた文字パターンを使用する印刷
データの最終レコードの印刷がまだ終了していないと、
1回目の管理テーブルはまだ1使用中”の−め、最終レ
コードの印刷が終了して管理テーブル22がを(のを待
たなければならない。この判定は、管理テーブルの1V
フラグで行う。
In case (α) where the number of management tables is small compared to the character pattern memory capacity, management tape I22 is all “in use” even though there is free space such as 52 in the memory. I have to wait until table 2z becomes available. For example, after using the management table for the F&th time, either return to the management table used the first time and use it again, or the printing of the last record of print data that uses the character pattern rewritten the first time has not finished printing yet. and,
The first management table is still in use, so you have to wait until the last record is printed and the management table 22 is opened.
Do it with flags.

また、文字パターンメモリ容量に比べ管埋テーブル数が
多過ぎるケース(h)では、管理テーブル22には空き
があるのに文字パターンメモリ21に充分な空き領域が
ないという状態になってしまい、メモリが空くまで待だ
なげればならない。例えばx+1回目のメモリ書き替え
の際、管理テーブルは空いているが、メモリの空き領域
が不足している場合、1゛回目に書き替えを行なった領
域が空くのを待たなければならない。これは入力領域ポ
インタ26と出力領域ポインタ270文字パターンメモ
リポインタ50.51 Kよって空き領域のチェックを
行い、x −)−1回目の書き替えに充分な空き領域が
確保されるまで待つ。空き領域待ち中、入力領域ポイン
タの文字パターンメモリポインタ50は変らないが、1
回目に書き替えた文字パターンを使用する印刷データの
最終頁の印刷が終了すると、bカ領域ポインタの文字パ
ターンメモリポインタ31−が更新され、望き領域が拡
充される。
In addition, in the case (h) where the number of embedded tables is too large compared to the character pattern memory capacity, the character pattern memory 21 does not have enough free space even though there is space in the management table 22, and the memory I have to wait until it's empty. For example, when the memory is rewritten for the x+1 time, the management table is empty, but if there is not enough free space in the memory, it is necessary to wait until the area where the memory was rewritten for the first time becomes free. This checks the free space using the input area pointer 26, the output area pointer 270, and the character pattern memory pointer 50.51K, and waits until enough free space is secured for x-)-1 rewriting. While waiting for free space, the character pattern memory pointer 50 of the input area pointer does not change, but it becomes 1.
When printing of the last page of the print data using the character pattern rewritten the second time is completed, the character pattern memory pointer 31- of the b area pointer is updated and the desired area is expanded.

空き領域待ちは、入力領域ポインタと出力領験ポインタ
の文字パターンメモリポインタ50,51 ニよりて空
き領域が充分かどうかの判定を行うため、文字パターン
メモリポインタ25’l:yされる1回目の書き替え領
域だけで不充分な場合には2回目以降の書き替え領域が
空(のを待つことになる。trお、x+1回目で最終ア
ドレスまで書き替えると引き続き先頭アドレスに戻っC
書き替えを行う。
Waiting for free space is performed by checking the character pattern memory pointers 50 and 51 of the input area pointer and output trial pointer to determine whether there is enough free space. If the rewrite area alone is not enough, you will have to wait until the rewrite area is empty for the second and subsequent times.trO, if you rewrite to the final address at the x+1 time, it will continue to return to the first address.C
Perform rewriting.

但し、入力領域ポインタと出力領域ポインタで示す管理
テーブルアドレスが同一のときには、出方領域ポインタ
の文字パターンメモリポインタを超えてメモリの豊き替
えを行うことになり、一度に・書き替える汰がメモリ容
量より多いということでエラーにする。
However, if the management table address indicated by the input area pointer and the output area pointer is the same, the memory will be rewritten beyond the character pattern memory pointer of the output area pointer, and the rewriting will be done at once. An error occurs because the amount is larger than the capacity.

第6図(α)は文字パターンメモリ可変長方式における
入力処理の手順を示す。第4図併用。文字パターン書き
替え指示を受けると、先ず、領域不足時の処理の準備を
しておくため入力領域ポインタ26の管理テーブルアド
レス28を一時ポインタ34の管理テーブルアドレス5
5へ移す。すなわちコピーをとる(ステップ201)。
FIG. 6(α) shows the input processing procedure in the character pattern memory variable length method. Combined with Figure 4. When a character pattern rewriting instruction is received, first, the management table address 28 of the input area pointer 26 is changed to the management table address 5 of the temporary pointer 34 in order to prepare for processing when the area is insufficient.
Move to 5. That is, a copy is made (step 201).

次に、一時ポインタの管理テーブルアドレスで示される
管理テーブルの”■フラグをチェックしくステップ20
2)、セットされ℃いれば1使用中”であるから、出力
処理で°■フラグがリセットされるのを待つ。@V7ラ
グがリセットされていると、一旦中間バッファに受信し
ていた文字パターンを文字パターンメモリに格納する(
74テツプ203)。
Next, check the "■ flag of the management table indicated by the management table address of the temporary pointer" in step 20.
2) If it is set, it means 1 is in use, so wait for the °■ flag to be reset in the output process.@V7 If the lag has been reset, the character pattern that was once received in the intermediate buffer is stored in the character pattern memory (
74 step 203).

ここで文字パターン群全体の格納が終了していなければ
、少なくとも次の中間バッファ受信デー2分の格納領域
があるかどうかチェックする。これは、中間バッファか
ら文字パターンメモリへ格納する最終アドレス(LA)
と一時ポインタで示された管理テーブルに含まれる文字
パターンメモリポインタ(EP)と比較し、詰がEP以
下であれば領域充分、詰がEPを超えれば領域不足を意
味する(ステップ205)。
If the entire character pattern group has not been stored yet, a check is made to see if there is a storage area for at least two of the next intermediate buffer received data. This is the final address (LA) to store from the intermediate buffer to character pattern memory.
is compared with the character pattern memory pointer (EP) included in the management table indicated by the temporary pointer, and if the end is less than or equal to EP, there is enough space, and if the end is more than EP, there is insufficient space (step 205).

領域充分であればステップ205へ戻り格納を続ける。If the area is sufficient, the process returns to step 205 and continues storage.

領域不足であれば、一時ポインタを次の管理・テーブル
アドレスを示すように更新し、ステップ202へ戻る、
すなわち次の領域が空くのを待1なお一時ポインタを更
新したとき、一時ポインタと入力領域ポインタと比較し
くステップ207)。
If there is insufficient space, update the temporary pointer to indicate the next management/table address and return to step 202;
That is, when the temporary pointer is updated after waiting for the next area to become free, the temporary pointer and the input area pointer are compared (step 207).

一致すると、これは文字パターンメモリ領域ヲー巡して
書き替えたにもがかわらず更に書き替えを必要としてい
る、すなわち領域が絶対的に不足していることを意味し
エラー扱いとする。
If they match, this means that even though the character pattern memory area has been traversed and rewritten, further rewriting is required, that is, there is an absolute shortage of area, and this is treated as an error.

ステップ204で文字パターン群全体の格納が終了した
場合は、入力領域ポインタで示される管理テーブル22
の@Vフラグをセットし、文字パ久−ンメモリポインタ
25に文字パターンメモリへの最終格納アドレス詰をセ
ットし、印刷データ群の最終買値を最終頁ポインタ24
にセットする(ステップ208)。また、入力領域ポイ
ンタ26を次の管理テーブルアドレスを指すように更新
し、文字パターンメモリポインタ50に最終格納アドレ
ス詰÷1をセットし次の入力に備える。
When the storage of the entire character pattern group is completed in step 204, the management table 22 indicated by the input area pointer
The @V flag is set, the final storage address to the character pattern memory is set in the character pattern memory pointer 25, and the final purchase price of the print data group is set in the last page pointer 24.
(step 208). Furthermore, the input area pointer 26 is updated to point to the next management table address, and the character pattern memory pointer 50 is set to the final storage address divided by 1 in preparation for the next input.

この方式は、制御が複雑であるという欠点はあるが、文
字パターンメモリの書き替え量が一定でないときにもメ
モリを無駄なく使用できるので、メモリの書き替え童が
一定しないときには有効な方式である。
Although this method has the disadvantage of complicated control, it is effective when the number of memory rewrites is not constant because the memory can be used without wasting even when the amount of rewriting of the character pattern memory is not constant. .

以上説明したように、バッファに蓄積され”Cbsる印
刷データで使用している文字パターンが格納されている
メモリの面やエリア以外を書き替えることにより、バッ
ファ内の印刷データを全て出力する必要がなくなり印刷
性能を向上させることが、可能である。
As explained above, it is necessary to output all of the print data in the buffer by rewriting areas other than the memory side or area where the character patterns used in the print data stored in the buffer are stored. It is possible to eliminate this problem and improve printing performance.

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

本発明によれば、印刷動作を中断することなく文字パタ
ーンメモリの書き替えが可能になり、実効印刷性能を向
上させることが可能である。特に印刷装置は用紙送り機
構をはじめとし、機械部分で出来て−・るところが多(
、一度印刷を中断した後再開するには機械部分の立ち上
がり時間に数秒程度必要となることがある。例えば11
インチ用紙で毎秒5頁程度印刷するような冒速の印刷機
では、数秒の中断が非常に大きなオーバヘッドになって
おり、本発明はこのオーバヘッドを低減させるものの1
つである。
According to the present invention, it is possible to rewrite the character pattern memory without interrupting the printing operation, and it is possible to improve the effective printing performance. In particular, printing devices are often made up of mechanical parts, including the paper feed mechanism.
In order to resume printing after it has been interrupted, it may take several seconds for the machine to start up. For example 11
In high-speed printing machines that print about 5 pages per second on inch paper, an interruption of several seconds results in a very large overhead, and although the present invention reduces this overhead, it is
It is one.

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

第1図は本発明による漢字プリンタの構成図、第2図は
本発明の一実施例における文字パターンメモリ、印刷デ
ータバッファと管理テーブルとの関連を示す図、第5図
は本発明の一実施例における入力処理と出力処理の主要
部分のフローチャート、第4図は本発明の他の実施例に
おける文字パターンメモリ、印刷データバッファと管理
テーブルとの関連を示す図、第5図は本発明の他の実施
例における文字パターンメモリの書き替え可能領域と管
理テーブルとの関連を示す図、第6図は本発明の他の実
施例における入力処理と出力処理σ主要部分の70−チ
ャートである。 1・・・上位装置(ホスト)、2・・・中間バッファ、
5・・・メインメモリ、4・・・メインプロセッサ、5
・・・印刷データバッファ、6,11.21・・・文字
パターンメモリ、7・・・プリントプロtツサ、8・・
・レーザビームプリンタ、9・・・70ツピデイスク、
12.22′・・・管理テーブル、15.24・・・最
長頁ポインタ、15・−面情報、16・・・入力面ポイ
ンタ、17・・・出力面ポインタ、18,19,28,
29,28α・・・管理テーブルアドレス、25.50
,51・・・文字パターンメモリポインタ(アドレス)
、26・・・入カニリアポインタ、29・・・出カニリ
アポインタ。 第2図 第3図 <a−>入力処理          (b)  出力
九J里第 6 (α〕入力丸理 (b)出力処理 る文沖Cターシ メモリ4でイニ、夕
FIG. 1 is a block diagram of a kanji printer according to the present invention, FIG. 2 is a diagram showing the relationship between a character pattern memory, a print data buffer, and a management table in an embodiment of the present invention, and FIG. 5 is an embodiment of the present invention. FIG. 4 is a flowchart of the main parts of the input processing and output processing in the example, FIG. 4 is a diagram showing the relationship between the character pattern memory, print data buffer, and management table in another embodiment of the present invention, and FIG. FIG. 6 is a diagram showing the relationship between the rewritable area of the character pattern memory and the management table in this embodiment, and FIG. 6 is a 70-chart of the main parts of the input processing and output processing σ in another embodiment of the present invention. 1... Upper device (host), 2... Intermediate buffer,
5... Main memory, 4... Main processor, 5
...Print data buffer, 6,11.21...Character pattern memory, 7...Print processor, 8...
・Laser beam printer, 9...70 disks,
12.22'... Management table, 15.24... Longest page pointer, 15... - side information, 16... Input side pointer, 17... Output side pointer, 18, 19, 28,
29,28α...Management table address, 25.50
, 51...Character pattern memory pointer (address)
, 26... Input pointer, 29... Output pointer. Figure 2 Figure 3 <a-> Input processing (b) Output 9 Jri No. 6 (α) Input processing (b) Output processing

Claims (1)

【特許請求の範囲】 1、上位装置から受信した複数群の印刷データを保持す
る印刷データ保持手段と、上記印刷データに対応する文
字パターンを保持する書き替え可能な文字パターン保持
手段とを備え、印刷データ保持手段の印刷データを文字
パターンに変換して印字を行なう印刷装置において、上
記文字パターン保持手段は少なくとも2群の文字パター
ン群を保持する領域を有し、上記文字パターン保持手段
および印刷データ保持手段の使用状況を示す管理テーブ
ルを備え、該管理テーブルを参照して、ある文字パター
ン領域を使用しての印字中に、別の空き文字パターン領
域へ別群の文字パターンを格納することにより文字パタ
ーンの書き替えと印字動作を併行動作させることを特徴
とする文字パターン印刷装置。 2、上記文字パターン保持手段は、上記印刷データの各
群に共通な固定パターン群と、上記印刷データの各群に
対応する少なくとも2群の文字パターン群を保持する領
域を有し、上記管理テーブルは上記印刷データの各群対
応の文字パターン群の使用状況を示すことを特徴とする
特許請求の範囲第1項記載の文字パターン印刷装置。 3、上記印刷データに対応する文字パターン群保持手段
の領域を固定長とし、上記管理テーブルは各領域の使用
状況を示すフラッグを有することを特徴とする特許請求
の範囲第1項または第2項記載の文字パターン印刷装置
。 4、上記印刷データに対応する文字パターン群保持手段
の領域は、文字パターン群の大きさに応じて可変長とし
、上記管理テーブルは、文字パターン保持手段の領域の
使用状況を示すフラッグと該領域のアドレスを保持する
ことを特徴とする特許請求の範囲第1項または第2項記
載の文字パターン印刷装置。 5、上記印刷データ群は複数頁のデータから構成され、
上記管理テーブルは、各印刷データ群の最終頁番号を保
持していることを特徴とする特許請求の範囲第1項乃至
第4項記載の文字パターン印刷装置。
[Scope of Claims] 1. A print data holding means for holding a plurality of groups of print data received from a host device, and a rewritable character pattern holding means for holding a character pattern corresponding to the print data, In a printing device that converts print data stored in a print data holding means into a character pattern and performs printing, the character pattern holding means has an area for holding at least two groups of character patterns, and the character pattern holding means and the print data By providing a management table indicating the usage status of the holding means, and storing another group of character patterns in another empty character pattern area while printing using a certain character pattern area by referring to the management table. A character pattern printing device characterized by performing character pattern rewriting and printing operations in parallel. 2. The character pattern holding means has an area for holding a fixed pattern group common to each group of the print data and at least two groups of character patterns corresponding to each group of the print data, and the above management table 2. The character pattern printing apparatus according to claim 1, wherein: indicates the usage status of the character pattern group corresponding to each group of the print data. 3. The area of the character pattern group holding means corresponding to the print data has a fixed length, and the management table has a flag indicating the usage status of each area. The character pattern printing device described. 4. The area of the character pattern group holding means corresponding to the print data has a variable length depending on the size of the character pattern group, and the management table includes a flag indicating the usage status of the area of the character pattern holding means and the area. 3. The character pattern printing device according to claim 1, wherein the character pattern printing device holds an address of . 5. The print data group is composed of multiple pages of data,
5. The character pattern printing apparatus according to claim 1, wherein the management table holds the last page number of each print data group.
JP62077439A 1987-04-01 1987-04-01 Character pattern printer Pending JPS63246263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62077439A JPS63246263A (en) 1987-04-01 1987-04-01 Character pattern printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62077439A JPS63246263A (en) 1987-04-01 1987-04-01 Character pattern printer

Publications (1)

Publication Number Publication Date
JPS63246263A true JPS63246263A (en) 1988-10-13

Family

ID=13634054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62077439A Pending JPS63246263A (en) 1987-04-01 1987-04-01 Character pattern printer

Country Status (1)

Country Link
JP (1) JPS63246263A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0480742A2 (en) * 1990-10-12 1992-04-15 Canon Kabushiki Kaisha Image processing apparatus
JPH04249168A (en) * 1991-02-04 1992-09-04 Hokuriku Nippon Denki Software Kk Page printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0480742A2 (en) * 1990-10-12 1992-04-15 Canon Kabushiki Kaisha Image processing apparatus
JPH04249168A (en) * 1991-02-04 1992-09-04 Hokuriku Nippon Denki Software Kk Page printer

Similar Documents

Publication Publication Date Title
US5142667A (en) Resource and memory management algorithms for electric printing and electronic reprographic systems
DE69317698T2 (en) Process for translating a variety of printer-side descriptive languages
US5241672A (en) System using the storage level of file updates in nonvolatile memory to trigger saving of RAM to disk and using the file updates to reboot after crash
JP3612339B2 (en) Data processing method and apparatus
US4943936A (en) Print control apparatus controlling utilization state of plural format blocks
JP2000335022A (en) Printer control device
EP0507026B1 (en) A process for storing files of an electronic system
US20120026521A1 (en) Image processing apparatus, computer-readable storage medium storing program and image processing method
JPS63246263A (en) Character pattern printer
JP4218582B2 (en) Image forming apparatus
JP2000181643A (en) Device and method for image formation
JPH01118956A (en) Data processor
JP3013577B2 (en) Memory management device and printer with memory management device
JPH023351A (en) Printer
JPH03265025A (en) Control system for memory
JP2785798B2 (en) Page printer
JPH0465260A (en) Printer
JPH0991195A (en) Block memory management device
JPH0532766B2 (en)
JPH03238543A (en) Data communication equipment
JPS63121086A (en) Alternative character processing system
JP2001136353A (en) Memory device
JPS63135257A (en) Printing data processing of printer
JPH01114933A (en) Printer
JPH1170708A (en) Method and apparatus for controlling paper discharge position in printer