JPH03248869A - Printing system - Google Patents
Printing systemInfo
- Publication number
- JPH03248869A JPH03248869A JP2048445A JP4844590A JPH03248869A JP H03248869 A JPH03248869 A JP H03248869A JP 2048445 A JP2048445 A JP 2048445A JP 4844590 A JP4844590 A JP 4844590A JP H03248869 A JPH03248869 A JP H03248869A
- Authority
- JP
- Japan
- Prior art keywords
- character
- letter
- undefined
- data file
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000004044 response Effects 0.000 claims description 2
- 238000000034 method Methods 0.000 abstract description 9
- 238000002360 preparation method Methods 0.000 abstract description 2
- 230000000717 retained effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明は印字システムに関し、特に予め定義された文字
情報及びこれに対応する文字パターンが登録されている
文字パターンデータファイルを有し、入力された文字情
報に対応する文字パターンを文字パターンファイルから
読出して印字する印字システムに関する。[Detailed Description of the Invention] Technical Field The present invention relates to a printing system, and in particular, has a character pattern data file in which predefined character information and character patterns corresponding to the character information are registered, and which corresponds to input character information. The present invention relates to a printing system that reads a character pattern from a character pattern file and prints it.
従来技術
従来この種の印字システムにおいては、文字情報及びこ
れに対応する文字パターンが予め登録されているファイ
ルが設けられていた。そして、上位装置から印字すべき
文字の情報が送られてくると、そのファイルから対応す
る文字パターンを読出して印字を行っていた。BACKGROUND ART Conventionally, in this type of printing system, a file is provided in which character information and character patterns corresponding to the character information are registered in advance. When information about characters to be printed is sent from the host device, the corresponding character pattern is read from the file and printed.
しかし、上位装置から送られてくる文字情報が未定義で
ある場合には、これに対応する文字パターンがファイル
内に存在せず、その部分だけスペースになる等、印字文
字が保証されないという欠点があった。However, if the character information sent from the host device is undefined, the corresponding character pattern does not exist in the file, and there is a drawback that the printed character is not guaranteed, such as a space in that part. there were.
発明の目的
本発明は上述した従来の欠点を解決するためになされた
ものであり、その目的は未定義文字についても印字結果
が保証される印字システムを提供することである。OBJECTS OF THE INVENTION The present invention has been made to solve the above-mentioned conventional drawbacks, and its purpose is to provide a printing system that guarantees printing results even for undefined characters.
発明の構成
本発明による印字システムは、予め定義された文字情報
及びこれに対応する文字パターンが登録されている文字
パターンデータファイルを有し、入力された文字情報に
対応する文字パターンを前記文字パターンデータファイ
ルから読出して印字する印字システムであって、外部か
らの登録指令に応じて未定義の文字情報と前記文字パタ
ーンのうちの予め定められた文字パターンとを対応させ
て前記文字パターンデータファイルに登録する未定義文
字登録手段を有することを特徴とする。Composition of the Invention The printing system according to the present invention has a character pattern data file in which predefined character information and character patterns corresponding to the character information are registered, and the character pattern corresponding to the input character information is registered in the character pattern. A printing system that reads data from a data file and prints the data, the system associates undefined character information with a predetermined character pattern among the character patterns in response to a registration command from an external device, and prints the data in the character pattern data file. It is characterized by having undefined character registration means for registering.
実施例 次に、本発明について図面を参照して説明する。Example Next, the present invention will be explained with reference to the drawings.
第1図は本発明による印字システムの一実施例の構成を
示すブロック図である。図において、本実施例の印字シ
ステムは未定義文字に対する代替文字情報の編集手段1
及び未定義文字に対する代替文字情報の[]本語プリン
タ用文字パターンデタファイル内への登録手段2、更に
は未定義文字に対する代替文字情報を1」木語プリンタ
に格納する格納手段3を含むホストコンピュータ10と
、日本語プリンタ用文字パターンのデータファイル4と
、未定義文字の印字時に代替文字印字を行う印字手段6
及び未定義文字管理領域7を含む日本語プリンタ5とを
有している。FIG. 1 is a block diagram showing the configuration of an embodiment of a printing system according to the present invention. In the figure, the printing system of this embodiment is an editing means 1 of alternative character information for undefined characters.
and registration means 2 for registering alternative character information for undefined characters in the character pattern data file for the main language printer, and storage means 3 for storing alternative character information for the undefined characters in the wooden printer. A computer 10, a data file 4 of character patterns for Japanese printers, and a printing means 6 for printing alternative characters when printing undefined characters.
and a Japanese printer 5 including an undefined character management area 7.
未定義文字に対する代替文字情報の編集手段1は、印字
対象となる文字の字体を示す情報の文字コードを、その
文字が未定義であった場合に代替印字を行う文字のコー
ドと共に編集する機能を有する。また、未定義文字に対
する代替文字情報の日本語プリンタ用文字パターンのデ
ータファイル4内への登録手段2により、編集した代替
文字情報を日本語プリンタ用文字パターンのデータファ
イル4に登録する機能を有する。Editing means 1 of substitute character information for undefined characters has a function of editing the character code of the information indicating the font of the character to be printed, together with the code of the character to be substituted for printing when the character is undefined. have It also has a function of registering the edited alternative character information in the data file 4 of character patterns for Japanese printers by means 2 of registering alternative character information for undefined characters in the data file 4 of character patterns for Japanese printers. .
未定義文字に対する代替文字情報を11本語プリンタに
格納する格納手段3は、文字ドツトバタン情報を日本語
プリンタ用文字パターンのデータファイル4から日本語
プリンタ5のメモリ上に展開する際に未定義文字に対す
る代替文字の管理領域7に代替文字情報を格納する機能
を有する。A storage means 3 for storing alternative character information for undefined characters in the 11 Japanese printer stores undefined characters when expanding character dot-bang information from a character pattern data file 4 for Japanese printers onto the memory of the Japanese printer 5. It has a function of storing alternative character information in the alternative character management area 7 for.
未定義文字の印字時に代替文字印字を行う印字手段6は
、文字の印字時に対象の文字ドツトパターンが存在しな
い場合に、代替文字を印字する機能を有する。The printing means 6 which performs substitute character printing when printing an undefined character has a function of printing a substitute character when a target character dot pattern does not exist when printing a character.
本実施例の印字システムは以上の編集手段1、登録手段
2及び格納手段3により、システム運用時に未定義文字
を他の文字、すなわち代替文字のパターンと関連づけて
登録しておくというものである。The printing system of this embodiment uses the above editing means 1, registration means 2, and storage means 3 to register undefined characters in association with other characters, that is, alternative character patterns, during system operation.
第2図は、未定義文字に対する代替文字の編集手段1に
おける処理手順を示す流れ図である。FIG. 2 is a flowchart showing the processing procedure in the editing means 1 for substitute characters for undefined characters.
まず、未定義文字の文字の種類(ポイント数等)及び文
字コードと、これに対応する代替文字のコードとを取得
する(ステップ21)。First, the character type (number of points, etc.) and character code of the undefined character, and the code of the corresponding substitute character are acquired (step 21).
次に、取得した未定義文字及び代替文字のコードが予め
規定されている正当な文字の範囲かどうかを調べる(ス
テップ22)。正当な文字の範囲以外ならば異常処理(
ステップ23)を行う。Next, it is checked whether the acquired codes of undefined characters and alternative characters are within a predefined valid character range (step 22). If it is outside the legal range of characters, it will be processed abnormally (
Perform step 23).
これに対し、iIE当な文字の範囲ならば、印字対象と
なる文字の字体を示す情報の文字コードを、その文字が
未定義であった場合に代替印字を行う文字のコードと共
に編集して、保持する(ステップ24)。On the other hand, if the iIE is a valid character range, edit the character code of the information indicating the font of the character to be printed, along with the code of the character to be printed as an alternative if that character is undefined. hold (step 24).
第3図は、未定義文字に対する代替文字情報の日本語プ
リンタ用文字パターンのデータファイル4内への登録手
段2における処理手順を示す流れ図である。FIG. 3 is a flowchart showing the processing procedure in the registration means 2 for registering character patterns for Japanese printers in the data file 4 of substitute character information for undefined characters.
まず、一対で保持しである未定義文字情報と代替文字情
報とを、日本語プリンタ用文字パターンのデータファイ
ル4のレコードに従った形式のバッファに移送しくステ
ップ31)、出力レコードにインデックス等の必要な情
報をイτj加する(ステップ32)。First, in step 31), undefined character information and alternative character information, which are held as a pair, are transferred to a buffer in a format according to the records of data file 4 of character patterns for Japanese printers. Necessary information τj is added (step 32).
その後、日本語プリンタ用文字パターンのデータファイ
ル4にレコードが出力可能な状態となるように準備を行
い(ステップ33)、完成した代替文字のレコードを日
本語プリンタ用文字パターンのデータファイル4に出力
する(ステップ34)第4図は、未定義文字に対する代
替文字情報を日本語プリンタに格納する格納手段3にお
ける処理手順を示す流れ図である。After that, preparations are made so that records can be output to data file 4 of character patterns for Japanese printers (step 33), and records of completed alternative characters are output to data file 4 of character patterns for Japanese printers. (Step 34) FIG. 4 is a flowchart showing the processing procedure in the storage means 3 for storing alternative character information for undefined characters in the Japanese printer.
まず、印字の対象となる文字の種類の文字ドツトパター
ンデータを[1本譜プリンタ用文字パターンのデータフ
ァイル4からすべて取出す(ステップ41)。取出した
文字ドツトパターンのデータは、日本語プリンタ5中の
メモリにすべて展開し格納する(ステップ42)。First, all character dot pattern data of the type of character to be printed is extracted from the character pattern data file 4 for one-track printer (step 41). All of the extracted character dot pattern data is developed and stored in the memory of the Japanese printer 5 (step 42).
そのとき、日本語プリンタ用文字パターンのブタファイ
ル4中に代替文字レコードが存在しているならば(ステ
ップ43)、代替文字レコード上の未定義文字コードと
そのコードに対応する代替文字コードとを日本語プリン
タ内の代替文字情報格納メモリに各文字情報ごとに展開
する(ステップ44)。At that time, if an alternative character record exists in the pig file 4 of the character pattern for Japanese printers (step 43), the undefined character code on the alternative character record and the alternative character code corresponding to that code are Each character information is developed in the alternative character information storage memory in the Japanese printer (step 44).
一方、データファイル4中に存在していなければ処理は
終了する(ステップ43→45)。On the other hand, if it does not exist in the data file 4, the process ends (steps 43→45).
第5図は、未定義文字の印字時の代替文字印字を行う印
字手段6における処理手順を示す流れ図である。FIG. 5 is a flowchart showing the processing procedure in the printing means 6 for printing substitute characters when printing undefined characters.
日本語プリンタ5における文字の印字時には、印字対象
の文字のドツトパターンデータがメモリ中に存在するか
否かを調べる(ステップ51)。When printing a character in the Japanese printer 5, it is checked whether dot pattern data of the character to be printed exists in the memory (step 51).
存在する場合は通常の文字印字を行う(ステップ52)
。これに対し、存在しない場合は、さらに印字すべき文
字に対応する代替文字情報が存在するか否かを調べる(
ステップ53)。If it exists, perform normal character printing (step 52)
. On the other hand, if it does not exist, it is further checked whether there is alternative character information corresponding to the character to be printed (
Step 53).
代替文字情報がメモリ中に存在しない場合は、不正文字
印字として異常処理を行う(ステップ54)。これに対
し、代替文字情報がメモリ中に存在する場合は、代替文
字コードから対応する文字のドツトパターンを印字位置
に展開する(ステップ55)。そして、未定義文字につ
いては、代わりに代替文字が印字される。If the alternative character information does not exist in the memory, abnormality processing is performed as an invalid character printing (step 54). On the other hand, if alternative character information exists in the memory, a dot pattern of the corresponding character is developed from the alternative character code at the printing position (step 55). For undefined characters, substitute characters are printed instead.
次に、データファイル4に未定義文字を登録する際の具
体例を説明する。Next, a specific example of registering undefined characters in the data file 4 will be described.
いま、印字対象となる文字が「■」であり、そのドツト
パターンがデータファイル4内に格納されていない、す
なわち未定義文字であったものとする。したがって、そ
のまま印字しようとしても印字が保証されず「」(スペ
ース)となってしまう。Assume now that the character to be printed is "■" and its dot pattern is not stored in the data file 4, that is, it is an undefined character. Therefore, even if you try to print it as is, printing is not guaranteed and the result will be "" (space).
そこで、未定義文字「■」と他の文字とを上述のように
関連づけて登録することにより、代替文字が印字される
ことになる。例えば、この未定義文字「■」と「1」と
を関連づけて登録しておけば、「■」の代わりに「1」
が印字されることになる。Therefore, by registering the undefined character "■" and other characters in association with each other as described above, a substitute character will be printed. For example, if this undefined character "■" and "1" are associated and registered, "1" will be used instead of "■".
will be printed.
さらに、rIJも未定義文字であるものとすれば、この
未定義文字rIJと「1」とを関連づけて登録しておけ
ば、rIJの代わりに「]」が印字されることになる。Furthermore, assuming that rIJ is also an undefined character, if this undefined character rIJ and "1" are registered in association with each other, "]" will be printed instead of rIJ.
また、漢字である「−」や「壱」と関連づけて登録して
も良いが、1つの未定義文字に対する代替文字は1つで
ある。Further, it may be registered in association with the kanji characters "-" and "ichi", but only one substitute character can be used for one undefined character.
発明の詳細
な説明したように本発明は、未定義文字に対して任意の
代替文字を関連づけて登録することにより、日本語プリ
ンタで印字を行う場合、印字をずべき文字が未定義であ
っても、印字が保証されないということがなく、その文
字に代わる文字が自動的に印字されるという効果がある
。DETAILED DESCRIPTION OF THE INVENTION As described in detail, the present invention registers arbitrary alternative characters in association with undefined characters, so that when printing with a Japanese printer, characters to be printed are undefined. However, there is no guarantee of printing, and the effect is that characters are automatically printed in place of the characters.
第1図は本発明の実施例による印字システムの構成を示
すブロック図、第2図は第1図中の編集手段における処
理手順を示す流れ図、第3図は第1−図中の登録手段に
おける処理手順を示す流れ図、第4図は第1図中の格納
手段における処理手順を示す流れ図、第5図は第1図中
の印字手段における処理手順を示す流れ図である。
主要部分の符号の説明
1・・・・・・編集手段
2・・・・・・登録手段
3・・・・・・格納手段
4・・・・・・データファイル
6・・・・・・印字手段FIG. 1 is a block diagram showing the configuration of a printing system according to an embodiment of the present invention, FIG. 2 is a flow chart showing the processing procedure in the editing means in FIG. 1, and FIG. FIG. 4 is a flowchart showing the processing procedure in the storage means in FIG. 1, and FIG. 5 is a flowchart showing the processing procedure in the printing means in FIG. 1. Explanation of symbols of main parts 1... Editing means 2... Registration means 3... Storage means 4... Data file 6... Printing means
Claims (1)
パターンが登録されている文字パターンデータファイル
を有し、入力された文字情報に対応する文字パターンを
前記文字パターンデータファイルから読出して印字する
印字システムであって、外部からの登録指令に応じて未
定義の文字情報と前記文字パターンのうちの予め定めら
れた文字パターンとを対応させて前記文字パターンデー
タファイルに登録する未定義文字登録手段を有すること
を特徴とする印字システム。(1) A character pattern data file is provided in which predefined character information and character patterns corresponding to the character information are registered, and a character pattern corresponding to the input character information is read from the character pattern data file and printed. The printing system is an undefined character registration means for registering undefined character information and a predetermined character pattern among the character patterns in correspondence with each other in the character pattern data file in response to an external registration command. A printing system characterized by having.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2048445A JPH03248869A (en) | 1990-02-28 | 1990-02-28 | Printing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2048445A JPH03248869A (en) | 1990-02-28 | 1990-02-28 | Printing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03248869A true JPH03248869A (en) | 1991-11-06 |
Family
ID=12803549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2048445A Pending JPH03248869A (en) | 1990-02-28 | 1990-02-28 | Printing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03248869A (en) |
-
1990
- 1990-02-28 JP JP2048445A patent/JPH03248869A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH03248869A (en) | Printing system | |
JPS61250722A (en) | Printer | |
JPS60222270A (en) | Table data insertion printer | |
JP2899446B2 (en) | Optical character reader | |
KR100366657B1 (en) | Method of reverse-transforming print output image data to text data file and apparatus therefor | |
JPH01190465A (en) | Character output device by utilizing vector font reproduction | |
JP2992991B2 (en) | Printer print resource management method and apparatus | |
JP2933222B2 (en) | Document processing device | |
JPH04135772A (en) | Image data forming device | |
JPH0442193B2 (en) | ||
JPS61148065A (en) | Control of input and output of recording information | |
JPH0675959A (en) | System and device for registering external character data | |
JP3317042B2 (en) | Data processing system | |
JP2919396B2 (en) | Document maker | |
JPH0698792B2 (en) | Printer device | |
JPH06183093A (en) | Printing equipment | |
JPS6092881A (en) | Data-processing system | |
JPH01286867A (en) | Document preparing device | |
JPH0524300A (en) | Form overlay control method | |
JP2000168150A (en) | Image data-forming apparatus | |
JPH08161308A (en) | Document processor | |
JPS6368943A (en) | Trace record printing system for communication line | |
JPH10119384A (en) | Image forming apparatus | |
JPH0477858A (en) | Word processor printer | |
JPH07323617A (en) | Printer and register data control method thereof |