JPH04367066A - Method and device for processing document - Google Patents

Method and device for processing document

Info

Publication number
JPH04367066A
JPH04367066A JP3143273A JP14327391A JPH04367066A JP H04367066 A JPH04367066 A JP H04367066A JP 3143273 A JP3143273 A JP 3143273A JP 14327391 A JP14327391 A JP 14327391A JP H04367066 A JPH04367066 A JP H04367066A
Authority
JP
Japan
Prior art keywords
data
character
limit value
printer
font
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
JP3143273A
Other languages
Japanese (ja)
Inventor
Haruo Machida
町田 晴生
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 JP3143273A priority Critical patent/JPH04367066A/en
Publication of JPH04367066A publication Critical patent/JPH04367066A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ページ記述言語に対応
していてフォントデ−タを登録する機能を有する出力装
置に対して、その機能の制約に関係なくどのようなフォ
ントデータも出力可能なデータとして出力装置に送信す
ることができる文書処理方法及び装置に関する。
[Industrial Field of Application] The present invention is capable of outputting any font data to an output device that is compatible with a page description language and has the function of registering font data, regardless of its functional limitations. The present invention relates to a document processing method and device that can be transmitted as data to an output device.

【0002】0002

【従来の技術】従来の文書処理装置においては、プリン
タ側がペイジ記述言語に対応してフォントデータ及び送
信された命令を解釈してラスタ展開する機能を持ち、装
置本体からラスタ展開する為のデータと命令を送信する
だけで出力可能なシステムの場合で、プリンタ側に搭載
されていないフォントを印刷しようとした場合は、フォ
ントデータを文字データとして装置本体から送信してプ
リンタに指定した文字コードとして登録し、印刷を行っ
ていた。
2. Description of the Related Art In conventional document processing devices, the printer side has a function of interpreting font data and transmitted commands in accordance with the page description language and rasterizing them. In the case of a system that can output by simply sending a command, if you try to print a font that is not installed on the printer side, send the font data as character data from the device itself and register it as the specified character code in the printer. and was printing.

【0003】0003

【発明が解決しようとしている課題】しかしながら、上
述の従来例では、実際には文字データとしては誤ってい
ない場合でもプリンタのページ記述言語の性能による制
限によって文字データとして登録するとエラーを発生し
てしまう場合があった。例えば、出力したい文字が20
本のアウトラインパスデータで記憶されている場合、こ
のパスデータを文字データとして登録すべきところ、も
しもプリンタのパスの制限値が10であった場合は、プ
リンタは印刷を全て中止してそれまでラスタ展開したも
のをクリアしてしまう事があり、結果として何も出力さ
れなくなってしまうという欠点があった。このため、ユ
ーザはプリンタに文字データがあるかないか、また、な
い場合には、文字データとして登録できるかどうか考慮
しなければならなかった。
[Problem to be Solved by the Invention] However, in the conventional example described above, even if the character data is not incorrect, an error occurs when it is registered as character data due to the performance limitations of the printer's page description language. There was a case. For example, if the characters you want to output are 20
If the outline path data of the book is stored, this path data should be registered as character data, but if the printer's path limit is 10, the printer will stop all printing and print the raster data until then. There was a drawback that the expanded version may be cleared, resulting in no output. For this reason, the user has had to consider whether or not the printer has character data, and if not, whether or not it can be registered as character data.

【0004】0004

【課題を解決する為の手段】以上の点に鑑み、本発明の
文書処理方法及び装置は以下の様な構成から成る目的は
、出力装置の性能に関する情報を予め記憶しておき、ま
たフォントデータを文字データとして出力装置に送信す
る際に、エラーを発生してしまう制限値を越えるかどう
かチェックすることによって、制限を越えてしまってエ
ラーとなってしまうフォントデータに関してはエラーを
発生しないように対処するようにするものである。
[Means for Solving the Problems] In view of the above points, the document processing method and device of the present invention have the following configuration.The purpose of the document processing method and device of the present invention is to store information regarding the performance of an output device in advance, and to store font data. By checking whether the limit value that would cause an error is exceeded when sending font data as character data to the output device, errors will not occur regarding font data that would otherwise cause an error if it exceeds the limit. This is something that should be dealt with.

【0005】以上の点に鑑み本発明は以下を構成要件と
するものである。
In view of the above points, the present invention has the following constituent elements.

【0006】文書処理側と、送られたフォントデータを
特定の文字コードで文字として登録する機能を有し、送
信された命令を解釈してラスタ展開する事が可能な出力
側とでデータのやり取りが可能で、そのデータのやり取
りにより、前記出力側からその性能に関する情報を求め
、その情報から制限値を導出し、その制限値を記憶して
おき、記憶された制限値より送信すべきフォントデータ
の表現方法を選択し、どのようなフォントデータも出力
可能なデータとして送信することができることを特徴と
する文書処理方法。
[0006] Data is exchanged between the document processing side and the output side, which has the function of registering the sent font data as characters with a specific character code, and is capable of interpreting the sent command and rasterizing it. By exchanging the data, information regarding its performance is obtained from the output side, a limit value is derived from that information, the limit value is memorized, and the font data to be transmitted is determined based on the stored limit value. A document processing method characterized in that any font data can be transmitted as outputtable data by selecting an expression method for the font.

【0007】[0007]

【実施例】以下、図面を用いて本発明を更に詳細に説明
する。なお、本発明でいう文書は、文章(表も含む)、
図形、イメージ等を含めて総称している。また、本発明
の機能が実行されるのであれば、単体の機器であっても
、複数の機器からなるシステムであっても、LAN等の
ネットワークを介して、処理が行なわれるシステムであ
っても本発明が適用されることは言うまでもない。 又、装置或は、システムにプログラムを供給することに
より本発明が達成する場合にも本発明が適用できること
は言うまでのない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained in more detail below with reference to the drawings. Note that the documents referred to in the present invention include texts (including tables),
It is a general term that includes figures, images, etc. Furthermore, as long as the functions of the present invention are executed, it does not matter whether it is a single device, a system consisting of multiple devices, or a system in which processing is performed via a network such as a LAN. It goes without saying that the present invention is applicable. It goes without saying that the present invention is also applicable to cases where the present invention is achieved by supplying a program to an apparatus or system.

【0008】(システムブロック図)図1は本発明に係
る一実施例の文書編集装置のシステム・ブロック図であ
る。1はシステム・バスであり、これから説明する各構
成ブロックはこのシステム・バスに接続されている。2
はCPU(Centrtal  Processing
Unit)である。3はプログラム・メモリ(PMEM
と称す)で、編集処理のためのプログラムを格納し、適
宜ハード・ディスク16から選択/読込みし、2のCP
Uにて実行する。又、キーボード10から入力されたデ
ータはテキスト・メモリでもあるPMEMにコード情報
として格納される。4はイメージメモリ(IMEMと称
す)で、文字をラスタ展開する時などに使用される。9
は入力制御部であり、キーボード入力装置10のキーボ
ード、11のP.D(ポインティングデバイス、例えば
、マウス等)の入力装置が接続される。操作者はこのキ
ーボード10を操作することによりシステムの動作指令
等を行う。また11は14のCRT上で画像情報を加工
指示するためのポインティング・デバイス(PDと称す
)で本実施例ではマウスを使用している。これによりC
RT14上のカーソルをX,Y方向任意に移動してコマ
ンドメニュー上のコマンド・アイコンを選択して処理の
指示を行なうほか編集対象の指示、描画位置の指示等も
おこなう。12はビデオ・イメージ・メモリ(VRAM
と称す)、13は表示出力制御部、14はCRTである
。14のCRTに表示されるデータは12のVRAM上
にビットマップデータとして展開されている。例えば文
字データであれば、そのコードに対応した文字パターン
がVRAM上に展開されており、また、ソフト制御によ
りVRAMの表示エリアに直接カーソルを発生し表示が
可能である。15は外部記憶装置制御部、16、17は
データファイル用のディスクで、例えば16はハード・
ディスク(HDと称す)であり、17は、フロッピー・
ディスク(FDと称す)である。また、本システムは通
信制御部5より通信ポート6、通信回線7を経由して送
出されるフォントデータ、書体/文字サイズ指示情報、
印字位置、文字コード列等を受信し、新たな文字として
登録して自らのIMEM4に印刷ビットマップイメージ
を展開し印刷出力することができる。又、同ビットマッ
プイメージデータを通信回線7を経由して出力装置本体
に送信する事が可能な、複数台のプリンタ8が接続され
ている。
(System Block Diagram) FIG. 1 is a system block diagram of a document editing device according to an embodiment of the present invention. 1 is a system bus, and each of the constituent blocks to be described from now on is connected to this system bus. 2
is CPU (Central Processing).
Unit). 3 is program memory (PMEM)
), the program for editing processing is stored, selected/read from the hard disk 16 as appropriate, and the CP of 2 is stored.
Execute in U. Further, data input from the keyboard 10 is stored as code information in PMEM, which is also a text memory. Reference numeral 4 denotes an image memory (referred to as IMEM), which is used when rasterizing characters. 9
11 is an input control unit, which includes the keyboard of the keyboard input device 10 and the P.11 of the keyboard input device 10. An input device D (pointing device, such as a mouse) is connected. By operating this keyboard 10, the operator issues system operation commands and the like. Reference numeral 11 denotes a pointing device (referred to as PD) for instructing processing of image information on the CRT 14, and a mouse is used in this embodiment. This allows C
The cursor on the RT 14 is arbitrarily moved in the X and Y directions and a command icon on the command menu is selected to instruct processing, as well as to instruct the object to be edited, the drawing position, etc. 12 is video image memory (VRAM)
), 13 is a display output control section, and 14 is a CRT. The data displayed on the 14 CRTs is developed as bitmap data on the 12 VRAMs. For example, in the case of character data, a character pattern corresponding to the code is developed on the VRAM, and a cursor can be directly generated and displayed in the display area of the VRAM under software control. 15 is an external storage device control unit; 16 and 17 are disks for data files; for example, 16 is a hard disk drive;
17 is a floppy disk (referred to as HD).
It is a disk (referred to as FD). This system also includes font data, font/character size instruction information, which is sent from the communication control unit 5 via the communication port 6 and the communication line 7.
It is possible to receive the print position, character code string, etc., register it as a new character, develop a print bitmap image in its own IMEM 4, and print it out. Further, a plurality of printers 8 are connected which can transmit the same bitmap image data to the output device main body via the communication line 7.

【0009】(プリンタのブロック図)次に出力装置の
1例としてのプリンタ8のブロック図を図2に示す。2
1はシステム・バスであり、これから説明する各構成ブ
ロックはこのシステム・バスに接続されている。22は
CPUである。23はPMEMで、印刷ビットマップイ
メージ展開出力処理のためのプログラムを適宜ハード・
ディスク28またはROM30から選択/読込みし、2
2のCPUにて実行する。また、通信回線33を経由し
て通信ポート32、通信制御部31より受信入力された
データはテキスト・メモリでもあるPMEMにコード情
報として格納される。さらに、受信入力されたデータは
22のCPUで解釈されてフォントデータは新たな文字
として登録される。プリンタからの印刷出力時は、印刷
イメージはビットマップデータとしてイメージ・メモリ
(IMEMと称す)24に展開されたのち印刷出力制御
部25の制御により印刷出力部26に出力される。29
は外部記憶装置制御部、28、27はデータファイル用
のディスクで、例えば28はHDであり、27は、FD
である。30はROMであり文字フォントの制御情報、
ビットマップ・データ、輪郭情報等とプリンタ7の制御
プログラム等が格納される。出力装置本体側へ文字のビ
ットマップデータを送信するときは、上記PMEM23
に格納されたコード情報に従って、フォント情報を獲得
して適切なビットマップデータに加工した後に、通信制
御部31、通信ポート32から通信回線33を経由して
装置本体に転送される。
(Block Diagram of Printer) Next, a block diagram of a printer 8 as an example of an output device is shown in FIG. 2
1 is a system bus, and each of the constituent blocks to be described from now on is connected to this system bus. 22 is a CPU. 23 is PMEM, which installs a program for printing bitmap image development output processing as appropriate on the hardware.
Select/read from disk 28 or ROM 30,
Execute on 2 CPUs. Furthermore, data received and input from the communication port 32 and the communication control unit 31 via the communication line 33 is stored as code information in the PMEM, which is also a text memory. Furthermore, the received input data is interpreted by 22 CPUs, and the font data is registered as new characters. When outputting a printout from a printer, a print image is developed as bitmap data in an image memory (referred to as IMEM) 24 and then outputted to a printout unit 26 under the control of a printout control unit 25 . 29
is an external storage device control unit, 28 and 27 are disks for data files, for example, 28 is an HD, and 27 is an FD.
It is. 30 is a ROM that contains control information for character fonts;
Bitmap data, contour information, etc., a control program for the printer 7, etc. are stored. When sending character bitmap data to the output device main body, use the PMEM23 mentioned above.
According to the code information stored in the font information, the font information is acquired and processed into appropriate bitmap data, which is then transferred from the communication control section 31 and communication port 32 to the main body of the apparatus via the communication line 33.

【0010】(フローチャート図3)図3は、文書処理
装置における本発明の実施例のフロ−チャ−トである。 この図に従って本発明の説明をする。まず、文書の印刷
の指示がなされると本処理に入ってくる。言うまでもな
く、このフロチャートは、図1のCPU2によって、遂
行される。ステップS1において、プリンタとの通信回
線を通してプリンタのCPU22(図2)の性能を求め
て、その情報より演算によってプリンタの制限値を求め
て記憶する。この制限値としては、例えば、アウトライ
ンパスデータで文字データを表わす場合、プリンタのパ
スの上限値は、10であるといった値のことである。こ
のときのフローチャートを図4に示す。このフローチャ
ートに従って、プリンタの制限値を求めて記憶するまで
の詳細は、図4の所で説明する。次に、図2のステップ
S2で印刷の指示がなされた文書デ−タの終了もしくは
頁の最後であるかどうかの判定がなされる。ここで終了
または頁の最後でなければ印刷する文書のデ−タ解析を
するために次のステップS3に進む。ここで、文字デー
タでない場合は、ステップS4に進んでデータをプリン
タへの命令に変換してプリンタに送信する。尚、図6で
示される様に文書データは、大きく分けて文字データ6
01、  図形データ602、  イメージデータ60
3からなっており、ステップS3で文書デ−タを文字デ
−タとそれ以外のデ−タとに分けられる。
(Flowchart FIG. 3) FIG. 3 is a flowchart of an embodiment of the present invention in a document processing device. The present invention will be explained according to this figure. First, when an instruction to print a document is given, the main process begins. Needless to say, this flowchart is executed by the CPU 2 of FIG. In step S1, the performance of the CPU 22 (FIG. 2) of the printer is determined through the communication line with the printer, and the limit value of the printer is determined by calculation from that information and stored. This limit value is, for example, a value such that when character data is represented by outline path data, the upper limit value of a printer's path is 10. A flowchart at this time is shown in FIG. Details of how to obtain and store printer limit values according to this flowchart will be explained with reference to FIG. Next, in step S2 of FIG. 2, it is determined whether or not the document data or the page for which printing has been instructed ends. If it is not the end or the end of the page, the process advances to the next step S3 to analyze the data of the document to be printed. If the data is not character data, the process proceeds to step S4, where the data is converted into a command to the printer and sent to the printer. As shown in Figure 6, document data can be broadly divided into character data 6.
01, figure data 602, image data 60
In step S3, document data is divided into character data and other data.

【0011】次に、図3のS3でデ−タが文字デ−タで
あった場合はステップS4に進む。ここで、文字データ
の構造について図6を用いて説明する。604は印刷す
る文字のコード、あるいは文字のストリングデータであ
る。605はその文字コードをどの書体のフォントデー
タから得るかを識別するための書体idである。  6
06はフォントパターンをどのように変形してラスタ展
開するかという情報である。この変形は、例えば、斜体
やシャドウ、長体、平体等である。
Next, if the data is character data in S3 of FIG. 3, the process advances to step S4. Here, the structure of character data will be explained using FIG. 6. 604 is the code of the character to be printed or the string data of the character. 605 is a font ID for identifying from which font data the character code is obtained. 6
06 is information on how to transform and rasterize the font pattern. This deformation is, for example, italic, shadow, elongated, flat, etc.

【0012】607は、フォントパターンの中塗り情報
である。608はフォントパターンの縦横サイズ(ドッ
トサイズ,  もしくは印刷の結果として得られる文字
のサイズ)である。  609はフォントパターンの回
転サイズである。  610はフォントパターンの展開
基準点データである。
Reference numeral 607 indicates intermediate color information of the font pattern. 608 is the vertical and horizontal size (dot size or character size obtained as a result of printing) of the font pattern. 609 is the rotation size of the font pattern. 610 is development reference point data of the font pattern.

【0013】次に、ステップS5では、文字コードデー
タ604よりプリンタにデータを送信する必要があるか
どうか判定する。もし、送信の必要がない場合は、ステ
ップS9に進む。送信の必要がある場合は、ステップS
6に進む。ステップS6では、文字データとして登録す
る場合にステップS1で求めた制限値を越えないかどう
か判定する。制限値を越えていない場合は、ステップS
7でこの文字データを文字として登録するための命令と
文字データをプリンタに送信する。制限値を越えている
場合は、ステップS8でこの文字データを文字として登
録できないためにプリンタの制限値によらないイメージ
データとして出力するための命令とイメージデータに変
換された文字データを送信する。一例を図7のような文
字データで説明する。71のような文字データがプリン
タに搭載されていないと判断された場合、プリンタに文
字データを送信する。この文字は72に示すような20
本のアウトラインパスデータで記憶されている場合、こ
のパスデータを文字データとして登録する。このとき、
もしもプリンタのパスの制限値が10であった場合は、
その制限値を越えてしまうのでこのデータを文字データ
として登録する事はできない。そのような場合は、この
文字を一度IMEM4にラスタ展開してドットデータ7
3に変換する。このドットデータを文字データとして送
信する。イメージデータとして取り扱われるので制限を
越えてしまってエラーになってしまう事はない。ステッ
プS9では、出力する文字データは全てプリンタに登録
されているので、その文字を出力する位置、大きさなど
のデータを送信する。ステップS10では、文字データ
が終わりかどうか判定する。終わりでない場合は、その
文字列データの最後までステップS5からの処理を繰り
返す。終わりである場合は、ステップS2に戻って文書
データが終了するまでステップS2からの処理を繰り返
す。
Next, in step S5, it is determined from the character code data 604 whether data needs to be transmitted to the printer. If there is no need to transmit, the process advances to step S9. If it is necessary to send, step S
Proceed to step 6. In step S6, it is determined whether or not the limit value determined in step S1 will be exceeded when registering as character data. If the limit value is not exceeded, step S
In step 7, a command and character data for registering this character data as characters are sent to the printer. If the limit value is exceeded, in step S8, since this character data cannot be registered as a character, a command for outputting it as image data that does not depend on the limit value of the printer and the character data converted into image data are transmitted. An example will be explained using character data as shown in FIG. If it is determined that character data such as 71 is not installed in the printer, the character data is sent to the printer. This character is 20 as shown in 72
If the book outline path data is stored, this path data is registered as character data. At this time,
If the printer path limit is 10,
This data cannot be registered as character data because it exceeds the limit value. In such a case, rasterize this character to IMEM4 and convert it to dot data 7.
Convert to 3. This dot data is transmitted as character data. Since it is treated as image data, it will not exceed the limit and cause an error. In step S9, since all character data to be output is registered in the printer, data such as the position and size of the character to be output is transmitted. In step S10, it is determined whether the character data ends. If it is not the end, the process from step S5 is repeated until the end of the character string data. If it is the end, the process returns to step S2 and repeats the process from step S2 until the document data ends.

【0014】(フローチャート図4)次に、プリンタの
制限値を求めて記憶するまでを、図1のCPU1による
図4のフロ−チャ−トに従って説明する。つまり、図3
のステップ1を具体的に図4において説明する。
(Flowchart FIG. 4) Next, the process of determining and storing printer limit values will be explained by the CPU 1 of FIG. 1 according to the flowchart of FIG. 4. In other words, Figure 3
Step 1 will be specifically explained with reference to FIG.

【0015】まず、ステップS41でプリンタとの通信
回線を通してプリンタにCPU22のバージョンを返信
する命令を送信してプリンタのバージョンを求める。次
に、ステップS42でハードディスク15に記憶されて
いるプリンタ管理テーブルを求める。尚、プリンタ管理
テーブルの構造の例を図5に示す。プリンタ管理テーブ
ルは、バージョン番号54、パスの制限値55および辞
書の制限値56を1組とするデータの集合体である。ま
た、51の初期設定値として、初期のバージョンのパス
の制限値52および辞書の制限値53を記憶していて、
最後のデータは全て0クリアされている。
First, in step S41, a command to return the version of the CPU 22 is sent to the printer through the communication line with the printer to obtain the version of the printer. Next, in step S42, the printer management table stored in the hard disk 15 is obtained. Incidentally, an example of the structure of the printer management table is shown in FIG. The printer management table is a collection of data including a version number 54, a path limit value 55, and a dictionary limit value 56. In addition, the initial version of the path limit value 52 and the dictionary limit value 53 are stored as the initial setting values of 51,
The last data is all cleared to 0.

【0016】このテーブルより最初のデータを求めて図
4のステップS43でそのデータが最後のデータである
かどうか判定する。このとき、最後のデータであった場
合は、ステップS44で初期設定の制限値データを制限
値としてハードディスク15またはPMEM23に記憶
して処理を抜ける。最後のデータでなかった場合は、ス
テップS45でプリンタのバージョンと比較する。もし
、バージョンが一致しない場合は、ステップS46でバ
ージョン管理テーブルより次のデータを求めてステップ
S43に進む。また、バージョンが一致した場合は、ス
テップS47でそのバージョンの制限値データを制限値
としてハードディスク15またはPMEM23に記憶し
て処理を抜ける。
The first data is obtained from this table, and it is determined in step S43 of FIG. 4 whether the data is the last data. At this time, if it is the last data, the initial setting limit value data is stored in the hard disk 15 or PMEM 23 as a limit value in step S44, and the process exits. If it is not the last data, it is compared with the printer version in step S45. If the versions do not match, the next data is obtained from the version management table in step S46, and the process proceeds to step S43. If the versions match, in step S47, the limit value data of that version is stored as a limit value in the hard disk 15 or PMEM 23, and the process exits.

【0017】(他の実施例)本実施例では、文字データ
をプリンタに登録しようとしてプリンタの制限値を越え
てしまう場合に、ドットイメージの文字として登録して
いるが、そのような文字データは文字として登録しない
で、最終的に出力したい形にラスタ展開した後でそのデ
ータをイメージデータとして送信することもできる。
(Other Embodiments) In this embodiment, when character data exceeds the printer's limit value when attempting to register it in the printer, it is registered as a dot image character. It is also possible to rasterize the data into the final output format and then send that data as image data without registering it as text.

【0018】図8は、文字データをイメージデータとし
てラスタ展開してから送信する場合の処理動作を示すフ
ローチャートである。以下、このフローチャートに従っ
て処理方法を説明する。まず、文書の印刷の指示がなさ
れると本処理に入ってくる。ステップS801において
、プリンタとの通信回線を通してプリンタのCPU22
の性能を求めて、その情報より演算によってプリンタの
制限値を求めて記憶する。次に、ステップS802で印
刷の指示がなされた文書デ−タの終了もしくは頁の最後
であるかどうかの判定がなされる。ここで終了または頁
の最後でなければ印刷する文書のデ−タ解析をするため
に次のステップS803に進む。ここで、文字データで
ない場合は、ステップS804に進んでデータをプリン
タへの命令に変換してプリンタに送信する。文字データ
の場合は、ステップS805に進む。
FIG. 8 is a flowchart showing processing operations when character data is raster-developed as image data and then transmitted. The processing method will be explained below according to this flowchart. First, when an instruction to print a document is given, the main process begins. In step S801, the CPU 22 of the printer communicates with the printer through the communication line with the printer.
The printer's performance is calculated, and the limit value of the printer is calculated from that information and stored. Next, in step S802, it is determined whether or not the document data for which printing has been instructed ends or the end of the page is reached. If this is not the end or the end of the page, the process advances to the next step S803 to analyze the data of the document to be printed. If the data is not character data, the process advances to step S804, where the data is converted into a command to the printer and sent to the printer. In the case of character data, the process advances to step S805.

【0019】ステップS805では、文字コードデータ
604よりプリンタにデータを送信する必要があるかど
うか判定する。もし、送信の必要がない場合は、ステッ
プS809に進む。送信の必要がある場合は、ステップ
S806に進む。ステップS806では、文字データと
して登録する場合にステップS801で求めた制限値を
越えないかどうか判定する。制限値を越えていない場合
は、ステップS807でこの文字データを文字として登
録するための命令と文字データをプリンタに送信する。 制限値を越えている場合は、ステップS808で文書デ
ータをもとにしてこの文字データをIMEM4上に出力
したい大きさに変形処理をしてラスタ展開する。そして
、イメージデータとしてプリンタに送信する。この場合
は、文字として登録しないで全くのイメージデータとし
て取り扱われるので制限を越えてしまってエラーになっ
てしまう事はない。ステップS809では、出力する文
字データは全てプリンタに登録されているので、その文
字を出力する位置、大きさなどのデータを送信する。 ステップS810では、文字データが終わりかどうか判
定する。終わりでない場合は、その文字列データの最後
までステップS805からの処理を繰り返す。終わりで
ある場合は、ステップS802に戻って文書データが終
了するまでステップS802からの処理を繰り返す。
In step S805, it is determined from the character code data 604 whether data needs to be transmitted to the printer. If there is no need to transmit, the process advances to step S809. If transmission is necessary, the process advances to step S806. In step S806, it is determined whether the limit value determined in step S801 is not exceeded when registering as character data. If the limit value is not exceeded, a command and character data for registering this character data as a character are sent to the printer in step S807. If the limit value is exceeded, in step S808, this character data is transformed into a size desired to be output on the IMEM 4 based on the document data, and rasterized. Then, it is sent to the printer as image data. In this case, since it is not registered as a character and is treated as complete image data, it will not exceed the limit and cause an error. In step S809, since all character data to be output is registered in the printer, data such as the position and size of the character to be output is transmitted. In step S810, it is determined whether the character data ends. If it is not the end, the process from step S805 is repeated until the end of the character string data. If it is the end, the process returns to step S802 and repeats the process from step S802 until the document data ends.

【0020】以上詳述しました様に、出力したいフォン
トデータを持っていないプリンタに接続された場合でプ
リンタにフォントデータを登録しなければならない場合
に、プリンタの性能に関係なくどの様なフォントデータ
を送信することができ、ユーザはプリンタに搭載されて
いない文字データを気にすることなく効率よく編集する
ことが可能となる。
[0020] As detailed above, when a printer that does not have the font data that you want to output is connected and you need to register font data in the printer, what kind of font data can be registered regardless of the printer's performance? This allows the user to edit efficiently without having to worry about character data that is not installed in the printer.

【0021】[0021]

【発明の効果】以上、詳述しました様に、文書処理側と
、送られたフォントデータを特定の文字コードで文字と
して登録する機能を有し、送信された命令を解釈してラ
スタ展開する事が可能な出力側とでデータのやり取りが
可能で、そのデータのやり取りにより、前記出力側から
その性能に関する情報を求め、その情報から制限値を導
出し、その制限値を記憶しておき、記憶された制限値よ
り送信すべきフォントデータの表現方法を選択し、どの
ようなフォントデータも出力可能なデータとして送信す
ることができる文書処理方法を提供することが可能とな
った。
[Effects of the Invention] As detailed above, the document processing side has the function of registering sent font data as a character with a specific character code, interprets the sent command, and performs raster development. It is possible to exchange data with an output side that is capable of performing various functions, and by exchanging data, information regarding the performance of the output side is obtained from the output side, a limit value is derived from that information, and the limit value is stored. It has become possible to provide a document processing method that can select the representation method of font data to be transmitted from stored limit values and transmit any font data as outputtable data.

【0022】以上詳述した様に、本発明により、文書情
報を処理する文書処理手段と、前記文書処理手段側と、
送られたフォントデータを特定の文字コードで文字とし
て登録する機能を有し、送信された命令を解釈してラス
タ展開する事が可能な出力側とでデータのやり取りが可
能な通信手段と、前記通信手段を用いて前記出力側から
その性能に関する情報を求め、その情報から制限値を導
出する導出手段、前記導出手段によって導出された前記
制限値を記憶しておき、記憶された制限値より、送信す
べきフォントデータの表現方法を選択し、どのようなフ
ォントデータも出力可能なデータとして送信する送信制
御手段とを有した文書処理装置を提供することが可能と
なった。
As detailed above, according to the present invention, a document processing means for processing document information, a side of the document processing means,
a communication means capable of exchanging data with an output side that has a function of registering the sent font data as a character with a specific character code and is capable of interpreting the sent command and rasterizing it; Deriving means for obtaining information regarding the performance from the output side using a communication means and deriving a limit value from the information; storing the limit value derived by the deriving means; and using the stored limit value, It is now possible to provide a document processing device that has a transmission control means that selects the representation method of font data to be transmitted and transmits any type of font data as outputtable data.

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

【図1】実施例における文書処理装置のシステムブロッ
ク図
[Figure 1] System block diagram of a document processing device in an embodiment

【図2】実施例におけるプリンタのシステムブロック図
[Figure 2] System block diagram of the printer in the embodiment

【図3】実施例におけるフローチャート[Figure 3] Flowchart in the example

【図4】実施例
におけるプリンタの制限値を求めるフローチャート
[Figure 4] Flowchart for determining printer limit values in the embodiment

【図5】実施例におけるバージョン管理データの構造例
を示す図
[Figure 5] Diagram showing an example of the structure of version control data in the embodiment

【図6】実施例における文書データの構造例を示す図[Fig. 6] A diagram showing an example of the structure of document data in the embodiment.


図7】実施例における文字データの構造例を示す図
[
Figure 7: Diagram showing an example of the structure of character data in the embodiment

【図
8】他の実施例におけるフローチャートを示す図
[Fig. 8] A diagram showing a flowchart in another embodiment.

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

1  システムバス、 2  CPU、 3  プログラムメモリ、 4  イメージメモリ、 5  通信制御部、 6  通信ポート、 21  システムバス、 22  CPU、 23  プログラムメモリ、 24  イメージメモリ、 25  印刷出力制御部、 1 System bus, 2 CPU, 3 Program memory, 4 Image memory, 5 Communication control unit, 6 Communication port, 21 System bus, 22 CPU, 23 Program memory, 24 Image memory, 25 Print output control unit,

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  文書処理側と、送られたフォントデー
タを特定の文字コードで文字として登録する機能を有し
、送信された命令を解釈してラスタ展開する事が可能な
出力側とでデータのやり取りが可能で、そのデータのや
り取りにより、前記出力側からその性能に関する情報を
求め、その情報から制限値を導出し、その制限値を記憶
しておき、記憶された制限値より送信すべきフォントデ
ータの表現方法を選択し、どのようなフォントデータも
出力可能なデータとして送信することができることを特
徴とする文書処理方法。
[Claim 1] A document processing side and an output side that has a function of registering the sent font data as a character with a specific character code and can perform raster development by interpreting the sent command. By exchanging data, information regarding its performance is obtained from the output side, a limit value is derived from that information, the limit value is memorized, and the stored limit value should be used for transmission. A document processing method characterized in that a method of expressing font data can be selected and any type of font data can be transmitted as outputtable data.
【請求項2】  文書情報を処理する文書処理手段と、
前記文書処理手段側と、送られたフォントデータを特定
の文字コードで文字として登録する機能を有し、送信さ
れた命令を解釈してラスタ展開する事が可能な出力側と
でデータのやり取りが可能な通信手段と、前記通信手段
を用いて前記出力側からその性能に関する情報を求め、
その情報から制限値を導出する導出手段、前記導出手段
によって導出された前記制限値を記憶しておき、記憶さ
れた制限値より、送信すべきフォントデータの表現方法
を選択し、どのようなフォントデータも出力可能なデー
タとして送信する送信制御手段とを有したことを特徴と
する文書処理装置。
[Claim 2] Document processing means for processing document information;
Data is exchanged between the document processing means side and the output side, which has a function of registering the sent font data as a character with a specific character code, and is capable of interpreting the sent command and rasterizing it. obtaining information regarding its performance from the output side using the communication means;
a derivation means for deriving a limit value from the information; the limit value derived by the derivation means is stored; a method of expressing font data to be transmitted is selected from the stored limit value; 1. A document processing device comprising a transmission control means for transmitting data as outputtable data.
JP3143273A 1991-06-14 1991-06-14 Method and device for processing document Pending JPH04367066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3143273A JPH04367066A (en) 1991-06-14 1991-06-14 Method and device for processing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3143273A JPH04367066A (en) 1991-06-14 1991-06-14 Method and device for processing document

Publications (1)

Publication Number Publication Date
JPH04367066A true JPH04367066A (en) 1992-12-18

Family

ID=15334917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3143273A Pending JPH04367066A (en) 1991-06-14 1991-06-14 Method and device for processing document

Country Status (1)

Country Link
JP (1) JPH04367066A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981546A (en) * 1995-09-07 1997-03-28 Kako Kagi Kaihatsu Kofun Yugenkoshi Method for encoding a document having text characters and method for transmitting a document encoded by the method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981546A (en) * 1995-09-07 1997-03-28 Kako Kagi Kaihatsu Kofun Yugenkoshi Method for encoding a document having text characters and method for transmitting a document encoded by the method

Similar Documents

Publication Publication Date Title
JP2000083161A (en) Image processing apparatus and method, and image processing system
JP3039396B2 (en) Print control apparatus and method
US6388757B1 (en) Printing apparatus, printing system, and a method for acquiring character resources of the printing system
JPH04128970A (en) Document processing system
JP2783601B2 (en) Information processing device
US7196812B2 (en) Information processing apparatus and control code generation method
JPH10193699A (en) Printing equipment
JP2971547B2 (en) Document processing device
JP2000207147A (en) Print data transfer system
JP3051496B2 (en) Document processing method and apparatus
JP3866072B2 (en) Rasterization processing apparatus, rasterization processing method, recording medium, and program
JP3604726B2 (en) External device and print processing method
JP4325339B2 (en) Printing system, host computer and printer driver
JPH10138555A (en) Image forming apparatus and method and printing system
JP2007188308A (en) Printing system and storage medium
JPH04362775A (en) Document processing method and device
JP2002358175A (en) Print control apparatus and method and print system
JP2003173446A (en) Image processing apparatus, image processing system, image processing method, storage medium, and program
JPH04178762A (en) Document processor
JPH10138610A (en) Image forming apparatus and method and printing system
JP2020029067A (en) Drawing processing apparatus, drawing processing method, and program
JP2005159764A (en) RECORDING METHOD, DEVICE, PROGRAM, AND STORAGE MEDIUM
JPH05274095A (en) Printer controller
HK1011428B (en) Printing apparatus, printing system, and a method for acquiring character resources of the printing system
JP2000033730A (en) Printing apparatus, control method thereof, and printing system