JPH01237160A - Printer - Google Patents

Printer

Info

Publication number
JPH01237160A
JPH01237160A JP63064567A JP6456788A JPH01237160A JP H01237160 A JPH01237160 A JP H01237160A JP 63064567 A JP63064567 A JP 63064567A JP 6456788 A JP6456788 A JP 6456788A JP H01237160 A JPH01237160 A JP H01237160A
Authority
JP
Japan
Prior art keywords
data
character
font information
character font
printing
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
JP63064567A
Other languages
Japanese (ja)
Inventor
Akihiko Sato
昭彦 佐藤
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63064567A priority Critical patent/JPH01237160A/en
Publication of JPH01237160A publication Critical patent/JPH01237160A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve printing performance by analyzing data character font information change data and identified data, updating only character font information corresponding to characters whose type change is indicated according to character type designation information, and allowing printing to de performed based on character code data, identified data and stored character font information. CONSTITUTION:A computer 21 reads printing data sequentially from a storage file 22, stores character font information designated by character font information setting data 35 into a storage means 15, and adding data 36, 37... sequentially to a printer 10. The data 36, 37... are received by a reading means 11, and a data identification means 12 adds the data, if identified as character font information change data, to a character font information analyzing means 13 and analyzes the data to obtain character codes of character whose type is to be changed, character patterns and attribute data. After this, these are added to a character font information updating means 14. An updating means 14 changes only the designated character patterns based on information. A page unit printing means 16 performs printing, referring to the character font information of a storage means 15, if the data identification means 12 identifies the character pattern as character code data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は印刷装置に関し、特に情報処理周辺装置等に於
ける印刷文字制御8機構を有する印刷装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device, and more particularly to a printing device having eight printing character control mechanisms in an information processing peripheral device or the like.

〔従来の技術〕[Conventional technology]

従来、印刷文字制御機構を有し、印刷する文字の文字フ
ォント、文字フォントの属性(大きさ等)を変更するこ
とができる印刷装置では、印刷する文字の字形を変更す
る場合は、字形を変更する毎にコンピュータ等から変更
後の字形対応の文字フォント情報を印刷装置に転送し、
印刷装置内部に記憶されている全ての文字フォント情報
を変更後の字形対応のものに変更することが必要であっ
た。
Conventionally, in printing devices that have a print character control mechanism and can change the character font and character font attributes (size, etc.) of the characters to be printed, when changing the character shape of the character to be printed, it is necessary to change the character shape. Each time, the character font information corresponding to the changed glyph shape is transferred from the computer etc. to the printing device,
It was necessary to change all character font information stored within the printing device to one that corresponds to the changed glyph shape.

従って、例えば、第1頁目をゴシック体で印刷し、第2
頁目を明朝体で印刷するような場合は、第1頁目を印刷
する前にゴシック体対応の全ての文字フォント情報を印
刷装置に転送し、第2頁目を印刷する前に明朝体対応の
全ての文字フォント情報を印刷装置に転送することが必
要であった。
So, for example, if the first page is printed in Gothic font and the second
When printing pages in Mincho font, all character font information compatible with Gothic fonts is transferred to the printing device before printing the first page, and Mincho font information is transferred before printing the second page. It was necessary to transfer all character font information corresponding to the font to the printing device.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来は上述したように、印刷する文字の字形を変更する
毎に、印刷装置に印刷する字形対応の全ての文字フォン
ト情報を転送しなければならなかったため、多種類の字
形を使用して印刷を行なう場合、印刷途中で字形を変更
する場合等に於いては、文字フォント情報の転送時間に
より印刷性能が低下してしまう。
Conventionally, as mentioned above, every time the glyph shape of a character to be printed was changed, all the character font information corresponding to the glyph shape to be printed had to be transferred to the printing device. If the character shape is changed during printing, printing performance will be degraded due to the time required to transfer the character font information.

本発明の目的は文字の字形を変更して印刷を行なう際の
印刷性能を向上させることにある。
An object of the present invention is to improve printing performance when printing by changing the shape of characters.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記目的を達成するため、 印刷する文字を指定する文字コードデータと、字形を変
更する文字を指定する文字指定情報及び変更後の字形を
示す字形指定情報を含む文字フォント情報変更データと
が混在した印刷データを受取るデータ読み込み手段と、 文字フォント情報が格納される文字フォント情報記憶手
段と、 前記データ読み込み手段が受け取ったデータが文字コー
ドデータであるか、文字フォント情報変更データである
かを判別するデータ判別手段と、該データ判別手段で文
字フォント情報変更データであると判定されたデータを
解析し、文字指定情報及び字形指定情報を得る文字フォ
ント情報解析手段と、 前記文字フォント情報記憶手段に格納されている文字フ
ォント情報の内の前記文字フォント情報解析手段で得ら
れた文字指定情報によって字形を変更することが指示さ
れた文字対応の文字フォント情報のみを前記文字フォン
ト情報解析手段で得られた字形指定情報に従って更新す
る文字フォント情報更新手段と、 前記データ判別手段で文字コードデータであると判定さ
れたデータと前記文字フォント情報記憶手段に格納され
ている文字フォント情報とに基づいて印刷を行なう印刷
手段とを設けたものである。
In order to achieve the above object, the present invention includes character code data that specifies characters to be printed, character specification information that specifies characters whose glyph shape is to be changed, and character font information change data that includes glyph designation information that indicates the glyph shape after the change. a data reading means for receiving mixed print data; a character font information storage means for storing character font information; and a method for determining whether the data received by the data reading means is character code data or character font information change data. a character font information analysis means for analyzing the data determined by the data determining means to be character font information change data to obtain character designation information and glyph designation information; and the character font information storage. The character font information analysis means selects only the character font information corresponding to the character whose character shape is instructed to be changed based on the character designation information obtained by the character font information analysis means, out of the character font information stored in the character font information analysis means. character font information updating means for updating according to the obtained glyph designation information; and character font information stored in the character font information storage means and the data determined to be character code data by the data determining means. The printer is equipped with a printing means for printing.

〔作 用〕[For production]

データ判別手段はデータ読み込み手段が受け取ったデー
タが文字コードデータであるか文字フォント情報変更デ
ータであるかを判定する。文字フォント情報解析手段は
データ判別手段で文字フォント情報変更データであると
判定されたデータを解析し、文字フォント情報更新手段
は文字フォント情報解析手段の解析結果に基づいて、文
字フォント情報記憶手段に格納されている文字フォント
情報の内の文字指定情報によって字形を変更することが
指示された文字対応の文字フォント情報のみを字形指定
情報に従って更新する。印刷手段はデータ判別手段で文
字コードデータであると判定されたデータと文字フォン
ト情報記憶手段に格納されている文字フォント情報とに
基づいて印刷を行なう。
The data determining means determines whether the data received by the data reading means is character code data or character font information change data. The character font information analysis means analyzes the data determined to be character font information change data by the data discrimination means, and the character font information update means updates data to the character font information storage means based on the analysis result of the character font information analysis means. Only the character font information corresponding to the character whose character shape is instructed to be changed by the character designation information in the stored character font information is updated according to the character shape designation information. The printing means performs printing based on the data determined to be character code data by the data determining means and the character font information stored in the character font information storage means.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に説明
する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例のブロック図であり、印刷装置
10と、コンピュータ21と、印刷データ格納ファイル
22とから構成されている。印刷装置10はコンピュー
タ21からのデータを受け取るデータ読み込み手段11
と、受け取ったデータが文字フォント情報変更データで
あるか文字コードデータであるかを判別するデータ判別
手段12と、文字フォント情報変更データを解析する文
字フォント情報解析手段13と、文字フォント情報更新
手段14と、文字フォント情報記憶手段15と、頁単位
印刷手段16とを含んでいる。
FIG. 1 is a block diagram of an embodiment of the present invention, which is composed of a printing device 10, a computer 21, and a print data storage file 22. As shown in FIG. The printing device 10 has a data reading means 11 that receives data from the computer 21.
, a data determining means 12 for determining whether the received data is character font information change data or character code data, a character font information analysis means 13 for analyzing the character font information change data, and a character font information updating means. 14, character font information storage means 15, and page unit printing means 16.

第2図は印刷データ格納ファイル22の内容の一例を示
す図である。同図を参照すると、印刷データ格納ファイ
ル22には一連の印刷データ・・・、31゜32、33
.34.・・・が格納されている。最初に印刷される第
1頁の印刷データ31は文字フォント情報設定データ(
文字フォント情報記憶手段15に印刷開始時に格納する
文字フォント情報の種別を指定するデータで、例えば文
字フォントと属性との組み合わせに対応して与えられて
いる文字フォント名を使用する)35と印刷する文字を
数値で表した文字コードデータ36とから構成され、第
2頁の印刷データ32は字形を変更する文字の文字コー
ド、変更後の字形に対応したパターンデータ及び属性デ
ータを含む文字フォント情報変更データ37と文字コー
ドデータ38とから構成され、第3頁の印刷データ33
は文字コードデータ39のみから構成され、第4頁の印
刷データ34は文字フォント情報変更データ40と文字
コードデータ41とから構成されている。
FIG. 2 is a diagram showing an example of the contents of the print data storage file 22. As shown in FIG. Referring to the figure, the print data storage file 22 contains a series of print data..., 31°32, 33
.. 34. ... is stored. The print data 31 of the first page printed first is the character font information setting data (
This is data that specifies the type of character font information to be stored in the character font information storage means 15 at the start of printing, for example, a character font name given corresponding to the combination of character font and attribute is used) 35 is printed. The print data 32 on the second page is composed of character code data 36 that represents characters numerically, and the print data 32 on the second page is character font information change including the character code of the character whose font is to be changed, pattern data corresponding to the changed font, and attribute data. Consisting of data 37 and character code data 38, print data 33 on the third page
is composed only of character code data 39, and the print data 34 of the fourth page is composed of character font information change data 40 and character code data 41.

次に印刷データ格納ファイル22に格納されている印刷
データ・・・、 31.32.33.34.・・・に従
って印刷を行なう場合の動作を説明する。コンピュータ
21は印刷データ格納ファイル22に格納されている印
刷データを第1頁目から順次読み込む。第1頁の印刷デ
ータ31の文字フォント情報設定データ35を読み込む
と、コンピュータ21はこの文字フォント情報設定デー
タ35によって指定された文字フォント情報を文字フォ
ント情報記憶手段15に格納し、以後印刷データ格納フ
ァイル22から読み取ったデータ36.37.・・・を
順次印刷装置10に加える。印刷装置10に加えられた
データ36.37.・・・はデータ読み込み手段11に
よって受け取られ、データ判別手段12はデータ読み込
み手段11が受け取ったデータが文字コードデータであ
るのか、文字フォント情輯変更データであるのかを例え
ば各データに埋め込まれている識別子に基づいて判定す
る。
Next, the print data stored in the print data storage file 22..., 31.32.33.34. The operation when printing according to the following will be explained. The computer 21 sequentially reads the print data stored in the print data storage file 22 starting from the first page. When the character font information setting data 35 of the print data 31 of the first page is read, the computer 21 stores the character font information specified by this character font information setting data 35 in the character font information storage means 15, and thereafter stores the print data. Data read from file 22 36.37. ... are sequentially added to the printing device 10. Data added to printing device 10 36.37. ... is received by the data reading means 11, and the data determining means 12 determines whether the data received by the data reading means 11 is character code data or character font information change data, for example, by embedded in each data. The determination is made based on the identifier that is present.

そして、データ読み込み手段11が受け取ったデータが
文字フォント情報変更データであると判定した場合は、
データ判別手段12は上記データを文字フォント情報解
析手段13に加える0文字フォント情報解析手段13は
データ判別手段12から文字フォント情報変更データを
受け取ると、それを解析し、字形を変更する文字の文字
コード、字形変更後の字形を示す文字パターン及び属性
データを得、それらを文字フォント情報更新手段14に
加える。
When the data reading means 11 determines that the received data is character font information change data,
The data discriminating means 12 adds the above data to the character font information analyzing means 13. When the character font information analyzing means 13 receives the character font information change data from the data discriminating means 12, it analyzes the character of the character whose font is to be changed. A code, a character pattern indicating the character shape after the character shape change, and attribute data are obtained and added to the character font information updating means 14.

文字フォント情報更新手段14は文字フォント情報解析
手段13から加えられた情報によって指定された文字対
応の文字パターンのみを、文字フォント情報解析手段1
3から加えられた情報に基づいて変更する。即ち、文字
フォント情報記憶手段15に記憶されている文字フォン
ト情報の内の一部のみが変更されることになる。
The character font information updating means 14 updates only the character pattern corresponding to the character specified by the information added from the character font information analyzing means 13 to the character font information analyzing means 1.
Change based on the information added from 3. That is, only part of the character font information stored in the character font information storage means 15 is changed.

また、データ判別手段12はデータ読み込み手段11が
受け取ったデータが文字コードデータであると識別子に
基づいて判定した場合は、受け取ったデータを頁単位印
刷手段16に加える0頁単位印刷手段16は印刷データ
が加えられると、文字フォント情報記憶手段15に格納
されている文字フォント情報を参照し、印刷媒体上に印
刷を行なう。
Further, when the data determining means 12 determines that the data received by the data reading means 11 is character code data based on the identifier, the 0 page unit printing means 16 adds the received data to the page unit printing means 16. When the data is added, the character font information stored in the character font information storage means 15 is referred to and printing is performed on the print medium.

従って、今、例えば、文字フォント情報変更データ37
が文字rAJの字形をrAJに変更することを指示する
ものであり、文字フォント情報変更データ40が文字r
AJの字形をrAJに変更することを指示するものであ
るとすると、第2図に示した印刷データを印刷した際の
第1頁〜第4頁の印刷結果はそれぞれ第3図の51〜5
4に示すものとなる。
Therefore, now, for example, character font information change data 37
is an instruction to change the shape of the character rAJ to rAJ, and the character font information change data 40 is the character rAJ.
Assuming that the instruction is to change the character shape of AJ to rAJ, the print results for pages 1 to 4 when printing the print data shown in Figure 2 are 51 to 5 in Figure 3, respectively.
4.

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

以上説明したように、本発明は、文字フォント情報記憶
手段に格納されている文字フォント情報の内の文字フォ
ント情報変更データによって指定された文字対応の文字
フォント情報のみを動的に変更するようにしたものであ
り、印刷する文字の字形を変更する場合、字形を変更す
る文字対応の文字フォント情報を印刷装置に転送すれば
良いので、印刷する文字の字形を変更する毎に全ての文
字フォント情報を印刷装置に転送しなければならなかっ
た従来装置に比較して印刷速度等の印刷性能を大幅に向
上できる効果がある。
As explained above, the present invention dynamically changes only the character font information corresponding to the character specified by the character font information change data of the character font information stored in the character font information storage means. Therefore, when changing the font of a character to be printed, all the character font information corresponding to the character whose font is to be changed can be transferred to the printing device, so every time the font of a character to be printed is changed, all the font information This has the effect of significantly improving printing performance, such as printing speed, compared to conventional devices, which require data to be transferred to a printing device.

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

第1図は本発明の実施例のブロック図、第2図は印刷デ
ータ格納ファイル22の内容の一例を示す図及び、 第3図は印刷結果の一例を示す図である。 図に於いて、10・・・印刷装置、11・・・データ読
み込み手段、12・・・データ判別手段、13・・・文
字フォント情報解析手段、14・・・文字フォント情報
更新手段、15・・・文字フォント情報記憶手段、16
・・・頁単位印刷手段、21・・・コンビエータ、22
・・・印刷データ格納ファイル。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the contents of the print data storage file 22, and FIG. 3 is a diagram showing an example of the print result. In the figure, 10...Printing device, 11...Data reading means, 12...Data discriminating means, 13...Character font information analysis means, 14...Character font information updating means, 15.・Character font information storage means, 16
. . . Page unit printing means, 21 . . . Combiator, 22
...Print data storage file.

Claims (1)

【特許請求の範囲】 印刷する文字を指定する文字コードデータと、字形を変
更する文字を指定する文字指定情報及び変更後の字形を
示す字形指定情報を含む文字フォント情報変更データと
が混在した印刷データを受取るデータ読み込み手段と、 文字フォント情報が格納される文字フォント情報記憶手
段と、 前記データ読み込み手段が受け取ったデータが文字コー
ドデータであるか、文字フォント情報変更データである
かを判別するデータ判別手段と、該データ判別手段で文
字フォント情報変更データであると判定されたデータを
解析し、文字指定情報及び字形指定情報を得る文字フォ
ント情報解析手段と、 前記文字フォント情報記憶手段に格納されている文字フ
ォント情報の内の前記文字フォント情報解析手段で得ら
れた文字指定情報によって字形を変更することが指示さ
れた文字対応の文字フォント情報のみを前記文字フォン
ト情報解析手段で得られた字形指定情報に従って更新す
る文字フォント情報更新手段と、 前記データ判別手段で文字コードデータであると判定さ
れたデータと前記文字フォント情報記憶手段に格納され
ている文字フォント情報とに基づいて印刷を行なう印刷
手段とを含むことを特徴とする印刷装置。
[Claims] Printing in which character code data that specifies characters to be printed, character specification information that specifies characters whose fonts are to be changed, and character font information change data that includes font specification information that indicates the fonts after the change are mixed. data reading means for receiving data; character font information storage means for storing character font information; and data for determining whether the data received by the data reading means is character code data or character font information change data. a character font information analysis means for analyzing the data determined to be character font information change data by the data determining means to obtain character designation information and glyph designation information; Only the character font information corresponding to the character whose character shape is instructed to be changed by the character designation information obtained by the character font information analysis means out of the character font information obtained by the character font information analysis means is used. Text font information updating means for updating according to specified information; Printing for printing based on data determined to be character code data by the data determining means and character font information stored in the character font information storage means. A printing device comprising: means.
JP63064567A 1988-03-17 1988-03-17 Printer Pending JPH01237160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63064567A JPH01237160A (en) 1988-03-17 1988-03-17 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63064567A JPH01237160A (en) 1988-03-17 1988-03-17 Printer

Publications (1)

Publication Number Publication Date
JPH01237160A true JPH01237160A (en) 1989-09-21

Family

ID=13261938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63064567A Pending JPH01237160A (en) 1988-03-17 1988-03-17 Printer

Country Status (1)

Country Link
JP (1) JPH01237160A (en)

Similar Documents

Publication Publication Date Title
JPH0263763A (en) Printing apparatus
EP0119396B1 (en) Apparatus for and methods of presenting or displaying data represented as electric signals
WO1997010556A1 (en) Unicode converter
JPH01237160A (en) Printer
JP2584973B2 (en) Recognition result output method in character recognition device
JP2845380B2 (en) Printing apparatus and control method thereof
EP0852037B1 (en) Unicode converter
EP0506101A1 (en) Character resource management system
JPH0570174B2 (en)
JPH08234720A (en) Data structure of font data memory
JPH0371028B2 (en)
JPS63242561A (en) Font reducing system
KR950011809B1 (en) Korean character compound writing method in laser printer
KR900006730B1 (en) Method for controlling chinese letter font process in dot matrix printer
JP3054157B2 (en) Character processing device and character processing method
JP2670447B2 (en) Output device and method
JP2554225B2 (en) Text output device
JPH0462084A (en) Printer
JPH07105197A (en) Document processor
JPS6372575A (en) Printing apparatus
JPH0226770A (en) Printing control device
JPH0589100A (en) Word processor
JPH03176169A (en) Printer
JPS62204954A (en) Image forming device
JPH03266661A (en) Output device