JPH05108282A - Page description language converter - Google Patents

Page description language converter

Info

Publication number
JPH05108282A
JPH05108282A JP3293847A JP29384791A JPH05108282A JP H05108282 A JPH05108282 A JP H05108282A JP 3293847 A JP3293847 A JP 3293847A JP 29384791 A JP29384791 A JP 29384791A JP H05108282 A JPH05108282 A JP H05108282A
Authority
JP
Japan
Prior art keywords
program
page description
description language
definition
interpret
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.)
Granted
Application number
JP3293847A
Other languages
Japanese (ja)
Other versions
JP2906779B2 (en
Inventor
Takayuki Kubodera
隆行 窪寺
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 JP3293847A priority Critical patent/JP2906779B2/en
Publication of JPH05108282A publication Critical patent/JPH05108282A/en
Application granted granted Critical
Publication of JP2906779B2 publication Critical patent/JP2906779B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Devices For Executing Special Programs (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To interpret a program described in various languages by a specific processing system by using the program definition added to the beginning of a picture forming program main body to interpret this program. CONSTITUTION:A program definition addition processing part 13 discriminates the classification of an inputted page description language source program 11. This processing part 13 adds the program definition, by which the specific page description language processing program can interpret the inputted page description language program, to this program 11 based on the discriminated result. A program interpreting part 15 uses this program definition to interpret a page description language program 14 to which the program definition is added. Thus, the picture forming program 11 described in various page description languages is converted to such form that the specific page description language processing system can interpret it. Consequently, printing is performed by only a picture output device 16 of one page description language processing system.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ページ記述言語変換装
置に関し、特に、特定のページ記述言語プログラムのみ
が解釈可能な画像形成出力装置において、多様なページ
記述言語プログラムを解釈可能な形式に変換し、その画
像形成出力装置により出力可能とするページ記述言語変
換装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a page description language conversion device, and more particularly, to an image forming output device capable of interpreting only a specific page description language program, and converting various page description language programs into an interpretable format. However, the present invention relates to a page description language conversion device that can be output by the image forming output device.

【0002】[0002]

【従来の技術】従来、データ処理装置によりデータ処理
した結果の出力を、レーザプリンタなどの高性能の印刷
装置により高品質の印刷出力として得るために、ページ
記述言語プログラムのプログラム実行により画像形成が
行なわれようになっている。このようなページ記述言語
プログラムによる画像形成を用いた印刷出力では、各々
の印刷装置の特性を十分に引き出して、印刷出力が得ら
れるものであるが、ページ記述言語は、異なる複数の開
発者により開発された経緯により、現在、種類の異なる
ものが複数存在している。例えば、インタプレス(Inte
rpress)言語,ポストスクリプト(PostScipt)言語など
のページ記述言語があり、それぞれに特徴がある。イン
タプレス言語に関しては、文献『富士ゼロック株式会社
訳「インタプレス−電子出版のためのページ記述言語
−」,丸善株式会社,平成3年3月30日発行』などが
ある。
2. Description of the Related Art Conventionally, in order to obtain an output of a result of data processing by a data processing device as a high quality print output by a high performance printing device such as a laser printer, image formation is performed by executing a program of a page description language program. It is going to be done. In the print output using image formation by such a page description language program, it is possible to obtain the print output by sufficiently extracting the characteristics of each printing device. However, the page description language is different by different developers. There are currently several different types, depending on how they were developed. For example, Interpress (Inte
There are page description languages such as rpress) and Postscript (PostScipt), and each has its own characteristics. Regarding the Interpress language, there is a document “Fuji Zelock Co., Ltd.,“ Interpress-Page Description Language for Electronic Publishing ”, Maruzen Co., Ltd., published March 30, 1991”.

【0003】[0003]

【発明が解決しようとする課題】このようなページ記述
言語対応のレーザプリンタは、それぞれ対応のページ記
述言語プログラムに対する処理系を備えて構成されてお
り、そのページ記述言語プログラムの処理系は1つの種
類のページ記述言語で書かれた画像形成プログラムが実
行できるのみとなっている。このため、種類の異なるペ
ージ記述言語プログラムで出力された印刷出力データ
は、ページ記述言語対応のレーザプリンタであっても印
刷出力を行うことはできない。
Such a laser printer compatible with a page description language is provided with a processing system for the corresponding page description language program, and the processing system of the page description language program is one. Only image forming programs written in different page description languages can be executed. Therefore, print output data output by different page description language programs cannot be printed out even by a laser printer compatible with the page description language.

【0004】各々の種類のページ記述言語プログラム
は、種類が異なるとは言え、命令セットは多くの部分が
類似している。しかし、ページ記述言語プログラムによ
る画像形成出力に対しては、それぞれ対応するページ記
述言語処理系を備えた印刷装置で印刷されなければなら
ず、効率的に処理が行なわれているとは言えない。
Although each type of page description language program is different in type, the instruction sets are similar in many parts. However, the image forming output by the page description language program must be printed by the printing device having the corresponding page description language processing system, and thus it cannot be said that the processing is efficiently performed.

【0005】ネットワークを用いた分散環境のシステム
では、ネットワークに接続される各データ処理装置は、
それぞれに、自己のデータ処理装置で働くサブシステム
に適した種類のページ記述言語での画像形成処理プログ
ラムが作成されるので、多様なページ記述言語プログラ
ムに対し対応可能とするため、それぞれのページ記述言
語処理系を搭載した多くのレーザプリンタが、ネットワ
ークに接続されて、システム運用がなされなければなら
ない。
In a distributed environment system using a network, each data processing device connected to the network is
An image forming processing program is created in a page description language of the type suitable for the subsystem that operates in its own data processing device, so that each page description can be handled in order to support various page description language programs. Many laser printers equipped with a language processing system must be connected to a network for system operation.

【0006】しかし、このような多様なページ記述言語
プログラムに対し、各々のページ記述言語プログラムに
よる画像形成プログラムを実行可能とするためには、何
台もの種類の異なるページ記述言語に対応するプリンタ
が必要であり、そのコストも非常に大きいという問題点
がある。
However, in order to be able to execute the image forming program by each page description language program for such various page description language programs, printers corresponding to many different page description languages are required. It is necessary and its cost is very high.

【0007】本発明は、このような問題点を解決するた
めになされたものであり、本発明の目的は、多様なペー
ジ記述言語による画像形成プログラムをある特定のペー
ジ記述言語の処理系により解釈可能な形式に変換し、ひ
とつのページ記述言語処理系の画像形成出力装置のみで
対応できるページ記述言語変換装置を提供することにあ
る。
The present invention has been made to solve such a problem, and an object of the present invention is to interpret an image forming program in various page description languages by a processing system of a specific page description language. It is an object to provide a page description language conversion device that can be converted into a possible format and can be supported only by an image forming output device of one page description language processing system.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
め、本発明のページ記述言語変換装置は、入力されたペ
ージ記述言語プログラムの種類を判断し、その判断結果
に基づいて、入力されたページ記述言語プログラムに、
特定のページ記述言語の処理プログラムが当該ページ記
述言語プログラムを解釈可能にするプログラム定義を付
加する定義付加手段(13;図1)と、前記定義付加手
段でプログラム定義が付加されたページ記述言語プログ
ラムに対し当該プログラム定義を用いて当該ページ記述
言語プログラムを解釈するプログラム解釈手段(15;
図1)とを備えることを特徴とする。
In order to achieve the above object, the page description language conversion device of the present invention determines the type of the page description language program that has been input, and inputs it based on the result of the determination. In the page description language program,
Definition adding means (13; FIG. 1) for adding a program definition that allows a processing program of a specific page description language to interpret the page description language program, and a page description language program to which the program definition is added by the definition adding means. To the page description language program using the program definition (15;
1) is provided.

【0009】[0009]

【作用】本発明によるページ記述言語変換装置において
は、定義付加手段とプログラム解釈手段とが備えられ、
定義付加手段(13;図1)が、入力されたページ記述
言語プログラムの種類を判断し、その判断結果に基づい
て、入力されたページ記述言語プログラムの例えば先頭
に、特定のページ記述言語の処理プログラムが当該ペー
ジ記述言語プログラムを解釈可能にするプログラム定義
を付加する。そして、プログラム解釈手段(15;図
1)が、前記定義付加手段でプログラム定義が付加され
たページ記述言語プログラムに対し、当該プログラム定
義を用いて当該ページ記述言語プログラムを解釈する。
In the page description language conversion device according to the present invention, definition adding means and program interpreting means are provided,
The definition adding means (13; FIG. 1) judges the type of the page description language program that has been input, and based on the result of the judgment, the processing of a specific page description language, for example, at the beginning of the input page description language program. Add a program definition that allows the program to interpret the page description language program. Then, the program interpreting means (15; FIG. 1) interprets the page description language program to which the program definition is added by the definition adding means, using the program definition.

【0010】即ち、ここでは、入力される多様なページ
記述言語プログラムに対して、各ページ記述言語プログ
ラムの始まりの識別記号により当該ページ記述言語プロ
グラムの種類を判別し、この判別結果により、当該ペー
ジ記述言語プログラムを解釈可能にするプログラム定義
を、当該ページ記述言語プログラムの本体部分の先頭に
付加する。このため、多様なページ記述言語プログラム
は、そのプログラム本体の先頭に付加されたプログラム
定義により、各命令が解釈可能となるので、特定のペー
ジ記述言語プログラムを処理する処理系(解釈系)にお
いても、多様なページ記述言語プログラムの処理が可能
となる。
That is, here, for various input page description language programs, the type of the page description language program is determined by the identification symbol at the beginning of each page description language program, and the page is determined by the determination result. A program definition that allows the description language program to be interpreted is added to the beginning of the main part of the page description language program. For this reason, various page description language programs can interpret each instruction by the program definition added at the beginning of the program body, so that even in a processing system (interpretation system) that processes a specific page description language program. , It is possible to process various page description language programs.

【0011】これにより、多様なページ記述言語による
画像形成プログラムに対しても、あるひとつのページ記
述言語処理系の画像形成出力装置のみで対応可能とな
り、システムのコストを軽減することできる。
As a result, an image forming program in various page description languages can be handled by only one image forming output device of a page description language processing system, and the system cost can be reduced.

【0012】[0012]

【実施例】以下、本発明の実施例を図面により具体的に
説明する。図1は本発明の一実施例にかかるページ記述
言語変換装置の要部構成を処理の流れで示すブロック図
である。図1に示すように、このページ記述言語変換装
置は、主要な処理要素として、プログラム定義付加処理
部13とプログラム解釈部15とを備えて構成されてい
る。プログラム定義付加処理部13は、入力されたソー
スプログラム11のページ記述言語プログラムの種類
(例えばインタプレス)を判断し、その判断結果に基づ
いて付加するプログラム定義(インタプレスの定義)を
選択し、入力されたページ記述言語プログラムのソース
プログラムの先頭に、特定のページ記述言語の処理プロ
グラム(例えばポストスクリプト)が当該ページ記述言
語プログラム(インタプレス)を解釈可能にするプログ
ラム定義12を付加する処理を行う。また、プログラム
本体の先頭にプログラム定義が付加されたページ記述言
語プログラム14はプログラム解釈部15に供給され、
プログラム解釈部15は、プログラム定義付きのページ
記述言語プログラム14に対し、プログラム本体の先頭
のプログラム定義を用いて当該ページ記述言語プログラ
ムを解釈する。これにより、ポストスクリプト対応のプ
リンタ16においても、インタプレス言語により記述さ
れたページ記述言語プログラム11によって作成される
画像の印刷が可能となる。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a processing flow of a main part configuration of a page description language conversion apparatus according to an embodiment of the present invention. As shown in FIG. 1, this page description language conversion device is configured to include a program definition addition processing unit 13 and a program interpretation unit 15 as main processing elements. The program definition addition processing unit 13 judges the type of the page description language program of the input source program 11 (for example, Interpress), and selects the program definition to be added (Definition of Interpress) based on the judgment result. A process of adding a program definition 12 that allows a processing program (for example, PostScript) of a specific page description language program to interpret the page description language program (interpress) to the beginning of the input page description language program. To do. Further, the page description language program 14 having the program definition added to the head of the program body is supplied to the program interpreting unit 15,
The program interpretation unit 15 interprets the page description language program 14 with the program definition by using the program definition at the head of the program body. As a result, it becomes possible to print the image created by the page description language program 11 described in the Interpress language even in the Postscript printer 16.

【0013】図2は本発明の実施例にかかるページ記述
言語変換装置が用いられるデータ処理システムの構成の
一例を示すブロック図である。図2において、21はペ
ージ記述言語変換装置、22は記憶装置、23は中央処
理装置、24は入出力装置、25はシステムバスであ
る。ここでのデータ処理システムは、ページ記述言語変
換装置21,記憶装置22,中央処理装置23,および
入出力装置24の各装置がシステムバス25により相互
接続されて全体のシステムを構成している。ここでの入
出力装置24は、印刷装置,表示装置,キーボードなど
を含み、ページ記述言語プログラムで作成された画像の
出力指示を与える入力部、また、ページ記述言語プログ
ラムで作成された画像を出力する出力表示部などから構
成される。
FIG. 2 is a block diagram showing an example of the configuration of a data processing system in which the page description language conversion device according to the embodiment of the present invention is used. In FIG. 2, 21 is a page description language conversion device, 22 is a storage device, 23 is a central processing unit, 24 is an input / output device, and 25 is a system bus. In this data processing system, the page description language conversion device 21, the storage device 22, the central processing device 23, and the input / output device 24 are interconnected by a system bus 25 to form the entire system. The input / output device 24 includes a printing device, a display device, a keyboard, and the like, and an input unit that gives an output instruction of an image created by the page description language program, and also outputs an image created by the page description language program. It is composed of an output display unit and the like.

【0014】次に、ページ記述言語で書かれたプログラ
ムの画像を出力する動作の概要を説明する。出力指示コ
マンドで、記憶装置22に存在するページ記述言語で書
かれたソースプログラムと出力装置を指定すると、記憶
装置22に格納されている管理プログラムを中央処理装
置23で実行し、指定されたソースプログラムがどのペ
ージ記述言語で書いてあるかを判断し、記憶装置22に
あるページ記述言語の変換系プログラムを実行し、当該
ページ記述言語の解釈系で扱う表現形式に変換する。次
に、記憶装置22にある該当するページ記述言語を解釈
する定義を付加するため、ページ記述言語変換装置21
を起動する。
Next, the outline of the operation for outputting the image of the program written in the page description language will be described. When the source program written in the page description language existing in the storage device 22 and the output device are designated by the output instruction command, the management program stored in the storage device 22 is executed by the central processing unit 23 and the designated source is designated. The page description language in which the program is written is determined, the page description language conversion system program in the storage device 22 is executed, and the page description language is converted into the expression format handled by the interpretation system. Next, in order to add a definition for interpreting the corresponding page description language in the storage device 22, the page description language conversion device 21
To start.

【0015】ページ記述言語変換装置21では、入力さ
れたページ記述言語プログラムの種類を判断し、その判
断結果に基づいて、入力されたページ記述言語プログラ
ムの先頭に、特定のページ記述言語の処理プログラムが
当該ページ記述言語プログラムを解釈可能にするプログ
ラム定義を付加する。そして、記憶装置22にある解釈
系プログラムを実行する。これにより、プログラム本体
の先頭にプログラム定義が付加されたページ記述言語プ
ログラムは、当該プログラム定義を用いて当該ページ記
述言語プログラムが解釈される。
The page description language conversion device 21 determines the type of the input page description language program and, based on the result of the determination, adds a processing program of a specific page description language to the beginning of the input page description language program. Adds a program definition that allows the page description language program to be interpreted. Then, the interpreter program stored in the storage device 22 is executed. As a result, the page description language program having the program definition added to the beginning of the program body is interpreted using the program definition.

【0016】ページ記述言語プログラムの解釈系プログ
ラムの処理では、送られてきた該当するページ記述言語
を解釈する定義を処理して、該当するページ記述言語の
命令群を生成する。以降、当該ページ記述言語プログラ
ムを実行して画像作成を行う場合には、ここで生成した
命令群を用いて解釈を行う。そして、変換されたページ
記述言語プログラムの解釈をその命令群によって行い、
当該ページ記述言語プログラムにより形成される出力画
像を生成し、入出力装置24の表示装置または印刷装置
により、その出力画像を表示し、または印刷する。
In the processing of the interpretation system program of the page description language program, a definition for interpreting the received page description language is processed to generate an instruction group of the corresponding page description language. After that, when the page description language program is executed to create an image, the instruction group generated here is used for interpretation. Then, the converted page description language program is interpreted by the instruction group,
An output image formed by the page description language program is generated, and the output image is displayed or printed by the display device or the printing device of the input / output device 24.

【0017】次に1つ種類のページ記述言語であるイン
タプレスのソースプログラムを、他の種類のページ記述
言語であるポストスクリプト言語に対応している印刷装
置の処理系で印刷出力できるようにする場合を例にし
て、更に具体的に説明する。
Next, the Interpress source program, which is one type of page description language, can be printed out by the processing system of the printing apparatus that supports the Postscript language, which is another type of page description language. A case will be taken as an example to explain more specifically.

【0018】この処理例では、インタプレス,その他の
ページ記述言語をを変換して、ポストスクリプトで解釈
して、画像作成を行い画像表示する場合の処理例につい
て説明する。この場合のシステム構成は、ワークステー
ションとポストスクリプトプリンタで構成されるシステ
ムとする。例えば、図2の中央処理装置23は、例え
ば、ワークステーションまたはポストスクリプトプリン
タのCPUであり、記憶装置22はワークステーション
の主記憶と2次記憶であり、入出力装置24は出力部が
ポストスクリプトプリンタであり、入力部はキーボード
である。また、ワークステーションには、オペレーティ
ングシステムとして、UNIXが搭載されており、ポス
トスクリプトプリンタには、その解釈系として、ポスト
スクリプトインタプリタが搭載されているものとする。
In this processing example, a description will be given of a processing example in the case where Interpress and other page description languages are converted and interpreted by Postscript to create an image and display the image. The system configuration in this case is a system including a workstation and a PostScript printer. For example, the central processing unit 23 in FIG. 2 is, for example, a CPU of a workstation or a Postscript printer, the storage device 22 is a main memory and a secondary storage of the workstation, and the input / output device 24 has a postscript output unit. It is a printer and the input unit is a keyboard. Further, it is assumed that the workstation is equipped with UNIX as an operating system, and the Postscript printer is equipped with a Postscript interpreter as its interpretation system.

【0019】ページ記述言語で記述されたソースプログ
ラムが、本システムのワークステーションで作成される
か、または他のシステムで作成されてネットワークを経
由して、またはフロッピーなどの記録媒体を介して、本
システムの2次記憶に格納された時点からの動作を説明
する。図3はここでのページ記述言語変換処理の処理フ
ローを示すフローチャートである。
A source program written in a page description language is created on a workstation of this system, or created on another system via a network, or via a recording medium such as a floppy disk. The operation from the time of being stored in the secondary storage of the system will be described. FIG. 3 is a flowchart showing the processing flow of the page description language conversion processing here.

【0020】UNIXのコマンドにより本システムが起
動される。システムを起動するコマンドは、ページ記述
言語で記述されたプログラムと、出力画像を印刷出力す
るためのプリンタとを指定して起動を指示する。コマン
ドが実行されると、まず、ページ記述言語の判定処理
(ステップ31)が行なわれる。この処理は、どのペー
ジ記述言語で書かれているかを判断する処理であり、例
えば、インタプレスのソースプログラムの場合は、Inte
rpressというアスキー文字で始まっているので、これを
識別して、ページ記述言語の判定を行う。他のページ記
述言語もそれぞれに、各自のページ記述言語を識別する
ための記号を持っているので、この記号を判定すること
により、ページ記述言語の特定を行う。
This system is started by a UNIX command. The command for activating the system designates a program described in a page description language and a printer for printing out an output image to instruct activation. When the command is executed, first, a page description language determination process (step 31) is performed. This process is a process for determining which page description language is used. For example, in the case of an Interpress source program, Inte
Since it starts with the ASCII character rpress, it is identified and the page description language is judged. Since each of the other page description languages also has a symbol for identifying its own page description language, the page description language is specified by determining this symbol.

【0021】ページ記述言語が特定できると、次に、該
当するページ記述言語の変換系を起動する(ステップ3
2)。この処理では、当該するページ記述言語(インタ
プレス)の変換を行う変換プログラムが起動され、ペー
ジ記述言語で記述されたソースプログラムが送られる。
そして、変換プログラムが解釈系で扱える表現形式の表
現に変換する(ステップ33)。ポストスクリプトでは
アキスー文字のプログラムを扱うので、エンコードされ
たインタプレスをアスキー表現に変換する。例えば、イ
ンタプレスのプログラムにおける16進数の“A0D
1”はアスキー表現でのMODを意味するので、ポスト
スクリプトでインタプレスのプログラムの命令を解釈す
るための定義として、次のようなMOD演算の記述定義
をその先頭部に付加する(ステップ34)。 /MOD{2 copy div floor mul sub}def この定義は、インタプレスの命令をポストスクリプトの
命令で定義したものとなっている。この定義の意味する
ところは、第1データおよび第2データの2つのデータ
をコピー(copy)し、コピーした2つのデータの間で割
算(div)を行い、その演算結果の小数部の切り捨て(f
loor)を行い、切り捨てた結果と第2データとの掛算
(mul)を行う。そして、その結果を第1データから減
算して、余りを求める算式の記述となっている。その他
にも、例えば、 /POP{pop}def /EXCH{exch}def /DUP{dup}def /COPY{copy}def のように、インタプレスとポストスクリプトと同義の命
令に対しても定義し、全ての命令を定義して、ソースプ
ログラムの先頭に付加する。
When the page description language can be specified, the conversion system of the corresponding page description language is started next (step 3).
2). In this process, a conversion program for converting the page description language (Interpress) is started, and the source program described in the page description language is sent.
Then, the conversion program converts into an expression of an expression format that can be handled by the interpretation system (step 33). Postscript deals with programs with Akizo characters, so it converts the encoded Interpress into ASCII representation. For example, the hexadecimal number "A0D" in the Interpress program
Since 1 "means MOD in ASCII expression, the following MOD operation description definition is added to the beginning of the definition as a definition for interpreting the command of the Interpress program in Postscript (step 34). / MOD {2 copy div floor mul sub} def This definition is the Interpress command defined by the PostScript command.The meaning of this definition is that of the first and second data. Copy two data, perform division (div) between the two copied data, and round down the decimal part of the operation result (f
loor) and multiply (mul) the truncated result with the second data. Then, the result is subtracted from the first data to describe a formula for obtaining the remainder. In addition, for example, / POP {pop} def / EXCH {exch} def / DUP {dup} def / COPY {copy} def are defined for the commands synonymous with Interpress and Postscript. All commands are defined and added to the beginning of the source program.

【0022】また、ポストスクリプトとインタプレスは
データ構造が違うので、各データはポストスクリプトの
配列など利用して表現する。インタプレスのベクター
は、ポストスクリプトでは、 [インデックスの先頭値 値1 値2 値3 … ] の形式で表現される。このように、該当するページ記述
言語を解釈するための定義を付加する。これによって、
インタプレスのソースプログラムは、プログラム本体は
変換していないが、ポストスクリプトでの解釈が可能な
ソースプログラムとなる。他のページ記述言語の場合も
同様に、その言語を解釈するための定義を付加する。例
えば、プロッタ出力のための言語HPGLの場合は、そ
のHPGLを解釈するための定義を付加する。
Since Postscript and Interpress have different data structures, each data is represented by using Postscript array or the like. In Interpress, the vector of Interpress is expressed in the format of [index start value value 1 value 2 value 3 ...]. In this way, a definition for interpreting the corresponding page description language is added. by this,
The source program of Interpress is a source program that can be interpreted by PostScript, although the program itself is not converted. Similarly, in the case of another page description language, a definition for interpreting that language is added. For example, in the case of the language HPGL for plotter output, a definition for interpreting the HPGL is added.

【0023】定義が付加されたソースプログラムは、画
像形成のための解釈を行うポストスクリプトプリンタに
送られる。ポストスクリプトプリンタでは、該当するペ
ージ記述言語の解釈系のポストスクリプトインタプリタ
を起動し、ソースプログラムの実行を行い、画像形成の
ための解釈を行う(ステップ35)。ここでのポストス
クリプトインタプリタは、送られてきたソースプログラ
ムの先頭の定義部によってインタプレスの命令をポスト
スクリプトの命令で再構成する。その命令により残りの
インタプレスのプログラムが解釈され、その出力画像が
ポストスクリプトプリンタのプリントエンジン部から印
刷出力される(ステップ36)。
The source program to which the definition is added is sent to the PostScript printer which interprets for image formation. The Postscript printer activates the Postscript interpreter of the interpretation system of the corresponding page description language, executes the source program, and interprets for image formation (step 35). The PostScript interpreter here reconstructs the Interpress command by the PostScript command by the definition section at the head of the sent source program. The command interprets the remaining Interpress program, and the output image is printed out from the print engine section of the Postscript printer (step 36).

【0024】なお、ここでの解釈系として、ポストスク
リプトインタプリタを用いたのは命令の定義が可能こと
と、ページ記述言語を解釈するに必要な操作のハードウ
ェアよりの低級な機能の命令群を網羅していることのた
めである。このような2つ条件を満たすページ記述言語
は解釈系として有効に利用できる。
As the interpretation system here, the Postscript interpreter is used to define the instructions and the instruction group of functions lower than the hardware of the operation necessary to interpret the page description language. This is because it is comprehensive. A page description language satisfying these two conditions can be effectively used as an interpreter.

【0025】[0025]

【発明の効果】以上、説明したように、本発明のページ
記述言語変換装置によれば、多様なページ記述言語によ
る画像形成プログラムをある特定のページ記述言語の処
理系により解釈可能な形式に変換でき、ひとつのページ
記述言語処理系の画像形成出力装置のみで対応できるよ
うになる。このため、多様なページ記述言語プログラム
に対し、各々のページ記述言語プログラムによる画像形
成プログラムが実行可能となるので、多様にデータ処理
装置がネットワークに接続されたシステムを構成する場
合のシステムのネットワークに接続する何台もの種類の
異なるページ記述言語に対応するプリンタが不必要とな
り、システム構成のためのコストが低減されるという効
果がある。
As described above, according to the page description language conversion apparatus of the present invention, an image forming program in various page description languages is converted into a format interpretable by a processing system of a specific page description language. Therefore, only one page description language processing system image forming output device can be used. Therefore, the image forming program by each page description language program can be executed with respect to various page description language programs, so that the network of the system when various data processing devices are connected to the network is configured. There is an effect that a printer corresponding to many different types of page description languages to be connected is unnecessary and the cost for system configuration is reduced.

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

【図1】 図1は本発明の一実施例にかかるページ記述
言語変換装置の要部構成を処理の流れで示すブロック
図、
FIG. 1 is a block diagram showing, in a process flow, a main configuration of a page description language conversion apparatus according to an embodiment of the present invention,

【図2】 図2は本発明の実施例にかかるページ記述言
語変換装置が用いられるデータ処理システムの構成の一
例を示すブロック図、
FIG. 2 is a block diagram showing an example of the configuration of a data processing system in which the page description language conversion device according to the embodiment of the present invention is used,

【図3】 図3はページ記述言語変換処理の処理フロー
を示すフローチャートである。
FIG. 3 is a flowchart showing a processing flow of page description language conversion processing.

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

21…ページ記述言語変換装置、22…記憶装置、23
…中央処理装置、24…入出力装置、25…システムバ
ス。
21 ... Page description language conversion device, 22 ... Storage device, 23
... central processing unit, 24 ... input / output device, 25 ... system bus.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/72 G 9192−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI technical display location G06F 15/72 G 9192-5L

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力されたページ記述言語プログラムの
種類を判断し、その判断結果に基づいて、入力されたペ
ージ記述言語プログラムに、特定のページ記述言語の処
理プログラムが当該ページ記述言語プログラムを解釈可
能にするプログラム定義を付加する定義付加手段と、 前記定義付加手段でプログラム定義が付加されたページ
記述言語プログラムに対し当該プログラム定義を用いて
当該ページ記述言語プログラムを解釈するプログラム解
釈手段とを備えることを特徴とするページ記述言語変換
装置。
1. A processing program of a specific page description language interprets the input page description language program based on the result of the determination of the type of the input page description language program. A definition adding means for adding a program definition to enable the program definition; and a program interpreting means for interpreting the page description language program using the program definition for the page description language program to which the program definition is added by the definition adding means. A page description language conversion device characterized by the above.
JP3293847A 1991-10-15 1991-10-15 Page description language converter Expired - Fee Related JP2906779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3293847A JP2906779B2 (en) 1991-10-15 1991-10-15 Page description language converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3293847A JP2906779B2 (en) 1991-10-15 1991-10-15 Page description language converter

Publications (2)

Publication Number Publication Date
JPH05108282A true JPH05108282A (en) 1993-04-30
JP2906779B2 JP2906779B2 (en) 1999-06-21

Family

ID=17799930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3293847A Expired - Fee Related JP2906779B2 (en) 1991-10-15 1991-10-15 Page description language converter

Country Status (1)

Country Link
JP (1) JP2906779B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0654758A2 (en) * 1993-10-21 1995-05-24 Canon Kabushiki Kaisha Image recording apparatus and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0654758A2 (en) * 1993-10-21 1995-05-24 Canon Kabushiki Kaisha Image recording apparatus and control method thereof
EP0654758A3 (en) * 1993-10-21 1998-03-04 Canon Kabushiki Kaisha Image recording apparatus and control method thereof
US6281979B1 (en) * 1993-10-21 2001-08-28 Canon Kabushiki Kaisha Image recording apparatus and control method thereof

Also Published As

Publication number Publication date
JP2906779B2 (en) 1999-06-21

Similar Documents

Publication Publication Date Title
KR100462589B1 (en) Printer, image printing system and its secret document printing method
US6476938B1 (en) Print control system and method
JP2000083161A (en) Image processing unit, its method and image processing system
Merz PostScript & Acrobat/PDF: applications, troubleshooting, and cross-platform publishing
US7123368B2 (en) Print object converter, print object conversion method, and computer-readable recording medium for recording programs relating to print object conversion method
JP2773632B2 (en) Printing system
JPH05108282A (en) Page description language converter
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP3896619B2 (en) Print control system
JPH09190313A (en) Printer control device and method therefor
JP3097558B2 (en) Printing control method and printing apparatus
JP4125026B2 (en) Information processing apparatus, method, and control program
KR0181137B1 (en) Graphic printing method
JPH10315576A (en) Printing system, printing method and recording medium wherein printing control program is recorded
KR100313869B1 (en) Apparatus for generating printing data efficiently and method thereof
JP2003208273A (en) Information processor, control code generating method, program and storage medium
JPH10198529A (en) Picture processor
JPH06202824A (en) Page description language processor
JPH11110151A (en) Printer driver, computer having printer driver, and computer system
JP3347520B2 (en) Information processing apparatus, printer system, and print job processing method
JPH08249138A (en) Method and device for controlling output
JPH07276719A (en) Font data-reading device
JPH04294417A (en) Information processor and its control method
JP2003330657A (en) Printing device and print controller and information processing system and print control method
JPH0981428A (en) Data processor and data processing method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080402

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees