JP3005021B2 - Document processing method and apparatus - Google Patents

Document processing method and apparatus

Info

Publication number
JP3005021B2
JP3005021B2 JP2171104A JP17110490A JP3005021B2 JP 3005021 B2 JP3005021 B2 JP 3005021B2 JP 2171104 A JP2171104 A JP 2171104A JP 17110490 A JP17110490 A JP 17110490A JP 3005021 B2 JP3005021 B2 JP 3005021B2
Authority
JP
Japan
Prior art keywords
output
format
printer
document
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.)
Expired - Fee Related
Application number
JP2171104A
Other languages
Japanese (ja)
Other versions
JPH0458320A (en
Inventor
正二 井原
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 JP2171104A priority Critical patent/JP3005021B2/en
Publication of JPH0458320A publication Critical patent/JPH0458320A/en
Application granted granted Critical
Publication of JP3005021B2 publication Critical patent/JP3005021B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文書処理方法及び装置に関するものであっ
て、特に出力態様を書式情報により定める文書情報を扱
う文書処理方法及び装置に関するものである。
Description: 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 for processing document information whose output mode is determined by format information. .

〔従来の技術〕[Conventional technology]

文書データの構成として、文書のテキストデータや図
形・イメージデータ、それらのデータをどのような態様
で出力するかを指定する書式データをもち、カラーで出
力を行う際には書式データにおいて色を指定するものは
あった。
Document data consists of text data, graphics and image data of the document, and format data that specifies how to output the data. When outputting in color, the color is specified in the format data. There was something to do.

また、カラー態様をもつデータを単色の出力装置で出
力する際に、カラーを濃淡に応じて単純に白黒に変換し
て出力するものはあった。
In addition, when data having a color mode is output by a single-color output device, there is a type in which a color is simply converted to black and white according to shading and then output.

〔発明が解決しようとしている問題点〕[Problems to be solved by the invention]

しかしながら、上記従来例では次のような欠点があ
る。
However, the conventional example has the following disadvantages.

文書データにおいて、ある部分の強調等を目的とし
て、部分的に他とは異なる色の指定をした場合、そのカ
ラー文書画像を濃淡に応じて単純に白黒に変換して出力
したのでは、カラー画像において色指定により得られる
効果と同様の効果を得ることは不可能である。
In the document data, if a color different from the others is specified for the purpose of emphasizing a certain part, if the color document image is simply converted to black and white according to shading and output, a color image It is impossible to obtain the same effect as the effect obtained by specifying the color in.

例えば、本文文字色が黒色の文書データにおいて、見
出しの色だけ赤色にして見出し部分を特別に目立たせよ
うとした場合、このカラー文書画像をその濃淡に従って
白黒画像に変換すると、見出し部分は黒と白の中間色に
変換され、かえって本文よりも目立たなくなってしま
い、カラー文書画像で得ようとした効果は全く得られな
い。
For example, in a document data in which the text color of the text is black, if the heading part is to be particularly conspicuous by setting the heading color to red, if this color document image is converted to a black and white image according to the shading, the heading part is black. The color is converted to an intermediate color of white, which is more inconspicuous than the text, so that the effect intended for a color document image cannot be obtained at all.

[問題点を解決する為の手段] 本発明によれば、上記従来技術の問題点を解決する為
に、文書情報を出力する出力装置の特性を判別し、前記
文書情報に対応付けて予め記憶されている複数の書式情
報の中から、前記判別された出力装置の特性に適切な書
式情報を選択し、前記選択された書式情報により設定さ
れる出力態様で、前記文書情報を前記出力装置より出力
するよう制御する書処理方法及び装置を提供する。
[Means for Solving the Problems] According to the present invention, in order to solve the above-mentioned problems of the related art, the characteristics of an output device that outputs document information are determined and stored in advance in association with the document information. From the plurality of pieces of format information that have been selected, select format information that is appropriate for the characteristics of the determined output device, and output the document information from the output device in an output mode set by the selected format information. Provided is a method and apparatus for processing a document to control output.

本発明によれば、上記従来技術の問題点を解決する為
に、好ましくは前記出力装置の特性に替えて、出力装置
の種類とする。
According to the present invention, in order to solve the above-mentioned problems of the related art, preferably, the type of the output device is used instead of the characteristics of the output device.

本発明によれば、上記従来技術の問題点を解決する為
に、好ましくは前記書式情報において値が設定されてい
ない書式項目があった場合に、当該書式項目については
他方の書式情報において当該書式項目に対して設定され
ている値を適用する。本発明によれば、上記従来技術の
問題点を解決する為に、好ましくは前記選択された書式
情報により設定される出力態様で、前記出力装置により
文書情報を出力することが可能か否かを判定し、前記判
定において否と判定された場合に、前記選択された書式
情報を修正する。
According to the present invention, in order to solve the above-mentioned problems of the related art, preferably, when there is a format item for which a value is not set in the format information, the format item is replaced with the format in the other format information. Apply the value set for the item. According to the present invention, in order to solve the above-described problems of the related art, it is determined whether or not document information can be output by the output device, preferably in an output mode set by the selected format information. A determination is made, and if the determination is negative, the selected format information is corrected.

〔実施例〕〔Example〕

以下、添付図面に従って本発明に係る実施例を詳細に
説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[文書処理装置の構成] 第1図は本実施例における文書処理装置のブロツク構
成図である。
[Configuration of Document Processing Apparatus] FIG. 1 is a block diagram of a document processing apparatus according to this embodiment.

図中、1は本装置全体を制御するCPUであり、2は書
き変え可能なROM(リード・オンリー・メモリ)で、内
部に第2図のようなプリンタ種別テーブル20を格納して
いる。3はメモリであり、磁気デイスク4に格納されて
いる文書処理に係るプログラム、例えば後述する第5図
の処理を実行するプログラムが必要に応じて読み込ま
れ、CPU1はそのプログラムをもとに文書処理の制御・実
行をする。4は磁気デイスクであり、第5図のような処
理のプログラム、第3図(b)のような文書データ、第
4図(a)のような書式データが格納されている。5は
キーボードであり、プログラムを実行するうえで必要な
種々の情報を入力するためのものである。6は文書等を
カラーで表示する表示装置である。8は文書をカラーで
印刷できるカラープリンタである。7はセレクタであ
り、カラープリンタ8を本文書処理装置と接続すると伴
に、他のワークステーシヨン9とも接続しており、必要
に応じてカラープリンタ8と他のワークステーシヨン9
を切替えたり、どちらとつながれているかを示す信号を
発信したりしている。例えば、本文書処理装置でカラー
プリンタ8を使用中に、他のワークステーシヨン9がカ
ラープリンタを使用しようとすると、セレクタ7は他の
ワークステーシヨン9へ対し、カラープリンタ8はすで
に使用中である事を示す信号を返す機能を有す。また、
他のワークステーシヨン9がカラープリンタ8を使用中
に、本文書処理装置がカラープリンタを使用しようとす
ると、セレクタ7は、本文書処理装置へ対し、カラープ
リンタ8はすでに使用中である事を示す信号を返す。10
は文書画像を白黒の単色で印刷する白黒プリンタであ
る。本実施例においては白黒プリンタを例にとって説明
するが、これは白黒プリンタに限らず、他の色の単色プ
リンタでも良いし、2色、3色のプリンタでも良い。
In the figure, reference numeral 1 denotes a CPU for controlling the entire apparatus, and 2 denotes a rewritable ROM (read only memory) which internally stores a printer type table 20 as shown in FIG. Reference numeral 3 denotes a memory, which reads a program related to document processing stored in the magnetic disk 4, for example, a program for executing the processing shown in FIG. 5 described later as necessary, and the CPU 1 executes document processing based on the program. Control and execution. Reference numeral 4 denotes a magnetic disk, which stores a processing program as shown in FIG. 5, document data as shown in FIG. 3 (b), and format data as shown in FIG. 4 (a). Reference numeral 5 denotes a keyboard for inputting various information required for executing the program. A display device 6 displays a document or the like in color. A color printer 8 can print a document in color. Reference numeral 7 denotes a selector, which connects the color printer 8 to the present document processing apparatus and also connects to another workstation 9. If necessary, the color printer 8 and another workstation 9 are connected.
, And sends a signal indicating which one is connected. For example, if another workstation 9 attempts to use the color printer while the color printer 8 is being used in the document processing apparatus, the selector 7 sends a signal to the other workstation 9 and the color printer 8 is already in use. Has the function of returning a signal indicating Also,
If the document processing apparatus attempts to use the color printer while another workstation 9 is using the color printer 8, the selector 7 indicates to the document processing apparatus that the color printer 8 is already in use. Returns a signal. Ten
Is a black-and-white printer that prints a document image in monochrome black and white. In this embodiment, a black-and-white printer will be described as an example. However, the present invention is not limited to a black-and-white printer, but may be a single-color printer of another color, or a two-color or three-color printer.

なお、上述のように本文書処理装置にはカラープリン
タ8と単色プリンタ10の2台のプリンタが接続されてい
るが、これらのプリンタは機器番号等、各々のプリンタ
の持つ特性が識別できるようになっており、本実施例に
おいてはカラープリンタを機器番号1、白黒プリンタを
機器番号2とする。また、後述の書式データ(第3図
(b)、第4図(a))では、カラープリンタを第1プ
リンタ、白黒プリンタを第2プリンタとする。
As described above, two printers, a color printer 8 and a single-color printer 10, are connected to the document processing apparatus. These printers are designed so that the characteristics of each printer, such as a device number, can be identified. In this embodiment, the color printer is device number 1 and the monochrome printer is device number 2. In the format data (FIGS. 3 (b) and 4 (a)) described later, the color printer is the first printer, and the monochrome printer is the second printer.

[プリンタ種別テーブル] 第2図は、本装置と接続しているプリンタの種別を管
理する管理情報の一例であるプリンタ種別テーブルであ
る。本実施例ではこのテーブルはEEROM2に格納されてい
る。
[Printer Type Table] FIG. 2 is a printer type table which is an example of management information for managing the type of the printer connected to the present apparatus. In this embodiment, this table is stored in EEROM2.

図中プリンタ種別テーブル20がこのプリンタ種別テー
ブルであり、プリンタの機器番号21と、そのプリンタの
プリンタ種別22が対応づけて記憶されている。図中、プ
リンタ種別において、カラーはカラープリンタ、白黒は
白黒プリンタを表わす。
In the figure, a printer type table 20 is the printer type table, and stores a device number 21 of the printer and a printer type 22 of the printer in association with each other. In the figure, in the printer type, color indicates a color printer, and black and white indicates a black and white printer.

[文書データと出力結果] 第3図は本実施例における文書データとその出力結果
を説明する第1の例である。文書データは、出力したい
文字列と、それらの書式を制御する文字列からなるテキ
ストデータ30(第3図(a))と、書式の項目毎の出力
態様を設定する書式データ31(第3図(b))から構成
されている。
[Document Data and Output Result] FIG. 3 is a first example illustrating document data and its output result in the present embodiment. The document data includes text data 30 (FIG. 3 (a)) composed of a character string to be output and a character string for controlling their format, and format data 31 (FIG. 3) for setting an output mode for each format item. (B)).

テキストデータ30において、 は、出力時にその箇所で改行する事を示す制御記号であ
る。また〈…〉で囲まれた文字列は、書式を制御するた
めの制御文字列で、〈大見出開始〉から〈大見出終了〉
で囲まれたテキストが大見出しであり、〈小見出開始〉
から〈小見出終了〉で囲まれたテキストが小見出しであ
る事を示す。なお、いずれの見出しにも属さないテキス
トの部分は本文となる。
In the text data 30, Is a control symbol indicating that a line feed is to be performed at the point of output. The character string enclosed by <...> is a control character string for controlling the format.
The text surrounded by is the main heading, and
Indicates that the text enclosed by <end subheading> is a subheading. The part of the text that does not belong to any of the headings is the body.

第3図(b)における書式データ31にはテキストデー
タ30を第1プリンタおよび第2プリンタへ出力する際必
要となる書式データが記載されている。書式データを表
示装置上に表示し、キーボード5等を用いて所望の出力
態様となるように書式を設定する。図中、第1プリンタ
へ出力する際の書式データは40の列に、第2プリンタへ
出力する際の書式データは41の列に示されている。な
お、前述したように、本実施例では、第1プリンタはカ
ラープリンタで、第2プリンタは単色プリンタである。
また、本実施例ではプリンタの種別は2種類としたが、
第2図のプリンタ種別テーブル、第3図(b)において
項目を増せば複数種のプリンタで接続することも可能と
なる。書式データの各設定項目の内容は次のとおりであ
る。図中32は大見出しの出力方法、33は小見出しの出力
方法、34は本文の出力方法、35は本文出力時の文字と文
字の間隔である字間の設定値、36は本文出力時の行と行
の間隔である行間の設定値、37はその他の書式項目、例
えば紙面の左右の余白の大きさや天地の余白の大きさ等
が記載されている。38には書式の出力プリンタとして第
1プリンタの欄にカラープリンタを示す“カラー”の設
定値が、また第2プリンタの欄に白黒プリンタを示す
“白黒”の設定値が記載されている。第2プリンタに関
する書式設定において、空白の欄は、第1プリンタの値
がそのまま適用されるものとする。見出し32、33の設定
における揃えに関して、“中央”はセンタリングをし、
“左”は左合わせをし、“右”は右合わせをする事を示
す。また、見出し32、33の設定における修飾に関して
“通常”は特になにもしない事を示す。「修飾」のその
他の設定値としては文字列に下線を引く事を示す“アン
ダーライン”(後述、第4図(a))や文字列の上に線
を引く事を示す“オーバライン”等がある。
The format data 31 in FIG. 3 (b) describes the format data necessary for outputting the text data 30 to the first printer and the second printer. The format data is displayed on a display device, and the format is set using the keyboard 5 or the like so as to obtain a desired output mode. In the figure, format data for output to the first printer is shown in column 40, and format data for output to the second printer is shown in column 41. As described above, in this embodiment, the first printer is a color printer, and the second printer is a monochrome printer.
In the present embodiment, two types of printers are used.
If the number of items is increased in the printer type table of FIG. 2 and FIG. 3B, it is possible to connect with a plurality of types of printers. The contents of each setting item of the format data are as follows. In the figure, 32 is a method of outputting a headline, 33 is a method of outputting a subheading, 34 is a method of outputting a text, 35 is a character-to-character spacing value, which is a character-to-character spacing, and 36 is a line at the time of text output. A set value between lines, which is an interval between lines, and 37 indicate other format items, for example, the size of the left and right margins on the paper surface and the size of the top and bottom margins. In the column 38, as a format output printer, a set value of "color" indicating a color printer is described in a column of a first printer, and a set value of "black and white" indicating a black and white printer is described in a column of a second printer. In the format setting for the second printer, the values of the first printer are applied to the blank columns as they are. Regarding the alignment in the settings of headings 32 and 33, “center” is centered,
“Left” indicates left alignment and “right” indicates right alignment. In addition, “normal” indicates that there is no particular change in the setting of the headings 32 and 33. Other setting values of “modification” include “underline” (to be described later, FIG. 4A) indicating that a character string is underlined, and “overline” indicating that a line is drawn above a character string. There is.

第3図(c)の42は第3図(a)のテキストデータを
第3図(b)の第1プリンタの書式設定値40に従ってカ
ラープリンタへ出力したときの出力例である。図中、43
aの大見出しは赤色で、43bの小見出しは緑色で、その他
の本文は黒色で印刷されている。
Reference numeral 42 in FIG. 3C denotes an output example when the text data in FIG. 3A is output to a color printer in accordance with the format setting value 40 of the first printer in FIG. 3B. In the figure, 43
The headline of a is printed in red, the headline of 43b is printed in green, and the other text is printed in black.

第3図(d)の44は、第3図(a)のテキストデータ
を第3図(b)の第2プリンタの書式設定値に従って白
黒プリンタへ出力したときの出力例である。本図で示さ
れるように、大見出し45a、小見出し45bはゴシツク体で
出力されており、本文は明朝体で出力されている。
Reference numeral 44 in FIG. 3D shows an output example when the text data of FIG. 3A is output to a monochrome printer in accordance with the format setting value of the second printer of FIG. 3B. As shown in the figure, the main heading 45a and the subheading 45b are output in gothic style, and the text is output in Mincho style.

大見出し、小見出しは、本文に対して目立つようにカ
ラー出力の際は本文とは異なる色で印字されているが
(第3図(c))、白黒出力の場合は同様な効果を得る
ために、見出しを本文とは異なる書体で出力している。
The main heading and subheading are printed in a color different from the main body in color output so as to be conspicuous with the main body (FIG. 3 (c)). , And the heading is output in a font different from the text.

第4図は本実施例における文書データとその出力結果
を説明する第2の例である。本例は白黒プリンタをカラ
ー原稿の文章内容の稿正出力用に用いた場合の例であ
る。
FIG. 4 is a second example for explaining document data and its output result in this embodiment. This example is an example in which a black-and-white printer is used for manuscript output of the text content of a color document.

本実施例における文書データは、白黒プリンタ(第2
プリンタ)用の書式設定値を除いては前記第1の例(第
3図(a)、(b))と同じである。第4図(a)に本
実施例での書式データを示す。本図で示されるように、
第1プリンタ用の設定値は第1例と同じである。第2プ
リンタ用の設定値は、大見出し、小見出しの修飾の欄に
“アンダーライン”を設定し、行間は稿正データを手で
書込むのに便利なようにカラー出力時に比べて余分にあ
けている。なお、カラー出力時にカラーで印字される部
分は、白黒プリンタでの稿正出力時はアンダーラインを
付して印字するように決めておけば、大見出し、小見出
しがカラー印字される事が白黒出力原稿上でも判別でき
る。
The document data in this embodiment is a monochrome printer (second
This is the same as the first example (FIGS. 3A and 3B) except for the format setting value for the printer. FIG. 4A shows the format data in this embodiment. As shown in this figure,
The setting values for the first printer are the same as in the first example. For the setting values for the second printer, set “underline” in the column for decoration of the major and minor headings, and leave extra space between lines compared to color output so that it is convenient to write the original data manually. ing. In addition, if it is decided that the part printed in color at the time of color output is printed with an underline at the time of manuscript output with a black and white printer, it will be possible to print the headline and subheading in color It can also be determined on a manuscript.

第2の例におけるカラープリンタへの出力例は第1の
例(第3図(c))と同じである。第4図(b)、
(c)に第2の例における白黒プリンタへの出力結果の
例を示す。図中50、51がこの出力結果である。本図で示
されるように、大見出し52a、小見出し52bは、アンダー
ライン付きで印字されており、また本文の行間はカラー
プリンタ出力(第3図(c))に比べて、広くあいてお
り、稿正時に稿正データを手で書込むのに好適になって
いる。
An example of output to a color printer in the second example is the same as in the first example (FIG. 3C). FIG. 4 (b),
(C) shows an example of the output result to the monochrome printer in the second example. In the figure, 50 and 51 are the output results. As shown in this figure, the heading 52a and the subheading 52b are printed with an underline, and the line spacing of the text is wider than that of the color printer output (FIG. 3 (c)). It is suitable for writing draft data manually when drafting.

[処理手順] 第5図は本実施例において、プリンタで文書データを
印字するときの処理手順を示す流れ図である。
[Processing Procedure] FIG. 5 is a flowchart showing a processing procedure when printing document data by a printer in the present embodiment.

本実施例では第5図に示す処理を開始する前に、あら
かじめオペレータは、どの文書データをどの機器番号の
プリンタで出力するかを指定しているものについて説明
することとする。先ず、ステツプS10で指定された文書
データを磁気デイスク4からメモリ3に読込む。次にス
テツプS11でEEROM2内のプリンタ種別テーブル20から指
定された出力プリンタの機器番号をもとにしてそのプリ
ンタのプリンタ種別、つまりプリンタの特性を求める。
ステツプS12では出力プリンタ種別を判断し、カラープ
リンタへの出力なら(“カラー”の場合)次にステツプ
S13を実行し、白黒プリンタへの出力なら(“白黒”の
場合)次にステツプS14を実行する。ステツプS13では、
テキストデータを第1プリンタ(カラープリンタ)の書
式データに従ってカラープリンタへカラー出力する。ス
テツプS14では、メモリ3内の書式データ31、40におい
て第2プリンタの書式データに関して、色指定できる項
目に出力するプリンタが出力可能な色以外の値が設定さ
れているか否かをCPU1がチエツクする。本実施例におい
て、書式の中で色指定できる項目とは大見出し、小見出
し、本文における文字色である(第3図(b)、第4図
(a))が、それに限らず、書式データに色指定の項目
を追加すればどの書式項目にも文字色を指定することが
可能となる。ステツプS15では、出力プリンタの出力不
可能な色が設定されているとステツプS14で判断されれ
ば書式データの修正が必要なため、次にステツプS16を
行い、出力プリンタの出力可能な色のみが設定されてい
る場合は次にステツプS17を行うようにCPU1において処
理を選択する。ステツプS16では、色指定に関する項目
を白黒プリンタ出力可能なように書式データを表示装置
6に表示しながら、キーボード5等を用いて修正する。
本実施例では黒または白以外の色が指定されていればそ
の色を、一律、黒色に変更するものとする。ステツプS1
7では、白黒プリンタ用の書式に従ってテキストデータ
を出力する。また、出力装置が複数色出力可能なプリン
タの場合は、出力可能な色の範囲で修正が必要な所を随
時変更する。
In this embodiment, before starting the processing shown in FIG. 5, a description will be given of a case in which the operator has previously specified which document data is to be output by the printer of which device number. First, the document data specified in step S10 is read from the magnetic disk 4 to the memory 3. Next, in step S11, based on the device number of the output printer specified from the printer type table 20 in the EEROM 2, the printer type of the printer, that is, the characteristics of the printer is obtained.
In step S12, the output printer type is determined, and if the output is to a color printer ("color"), the next step is
Step S13 is executed, and if the output is to a black and white printer (in the case of "black and white"), then step S14 is executed. In step S13,
The text data is output in color to a color printer according to the format data of the first printer (color printer). In step S14, the CPU 1 checks whether or not a value other than a color that can be output by the printer that outputs to the item that can be designated as a color is set in the format data 31 and 40 in the memory 3 with respect to the format data of the second printer. . In this embodiment, the items that can be designated in the format in the format are the heading, the subheading, and the character color in the text (FIGS. 3 (b) and 4 (a)). If a color specification item is added, a character color can be specified for any format item. In step S15, if it is determined in step S14 that a color that cannot be output by the output printer is set, the format data needs to be corrected.Therefore, step S16 is performed, and only colors that can be output by the output printer are determined. If it has been set, the CPU 1 selects a process to perform step S17 next. In step S16, items related to color designation are corrected using the keyboard 5 or the like while displaying the format data on the display device 6 so that the items can be output to a black and white printer.
In this embodiment, if a color other than black or white is designated, the color is uniformly changed to black. Step S1
In step 7, text data is output according to a format for a black and white printer. If the output device is a printer capable of outputting a plurality of colors, the portion requiring correction in the range of colors that can be output is changed as needed.

ステツプS16における書式データの修正は、もともと
の書式データを修正してもよいし、または、一時的な修
正書式データを作成してもよい。一時修正書式データを
作成した場合は、ステツプS17の出力ではこの修正書式
データを用いるものとする。ステツプS14〜S16の処理
は、書式データ作成時に行ってもよい。これらの処理を
書式データ作成時に行った場合は、第2プリンタ(白黒
プリンタ)用の書式データの中で、色指定に関する項目
については、常に黒または白しか設定できない事にな
る。
The modification of the format data in step S16 may be a modification of the original format data or a temporary modification of the format data. If temporary correction format data is created, the output of step S17 uses this correction format data. The processing in steps S14 to S16 may be performed when the format data is created. If these processes are performed at the time of creating the format data, only black or white can be set for items related to color designation in the format data for the second printer (black and white printer).

ステツプS17で、出力する際、文書データ中にテキス
ト以外で色指定のあるデータ(例えば、カラーのイメー
ジデータ等)があった場合は、濃淡に従って白黒表示デ
ータに変換して出力するものとする。
In step S17, when there is data other than text with color designation (for example, color image data) in the document data at the time of output, it is converted to black and white display data in accordance with shading and output.

本実施例ではカラープリンタ出力用に作成された文書
データを白黒プリンタへ好適に出力する方法について述
べた。しかし、本願発明はプリンタへ出力する場合だけ
にかぎるものではない。書式データ31における第1プリ
ンタおよび第2プリンタの2つの出力装置はテキストデ
ータが書式に従って出力できる装置なら、プリンタ以外
のいかなる出力装置でもかまわない。例えば、第2プリ
ンタの代わりにデイスプレイを指定しておき、デイスプ
レイ上は編集作業に好適なように、本文文字サイズを大
きな値に設定した書式で表示し、プリンタ(第1プリン
タ)へは最終印刷物にふさわしい書式で印刷する目的の
ためにも本発明は適用できる。
This embodiment has described the method of suitably outputting document data created for color printer output to a monochrome printer. However, the present invention is not limited to the case of outputting to a printer. The two output devices of the first printer and the second printer in the format data 31 may be any output device other than the printer as long as the device can output the text data according to the format. For example, a display is designated in place of the second printer, and the body text size is displayed in a format in which a large value is set so as to be suitable for editing work on the display, and the final printout is sent to the printer (first printer). The present invention can also be applied for the purpose of printing in a format appropriate for the present invention.

本実施例では、2つの出力装置(第1プリンタで第2
プリンタ)に対して、各々、その出力装置に好適な書式
データが設定可能なようにした。しかし、本発明におけ
る出力装置は2つに限定されるものではない。出力装置
の種類が3つ以上の場合でも、その各々に対して書式デ
ータが設定できるようにすれば、3つ以上の出力装置そ
れぞれに対して好適に出力する事が、本発明を用いてお
こなえる。
In this embodiment, two output devices (the first printer and the second
Printer) can be set with format data suitable for the output device. However, the number of output devices in the present invention is not limited to two. Even when there are three or more types of output devices, if the format data can be set for each of them, it is possible to use the present invention to suitably output to each of the three or more output devices. .

[発明の効果] 以上説明したように、本発明によれば、一つ一つの文
書の各々に対して、それぞれの文書に適切な複数の書式
情報を予め記憶しておくことで、出力装置の特性に従っ
てその文書に対応付けて記憶されている複数の書式情報
の中から適切な書式情報を選択するという簡便な処理
で、例えば部分的に文字列を強調する等の各文書に期待
する出力態様を、各文書の内容に適した出力態様の設定
により、特性の異なるどの出力装置でも実現させること
を可能とする。
[Effects of the Invention] As described above, according to the present invention, for each document, a plurality of format information suitable for each document is stored in advance, so that the output device A simple process of selecting appropriate format information from a plurality of format information stored in association with the document according to the characteristics, for example, an output mode expected for each document such as partially emphasizing a character string Can be realized by any output device having different characteristics by setting an output mode suitable for the content of each document.

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

第1図は本実施例における文書処理装置のブロツク構成
図、 第2図は本実施例におけるプリンタ種別テーブルを示す
図、 第3図は本実施例における文書データおよび出力結果の
第1の例を説明する図、 第4図は本実施例における文書データおよび出力結果の
第2の例を説明する図、 第5図は本実施例における処理手順を示す流れ図であ
る。 図中、1はCPU、2はEEROM、3はメモリ、4は磁気デイ
スク、5はキーボード、6は表示装置、7はセレクタ、
8はカラープリンタ、10は白黒プリンタ、20はプリンタ
種別テーブル、31は書式データである。
FIG. 1 is a block diagram of a document processing apparatus according to this embodiment, FIG. 2 is a diagram showing a printer type table in this embodiment, and FIG. 3 is a first example of document data and output results in this embodiment. FIG. 4 is a view for explaining a second example of document data and output results in this embodiment. FIG. 5 is a flowchart showing a processing procedure in this embodiment. In the figure, 1 is a CPU, 2 is an EEROM, 3 is a memory, 4 is a magnetic disk, 5 is a keyboard, 6 is a display device, 7 is a selector,
8 is a color printer, 10 is a black and white printer, 20 is a printer type table, and 31 is format data.

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文書情報を出力する出力装置の特性を判別
し、 前記文書情報に対応付けて予め記憶されている複数の書
式情報の中から、前記判別された出力装置の特性に適切
な書式情報を選択し、 前記選択された書式情報により設定される出力態様で、
前記文書情報を前記出力装置より出力するよう制御する
ことを特徴とする文書処理方法。
And determining a characteristic of the output device for outputting the document information, and selecting a format suitable for the determined characteristic of the output device from a plurality of format information stored in advance in association with the document information. Selecting information, in an output mode set by the selected format information,
A document processing method comprising controlling the document information to be output from the output device.
【請求項2】前記出力装置の特性に替えて、出力装置の
種類とすることを特徴とする請求項1に記載の文書処理
方法。
2. The document processing method according to claim 1, wherein a type of the output device is used instead of the characteristic of the output device.
【請求項3】前記書式情報において値が設定されていな
い書式項目があった場合に、当該書式項目については他
方の書式情報において当該書式項目に対して設定されて
いる値を適用することを特徴とする請求項1に記載の文
書処理方法。
3. When there is a format item for which a value is not set in the format information, the value set for the format item in the other format information is applied to the format item. 2. The document processing method according to claim 1, wherein:
【請求項4】前記選択された書式情報により設定される
出力態様で、前記出力装置により文書情報を出力するこ
とが可能か否かを判定し、 前記判定において否と判定された場合に、前記選択され
た書式情報を修正することを特徴とする請求項1に記載
の文書処理方法。
4. It is determined whether or not document information can be output by the output device in an output mode set by the selected format information. 2. The document processing method according to claim 1, wherein the selected format information is corrected.
【請求項5】文書情報を出力する出力装置の特性を判別
する判別手段と、 前記文書情報に対応付けて予め記憶されている複数の書
式情報の中から、前記判別された出力装置の特性に適切
な書式情報を選択する書式情報選択手段と、 前記書式情報選択手段により選択された書式情報により
設定される出力態様で、前記文書情報を前記出力装置よ
り出力するよう制御する出力制御手段とを有することを
特徴とする文書処理装置。
5. A discriminating means for discriminating a characteristic of an output device for outputting document information, and a plurality of format information stored in advance in association with the document information. Format information selecting means for selecting appropriate format information; and output control means for controlling output of the document information from the output device in an output mode set by the format information selected by the format information selecting means. A document processing apparatus comprising:
【請求項6】前記出力装置の特性に替えて、出力装置の
種類とすることを特徴とする請求項5に記載の文書処理
装置。
6. The document processing apparatus according to claim 5, wherein a type of the output device is used instead of the characteristic of the output device.
【請求項7】前記書式情報において値が設定されていな
い書式項目があった場合に、当該書式項目については他
方の書式情報において当該書式項目に対して設定されて
いる値を適用することを特徴とする請求項5に記載の文
書処理装置。
7. When there is a format item for which a value is not set in the format information, the value set for the format item in the other format information is applied to the format item. The document processing apparatus according to claim 5, wherein
【請求項8】前記書式情報選択手段により選択された書
式情報により設定される出力態様で、前記出力装置によ
り文書情報を出力することが可能か否かを判定する判定
手段と、 前記判定手段において否と判定された場合に、前記選択
された書式情報を修正する修正手段を有したことを特徴
とする請求項5に記載の文書処理装置。
8. A judging means for judging whether or not it is possible to output document information by the output device in an output mode set by the format information selected by the format information selecting means; 6. The document processing apparatus according to claim 5, further comprising a correction unit configured to correct the selected format information when it is determined that the format information is not determined.
JP2171104A 1990-06-27 1990-06-27 Document processing method and apparatus Expired - Fee Related JP3005021B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2171104A JP3005021B2 (en) 1990-06-27 1990-06-27 Document processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2171104A JP3005021B2 (en) 1990-06-27 1990-06-27 Document processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH0458320A JPH0458320A (en) 1992-02-25
JP3005021B2 true JP3005021B2 (en) 2000-01-31

Family

ID=15917053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2171104A Expired - Fee Related JP3005021B2 (en) 1990-06-27 1990-06-27 Document processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3005021B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298292A (en) * 1992-04-22 1993-11-12 Casio Comput Co Ltd Document processor with automatic editing function
JPH07168837A (en) * 1994-10-20 1995-07-04 Casio Comput Co Ltd Document creating device
JPH07253968A (en) * 1994-10-24 1995-10-03 Casio Comput Co Ltd Character string data processor

Also Published As

Publication number Publication date
JPH0458320A (en) 1992-02-25

Similar Documents

Publication Publication Date Title
US20030002060A1 (en) Apparatus for generating two color printing data, a method for generating two color printing data and recording media
JPH0464314B2 (en)
US6295136B1 (en) Printer control apparatus method of controlling printer and recording medium used therefor
JP3635765B2 (en) Printing characteristic display device
US5475496A (en) Image processing apparatus for binarizing multi-value image data
JP3005021B2 (en) Document processing method and apparatus
JP3110919B2 (en) Document processing device
JP2008085845A (en) Image forming method
JPH06328790A (en) Color printer
JPH03213367A (en) Multicolor printer
JP3347353B2 (en) Printing apparatus and output method and apparatus
JP2633051B2 (en) Image processing device
JP3618850B2 (en) Image processing apparatus and method
JP2803802B2 (en) Proofreading method of composition
JP2911539B2 (en) Recording device
JPS63269251A (en) Document processing device
JP2935495B2 (en) Output control method and device
JPH04359382A (en) Method and device for processing document
JPH0793319A (en) Document processor
JPH07106645B2 (en) Document processing method
JPH02255965A (en) Word processor
JP3513198B2 (en) Print processing apparatus, print processing method, and printing apparatus
JPH03136164A (en) Method and system for document processing
JPH0458319A (en) Method and device for processing document
JPS63242561A (en) Font reducing system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091119

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees