JPH1011236A - Document visualizing processing method - Google Patents

Document visualizing processing method

Info

Publication number
JPH1011236A
JPH1011236A JP8165735A JP16573596A JPH1011236A JP H1011236 A JPH1011236 A JP H1011236A JP 8165735 A JP8165735 A JP 8165735A JP 16573596 A JP16573596 A JP 16573596A JP H1011236 A JPH1011236 A JP H1011236A
Authority
JP
Japan
Prior art keywords
attribute
document
document file
operator
description
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
JP8165735A
Other languages
Japanese (ja)
Inventor
Toshihiko Shibusawa
俊彦 渋沢
Osamu Kotanigawa
修 小谷川
Toyokazu Uda
豊和 宇田
Takaaki Hiramatsu
孝章 平松
Ikuo Enabe
郁夫 江辺
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP8165735A priority Critical patent/JPH1011236A/en
Publication of JPH1011236A publication Critical patent/JPH1011236A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily replace a printing attribute with another one even when the printing attribute is written in a document file decreased by a postscript, etc. SOLUTION: When a new attribute is designated from the outside, the new attribute is validated and visualized. PC 4 receiving the document file of a postscript is provided with a printing instructing panel 10 to designate the printing attribute. The designated attribute and an original document file are sent to a print server 20. A decomposer 28 finds the decription of the attribute indication buried in the document file and replaces is with the attribute designated by the printing instruction panel 10 of PC 4. After replacing, visualizing processing such as printing is executed.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、文書ファイルを
可視化処理する方法、特に、文書の内容とともにその処
理の属性を記述することの可能な文書記述言語によって
記述された文書ファイルを可視化処理する方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for visualizing a document file, and more particularly to a method for visualizing a document file described in a document description language capable of describing the attributes of the processing together with the contents of the document. About.

【0002】[0002]

【従来の技術】今日、各種ネットワークを介して頻繁に
データのやりとりが行われている。例えば、米国内で作
成された文書を他国の不特定多数の人に配布する場合、
送付される文書のフォーマットとしてポストスクリプト
による文書ファイルが採用されることがある。ポストス
クリプトはページ記述言語PDL(Page Description L
anguage )の一種で、文書の内容だけでなく、それを印
刷するプリンタに対する各種設定を記述することができ
る。以下、ポストスクリプトによる記述を説明する。
2. Description of the Related Art Today, data is frequently exchanged via various networks. For example, if you distribute a document created in the United States to an unspecified number of people in other countries,
A document file by PostScript may be adopted as a format of a document to be sent. Postscript is a page description language PDL (Page Description L
anguage), which can describe not only the contents of a document but also various settings for the printer that prints it. Hereinafter, description by the post script will be described.

【0003】図9は、ポストスクリプトで記述された文
書ファイルの例で、同図左端の数字は行番号である。こ
の文書ファイルは、A4の用紙に対して、直線、および
文字列を描画するものである。開始行である第1行以
降、各行の持つ意味は以下の通りである。
FIG. 9 shows an example of a document file described in PostScript. The numbers at the left end of FIG. 9 are line numbers. This document file draws straight lines and character strings on A4 paper. The meaning of each line from the first line, which is the start line, is as follows.

【0004】 ・第2行 … 用紙サイズとしてA4を指定 ・第3行 … 両面印刷を指定 ・第4行 … 処理の現在位置を(100,100)に
設定 ・第5,6行 … 処理の現在位置から(200,20
0)まで直線を描画 ・第7行 … フォントとしてヘルベチカを探す ・第8行 … 文字サイズを12ポイントに設定 ・第9行 … フォントとしてヘルベチカを設定 ・第10行 … 処理の現在位置を(50,300)に
移動 ・第11行 … "This is a sample program."を描画 ・第12行 … ページイメージをプリンタに送信 これらの行のうち、第2行と第3行が印刷の際にプリン
タに対する設定を行う行である。ポストスクリプトには
複数の言語レベルが存在するが、例えばレベル2では、
「setpagedevice 」というオペレータによってプリンタ
に対する設定、すなわち印刷処理の態様の指定が可能に
なる。「setpagedevice 」のうち「pagedevice」が出力
デバイス、すなわちプリンタを示し、この出力デバイス
に対する設定を「set 」ということばで表している。設
定可能な項目は、用紙サイズ、両面/片面印刷のほか
に、仕上げ処理であるステープル等のフィニッシングな
どがある。
2nd line: A4 is specified as the paper size. 3rd line: Double-sided printing is specified. 4th line: The current position of the processing is set to (100, 100). 5th and 6th lines: The current state of the processing. From the position (200, 20
Draw a straight line up to 0) ・ Line 7… Search for Helvetica as font ・ Line 8… Set character size to 12 points ・ Line 9… Set Helvetica as font ・ Line 10… Set the current position of processing to (50 , 300) ・ Line 11… draws “This is a sample program.” ・ Line 12… Sends the page image to the printer Of these lines, the second and third lines are printed by the printer. This is the line for setting for. There are several language levels in PostScript, for example, at level 2,
An operator "setpagedevice" can set a printer, that is, specify a print processing mode. In “setpagedevice”, “pagedevice” indicates an output device, that is, a printer, and the setting for this output device is represented by “set”. Items that can be set include paper size, double-sided / single-sided printing, and finishing such as staple, which is a finishing process.

【0005】図9の第2、3行には、setpagedevice の
前に、それぞれ<<…>>の形の記述がある。<<…>
>はそれぞれ配列または辞書と呼ばれ、これらが任意数
集まった状態で setpagedevice の内容が定義される。
すなわち、setpagedevice は一連の<<…>>を辞書と
して持ち、その辞書に記述されている指示内容をプリン
タに設定すると考えてよい。第2行で<<…>>の中に
記述される PageSizeはキーと呼ばれ、その辞書におけ
るインデックスとして働く。PageSize に導かれる[59
5 842 ]はバリューと呼ばれ、前記キーの内容を決める
数値である。ここでは数値の単位がポイントであり、
[595 842 ]が用紙の横と縦の長さを示している。この
数値がA4に当たる。
[0005] Lines 2 and 3 in FIG. 9 each have a description in the form of <<... >> before setpagedevice. <<…>
> Are called arrays or dictionaries, respectively, and the contents of setpagedevice are defined in an arbitrary number of these.
In other words, it can be considered that setpagedevice has a series of <<<<>> as a dictionary, and sets the instruction content described in the dictionary to the printer. PageSize described in the << line in the second line is called a key, and serves as an index in the dictionary. Guided by PageSize [59
5842] is called a value and is a numerical value that determines the content of the key. Here, the unit of the numerical value is point,
[595 842] indicates the width and length of the sheet. This value corresponds to A4.

【0006】上述の例でいえば、文書が米国から日本に
図9のようなファイルとして送られてくる。ここで、米
国側においてこの文書ファイルが作成される過程は、大
まかに以下のとおりである。
In the above example, a document is sent from the United States to Japan as a file as shown in FIG. Here, the process of creating this document file on the United States side is roughly as follows.

【0007】1.文書の内容をワードプロセッシングプ
ログラムなどによって作成する。
[0007] 1. Create the contents of the document using a word processing program or the like.

【0008】2.文書作成後、ポストスクリプトに対応
したプリンタドライバを起動する。
[0008] 2. After creating the document, the printer driver corresponding to the PostScript is started.

【0009】3.プリンタドライバが提供するユーザイ
ンタフェイス画面において、用紙サイズなどの印刷属性
や文書属性(以下単に「属性」という)を指定する。
3. On the user interface screen provided by the printer driver, print attributes such as paper size and document attributes (hereinafter simply referred to as “attributes”) are specified.

【0010】4.プリンタドライバが、指定された属性
を盛り込む形で文書ファイルを作成する。具体的には、
図9の第2、3行のごとく、setpagedevice に属性を登
録する記述を文書ファイルに埋め込みながら文書ファイ
ルを作成する。
[0010] 4. The printer driver creates a document file including the specified attribute. In particular,
As shown in the second and third lines of FIG. 9, a document file is created while embedding a description for registering attributes in setpagedevice in the document file.

【0011】これらの処理を経て作成された文書ファイ
ルをネットワークを介して送信すればよい。この手順か
らわかるとおり、プリンタドライバ側においてユーザか
ら指定された属性は、ポストスクリプト言語の側では、
出力デバイスに対する設定として扱われる。
The document file created through these processes may be transmitted via a network. As you can see from this procedure, the attributes specified by the user on the printer driver side are
Treated as settings for output devices.

【0012】[0012]

【発明が解決しようとする課題】文書がポストスクリプ
トファイルの形で送られてきたとき、図9のようにプリ
ンタの設定内容が予めそのファイル内に記述されている
ことがある。この場合、例えば用紙サイズとして米国で
広く用いられている「レターサイズ」が指定されていれ
ば、これを日本でプリンタに出力させるときに問題が生
じうる。レターサイズは日本ではほとんど用いられない
ため、用紙がないことも多く、その場合印刷ができない
ためである。
When a document is sent in the form of a PostScript file, the settings of the printer may be described in advance in the file as shown in FIG. In this case, for example, if "letter size" widely used in the United States is specified as the paper size, a problem may occur when outputting the same to a printer in Japan. Because letter size is rarely used in Japan, there is often no paper, and in that case printing is not possible.

【0013】こうした状況に対応する際、例えば用紙サ
イズをB4に変更するなど、実際にポストスクリプトフ
ァイルの中をエディタによって書き換えるほかに、現在
のところ有効な手段がない。しかしながら図9からも明
らかなとおり、ポストスクリプトで記述された文書ファ
イルの内容はプログラムそのものであり、ポストスクリ
プト言語を熟知した者でしか対処できない。
To cope with such a situation, there is no effective means other than actually rewriting the contents of the PostScript file with an editor, for example, changing the paper size to B4. However, as is clear from FIG. 9, the contents of the document file described in PostScript are the programs themselves, and can be dealt with only by those who are familiar with the PostScript language.

【0014】[0014]

【課題を解決するための手段】以下、(n)のように付
された数字は後の実施形態において対応する処理を行う
構成部材の符号を表す。これは理解を助けることにのみ
利用される。
In the following, the numerals given as (n) represent the reference numerals of the components for performing the corresponding processes in the later embodiments. It is used only to help understanding.

【0015】[1]本発明は上記の課題に鑑みてなされ
たものであり、第一の目的は、すでに作成済みの文書フ
ァイルに対し、新たに外部から属性が指定された場合
に、この属性を活かすよう文書ファイルを作り替えた
後、所定の可視化処理を行う方法を提供することにあ
る。
[1] The present invention has been made in view of the above-mentioned problem, and a first object is to provide a method for setting an attribute to a document file which has already been created when the attribute is newly designated from the outside. Another object of the present invention is to provide a method of performing a predetermined visualization process after recreating a document file so as to make use of.

【0016】この目的を達成するために本発明の可視化
処理方法は、文書の内容とともにその処理の属性を記述
することの可能な文書記述言語によって記述された文書
ファイルから、もとの文書の可視化を行う方法であっ
て、この文書ファイルの外部から新たな属性が指定され
たとき、この新たな属性を前記文書記述言語による記述
に変換する変換工程(46)と、この文書ファイル内部
に記述されている属性のうち前記新たな属性に対応する
注目属性を無効化するとともに、前記変換された記述を
用いて前記新たな属性を有効化する属性置換工程(5
0,74)と、属性が置換された状態で前記文書ファイ
ルを解釈してもとの文書を可視化処理する可視化工程
(54,70)とを含む。
In order to achieve this object, a visualization processing method according to the present invention provides a method for visualizing an original document from a document file described in a document description language capable of describing attributes of the processing together with the contents of the document. A new attribute is specified from outside the document file, a conversion step (46) of converting the new attribute into a description in the document description language, and a conversion step (46) described in the document file. Attribute replacing step (5) of invalidating the attribute of interest corresponding to the new attribute among the existing attributes, and validating the new attribute using the converted description.
0, 74) and a visualization step (54, 70) of visualizing the original document by interpreting the document file with the attributes replaced.

【0017】ここで「文書記述言語」の例に前述のPD
Lがあり、「可視化」の例に印刷、複写、画面への表示
がある。
Here, as an example of the “document description language”, the aforementioned PD
L, and examples of “visualization” include printing, copying, and displaying on a screen.

【0018】この構成において、この文書ファイルの外
部から新たな属性が指定されたとき、変換工程によって
前記新たな属性が前記文書記述言語による記述に変換さ
れる。「文書ファイルの外部から」とは、すでに文書記
述言語によって記述されている文書ファイルに対して、
後から、の意味である。図9の例であれば、ユーザが用
紙サイズとして「B4」を指定したとき、この属性の指
定が、 <</PageSize[729 1032]>>setpagedevice というように、文書記述言語に変換される。
In this configuration, when a new attribute is designated from outside the document file, the new attribute is converted into a description in the document description language by a conversion step. "From outside the document file" means a document file that has already been described in a document description language.
It is the meaning of later. In the example of FIG. 9, when the user specifies "B4" as the paper size, the specification of this attribute is converted into a document description language such as << PageSize [729 1032] >> setpagedevice.

【0019】つづいて、属性置換工程によって注目属性
が無効化され、変換された記述を用いて前記新たな属性
が有効化される。「注目属性」とは、文書ファイル内部
に記述されている属性のうち前記新たな属性に対応する
属性をいい、図9の場合、「A4」が注目属性に当た
る。すなわち、属性置換工程によって、用紙サイズとし
てのA4の指定が無効になり、代わりにB4の指定が有
効になる。
Subsequently, the attribute of interest is invalidated in the attribute replacing step, and the new attribute is validated using the converted description. The “attention attribute” refers to an attribute corresponding to the new attribute among the attributes described in the document file. In FIG. 9, “A4” corresponds to the attention attribute. That is, in the attribute replacement step, the designation of A4 as the paper size becomes invalid, and the designation of B4 becomes valid instead.

【0020】この後、可視化工程において、属性が置換
された状態、すなわち用紙サイズとしては当初の記述に
も拘らずB4が指定された状態で前記文書ファイルが解
釈され、もとの文書が可視化処理される。「解釈」とは
文書記述言語の記述内容の解釈を指す。
Thereafter, in the visualization step, the document file is interpreted in a state where the attributes are replaced, that is, in a state where B4 is designated as the paper size despite the original description, and the original document is subjected to the visualization processing. Is done. "Interpretation" refers to the interpretation of the description content of the document description language.

【0021】[2]このとき本発明のある態様では、前
記文書記述言語は、可視化処理における処理の態様を指
示するオペレータを含み、前記文書ファイル内部に記述
されている属性は、オペレータに対して該属性を登録す
る形で指定されているものとする。この前提において前
記属性置換工程(50,74)は、1.前記文書ファイ
ル内部に存在する元のオペレータとは別の新たなオペレ
ータを導入して前記新たな属性がこのオペレータに登録
されるための記述2.前記注目属性については前記文書
ファイル内部に存在する元のオペレータに代わって前記
新たなオペレータが有効になるよう元のオペレータを再
定義するための記述の少なくとも2種類の記述を文書フ
ァイル内に追加する。
[2] At this time, in one embodiment of the present invention, the document description language includes an operator for instructing a processing mode in the visualization processing, and an attribute described in the document file is provided to the operator. It is assumed that the attribute is specified in a registered form. On this premise, the attribute replacement step (50, 74) includes: 1. Description for introducing a new operator different from the original operator existing in the document file and registering the new attribute to this operator. For the noted attribute, at least two types of descriptions for redefining the original operator so that the new operator becomes effective instead of the original operator existing in the document file are added to the document file. .

【0022】この結果、可視化工程において文書ファイ
ルが解釈されるとき、前記特定された属性に関しては元
のオペレータではなく新たなオペレータが有効になり、
その新たなオペレータに登録されている新たな属性が指
定される。このため、属性の置換が実現する。
As a result, when the document file is interpreted in the visualization step, a new operator becomes effective instead of the original operator for the specified attribute,
A new attribute registered with the new operator is specified. Therefore, attribute replacement is realized.

【0023】[3]本発明の別の態様では、前記文書記
述言語については[2]同様の前提があるが、前記属性
置換工程(50,74)は、1.前記注目属性がオペレ
ータに登録される記述箇所を検出してこの記述を文書フ
ァイルから削除し、2.前記新たな属性が該オペレータ
に登録されるための記述を文書ファイル内に追加するも
のである。この結果、属性の置換が可能となる。
[3] In another aspect of the present invention, the document description language has the same premise as in [2], but the attribute replacement step (50, 74) includes the following steps: 1. Detect a description location where the noted attribute is registered by the operator, and delete this description from the document file; A description for adding the new attribute to the operator is added to the document file. As a result, the attribute can be replaced.

【0024】[4][3]の場合本発明のある態様で
は、前記可視化工程(54,70)を行うために前記文
書ファイルが順次読み込まれるとき、その読込動作を利
用して前記検出が行われる。すなわち、可視化工程では
文書ファイルを解釈するために文書ファイルを読み込ん
でいくであろうから、そのとき同時に前記検出を行うも
のである。
[4] In the case of [3] In one embodiment of the present invention, when the document files are sequentially read in order to perform the visualization step (54, 70), the detection is performed using the reading operation. Will be That is, in the visualization process, the document file will be read in order to interpret the document file, and the detection is performed at the same time.

【0025】[0025]

【発明の実施の形態】本発明の好適な実施形態を適宜図
面を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described with reference to the drawings.

【0026】実施形態1. [構成]図1は本実施形態に係るシステムの全体構成図
である。同図のごとく、このシステムはまず、ネットワ
ーク2に接続された複数のPC(パーソナルコンピュー
タ)4、6、8を持つ。PCのうち一台のPC4は、ネ
ットワーク2を介して別の箇所から図中矢印aのように
送られてきた文書ファイルに対し、ユーザが新たな属性
を指示するための印刷指示パネル10を持つ。印刷指示
パネル10は、例えばWindows(登録商標)のプ
リンタドライバが提供するユーザインタフェイス同様の
ユーザインタフェイスを提供し、例えば、用紙サイズ、
両面/片面印刷、印刷部数、拡大/縮小、丁合、フィニ
ッシング、印刷マージンなどの属性に対する指示を受け
付ける。ユーザは、もとの文書ファイルの中にどのよう
な属性が指定されていたかを意識する必要はなく、自分
の望む属性を指定すればよい。以下、文書ファイルに対
して、後から、つまり文書ファイルの外部から指定され
た属性を「外部属性」とよぶ。印刷指示パネル10は、
外部属性を文書ファイルの外に付加した状態で図中矢印
bのごとくネットワーク2に送出する。以下、外部属性
が付加された文書ファイルを「処理対象文書ファイル」
とよぶ。
Embodiment 1 [Configuration] FIG. 1 is an overall configuration diagram of a system according to the present embodiment. As shown in FIG. 1, the system first has a plurality of PCs (personal computers) 4, 6, and 8 connected to a network 2. One of the PCs 4 has a print instruction panel 10 for the user to instruct a new attribute to a document file sent from another location via the network 2 as shown by an arrow a in the figure. . The print instruction panel 10 provides a user interface similar to the user interface provided by, for example, a Windows (registered trademark) printer driver.
Instructions for attributes such as double-sided / single-sided printing, number of copies, enlargement / reduction, collation, finishing, and print margin are received. The user does not need to be aware of what attributes have been specified in the original document file, but may specify the attributes he or she desires. Hereinafter, an attribute specified later on the document file, that is, from outside the document file, is referred to as “external attribute”. The print instruction panel 10
The external attribute is sent to the network 2 as indicated by the arrow b in the state where it is added to the outside of the document file. Hereinafter, a document file to which an external attribute is added is referred to as a “processing target document file”.
Call it.

【0027】ネットワーク2にはプリントサーバ20が
接続されている。プリントサーバ20は、PC4から送
出された処理対象文書ファイルを受け取り、印刷可能な
データを作成してこれをプリンタ30に送出する。プリ
ントサーバ20の内部は、ネットワーク2から各種ファ
イルやデータを受け取ってこれを後段に伝達する通信制
御部22と、通信制御部22の出力を受けてプリンタの
ためのスプール処理を行うスプーラ24と、スプーラ2
4からプリントジョブを受けてプリンタ30を制御する
プリントコントローラ26と、処理対象文書ファイルを
プリントコントローラ26から受け取ってデコンポーズ
処理、すなわちプリンタ30で印刷可能なデータ形態に
変換するデコンポーザ28と、プリンタ30で印刷が実
行できない場合にこのプリントジョブをネットワークを
介して他のプリンタ(図示せず)に転送するリダイレク
タ32を含む。本実施形態の可視化処理方法は、デコン
ポーザ28の内部で利用される。
A print server 20 is connected to the network 2. The print server 20 receives the document file to be processed sent from the PC 4, creates printable data, and sends it to the printer 30. The print server 20 includes a communication control unit 22 that receives various files and data from the network 2 and transmits them to a subsequent stage, a spooler 24 that receives an output of the communication control unit 22 and performs spool processing for a printer, Spooler 2
A decomposer 28 that receives a print job from the printer 4 and controls the printer 30; a decomposer 28 that receives a document file to be processed from the print controller 26 and converts it into a data form printable by the printer 30; A redirector 32 transfers the print job to another printer (not shown) via a network when printing cannot be performed. The visualization processing method of the present embodiment is used inside the decomposer 28.

【0028】図2はデコンポーザ28の内部構成図であ
る。同図のごとく、デコンポーザ28はまず、処理対象
文書ファイルをプリントコントローラ26から受け取る
入力部40を含む。入力部40はさらに、処理対象文書
ファイルのうち外部属性を受け取る外部属性受取部42
と文書ファイルを受け取る文書ファイル受取部44を持
つ。外部属性受取部42で受け取られた外部属性は記述
変換部46に送られ、ここでPDLによる記述に変換さ
れる。記述変換部46は変換の対応関係を保持する対応
テーブル48を持つ。この対応テーブルでは、例えば、 「外部属性:用紙サイズB4」 という入力に対して、 「PDLの記述:<</PageSize[729 1032]>>setp
agedevice 」 という出力が対応づけられている。
FIG. 2 is an internal configuration diagram of the decomposer 28. As shown in the figure, the decomposer 28 first includes an input unit 40 that receives a document file to be processed from the print controller 26. The input unit 40 further includes an external attribute receiving unit 42 that receives an external attribute of the document file to be processed.
And a document file receiving unit 44 for receiving the document file. The external attribute received by the external attribute receiving unit 42 is sent to the description converting unit 46, where it is converted into a description in PDL. The description conversion unit 46 has a correspondence table 48 for holding the correspondence of conversion. In this correspondence table, for example, in response to an input of “external attribute: paper size B4”, “PDL description: << PageSize [729 1032] >>> setp
The output "agedevice" is associated.

【0029】変換後の記述内容、および文書ファイル受
取部44で受け取られた文書ファイルは属性置換部50
に送られる。属性置換部50はオペレータ再定義部52
を持ち、後述のごとく、ここで setpagedevice の再定
義が行われる。この際、始めから文書ファイル内に記述
されていた属性のうち外部属性と内容的に矛盾するも
の、すなわち注目属性については、注目属性の側が無効
化され、外部属性が有効になるよう、後述のごとくオペ
レータの再定義が行われる。
The converted description contents and the document file received by the document file receiving unit 44 are stored in the attribute replacing unit 50.
Sent to The attribute replacement unit 50 is an operator redefinition unit 52
The setpagedevice is redefined here as described below. At this time, among the attributes described in the document file from the beginning, those that are inconsistent with the external attributes, that is, for the attribute of interest, the attribute of interest is invalidated and the external attribute is enabled so that The operator is redefined as follows.

【0030】オペレータの再定義の結果、ユーザがPC
4の印刷処理パネル10で指定した外部属性が処理対象
文書ファイル内部に反映される。この状態で、このファ
イル(以下「属性置換後の文書ファイル」という)は可
視化処理部54に送られる。属性置換後の文書ファイル
は、まずPDL解釈部56に送られ、ここでポストスク
リプトが解釈され、バッファ描画部58に必要な描画命
令が送られる。バッファ描画部58は描画命令を受け
て、ページバッファに描画を行う。1ページ分の描画が
終わるたびにこのイメージデータがプリンタ30に送出
され、プリンタ30による文書の印刷が行われる。
As a result of the operator redefinition, the user
The external attribute specified on the print processing panel 10 is reflected inside the document file to be processed. In this state, this file (hereinafter referred to as “document file after attribute replacement”) is sent to the visualization processing unit 54. The document file after the attribute replacement is first sent to the PDL interpreting unit 56, where the postscript is interpreted, and a necessary drawing command is sent to the buffer drawing unit 58. The buffer drawing section 58 receives the drawing command and draws in the page buffer. This image data is sent to the printer 30 every time drawing of one page is completed, and the printer 30 prints a document.

【0031】[動作]以上の構成において、まずポスト
スクリプトで記述された文書ファイルが図1の矢印aを
辿ってユーザのPC4に送信されたとする。ここで、文
書ファイル内部に記述された用紙サイズはA4であり、
一方、ユーザはこの文書をB4で出力したいとする。
[Operation] In the above configuration, it is assumed that a document file described in the postscript is transmitted to the user's PC 4 following the arrow a in FIG. Here, the paper size described in the document file is A4,
On the other hand, the user wants to output this document in B4.

【0032】図3は外部属性の指定から可視化処理に至
る一連の処理を示すフローチャートである。同図のごと
く、ユーザはまず印刷指示パネル10の提供するユーザ
インタフェイス画面を通して用紙サイズB4を指定する
(S10)。このとき、ユーザは文書ファイル内部に記
述されている属性がA4であることを知っている必要は
ない。例えば、仮に文書ファイル内部に記述されている
用紙サイズがB4であっても、ユーザは印刷指示パネル
10を起動して「用紙サイズ:B4」を指定すればよ
く、いずれの場合も最終的には外部属性B4が有効にな
る。
FIG. 3 is a flowchart showing a series of processes from the designation of an external attribute to the visualization process. As shown in the figure, the user first specifies the paper size B4 through the user interface screen provided by the print instruction panel 10 (S10). At this time, the user does not need to know that the attribute described in the document file is A4. For example, even if the paper size described in the document file is B4, the user only needs to activate the print instruction panel 10 and specify “paper size: B4”. The external attribute B4 becomes valid.

【0033】外部属性の指定が完了すれば、ユーザは印
刷指示パネル10において「OK」ボタンを押すなどの
アクションを起こし、印刷指示パネル10による処理を
終える。この段階で処理対象文書ファイルが作成される
(S12)。
When the designation of the external attribute is completed, the user takes an action such as pressing an "OK" button on the print instruction panel 10, and ends the processing by the print instruction panel 10. At this stage, a processing target document file is created (S12).

【0034】処理対象文書ファイルは、ネットワーク2
を介して図1のプリントサーバ20に送信される。プリ
ントサーバ20で受信された処理対象文書ファイルは、
通信制御部22、スプーラ24、プリントコントローラ
26を経てデコンポーザ28に送られる。図2のごと
く、処理対象文書ファイルはデコンポーザ28の入力部
40で受け取られ、外部属性が外部属性受取部42から
記述変換部46に送られる。
The processing target document file is stored in the network 2
Is transmitted to the print server 20 of FIG. The processing target document file received by the print server 20 is
The data is sent to the decomposer 28 via the communication control unit 22, the spooler 24, and the print controller 26. As shown in FIG. 2, the processing target document file is received by the input unit 40 of the decomposer 28, and the external attribute is sent from the external attribute receiving unit 42 to the description converting unit 46.

【0035】記述変換部46では、外部属性「用紙サイ
ズB4」をインデックスとして対応テーブル48を走査
し、対応するPDLの記述「<</PageSize[729 103
2]>>setpagedevice 」を得る(S14)。これを属
性置換部50に渡す。
The description conversion unit 46 scans the correspondence table 48 using the external attribute “paper size B4” as an index, and describes the corresponding PDL description “<< / PageSize [729 103].
2] >> setpagedevice "is obtained (S14). This is passed to the attribute replacement unit 50.

【0036】一方、文書ファイル自体は文書ファイル受
取部44から直接属性置換部50に送られている。属性
置換部50では、文書ファイルとPDLに変換された記
述をもとに、オペレータ再定義部52でオペレータの再
定義を行い(S16)、その結果、属性置換後の文書フ
ァイルを作成する(S18)。
On the other hand, the document file itself is sent from the document file receiving section 44 directly to the attribute replacing section 50. In the attribute replacement unit 50, the operator redefinition unit 52 redefines the operator based on the document file and the description converted into the PDL (S16). As a result, a document file after the attribute replacement is created (S18). ).

【0037】図4は属性置換後の文書ファイルを示す。
同図では、図9の文書ファイルに予め記述されていた属
性のうち、用紙サイズのみをA4からB4に変更する文
書ファイルが示されている。図4のうち図9に対応する
行には同じ行番号を与え、新たに追加された行には10
0〜107という行番号を割り当てている。本実施形態
によれば、もとの文書ファイルを構成していた第1〜1
2行には触れずに、その前の部分に新たな行が追加され
る点に特徴がある。以下、新たな行の意味を示す。
FIG. 4 shows a document file after attribute replacement.
FIG. 9 shows a document file in which only the paper size is changed from A4 to B4 among the attributes described in advance in the document file of FIG. In FIG. 4, the same row number is given to the row corresponding to FIG. 9, and 10 is assigned to the newly added row.
Line numbers from 0 to 107 are assigned. According to the present embodiment, the first to first constituents of the original document file are
The feature is that a new line is added to the previous part without touching the two lines. Hereinafter, the meaning of the new line will be described.

【0038】・第100行 … setpagedevice オペレ
ータを orig _setpagedevice にコピー ・第101〜
106行 … setpagedevice を再定義する。第104行にある if は
第102行の条件を指し、もし setpagedevice の辞書
の中に PageSize というキーがあれば、そのキーを第1
03行で undef オペレータによって非定義状態に戻
す。これが無効化である。その後、第105行で元の s
etpagedevice に当たる orig _setpagedevice を呼び
出して処理を続行させる。一方、setpagedevice の辞書
の中に PageSize というキーがないとき、つまり PageS
ize 以外のキーがあるときは、それらのキーを第105
行において orig _setpagedevice によって処理させ
る。この結果、setpagedevice オペレータに関連付けら
れている辞書に登録されている任意数のキーのうち、Pa
geSize というキーのみが無効化され、それ以外のキー
については元のページデバイス辞書の用語がそのまま活
かされる。
Line 100: Copy the setpagedevice operator to orig_setpagedevice.
Line 106: Redefine setpagedevice. The if in line 104 refers to the condition in line 102. If there is a key called PageSize in the dictionary of setpagedevice, the key is set to the first.
Return to undefined state by undef operator at line 03. This is invalidation. Then, at line 105, the original s
Call orig _setpagedevice corresponding to etpagedevice to continue processing. On the other hand, if there is no PageSize key in the dictionary of setpagedevice,
If there are keys other than ize, those keys
Caused by orig _setpagedevice in the line. As a result, of the arbitrary number of keys registered in the dictionary associated with the setpagedevice operator,
Only the key geSize is invalidated, and the rest of the keys retain the terms of the original page device dictionary.

【0039】・第107行 … 外部属性である用紙サ
イズB4を orig _setpagedeviceに登録している。
Line 107: A paper size B4 as an external attribute is registered in orig_setpagedevice.

【0040】以上の結果、元の文書ファイルに相当する
部分(第1行以下)でsetpagedevice が現れても、当
該オペレータに関する限り PageSize キーが無効化さ
れ、setpagedevice による用紙サイズの指定は行うこと
ができなくなる。その一方、第107行で orig _setpa
gedevice に用紙サイズB4を登録しており、第101
〜106行の再定義によって PageSize キーについては
orig _setpagedevice による設定が有効となるため、
結果的に用紙サイズの指定のみがA4からB4に変更さ
れる。図4の第2行に setpagedevice が現れるが、こ
のオペレータでは用紙サイズが指定できないため、この
第2行は実際には何も行わない。第3行にも setpagede
vice オペレータが現れるが、この辞書のキーはPageSi
ze ではないため、Duplex(両面印刷)が図9同様有効
になる。以降の行も図9と同じである。
As a result, even if setpagedevice appears in the portion corresponding to the original document file (first line and below), the PageSize key is invalidated as far as the operator concerned is concerned, and the paper size can be specified by setpagedevice. Disappears. On the other hand, in line 107 orig _setpa
The paper size B4 is registered in gedevice,
By redefining ~ 106 lines, about PageSize key
Since the setting by orig _setpagedevice is effective,
As a result, only the specification of the paper size is changed from A4 to B4. Although setpagedevice appears on the second line of FIG. 4, this operator does not actually do anything because the operator cannot specify the paper size. Setpagede on line 3
The vice operator appears, but the key in this dictionary is PageSi
Since it is not ze, Duplex (double-sided printing) is effective as in FIG. Subsequent rows are the same as in FIG.

【0041】以上がオペレータの再定義(図3のS1
6)と、属性置換後の文書ファイルの作成(S18)で
ある。S16の再定義は、元の文書ファイルにどのよう
な属性が記述されていたかを問わずに行われる点に特徴
がある。すなわち、元の文書ファイルに用紙サイズの指
定があればそれを無効化するとともに新たな指定が行わ
れるような記述をファイルの先頭に追加しさえすればよ
い。このため、図2のオペレータ再定義部52は、図4
の第101〜106行を元の文書ファイルの先頭に単純
に付加している。もちろん、どのような外部属性が指定
されたかによって無効化すべきキー自体は変わるが、こ
れは記述変換部46による記述の変換の際に考慮済みで
ある。
The above is the redefinition of the operator (S1 in FIG. 3).
6) and creation of a document file after attribute replacement (S18). The feature of S16 is that the redefinition is performed irrespective of what attribute is described in the original document file. That is, if a paper size is specified in the original document file, it is only necessary to invalidate the specification and add a description at which a new specification is made to the head of the file. For this reason, the operator redefinition unit 52 of FIG.
Are simply added to the head of the original document file. Of course, the key to be invalidated changes depending on what external attribute is specified, but this has been taken into account when the description is converted by the description conversion unit 46.

【0042】S18の後、属性置換後の文書ファイルは
可視化処理部54に送られる。ここで、まずPDL解釈
部56により、既知の方法によって属性置換後の文書フ
ァイルが解釈される。解釈の結果、バッファ描画部58
に必要な描画命令が送られ、バッファ描画部58がペー
ジバッファに描画を行う。1ページ分の描画が終わると
イメージデータがプリンタ30に送出され、プリンタ3
0による文書の可視化、すなわち印刷が行われる。
After S18, the document file after attribute replacement is sent to the visualization processing unit 54. Here, first, the document file after the attribute replacement is interpreted by the PDL interpreter 56 by a known method. As a result of the interpretation, the buffer drawing unit 58
Is sent, and the buffer drawing unit 58 performs drawing in the page buffer. When the rendering of one page is completed, the image data is sent to the printer 30, and
Visualization of the document by 0, that is, printing is performed.

【0043】以上が本実施形態の説明である。なお、本
実施形態については以下のような変形例も考えられる。
The above is the description of the present embodiment. Note that the present embodiment may have the following modifications.

【0044】1.本実施形態ではネットワークを含むシ
ステムを考えたが、本発明は本来、スタンドアロンのP
Cと1台のプリンタという構成でも実現できる。この場
合、PC内部またはプリンタ内部で本発明を利用すれは
よい。
1. In the present embodiment, a system including a network is considered.
C and one printer can also be realized. In this case, the present invention may be used inside a PC or a printer.

【0045】2.同様に、本発明はプリントサーバ20
内部でも、デコンポーザ28以外の箇所で利用すること
ができる。例えば、別のプリンタによって印刷を行うよ
うな場合は、図1のリダイレクタ32で本発明を実施し
てもよい。
2. Similarly, the present invention provides a print server 20
Inside, it can be used at a place other than the decomposer 28. For example, when printing is performed by another printer, the present invention may be implemented by the redirector 32 of FIG.

【0046】3.本実施形態では、記述変換部46と対
応テーブル48をデコンポーザ28内部に設けたが、こ
れらを置く場所についても相当の自由度がある。例え
ば、PC4の中に設け、印刷指示パネル10による処理
の終了後に記述の変換を行った後、処理対象文書ファイ
ルをプリントサーバ20に送付してもよい。
3. In the present embodiment, the description conversion unit 46 and the correspondence table 48 are provided inside the decomposer 28, but there are considerable degrees of freedom as to where to put them. For example, the processing target document file may be provided in the PC 4 and after the description is converted after the processing by the print instruction panel 10 is completed, the document file to be processed may be sent to the print server 20.

【0047】4.本実施形態では文書記述言語としてP
DL、特にポストスクリプト言語を説明したが、これ以
外にもオペレータの再定義が可能な言語であれば、種類
を問わず利用することができる。
4. In this embodiment, P is used as the document description language.
Although the DL, especially the PostScript language has been described, any other language that can be redefined by the operator can be used regardless of the type.

【0048】5.ここでは可視化処理の一例として印刷
を説明したが、これは当然、複写や画面表示など、他の
処理であってもよい。
5. Here, printing has been described as an example of the visualization processing, but this may naturally be other processing such as copying or screen display.

【0049】実施形態2.実施形態1では、オペレータ
の再定義による属性の置換を行った。本実施形態では、
オペレータの削除と追加による属性の置換方法を説明す
る。
Embodiment 2 In the first embodiment, the replacement of the attribute is performed by redefining the operator. In this embodiment,
A method of replacing an attribute by deleting and adding an operator will be described.

【0050】[構成]本実施形態でも属性の置換はデコ
ンポーザ内部で行われる。図5は本実施形態のデコンポ
ーザに含まれる属性置換部50の構成図で、これ以外の
部分は図2の構成のままとする。以下、実施形態1と異
なる部分を説明する。
[Configuration] Also in this embodiment, attribute replacement is performed inside the decomposer. FIG. 5 is a configuration diagram of the attribute replacement unit 50 included in the decomposer of the present embodiment, and the other parts are the same as in FIG. Hereinafter, portions different from the first embodiment will be described.

【0051】図5のごとく、属性置換部50は、文書フ
ァイル受取部44から渡された文書ファイル全体を走査
する文書ファイル走査部60と、無効化すべきオペレー
タを文書ファイル内から削除するオペレータ削除部62
と、新たに有効にすべきオペレータを文書ファイル内に
追加するオペレータ追加部64を含む。
As shown in FIG. 5, the attribute replacing section 50 includes a document file scanning section 60 for scanning the entire document file passed from the document file receiving section 44, and an operator deleting section for deleting an operator to be invalidated from the document file. 62
And an operator adding section 64 for adding an operator to be newly enabled in the document file.

【0052】[動作]実施形態1同様、図9に示す文書
ファイルに対し、外部属性として「用紙サイズB4」が
指定されたとする。まず、記述変換部46においてPD
Lの記述、 <</PageSize[729 1032]>>setpagedevice が得られ、これが属性置換部50の文書ファイル走査部
60に渡される。
[Operation] As in the first embodiment, it is assumed that “paper size B4” is designated as an external attribute for the document file shown in FIG. First, the description conversion unit 46
The description of L << PageSize [729 1032] >> setpagedevice is obtained, and is passed to the document file scanning unit 60 of the attribute replacement unit 50.

【0053】文書ファイル走査部60は、前記PDLの
記述をもとに文書ファイル全体を走査し、文書ファイル
内において PageSize が setpagedevice に登録される
箇所を探す。該当する箇所が発見されれば、オペレータ
削除部62によって元の記述を削除するとともに、オペ
レータ追加部64によって同じ箇所に上記PDLの記述
を追加する。その結果、外部属性が setpagedevice に
登録される。
The document file scanning section 60 scans the entire document file based on the description of the PDL, and searches for a location where PageSize is registered in setpagedevice in the document file. If a corresponding location is found, the original description is deleted by the operator deleting unit 62, and the PDL description is added to the same location by the operator adding unit 64. As a result, the external attribute is registered in setpagedevice.

【0054】図6は属性置換後の文書ファイルを示す図
である。同図において図9と同じ行には同じ行番号を与
え、新たに追加された行には200という行番号を付し
ている。この図からわかるように、文書ファイル走査部
60によって元の文書ファイルの第2行に無効化すべき
記述があることが発見され、これが削除されている。そ
の代わりに、この行には外部属性を有効にするための記
述が第200行として追加される。この結果、以降の可
視化処理で用紙サイズとしてB4が選択され、所期の目
的が達成される。
FIG. 6 shows a document file after attribute replacement. In this figure, the same line as in FIG. 9 is given the same line number, and the newly added line is given the line number 200. As can be seen from this figure, the document file scanning unit 60 has found that the second line of the original document file has a description to be invalidated, and this is deleted. Instead, a description for enabling the external attribute is added to this line as line 200. As a result, B4 is selected as the paper size in the subsequent visualization processing, and the intended purpose is achieved.

【0055】なお、実施形態1ではオペレータの再定義
が可能な言語を対象としたが、本実施形態ではオペレー
タの再定義が行われないため、広く文書記述言語全般に
対する適用が可能となる。また、変形例については実施
形態1同様である。
Although the first embodiment is directed to a language in which the operator can be redefined, in the present embodiment, the operator is not redefined, so that the present invention can be widely applied to all document description languages. Further, the modified example is the same as the first embodiment.

【0056】実施形態3.実施形態2では、属性の置換
のために文書ファイルの走査が行われた。しかし後段の
可視化処理が行われる際、PDL解釈部にてやはり文書
ファイルが読み込まれるはずである。実施形態3では、
この読込動作が属性置換のための走査を兼ねるよう設計
する例を説明する。
Embodiment 3 FIG . In the second embodiment, a document file is scanned for attribute replacement. However, when the subsequent visualization processing is performed, the PDL interpreter must still read the document file. In the third embodiment,
An example will be described in which the reading operation is designed so as to also perform scanning for attribute replacement.

【0057】[構成]図7は実施形態3のデコンポーザ
28の内部構成図である。図2同等の箇所には同一の符
号を与える。
[Configuration] FIG. 7 is an internal configuration diagram of the decomposer 28 according to the third embodiment. 2 are given the same reference numerals.

【0058】本実施形態のデコンポーザ28と実施形態
1のそれの違いは、本実施形態の可視化処理部が属性置
換部を構成上包含していることである。すなわち、可視
化処理部70は、文書ファイル受取部44から渡された
文書ファイルを先頭から、例えば1ラインつづ読み込ん
でいく逐次読込部72を含み、この逐次読込部72の中
に属性置換部74とPDL解釈部76が存在する。本実
施形態では、後述する処理の流れの要請により、属性置
換部74とPDL解釈部76が併設されている。なお、
属性置換部74は実施形態2の属性置換部と同じ構成、
作用を持つものとする。
The difference between the decomposer 28 of the present embodiment and that of the first embodiment is that the visualization processing unit of the present embodiment includes an attribute replacement unit in terms of configuration. That is, the visualization processing unit 70 includes a sequential reading unit 72 that reads the document file passed from the document file receiving unit 44 from the beginning, for example, line by line. A PDL interpreter 76 exists. In the present embodiment, an attribute replacing unit 74 and a PDL interpreting unit 76 are provided side by side in response to a request for a processing flow described later. In addition,
The attribute replacement unit 74 has the same configuration as the attribute replacement unit of the second embodiment.
Shall have an effect.

【0059】[動作]図8は逐次読込部72の動作を示
すフローチャートである。逐次読込部72はまず、文書
ファイルの最初のラインを読み込む(S30)。つづい
て、属性置換部74でこのラインに無効化すべき属性に
関する記述が存在するかどうかを判断し(S32)、存
在すれば属性の置換、すなわち無効化すべき記述を削除
するとともに、外部属性を有効にするための記述を追加
する(S34)。一方、読み込んだラインに無効化すべ
き記述がなければ、属性の置換に関する処理はスキップ
する。
[Operation] FIG. 8 is a flowchart showing the operation of the sequential reading section 72. The sequential reading section 72 first reads the first line of the document file (S30). Subsequently, the attribute replacement unit 74 determines whether or not there is a description relating to the attribute to be invalidated in this line (S32), and if it exists, replaces the attribute, that is, deletes the description to be invalidated and validates the external attribute. Is added (S34). On the other hand, if there is no description to be invalidated in the read line, the processing related to attribute replacement is skipped.

【0060】こうして必要な置換がすめば、同じライン
について、こんどはPDL解釈部76によって記述内容
の解釈が行われる(S36)。この後、文書ファイルに
読み込むべきラインが残っているかどうかを確認し(S
38)、残っている限り一連の処理をラインの読込(S
30)から繰り返し行う。
After the necessary replacement is completed, the PDL interpreter 76 interprets the description of the same line (S36). After that, it is confirmed whether or not there is a line to be read in the document file (S
38), a series of processing is read as long as the line remains (S)
Repeat from 30).

【0061】以上が実施形態3の動作である。この実施
形態によれば、属性の置換とPDLの解釈が並行に行わ
れ、置換が必要なときにはその置換が行われた直後にP
DLの解釈が続いて行われる。本実施形態では、PDL
解釈のための読込動作を利用して属性の置換が行われる
ため、処理効率の面で有用である。なお、変形例につい
ては実施形態1同様である。
The above is the operation of the third embodiment. According to this embodiment, attribute replacement and PDL interpretation are performed in parallel, and when replacement is necessary, P
The interpretation of the DL follows. In this embodiment, the PDL
Since attribute replacement is performed using a reading operation for interpretation, it is useful in terms of processing efficiency. The modification is the same as in the first embodiment.

【0062】[0062]

【発明の効果】本発明の文書の可視化処理方法によれ
ば、いったん完成した状態にある文書ファイルに対し
て、後から別の属性を指定し、これを可視化処理に反映
することができる。このため、従来のように文書記述言
語を熟知したユーザが自ら文書ファイルを編集するとい
った対応が不要になる。
According to the document visualization processing method of the present invention, another attribute can be specified later on a document file once completed, and this can be reflected in the visualization processing. For this reason, there is no need for a user who is familiar with the document description language to edit the document file by himself as in the related art.

【0063】オペレータの再定義によって属性の置換を
行う場合は、元の文書ファイルの部分にいっさい変更を
加えることなく、目的を達成することができる。また、
例えば文書ファイルの先頭部分に必要な記述を追加すれ
ばすむため、文書ファイル全体を走査する必要がない。
When the attribute is replaced by the operator redefinition, the purpose can be achieved without making any change to the original document file. Also,
For example, it is only necessary to add a necessary description to the head of the document file, so that it is not necessary to scan the entire document file.

【0064】一方、オペレータの削除と追加によって属
性の置換を行う場合は、オペレータの再定義ができない
文書記述言語に対しても本発明を適用することが可能と
なる。この場合、無効化すべき記述の検出に文書ファイ
ルの読込動作を利用すれば、処理効率を改善することが
できる。
On the other hand, when the attribute is replaced by deleting and adding an operator, the present invention can be applied to a document description language in which the operator cannot be redefined. In this case, if the reading operation of the document file is used for detecting the description to be invalidated, the processing efficiency can be improved.

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

【図1】 実施形態1に係るシステムの全体構成図であ
る。
FIG. 1 is an overall configuration diagram of a system according to a first embodiment.

【図2】 実施形態1のデコンポーザの内部構成図であ
る。
FIG. 2 is an internal configuration diagram of a decomposer according to the first embodiment.

【図3】 実施形態1において、外部属性の指定から可
視化処理に至る一連の処理を示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating a series of processing from designation of an external attribute to visualization processing according to the first embodiment.

【図4】 実施形態1における属性置換後の文書ファイ
ルを示す図である。
FIG. 4 is a diagram illustrating a document file after attribute replacement according to the first embodiment.

【図5】 実施形態2のデコンポーザに含まれる属性置
換部の構成図である。
FIG. 5 is a configuration diagram of an attribute replacement unit included in the decomposer according to the second embodiment.

【図6】 実施形態2における属性置換後の文書ファイ
ルを示す図である。
FIG. 6 is a diagram illustrating a document file after attribute replacement according to a second embodiment.

【図7】 実施形態3のデコンポーザの内部構成図であ
る。
FIG. 7 is an internal configuration diagram of a decomposer according to a third embodiment.

【図8】 実施形態3の逐次読込部の動作を示すフロー
チャートである。
FIG. 8 is a flowchart illustrating an operation of a sequential reading unit according to a third embodiment.

【図9】 ポストスクリプトで記述された文書ファイル
の例を示す図である。
FIG. 9 is a diagram illustrating an example of a document file described in PostScript.

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

2 ネットワーク、4,6,8 PC、10 印刷指示
パネル、20 プリントサーバ、22 通信制御部、2
4 スプーラ、26 プリントコントローラ、28 デ
コンポーザ、30 プリンタ、32 リダイレクタ、4
0 入力部、42 外部属性受取部、44 文書ファイ
ル受取部、46 記述変換部、48 対応テーブル、5
0,74 属性置換部、52 オペレータ再定義部、5
4,70可視化処理部、56,76 PDL解釈部、5
8 バッファ描画部、60 文書ファイル走査部、62
オペレータ削除部、64 オペレータ追加部、72逐
次読込部。
2 network, 4, 6, 8 PC, 10 print instruction panel, 20 print server, 22 communication control unit, 2
4 spooler, 26 print controller, 28 decomposer, 30 printer, 32 redirector, 4
0 input unit, 42 external attribute receiving unit, 44 document file receiving unit, 46 description conversion unit, 48 correspondence table, 5
0,74 Attribute replacement unit, 52 Operator redefinition unit, 5
4,70 visualization processor, 56,76 PDL interpreter, 5
8 Buffer drawing unit, 60 Document file scanning unit, 62
Operator deletion unit, 64 operator addition unit, 72 sequential reading unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宇田 豊和 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&Dビジネスパークビル 富 士ゼロックス株式会社内 (72)発明者 平松 孝章 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&Dビジネスパークビル 富 士ゼロックス株式会社内 (72)発明者 江辺 郁夫 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&Dビジネスパークビル 富 士ゼロックス株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Toyowa Uda 3-2-1, Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa KSP R & D Business Park Building Inside Fuji Xerox Co., Ltd. (72) Inventor Takaaki Hiramatsu, Takatsu-ku, Kawasaki-shi, Kanagawa 3-2-1 Sakado KSP R & D Business Park Building Fuji Xerox Co., Ltd. (72) Inventor Ikuo Ebe 3-2-1 Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa KSP R & D Business Park Building Fuji Xerox Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 文書の内容とともにその処理の属性を記
述することの可能な文書記述言語によって記述された文
書ファイルから、もとの文書の可視化を行う方法であっ
て、 この文書ファイルの外部から新たな属性が指定されたと
き、この新たな属性を前記文書記述言語による記述に変
換する変換工程と、 この文書ファイル内部に記述されている属性のうち前記
新たな属性に対応する注目属性を無効化するとともに、
前記変換された記述を用いて前記新たな属性を有効化す
る属性置換工程と、 属性が置換された状態で前記文書ファイルを解釈しても
との文書を可視化処理する可視化工程と、 を含むことを特徴とする文書の可視化処理方法。
1. A method for visualizing an original document from a document file described in a document description language capable of describing the attributes of the processing together with the contents of the document. When a new attribute is specified, a conversion step of converting the new attribute into a description in the document description language; and invalidating a noted attribute corresponding to the new attribute among attributes described in the document file. Along with
An attribute replacement step of validating the new attribute using the converted description; and a visualization step of visualizing the original document by interpreting the document file with the attribute replaced. A document visualization processing method characterized by the following.
【請求項2】 請求項1に記載の文書の可視化処理方法
において、 前記文書記述言語は、可視化処理における処理の態様を
指示するオペレータを含み、前記文書ファイル内部に記
述されている属性は、オペレータに対して該属性を登録
する形で指定されており、 前記属性置換工程は、前記文書ファイル内部に存在する
オペレータとは別の新たなオペレータを導入して前記新
たな属性がこのオペレータに登録されるための記述と、
前記注目属性については前記文書ファイル内部に存在す
る元のオペレータに代わって前記新たなオペレータが有
効になるよう元のオペレータを再定義するための記述と
を文書ファイル内に追加することを特徴とする可視化処
理方法。
2. The document visualization processing method according to claim 1, wherein the document description language includes an operator instructing a processing mode in the visualization processing, and the attribute described in the document file is an operator. The attribute replacement step introduces a new operator different from the operator existing in the document file, and the new attribute is registered in this operator. And a description for
For the noted attribute, a description for redefining the original operator so that the new operator becomes effective instead of the original operator existing in the document file is added to the document file. Visualization processing method.
【請求項3】 請求項1に記載の文書の可視化処理方法
において、 前記文書記述言語は、可視化処理における処理の態様を
指示するオペレータを含み、前記文書ファイル内部に記
述されている属性は、オペレータに対して該属性を登録
する形で指定されており、 前記属性置換工程は、前記文書ファイル内において、前
記注目属性がオペレータに登録される記述箇所を検出し
てこの記述を削除するとともに、前記新たな属性が該オ
ペレータに登録されるための記述を追加することを特徴
とする可視化処理方法。
3. The document visualization processing method according to claim 1, wherein the document description language includes an operator instructing a mode of the visualization process, and the attribute described in the document file is an operator. Is registered in the form of registering the attribute. In the attribute replacement step, a description location where the attribute of interest is registered by the operator is detected in the document file, and the description is deleted. A visualization processing method characterized by adding a description for registering a new attribute to the operator.
【請求項4】 請求項3に記載の文書の可視化処理方法
において、 前記可視化工程を行うために前記文書ファイルが順次読
み込まれるとき、その読込動作を利用して前記検出を行
うことを特徴とする可視化処理方法。
4. The document visualization processing method according to claim 3, wherein when the document files are sequentially read in order to perform the visualization step, the detection is performed using the reading operation. Visualization processing method.
JP8165735A 1996-06-26 1996-06-26 Document visualizing processing method Pending JPH1011236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8165735A JPH1011236A (en) 1996-06-26 1996-06-26 Document visualizing processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8165735A JPH1011236A (en) 1996-06-26 1996-06-26 Document visualizing processing method

Publications (1)

Publication Number Publication Date
JPH1011236A true JPH1011236A (en) 1998-01-16

Family

ID=15818089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8165735A Pending JPH1011236A (en) 1996-06-26 1996-06-26 Document visualizing processing method

Country Status (1)

Country Link
JP (1) JPH1011236A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002084765A1 (en) * 2001-04-10 2002-10-24 Mitsui Mining & Smelting Co., Ltd. Lithium secondary battery-use active matter
JP2008213189A (en) * 2007-02-28 2008-09-18 Ricoh Co Ltd Image forming apparatus, document orientation determination method, and document orientation determination program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002084765A1 (en) * 2001-04-10 2002-10-24 Mitsui Mining & Smelting Co., Ltd. Lithium secondary battery-use active matter
JP2008213189A (en) * 2007-02-28 2008-09-18 Ricoh Co Ltd Image forming apparatus, document orientation determination method, and document orientation determination program

Similar Documents

Publication Publication Date Title
US8689100B2 (en) Document processing apparatus, control method therefor, and computer program
US7386790B2 (en) Image processing apparatus, server apparatus, image processing method and memory medium
US20050128516A1 (en) Document processing apparatus and document processing method
US20130335768A1 (en) Printing control method, apparatus and storage medium therefor, and printing system
US20060072137A1 (en) Embedding function, information processing method therefor, and program and storage medium used therewith
US8305615B2 (en) Job processing method for restarting jobs after an interrupt
US20050190405A1 (en) Document conversion method and apparatus
US20090290185A1 (en) Information processing apparatus, preview method, and computer-readable storage medium
JP3679678B2 (en) Printing control apparatus and control method therefor
JP3039396B2 (en) Print control apparatus and method
KR100764366B1 (en) Printing apparatus, image processing apparatus, and related control method
JP4667229B2 (en) Information processing apparatus, print control method, and print control program
JPH08258380A (en) Printer control device, printer control system, and printer control method
US20040036903A1 (en) Printing apparatus
JP2003167697A (en) Print indication device
JP2004058500A (en) Image forming device
JP2000330908A (en) System and method for data processing, and storage medium
US7973956B2 (en) High speed printing method and apparatus
JP4047058B2 (en) Print control apparatus and computer program and print control method for realizing the same by computer
JP2001202362A (en) Character editing processor
JP7703934B2 (en) Printing device, printing system and program
JP3284457B2 (en) Printer
US20100142001A1 (en) Information processing apparatus, method for controlling the information processing apparatus, and storage medium
JPH11259458A (en) Document processor
JPH08238814A (en) Printer