JP2000357166A - Method and device for document processing - Google Patents

Method and device for document processing

Info

Publication number
JP2000357166A
JP2000357166A JP2000133802A JP2000133802A JP2000357166A JP 2000357166 A JP2000357166 A JP 2000357166A JP 2000133802 A JP2000133802 A JP 2000133802A JP 2000133802 A JP2000133802 A JP 2000133802A JP 2000357166 A JP2000357166 A JP 2000357166A
Authority
JP
Japan
Prior art keywords
font
printer
data
character
document processing
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
JP2000133802A
Other languages
Japanese (ja)
Inventor
Atsushi Kakimoto
厚志 柿本
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2000133802A priority Critical patent/JP2000357166A/en
Publication of JP2000357166A publication Critical patent/JP2000357166A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily grasp font information by displaying the fonts of a printer connected to a document processor on a font style specification screen where it can be selected, and changing the font used in a document into a specific font of the printer by using the style specification screen. SOLUTION: On a document editing screen 71 displayed on a CRT with a specific font, a part 72 to be changed in the font style is selected with a mouse, etc. The start of a font style selecting process is indicated on a keyboard, etc., and then a style selection window is displayed on the CRT. Then a desired style is selected from a style selection window. A data request device side generates a character request instruction from a desired character code and sends it to a specified printer. The printer side receives the character request instruction, combines font pattern data with corresponding display control data according to the instruction to generate character expansion data, and expands and displays character patterns in a proper location in a memory.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文書処理方法及びその装
置に関し、特に、異なるフォント情報から自由に所望フ
オントを選択して文書編集・出力が可能な文書処理方法
及びその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing method and apparatus, and more particularly to a document processing method and apparatus capable of freely selecting a desired font from different font information and editing / outputting the document.

【0002】[0002]

【従来の技術】従来、文書処理装置の装置本体側と出力
装置としての複数のプリンタ側で独立した別々のフオン
トデータを有している構成の場合、プリンタ側には搭載
されていて装置本体側には搭載されていない書体が文書
出力の書体として指定されている時のCRT表示、或は
逆に、出力指定されたプリンタに該当書体が搭載されて
いない時のプリント出力は、代替え書体、即ち、指定さ
れたプリンタ或はCRTが有する固有の書体を利用して
出力する様になつていた。
2. Description of the Related Art Conventionally, in the case of a configuration in which separate font data is provided independently on the apparatus main body side of a document processing apparatus and on a plurality of printers serving as output apparatuses, the font data is mounted on the printer side and installed on the apparatus main body side. The CRT display when a typeface that is not mounted on the printer is specified as the typeface for document output, or conversely, the print output when the typeface is not mounted on the specified printer is an alternative typeface, that is, In this case, the output is performed using a unique typeface of a designated printer or CRT.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記従来
例では、1台の文書処理装置に対して異なるフオントを
搭載したプリンタが複数台接続されているシステム構成
の場合、指定されたプリンタ或はCRTでの出力は、装
置に固有のフォントによる出力となるので、任意のプリ
ンタから所望の書体を自由に複数選択して文章データを
編集、印刷する事はできなかった。
However, in the above conventional example, in the case of a system configuration in which a plurality of printers having different fonts are connected to one document processing apparatus, a designated printer or CRT is used. Is output in a font unique to the apparatus, so that it was not possible to edit and print text data by freely selecting a plurality of desired fonts from an arbitrary printer.

【0004】本発明は上記従来例に鑑みてなされたもの
であり、文書編集・出力時に所望のフオントデータを用
いて、柔軟な文書編集や出力を可能にするとともに、プ
リンタの有するフォント情報をユーザが容易に把握でき
るようにする文書処理方法及びその装置を提供すること
を目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned prior art, and enables flexible document editing and output using desired font data at the time of document editing and output, and also allows the user to obtain font information held by a printer. It is an object of the present invention to provide a document processing method and a document processing apparatus which enable the user to easily grasp the document.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明の文書処理装置は、以下のような構成からな
る。即ち、プリンタと接続される文書処理装置であっ
て、前記プリンタのフォントを選択可能な書体指定画面
に表示させる手段と、文書に使用されるフォントを、前
記書体指定画面を用いてユーザにより指定されたプリン
タのフォントに変更する変更手段とを有することを特徴
とする文書処理装置を備える。
In order to achieve the above object, a document processing apparatus according to the present invention has the following arrangement. That is, a document processing device connected to a printer, means for displaying a font of the printer on a selectable typeface designation screen, and a font used for a document specified by a user using the typeface designation screen. And a change unit for changing the font into a printer font.

【0006】また他の発明によれば、プリンタと接続さ
れる文書処理装置における文書処理方法であって、前記
プリンタのフォントを選択可能な書体指定画面に表示さ
せる工程と、文書に使用されるフォントを、前記書体指
定画面を用いてユーザにより指定されたプリンタのフォ
ントに変更する変更工程とを有することを特徴とする文
書処理方法を備える。
According to another aspect of the present invention, there is provided a document processing method in a document processing apparatus connected to a printer, the method comprising: displaying a font of the printer on a selectable typeface designation screen; And changing the font to a printer font designated by the user using the typeface designation screen.

【0007】[0007]

【作用】以上の構成により本発明は、文書処理装置に接
続されたプリンタのフォントを選択可能な書体指定画面
に表示させ、文書に使用されるフォントをその書体指定
画面を用いてユーザにより指定されたプリンタのフォン
トに変更するよう動作する。
According to the present invention, the font of the printer connected to the document processing apparatus is displayed on a selectable typeface designation screen, and the font used in the document is designated by the user using the typeface designation screen. It works to change the font of the printer.

【0008】[0008]

【実施例】以下添付図面を参照して、本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0009】また、本実施例で言及する文書とは、文章
(表も含む)、図形、イメージ等を含めた総称として用
いる。
A document referred to in this embodiment is a generic term including a sentence (including a table), a figure, an image, and the like.

【0010】[システムの概略説明(図1〜図2)]図
1は、本発明の代表的な実施例である文書処理システム
の構成を示すブロツク図である。図1において、1はシ
ステムバスであり、後述の各構成要素はこのシステム・
バス1に接続される。2はCPUである。3はプログラ
ムメモリ(以下、PMEMと称す)で、編集処理のため
のプログラムを適宜ハードデイスク15から選択して読
込み、CPU2で実行する。
[Schematic Description of System (FIGS. 1 and 2)] FIG. 1 is a block diagram showing a configuration of a document processing system as a typical embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a system bus.
Connected to bus 1. 2 is a CPU. Reference numeral 3 denotes a program memory (hereinafter, referred to as PMEM), which selects and reads a program for editing processing from the hard disk 15 as appropriate and executes the program by the CPU 2.

【0011】また、キーボード9から入力されたデータ
はテキスト・メモリでもあるPMEM3にコード情報と
して格納される。8は入力制御部であり、9のキーボー
ド、10のマウス等の入力装置が接続される。操作者は
このキーボード9を操作することによりシステムの動作
指令等を行う。10は、13のCRT上で画像情報を加
工指示するためのポインテイング・デバイス(以下、P
Dと称す)で本実施例ではマウスを使用している。これ
によりCRT13上のカーソルをX(横方向),Y方向
(縦方向)任意に移動してコマンドメニユー上のコマン
ド・アイコンを選択して処理の指示や、編集対象の指
示,描画位置の指示等を行う。
Data input from the keyboard 9 is stored as code information in the PMEM 3 which is also a text memory. Reference numeral 8 denotes an input control unit to which input devices such as a keyboard 9 and a mouse 10 are connected. The operator operates the keyboard 9 to issue a system operation command or the like. Reference numeral 10 denotes a pointing device (hereinafter referred to as P) for instructing processing of image information on a CRT 13.
In this embodiment, a mouse is used. With this operation, the cursor on the CRT 13 is arbitrarily moved in the X (horizontal) and Y (vertical) directions to select a command icon on the command menu to give an instruction for processing, an instruction for editing, an instruction for a drawing position, and the like. I do.

【0012】11はビデオイメージメモリ(以下、VR
AMと称す)、12は表示出力制御部、13はCRTで
ある。CRT13に表示されるデータは、VRAM11
上にビツトマツプデータとして展開されている。例え
ば、文字データであれば、そのコードに対応した文字パ
ターンがVRAMに展開される。また、ソフト制御によ
りVRAMの表示エリアに直接カーソルを発生して表示
することも可能である。14は外部記憶装置制御部、1
5、16はデータフアイル用のデイスクで、例えば15
はハードデイスク(以下、HDと称す)であり、16は
フロツピィデイスク(以下、FDと称す)である。
Reference numeral 11 denotes a video image memory (hereinafter, VR)
AM), 12 is a display output control unit, and 13 is a CRT. The data displayed on the CRT 13 is the VRAM 11
Above is deployed as bitmap data. For example, if it is character data, a character pattern corresponding to the code is developed in the VRAM. It is also possible to generate and display a cursor directly on the display area of the VRAM by software control. 14 is an external storage device controller, 1
Reference numerals 5 and 16 denote disks for data files.
Is a hard disk (hereinafter, referred to as HD), and 16 is a floppy disk (hereinafter, referred to as FD).

【0013】また、本実施例の文書処理システムは、通
信制御部4より通信ポート5、通信回線6を経由して送
出される書体/文字サイズ指示情報、印字位置、文字コ
ード列等を受信し、自機内に持つ文字フォント等により
印刷ビツトマツプイメージを展開し印刷出力する複数台
のプリンタ7を接続している。
Further, the document processing system of the present embodiment receives the typeface / character size instruction information, print position, character code string, etc. transmitted from the communication control unit 4 via the communication port 5 and the communication line 6. A plurality of printers 7 are connected to develop a print bitmap image using character fonts or the like possessed in the own device and print out.

【0014】図2は、プリンタ7の構成を示すブロツク
図である。図2において、21はシステムバスであり、
後述する各構成要素は、システムバス21に接続されて
いる。22はCPU、23はPMEMであり、印刷ビツ
トマツプイメージ展開出力処理のためのプログラムを適
宜ハードデイスク28またはROM30から選択して読
込み、CPU22で実行する。
FIG. 2 is a block diagram showing the configuration of the printer 7. In FIG. 2, reference numeral 21 denotes a system bus;
Each component described below is connected to the system bus 21. Reference numeral 22 denotes a CPU, and 23 denotes a PMEM, which reads a program for print bit map image development and output processing from the hard disk 28 or the ROM 30 as appropriate, and executes the program.

【0015】さて、通信回線33を経由して通信ポート
32、通信制御部31を経由して受信入力されたデータ
はテキスト・メモリでもあるPMEM23にコード情報
として格納される。24はイメージメモリ(以下、IM
EMと称す)、25は印刷出力制御部、26は印刷出力
部であり、印刷イメージはビツトマツプデータとしてI
MEM24に展開されたのち、印刷出力制御部25の制
御により印刷出力部26に出力される。29は外部記憶
装置制御部、28,27はデータフアイル用のデイスク
で、27がFD、28がHDである。30はROMであ
り文字フォントの制御情報、ビツトマツプデータ、輪郭
情報等とプリンタ7の制御プログラム等が格納される。
The data received and input via the communication port 32 via the communication line 33 and the communication control unit 31 is stored as code information in the PMEM 23 which is also a text memory. 24 is an image memory (hereinafter referred to as IM)
EM), 25 is a print output control unit, 26 is a print output unit, and the print image is I / O data as bit map data.
After being developed in the MEM 24, it is output to the print output unit 26 under the control of the print output control unit 25. 29 is an external storage device control unit, 28 and 27 are data file disks, 27 is FD, and 28 is HD. A ROM 30 stores character font control information, bit map data, contour information, etc., a printer 7 control program, and the like.

【0016】他の装置に文字フオントデータを転送する
場合は、PMEM23に格納されたコード情報に従つて
フオントパターン情報を獲得した後に、加工した適切な
ビツトマツプ、或は、加工しないフオントデータそのま
まを展開制御データと共に通信制御部31、通信ポート
32、そして、通信回線6を経由して転送する。なお、
フオントパターン情報が加工されずに転送された場合に
は受信側で適切なビツトマツプ展開がなされる。
When character font data is transferred to another device, font pattern information is obtained in accordance with the code information stored in the PMEM 23, and then the processed appropriate bit map or unmodified font data is developed. The control data is transferred via the communication control unit 31, the communication port 32, and the communication line 6 together with the control data. In addition,
If the font pattern information is transferred without processing, an appropriate bit map is developed on the receiving side.

【0017】[フォント管理データの構造(図3)]図
3は、プリンタ7に搭載されるフォント管理データの構
造を示す図である。プリンタ7には各書体ごとに図3に
示すような構造をもつ管理データを持つており、装置本
体側からの要求により、これらのデータを装置本体側に
取り込む事が可能である。図3において、41は内部的
に書体データを認識するための書体idコード、42は
書体選択ウインドウに書体名を表示するための書体名文
字コード、43はドツトデータ、圧縮データ、ベクトル
データ等のパターンのデータ種を識別するためのデータ
種id、44はバージヨン、パターンボツクスサイズ等
他の書体管理データ群である。
[Structure of Font Management Data (FIG. 3)] FIG. 3 is a diagram showing the structure of font management data installed in the printer 7. The printer 7 has management data having a structure as shown in FIG. 3 for each typeface, and these data can be fetched into the apparatus main body in response to a request from the apparatus main body. In FIG. 3, reference numeral 41 denotes a typeface id code for internally recognizing typeface data; 42, a typeface name character code for displaying a typeface name in a typeface selection window; 43, such as dot data, compressed data, vector data, etc. Data types id and 44 for identifying the data type of the pattern are other typeface management data groups such as version and pattern box size.

【0018】[他装置との交信データ(図4〜図5)]
本実施例の文書処理システムではシステム構成要素のプ
リンタ相互或はプリンタとCRT(VRAM)間でフォ
ントデータをやり取りし、自装置が有していないフォン
トデータを用いて文書出力を行うことができる。ここで
は、そのためにシステム構成要素間で交信されるデータ
について説明する。
[Communication data with other devices (FIGS. 4 and 5)]
In the document processing system according to the present embodiment, font data can be exchanged between printers as system components or between a printer and a CRT (VRAM), and a document can be output using font data that the apparatus does not have. Here, data exchanged between the system components will be described.

【0019】交信データには、(1)自装置から他装置
にフォントデータを要求する文字要求命令と、(2)文
字要求命令に対する応答しての文字展開データの2種類
がある。
There are two types of communication data: (1) a character request command for requesting font data from the own device to another device, and (2) character expansion data in response to the character request command.

【0020】図4は、他の装置に対する文字要求命令の
データ構造を示す図である。図4が示すように、文字要
求命令は、印刷或は表示を行いたい文字コード(或は文
字ストリングデータ)51、文字コード51をどの書体
のフォントデータから得るかを識別する書体id(図3
に示す書体id41と同一のもの)52、フォントデー
タを所有している転送先プリンタ識別用id53、フォ
ントデータを要求している転送元装置の識別用id5
4、フォントパターンをどのように変形してビツトマツ
プ展開するかという変形情報55、フォントパターンの
中塗り情報56、1ドツトデータが2値か多値かを識別
するためのビツトイメージ展開法データ57、フォント
パターン縦横ドツトサイズ(或は、印刷結果として得ら
れるポイント,級等の文字のサイズデータ)58、そし
て、表示デバイス解像度を表す表示デバイスデータ59
で構成される。ここで、表示デバイスデータ59は文字
サイズデータ57がドツトサイズを表す時は必要ない
が、表示結果のサイズを表す時はプリンタ内部で文字ド
ツトサイズを求めるために必要である。
FIG. 4 is a diagram showing a data structure of a character request command for another device. As shown in FIG. 4, the character request command includes a character code (or character string data) 51 to be printed or displayed, and a font id (FIG. 3) for identifying from which font data the font code 51 is obtained.
52, a transfer destination printer identification id 53 owning the font data, and a transfer source device identification id 5 requesting the font data.
4. Deformation information 55 on how to transform the font pattern and develop the bitmap, fill-in information 56 on the font pattern, bit image development method data 57 for identifying whether the dot data is binary or multi-valued, Font pattern vertical and horizontal dot sizes (or character size data such as points and classes obtained as a print result) 58, and display device data 59 representing the display device resolution
It consists of. Here, the display device data 59 is not necessary when the character size data 57 indicates the dot size, but is necessary for obtaining the character dot size inside the printer when indicating the size of the display result.

【0021】図5は、文字要求命令を受信したプリンタ
から要求元装置へ送られる文字展開データの構造を示す
図である。一般的に、1つの文字コードにつき1つの文
字展開データが対応する。図5が示すように、文字展開
データは、ビツトマツプデータの実際の縦/横ドツトサ
イズを表すパターンボツクスデータ61、その文字デー
タの左マージン,送り幅,カーニング等の表示時の制御
データ62、文字のビツトマツプ或はアウトライン等の
パターンデータ68で構成される。
FIG. 5 is a diagram showing the structure of character expansion data sent from the printer that has received the character request command to the request source device. Generally, one character expansion data corresponds to one character code. As shown in FIG. 5, the character development data includes pattern box data 61 representing the actual vertical / horizontal dot size of the bitmap data, control data 62 for displaying the left margin, feed width, kerning, etc. of the character data, and character data. , Or pattern data 68 such as an outline.

【0022】[フォントデータアップロード転送処理
(図6〜図8)]ここでは、以上説明した構成をもつ文
書処理システムにおいて、異なる文書出力装置間でのフ
ォントデータ転送処理について、図8に示すフローチャ
ート及び図6に示す書体選択ウィンドウ、図7に示すC
RT表示画面を参照しながら説明する。なお、ここでは
プリンタからシステム本体側のCRT(及びそれに付随
するVRAM)にフォントデータが転送されて、CRT
上にプリンタが有するフォントで文字を表示する場合を
想定する。
[Font Data Upload Transfer Processing (FIGS. 6 to 8)] Here, in the document processing system having the above-described configuration, the font data transfer processing between different document output devices will be described with reference to the flowchart shown in FIG. Font selection window shown in FIG. 6, C shown in FIG.
This will be described with reference to an RT display screen. Here, the font data is transferred from the printer to the CRT (and the associated VRAM) on the system body side,
It is assumed that characters are displayed in a font possessed by the printer above.

【0023】まず、ステツプS1では、図7(a)に示
すようなCRT13に中明朝体のフォントで表示された
文書編集画面71上で書体の変更を行いたい部分72を
マウス10またはキーボード9により選択し、書体選択
処理の開始をキーボード9或はマウス10から指示する
と、図6に示すような書体選択ウィンドウがCRT13
に表示される。
First, in step S1, a portion 72 of the document editing screen 71 displayed in a font of Chinese Mincho style on the CRT 13 as shown in FIG. When the start of the font selection process is instructed from the keyboard 9 or the mouse 10, the font selection window as shown in FIG.
Will be displayed.

【0024】図6は、図3を用いて説明した各プリンタ
7に搭載されるフォント管理データを基づいて作成され
る書体選択ウインドウの一例を示す図である。図6に
は、プリンタAに中明朝体、教科書体、楷書体のフォン
トデータが、プリンタBに中明朝体、楷書体、草書体の
フォントデータが、そして、プリンタCに太ゴシツク
体、楷書体のフォントデータが登録されている様子が示
されている。図6において、書体データの選択は、図1
で示したマウス10またはキーボード9のいづれか選択
指示を入力することによってなされる。例えば、マウス
10による選択指示であれば、図6の所望の書体のエリ
アをクリツクすれば良いし、またキーボード9であれば
ウインドウに表示されている所望の書体に対応する数値
を入力すれば良い。
FIG. 6 is a view showing an example of a typeface selection window created based on the font management data mounted on each printer 7 described with reference to FIG. FIG. 6 shows that the printer A has the font data of Chinese Mincho, textbook, and square font on the printer A, the printer B has the font data of Chinese Mincho, regular, cursive, and cursive font on the printer C. The state in which the font data of the block style is registered is shown. In FIG. 6, selection of typeface data is performed according to FIG.
This is done by inputting a selection instruction of either the mouse 10 or the keyboard 9 indicated by. For example, in the case of a selection instruction using the mouse 10, the area of the desired font in FIG. 6 may be clicked, and in the case of the keyboard 9, a numerical value corresponding to the desired font displayed in the window may be input. .

【0025】次にステップS2では、上記のような書体
選択ウィンドウから所望の書体を選択する。ここでは、
太ゴシツク体を指定するものとする。
Next, in step S2, a desired typeface is selected from the typeface selection window as described above. here,
A thick gothic body shall be specified.

【0026】さて、ステップS3では、指定された書体
データが指定されたプリンタに搭載されているか否かを
調べる。これは、指定された書体idを指定されたid
のプリンタ側に送信するとプリンタに搭載されている各
書体の管理データ(図3)の書体id中に合致するもの
が存在するか否かをチエツクする事によりなされる。こ
こで、指定された書体が指定されたプリンタに存在しな
ければエラー処理として従来例に従った代替え書体を転
送する等の方法がとられる。これに対して、所望の書体
が存在する場合、処理はステツプS4に進み、プリンタ
内の該当フォントデータがアクセス可能となる様にフォ
ントのオープン処理を行う。
In step S3, it is checked whether or not the designated typeface data is mounted on the designated printer. This is because the specified typeface id is
When the data is transmitted to the printer side, it is checked by checking whether or not a matching data exists in the typeface id of the management data (FIG. 3) of each typeface mounted on the printer. Here, if the designated font does not exist in the designated printer, a method of transferring a substitute font according to the conventional example is used as error processing. On the other hand, if the desired typeface exists, the process proceeds to step S4, where the font is opened so that the corresponding font data in the printer can be accessed.

【0027】次に、ステップS5において、データ要求
装置側(本実施例では文書処理システム本体側)で所望
の文字コードから図4に示した文字要求命令を作成し
て、これを指定したプリンタに送信する。この場合、文
字要求命令は、文字単位あるいは文字ストリング単位で
送信される。
Next, in step S5, a character request command shown in FIG. 4 is created from a desired character code on the data requesting device side (the document processing system main body side in this embodiment), and this is sent to the designated printer. Send. In this case, the character request command is transmitted in character units or character string units.

【0028】ステツプS6では、プリンタ側で文字要求
命令を受信し、この命令に従つてフォントパターンデー
タを該当する表示制御データと組み合わせて、文字展開
データを作成する。即ち、プリンタ側では、通信回線を
介して文字要求命令を受信後に、プリンタ内のHDある
いはROMから該当するフォントパターンデータと展開
制御情報を読み出して、文字要求データの内容に従つて
ビツトマツプ展開を行う(或は、アウトラインデータの
まま展開されなくてもよい)。続いて、ステツプS7で
はこの文字展開データをデータ要求元装置(本実施例で
は文書処理システム本体側)に通信回線を介して転送す
る。
In step S6, the printer receives a character request command and, in accordance with the command, combines the font pattern data with the corresponding display control data to create character expansion data. That is, after receiving the character request command via the communication line, the printer reads the corresponding font pattern data and expansion control information from the HD or ROM in the printer, and performs bit map expansion according to the contents of the character request data. (Or, it may not be developed as outline data). Then, in step S7, the character expansion data is transferred to the data request source device (in this embodiment, the document processing system main body side) via a communication line.

【0029】ステツプS8では、データ要求元装置側
(本実施例では文書処理システム本体側)でプリンタ側
から受信した文字展開データと指定されたパターンボツ
クスデータ、文字表示制御データと指定された位置パラ
メータ(ポジシヨンと回転)に従つて、メモリ内(本実
施例ではVRAM)の適切な場所に文字パターンをビツ
トマツプ展開してCRT13に表示する。
In step S8, the data requesting device (in this embodiment, the document processing system main unit) receives the character expansion data received from the printer, the designated pattern box data, the character display control data, and the designated position parameter. In accordance with (Position and Rotation), the character pattern is bit-map-developed at an appropriate location in the memory (VRAM in this embodiment) and displayed on the CRT 13.

【0030】ステップS9では、処理対象となっている
文字数或は文字ストリング数分の処理が終了したかどう
かを調べる。ここで、処理が終了していないと判断され
たなら処理はステップS5に戻り、処理が指定された文
字数或は文字ストリング数分の処理を繰り返す。これに
対して、処理終了と判断されたなら処理を終了する。以
上のような処理を経て、図7(b)に示されるように、
ステップS1において選択された文字が元の書体(中明
朝体)から指定された書体(ここでは、太ゴシツク体)
に変換されて表示(図7(b)の74の部分)される。
もちろん、選択されなかった文字については、元の書体
(中明朝体)で表示される。
In step S9, it is checked whether or not the processing for the number of characters or character strings to be processed has been completed. If it is determined that the process has not been completed, the process returns to step S5, and the process is repeated for the specified number of characters or character strings. On the other hand, if it is determined that the processing has been completed, the processing is terminated. After the above processing, as shown in FIG.
The character selected in step S1 is a typeface designated here from the original typeface (China Mincho style) (here, thick gothic style)
And displayed (portion 74 in FIG. 7B).
Of course, the characters that are not selected are displayed in the original font (Mincho).

【0031】従って本実施例に従えば、CRTに表示さ
れている文書の一部を選択して書体選択によって所望の
書体を指定すると、該当する書体を有するプリンタか
ら、そのフォントデータを得てビットマップ展開を行
い、指定された文書の箇所を所望の書体に変換して表示
することができる。
Therefore, according to this embodiment, when a part of the document displayed on the CRT is selected and a desired font is designated by the font selection, the font data is obtained from the printer having the corresponding font and the bit data is obtained. By performing map development, the designated document location can be converted into a desired typeface and displayed.

【0032】なお本実施例では、CRTに表示されてい
る文字をあるプリンタにあるフォントデータを用いて書
体を変換して表示した場合について説明したが、本発明
はこれに限定されるものではなく、文字データを要求し
ている装置が他のプリンタであっても良い。例えば、あ
るプリンタへの印刷出力に際して、別のプリンタが有す
るフォントデータを用いて文書中のある部分を別の書体
で出力するようにできる。この場合、別のプリンタから
得られた別のフォントデータはプリンタ内のIMEMに
ビツトマツプ展開される。
In this embodiment, a case has been described in which characters displayed on a CRT are converted and displayed using font data in a printer, but the present invention is not limited to this. Alternatively, the device requesting the character data may be another printer. For example, at the time of printing output to a certain printer, a certain part in a document can be output in another typeface using font data possessed by another printer. In this case, another font data obtained from another printer is bit-mapped to the IMEM in the printer.

【0033】また本実施例では、文字データの要求が発
生する度にプリンタ側に該当書体の有無を問い合わせ、
文字ごとにプリンタ側で文字展開データを作成してデー
タ要求元装置側に転送する場合について説明した。しか
し、プリンタとデータ要求元装置の接続時にプリンタ側
の全ての文字展開データを全てデータ要求元装置側のP
MEMあるいはHDに転送・保存して、データ要求元装
置側でそのデータを管理するようシステムを構成するこ
ともできる。これにより、フォントデータ表示の際に毎
回プリンタ側へアクセスする必要がなくなるため処理効
率が向上する。また、全ての文字展開データを保存する
事ができない時は、PMEMに何文字分かのキヤツシユ
バツフア領域を確保し、一旦プリンタから転送されてき
たデータをキヤツシユバツフアに蓄えておき、再び同じ
文字が必要な時は、キヤツシユバツフアからデータを読
み出す様にする事によつても処理の効率が向上する。
Also, in this embodiment, each time a request for character data is issued, the printer is inquired about the presence or absence of the corresponding typeface.
The case has been described in which the printer creates character expansion data for each character and transfers the data to the data request source device. However, when the printer and the data requesting device are connected, all the character expansion data on the printer side are all transferred to the P on the data requesting device side.
The system can also be configured so that the data is transferred and stored in the MEM or the HD, and the data is managed on the data request source device side. This eliminates the need to access the printer every time font data is displayed, thereby improving processing efficiency. If it is not possible to save all character expansion data, secure a cache buffer area for several characters in PMEM and store the data once transferred from the printer in the cache buffer. When the same character is required again, the processing efficiency can be improved by reading data from the cache buffer.

【0034】尚、本発明は、複数の機器から構成される
システムに適用しても良いし、1つの機器から成る装置
に適用しても良いし、システム或は装置にプログラムを
供給することによつて達成される場合にも適用しても良
いし、さらにはLAN等のネットワークを介して処理が
行なわれるシステムに適用できることは言うまでもな
い。
The present invention may be applied to a system including a plurality of devices, may be applied to an apparatus including a single device, or may be applied to a system or a device for supplying a program. It goes without saying that the present invention can be applied to the case where the processing is achieved, or to a system in which processing is performed via a network such as a LAN.

【0035】[0035]

【発明の効果】以上説明した様に本発明によれば、文書
処理装置に接続されたプリンタのフォントを選択可能な
書体指定画面に表示させ、文書に使用されるフォントを
その書体指定画面を用いてユーザにより指定されたプリ
ンタのフォントに変更するので、プリンタの有するフォ
ント情報をユーザが容易に把握できるという効果があ
る。
As described above, according to the present invention, a font of a printer connected to a document processing apparatus is displayed on a selectable typeface designation screen, and fonts used in a document are displayed on the typeface designation screen. Therefore, the font of the printer designated by the user is changed, so that the user can easily grasp the font information of the printer.

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

【図1】本発明の代表的な実施例である文書処理システ
ムの構成を示すブロツク図である。
FIG. 1 is a block diagram showing a configuration of a document processing system according to a representative embodiment of the present invention.

【図2】文書処理システムに接続されるプリンタの構成
を示すブロツク図である。
FIG. 2 is a block diagram showing a configuration of a printer connected to the document processing system.

【図3】プリンタに搭載されるフォント管理データの構
造を示す図である。
FIG. 3 is a diagram illustrating a structure of font management data mounted on a printer.

【図4】文字要求命令のデータ構造を示す図である。FIG. 4 is a diagram showing a data structure of a character request command.

【図5】文字展開データの構造を示す図である。FIG. 5 is a diagram showing a structure of character expansion data.

【図6】書体選択ウインドウの一例を示す図である。FIG. 6 is a diagram illustrating an example of a typeface selection window.

【図7】書体選択とその結果の表示例を示す図である。FIG. 7 is a diagram illustrating a display example of font type selection and its result.

【図8】表示フォントアツプロード処理のフローチヤー
トである。
FIG. 8 is a flowchart of a display font upload process.

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

1,21 システムバス 2,22 CPU 3,23 プログラムメモリ 4,31 通信制御部 5,32 通信ポート 6,33 通信回線 7 プリンタ 8 入力制御部 9 キーボード 10 マウス 11 VRAM 12 表示出力制御部 13 CRT 14,29 外部記憶装置制御部 15,28 ハードディスク(HD) 16,27 プロッピィディスク(FD) 24 イメージメモリ 25 印刷出力制御部 26 印刷出力部 30 ROM 1, 21 System bus 2, 22 CPU 3, 23 Program memory 4, 31 Communication control unit 5, 32 Communication port 6, 33 Communication line 7 Printer 8 Input control unit 9 Keyboard 10 Mouse 11 VRAM 12 Display output control unit 13 CRT 14 , 29 External storage device control unit 15, 28 Hard disk (HD) 16, 27 Proppy disk (FD) 24 Image memory 25 Print output control unit 26 Print output unit 30 ROM

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 プリンタと接続される文書処理装置であ
って、 前記プリンタのフォントを選択可能な書体指定画面に表
示させる手段と、 文書に使用されるフォントを、前記書体指定画面を用い
てユーザにより指定されたプリンタのフォントに変更す
る変更手段とを有することを特徴とする文書処理装置。
1. A document processing apparatus connected to a printer, comprising: means for displaying a font of the printer on a selectable typeface designation screen; and a user using the typeface designation screen to select a font used for a document. And a change unit for changing the font to a printer specified by the printer.
【請求項2】 前記書体指定画面には、前記プリンタが
有するフォント情報と、前記プリンタを識別できる情報
とを表示されることを特徴とする請求項1に記載された
文書処理装置。
2. The document processing apparatus according to claim 1, wherein the font designating screen displays font information of the printer and information for identifying the printer.
【請求項3】 前記書体指定画面は、複数のプリンタの
フォントが選択可能な書体指定画面であることを特徴と
する請求項1又は2に記載された文書処理装置。
3. The document processing apparatus according to claim 1, wherein the font designating screen is a font designating screen from which fonts of a plurality of printers can be selected.
【請求項4】 前記書体指定画面を用いてユーザにより
指定されたプリンタのフォントを獲得する獲得手段をさ
らに有すること特徴とした請求項1に記載された文書処
理装置。
4. The document processing apparatus according to claim 1, further comprising an acquisition unit configured to acquire a printer font designated by a user using the font designation screen.
【請求項5】 前記変更手段は、表示されている文書の
一部の文字のフォントを前記書体指定画面を用いてユー
ザにより指定されたプリンタのフォントに変更して表示
させる表示制御手段を含むことを特徴とする請求項1に
記載された文書処理装置。
5. The display device according to claim 1, wherein the change unit includes a display control unit that changes a font of a part of characters of the displayed document to a font of a printer designated by a user using the font designating screen and displays the font. The document processing apparatus according to claim 1, wherein:
【請求項6】 プリンタと接続される文書処理装置にお
ける文書処理方法であって、 前記プリンタのフォントを選択可能な書体指定画面に表
示させる工程と、 文書に使用されるフォントを、前記書体指定画面を用い
てユーザにより指定されたプリンタのフォントに変更す
る変更工程とを有することを特徴とする文書処理方法。
6. A document processing method in a document processing apparatus connected to a printer, the method comprising: displaying a font of the printer on a selectable typeface designating screen; And changing the font to a printer font designated by the user by using the document processing method.
【請求項7】 前記書体指定画面には、前記プリンタが
有するフォント情報と、前記プリンタを識別できる情報
とが表示されることを特徴とする請求項6に記載された
文書処理方法。
7. The document processing method according to claim 6, wherein font information of the printer and information for identifying the printer are displayed on the font designating screen.
【請求項8】 前記書体指定画面は、複数のプリンタの
フォントが選択可能な書体指定画面であることを特徴と
する請求項6又は7に記載された文書処理方法。
8. The document processing method according to claim 6, wherein the font designating screen is a font designating screen from which fonts of a plurality of printers can be selected.
【請求項9】 前記書体指定画面を用いてユーザにより
指定されたプリンタのフォントを獲得する獲得工程をさ
らに有することを特徴とする請求項6に記載された文書
処理方法。
9. The document processing method according to claim 6, further comprising an acquiring step of acquiring a printer font designated by a user using the typeface designation screen.
【請求項10】 前記変更工程は、表示されている文書
の一部の文字のフォントを前記書体指定画面を用いてユ
ーザにより指定されたプリンタのフォントに変更して表
示させる表示制御工程を含むことを特徴とする請求項6
に記載された文書処理方法。
10. The change step includes a display control step of changing a font of a part of characters of a displayed document to a printer font designated by a user using the typeface designation screen and displaying the changed font. 7. The method according to claim 6, wherein
Document processing method described in.
JP2000133802A 2000-01-01 2000-05-02 Method and device for document processing Pending JP2000357166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000133802A JP2000357166A (en) 2000-01-01 2000-05-02 Method and device for document processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000133802A JP2000357166A (en) 2000-01-01 2000-05-02 Method and device for document processing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP3137520A Division JPH04362775A (en) 1991-06-10 1991-06-10 Method and device for processing document

Publications (1)

Publication Number Publication Date
JP2000357166A true JP2000357166A (en) 2000-12-26

Family

ID=18642214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000133802A Pending JP2000357166A (en) 2000-01-01 2000-05-02 Method and device for document processing

Country Status (1)

Country Link
JP (1) JP2000357166A (en)

Similar Documents

Publication Publication Date Title
JP2010091724A (en) Image processing system
JP3563793B2 (en) Data processing method and apparatus
US6388757B1 (en) Printing apparatus, printing system, and a method for acquiring character resources of the printing system
JPH04128970A (en) Document processing system
JP2845380B2 (en) Printing apparatus and control method thereof
JP3051496B2 (en) Document processing method and apparatus
JP2000357166A (en) Method and device for document processing
JP2783601B2 (en) Information processing device
JP3155617B2 (en) Document processing method and apparatus
JP2971547B2 (en) Document processing device
JPH04362775A (en) Method and device for processing document
JPH11212962A (en) Document processing device and method and storage medium
JPH04123164A (en) Document processing system
JPS59201870A (en) Printer
JP2525333B2 (en) Output device
JP3040624B2 (en) Pattern generator
JPH0567106A (en) Method and device for document processing
JP3084817B2 (en) Character output device
JPH04367066A (en) Method and device for processing document
JP2004094408A (en) Display device, printing method, print format creating method, print format creating program and computer readable recording medium
JPH1074199A (en) Character processing device and method and storage medium storing character processing program
JPH04118766A (en) Document processor
JPH02297172A (en) Document processor
JPH0747330B2 (en) Character output device
JPH1044533A (en) Font cache

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020618