JPH0976597A - Page output device - Google Patents

Page output device

Info

Publication number
JPH0976597A
JPH0976597A JP7241898A JP24189895A JPH0976597A JP H0976597 A JPH0976597 A JP H0976597A JP 7241898 A JP7241898 A JP 7241898A JP 24189895 A JP24189895 A JP 24189895A JP H0976597 A JPH0976597 A JP H0976597A
Authority
JP
Japan
Prior art keywords
output
processing
page
size
conversion matrix
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
JP7241898A
Other languages
Japanese (ja)
Inventor
Hiroshi Furuya
浩 古屋
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 JP7241898A priority Critical patent/JPH0976597A/en
Publication of JPH0976597A publication Critical patent/JPH0976597A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To print out output data from output paper by converting output image to page image coinciding with the output paper without lowering output image and taking a processing time. SOLUTION: A judge part 1a performs the shape comparison of the output demand size shown by a print job (j) and the output paper size outputted from printers 8-10 before the developing processing by decomposers 2-4 and a conversion matrix forming part 1b forms a conversion matrix performing the processing of expansion/contraction or rotation housed in an output paper size on the basis of the shape comparison result and a job output control part 1 is sues the command to the decomposer selecting this conversion matrix. The selected decomposer uses this conversion matrix to convert the image data of an output command size to develop the same on bit map data and this bit map data of a page unit is outputted from a printer control part and the printer connected thereto.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、出力要求されたペ
ージ単位の画像情報に基づいてページ単位でプリント出
力する際、プリント用紙のサイズに適合したページイメ
ージとして出力するページ出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a page output device for outputting a page image suitable for the size of a print sheet when printed out page by page based on image information requested for output page by page.

【0002】[0002]

【従来の技術】従来、出力要求された画像情報をページ
単位で出力するページプリンタ等のページ出力方式で
は、出力要求された画像情報を出力要求されたそのまま
のページサイズで展開した出力データを作成し、該作成
した出力データをそのまま出力用紙にプリントアウトし
ていた。
2. Description of the Related Art Conventionally, in a page output method such as a page printer which outputs output-requested image information in page units, output data is created by expanding output-requested image information in the output-requested page size. However, the created output data is printed out on the output paper as it is.

【0003】このようなページ出力方式では、常に同じ
大きさ、方向で出力しなければならない。このため、例
えばB4のページイメージをA4の用紙に出力できるよ
うにした出力データ(81%に縮小されたデータ)を、
B5の用紙にプリントアウトしようとすると、ページイ
メージがB5の用紙内に収まらないので、ページイメー
ジがB5の用紙からはみ出してしまうことになる。この
場合、B5の用紙にページイメージを収めるには、70
%に縮小されたデータが必要となる。すなわち、従来の
ページ出力方式では、常に所望の用紙に適切にプリント
アウトされないという問題点があった。
In such a page output method, it is necessary to always output in the same size and direction. Therefore, for example, output data (data reduced to 81%) that enables the page image of B4 to be output on the sheet of A4,
When trying to print out on the paper of B5, the page image does not fit in the paper of B5, so the page image runs off the paper of B5. In this case, to fit the page image on the B5 paper, 70
Data reduced to% is required. That is, the conventional page output method has a problem that it is not always properly printed on a desired sheet.

【0004】これに対し、1ページ分のページイメージ
を作成した時点で、この作成したビットマップデータを
拡大/縮小処理あるいは回転処理を行うページ出力方式
がある。
On the other hand, there is a page output method in which, when a page image for one page is created, the created bitmap data is enlarged / reduced or rotated.

【0005】このページ出力方式によれば、出力用紙に
適合するようなページイメージに変換されることから、
常に出力用紙に合致してプリントアウトすることができ
る。
According to this page output method, since the page image is converted so as to fit on the output paper,
You can always print out in conformity with the output paper.

【0006】しかし、ページイメージに展開されたビッ
トマップデータを拡大/縮小処理等を行うので、もとの
ページイメージのドットが失われたり、拡大/縮小処理
されたページイメージにはギザギザが目立つようにな
り、結果的に出力品質が低下するとともに、ビットマッ
プデータに対して拡大/縮小処理等を施すので、処理時
間がかかるという問題点が生起することになる。
However, since the bitmap data expanded into the page image is enlarged / reduced, the dots of the original page image may be lost, or the enlarged / reduced page image may be jagged. As a result, the output quality is deteriorated, and the bitmap data is subjected to enlargement / reduction processing, which causes a problem that it takes a long processing time.

【0007】この問題点を解決するため、特開平5−2
4301号公報には、上位のホストコンピュータから送
られた印刷データを拡大/縮小等の情報を含めた中間コ
ードに変換し、この中間コードに変換した時点で適切な
大きさの用紙を選択するようにした自動用紙選択方法が
記載されている。
In order to solve this problem, Japanese Patent Laid-Open No. 5-2
In Japanese Patent Publication No. 4301, the print data sent from the host computer is converted into an intermediate code including information such as enlargement / reduction, and when the intermediate code is converted, an appropriate size of paper is selected. The automatic paper selection method described above is described.

【0008】これによれば、拡大/縮小等の処理をビッ
トマップデータでなく中間コードを用いて行うので、出
力品質が低下することはないが、新たに中間コードを作
成する処理が必要であるため、処理時間がかかることに
なる。
According to this, since the processing such as enlargement / reduction is performed by using the intermediate code instead of the bitmap data, the output quality is not deteriorated, but the processing for newly creating the intermediate code is required. Therefore, it takes processing time.

【0009】[0009]

【発明が解決しようとする課題】前述したように、従来
のページ出力方式では、常に適切な出力用紙でプリント
アウトすることができず、このページ出力方式を改善し
たものであっても、出力品質が低下し、あるいは処理時
間がかかるという問題点を有していた。
As described above, in the conventional page output method, it is not always possible to print out with an appropriate output paper, and even if this page output method is improved, the output quality is improved. However, there is a problem that the processing time is lowered or the processing time is increased.

【0010】そこで、本発明は、かかる問題点を除去
し、出力品質を低下させず、かつ処理時間をかけずに、
出力用紙に一致したページイメージに変換して該出力用
紙から出力データをプリントアウトすることができるペ
ージ出力装置を提供することを目的とする。
Therefore, the present invention eliminates such problems, does not deteriorate the output quality, and does not take a processing time,
An object of the present invention is to provide a page output device capable of converting a page image that matches an output sheet and printing output data from the output sheet.

【0011】[0011]

【課題を解決するための手段】本発明は、出力要求サイ
ズの画像情報を所定の出力用紙サイズの用紙にページ単
位で出力するページ出力装置において、前記画像情報の
展開処理前に前記出力要求サイズと前記出力用紙サイズ
との形状比較を行う比較手段と、前記比較手段の比較結
果をもとに、前記出力要求サイズの画像情報を前記出力
用紙サイズ内に収めるべく前記出力要求サイズの画像情
報に施される変換行列を生成する変換行列生成手段と、
前記変換行列を用いて前記出力要求サイズの画像情報を
ビットマップデータに展開処理する展開処理手段とを具
備したことを特徴とする。
According to the present invention, there is provided a page output device for outputting image information of an output request size on a sheet of a predetermined output paper size in page units, the output request size before the expansion processing of the image information. And a comparison means for performing a shape comparison between the output paper size and the output paper size, and based on the comparison result of the comparison means, the image information of the output demand size is converted into the image information of the output demand size so that the image information of the output demand size is contained Conversion matrix generating means for generating a conversion matrix to be applied,
It is characterized by further comprising: expansion processing means for expanding the image information of the output request size into bitmap data using the conversion matrix.

【0012】[0012]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は、本発明の実施の形態であるジョブ
出力装置の構成を示す図である。
FIG. 1 is a diagram showing the configuration of a job output device according to an embodiment of the present invention.

【0014】図1において、ジョブ出力装置は、図示し
ないネットワークに接続されたジョブ出力制御部1、ジ
ョブ出力制御部1に接続された複数のデコンポーザ2a
〜2c、複数のプリンタ制御部3a〜3c、およびプリ
ンタ制御部3a〜3cにそれぞれ接続されたプリンタ4
a〜4cから構成される。
In FIG. 1, the job output device includes a job output controller 1 connected to a network (not shown), and a plurality of decomposers 2a connected to the job output controller 1.
To 2c, a plurality of printer control units 3a to 3c, and a printer 4 connected to the printer control units 3a to 3c, respectively.
a to 4c.

【0015】ジョブ出力制御部1は、入力されたプリン
トジョブJを解釈して、該プリントジョブJをイメージ
データ、すなわちビットマップデータに展開処理できる
適切なデコンポーザを、デコンポーザ2a〜2cの中か
ら選択し、展開処理を指示する。さらに、ジョブ出力制
御部1は、展開処理されたビットマップデータを出力で
きる適切なプリンタを、プリンタ4a〜4cの中から選
択し、該選択したプリンタを制御するプリンタ制御部3
a〜3cに該ビットマップデータの出力を指示する。
The job output control unit 1 interprets the input print job J and selects an appropriate decomposer capable of developing the print job J into image data, that is, bitmap data, from the decomposers 2a to 2c. Then, the expansion processing is instructed. Further, the job output control unit 1 selects an appropriate printer capable of outputting the expanded bitmap data from the printers 4a to 4c, and controls the selected printer.
Instruct a to 3c to output the bitmap data.

【0016】ジョブ出力制御部1は、入力されたプリン
トジョブJの解釈結果をもとに、プリントジョブJが指
示するページサイズと実際にプリントアウトされる用紙
サイズとの大きさを比較判断する判断部1aと、判断部
1aの判断結果に基づいた適切な変換行列を生成する変
換行列生成部1bとを有し、この生成した変換行列を選
択したデコンポーザに指示する。また、ジョブ出力制御
部1は、デコンポーザが生成したビットマップデータを
選択したプリンタ制御部を介して、該プリンタ制御部に
接続されるプリンタから出力させる指示を行う。
The job output control unit 1 compares and judges the page size instructed by the print job J and the size of the paper actually printed out based on the interpretation result of the input print job J. It has a unit 1a and a conversion matrix generation unit 1b that generates an appropriate conversion matrix based on the determination result of the determination unit 1a, and instructs the selected decomposer on the generated conversion matrix. Further, the job output control unit 1 gives an instruction to output the bitmap data generated by the decomposer from the printer connected to the printer control unit via the selected printer control unit.

【0017】デコンポーザ2a〜2cは、ジョブ出力制
御部1を介して入力されるプリントジョブJの解釈結果
としてのプリントデータをもとにビットマップデータに
展開する処理を行う。各デコンポーザは、インタプリタ
2aとイメージャ2bとを有する。インタプリタ2a
は、プリントデータを解釈し、イメージャ2bは、この
解釈結果をもとにページイメージとしてのビットマップ
データを生成する。この際、プリントデータとともに変
換行列が入力され、この変換行列が加味されたビットマ
ップデータが生成されることになる。
The decomposers 2a to 2c perform a process of expanding the bitmap data based on the print data as an interpretation result of the print job J input via the job output control unit 1. Each decomposer has an interpreter 2a and an imager 2b. Interpreter 2a
Interprets print data, and the imager 2b generates bitmap data as a page image based on the interpretation result. At this time, the conversion matrix is input together with the print data, and bitmap data to which this conversion matrix is added is generated.

【0018】なお、デコンポーザ2a〜2cによる展開
処理は、異なる展開処理を行うものの組合せであっても
よいし、同じ展開処理を行うものを含めてもよい。
The expansion processing by the decomposers 2a to 2c may be a combination of different expansion processings, or may include the same expansion processings.

【0019】プリンタ制御部3a〜3cは、ジョブ出力
制御部1からの出力指示をもとに、それぞれのプリンタ
4a〜4cに対して、デコンポーザ2a〜2cによって
展開処理されたページ単位のビットマップデータの出力
制御を行う。
The printer control units 3a to 3c, based on the output instruction from the job output control unit 1, develop the page-wise bitmap data for the printers 4a to 4c by the decomposers 2a to 2c. Output control.

【0020】なお、デコンポーザ2a〜2c、プリンタ
制御部3a〜3cおよびそれぞれに対応するプリンタ4
a〜4cは、それぞれ3つの構成としたが、もちろん3
つに限定されるわけではなく、1つあるいは任意の数と
した構成とすることができる。
The decomposers 2a to 2c, the printer control units 3a to 3c, and the printer 4 corresponding to each of them.
Each of a to 4c has three configurations, but of course 3
The number is not limited to one and may be one or any number.

【0021】次に、図2から図4のフローチャートを参
照してジョブ出力装置のページ出力処理手順について説
明する。
Next, the page output processing procedure of the job output device will be described with reference to the flow charts of FIGS.

【0022】図2において、まずジョブ出力制御部1
に、図示しないネットワークから例えばページ記述言語
(PDL)で記述された文書データのプリントジョブが
入力されると、ジョブ出力制御部1は、印刷されるプリ
ンタの用紙サイズ(幅W,高さH)を獲得する(ステッ
プ101)。その後、ジョブ出力制御部1は、プリント
ジョブ内のページサイズ情報をもとに、プリントデータ
のページサイズ(幅w,高さh)を獲得する(ステップ
102)。その後、ジョブ出力制御部1の判断部1a
は、獲得した用紙サイズとページサイズとをもとに、処
理の種類を判断する(ステップ103)。すなわち処理
区分を行う。さらに、変換行列生成部1bは、この処理
区分毎に、対応する変換行列を生成する(ステップ10
4)。
In FIG. 2, first, the job output control unit 1
When a print job of document data described in, for example, page description language (PDL) is input from a network (not shown), the job output control unit 1 prints the paper size (width W, height H) of the printer. Is acquired (step 101). After that, the job output control unit 1 acquires the page size (width w, height h) of the print data based on the page size information in the print job (step 102). After that, the determination unit 1a of the job output control unit 1
Determines the type of processing based on the acquired paper size and page size (step 103). That is, processing division is performed. Furthermore, the conversion matrix generation unit 1b generates a corresponding conversion matrix for each processing section (step 10).
4).

【0023】その後、ジョブ出力制御部1は、デコンポ
ーズ処理のためのページバッファを獲得し(ステップ1
05)、入力されたプリントデータとともに、生成した
変換行列及び獲得したページバッファをデコンポーザに
指示する(ステップ106)。
After that, the job output controller 1 acquires a page buffer for the decomposing process (step 1
05), together with the input print data, the generated transform matrix and the acquired page buffer are instructed to the decomposer (step 106).

【0024】その後、指示されたデコンポーザは、プリ
ントデータ、変換行列をもとに、指示されたページバッ
ファを用いてデコンポーズ処理を行う(ステップ10
7)。その後、ジョブ出力制御部1は、デコンポーズさ
れたページイメージをプリンタ制御部を介してプリンタ
からプリントアウトさせる指示を行い、プリンタからデ
コンポーズされたイメージデータがプリントアウトされ
る(ステップ108)。
Thereafter, the instructed decomposer performs decomposing processing using the instructed page buffer based on the print data and the conversion matrix (step 10).
7). After that, the job output control unit 1 gives an instruction to print out the decomposed page image from the printer via the printer control unit, and the decomposed image data is printed out from the printer (step 108).

【0025】その後、ジョブ出力制御部1は、全ページ
の印刷が終了したか否かを判断し(ステップ109)、
全ページの印刷が終了しない場合は、ステップ102に
移行して上述した処理を繰り返し、全ページの印刷が終
了した場合は、本処理を終了する。
After that, the job output control unit 1 judges whether or not the printing of all pages is completed (step 109),
If printing of all pages has not ended, the process proceeds to step 102 and the above-described processing is repeated, and if printing of all pages has ended, this processing ends.

【0026】次に、図3のフローチャートを参照して、
ステップ103における処理の種類の判断処理について
説明する。
Next, referring to the flowchart of FIG.
The process type determination process in step 103 will be described.

【0027】まず、判断部1aは、ページサイズの幅w
と用紙サイズの幅Wとが等しく、かつページサイズの高
さhと用紙サイズの高さHとが等しいか否かを判断する
(ステップ201)。ここで、ページサイズ及び用紙サ
イズの幅及び高さの双方とも等しいと判断された場合、
処理の種類を「拡大縮小処理なし」と判断し(ステップ
202)、ステップ103にリターンする。すなわち、
ページサイズ及び用紙サイズの幅及び高さの双方とも等
しい場合は、当然に拡大縮小あるいは回転処理を行う必
要はないと判断する。
First, the judgment unit 1a determines the page size width w.
And the width W of the paper size are equal, and the height h of the page size is equal to the height H of the paper size (step 201). Here, when it is determined that both the width and the height of the page size and the paper size are equal,
It is determined that the type of processing is "no enlargement / reduction processing" (step 202), and the process returns to step 103. That is,
When both the width and height of the page size and the paper size are the same, it is naturally judged that it is not necessary to perform the enlargement / reduction processing or the rotation processing.

【0028】一方、ステップ201で、ページサイズ及
び用紙サイズの幅が等しく、かつページサイズ及び用紙
サイズの高さが等しい、といえない場合、さらにページ
サイズの幅wと用紙サイズの高さHとが等しく、かつペ
ージサイズの高さhと用紙サイズの幅Wとが等しいか否
かを判断する(ステップ203)。ここで、ページサイ
ズの幅wと用紙サイズの高さHとが等しく、かつページ
サイズの高さhと用紙サイズの幅Wとが等しい場合、処
理の種類を「回転処理」と判断し(ステップ204)、
ステップ103にリターンする。
On the other hand, if it cannot be said in step 201 that the page size and the paper size have the same width and the page size and the paper size have the same height, the page size width w and the paper size height H are further determined. Are equal, and the height h of the page size and the width W of the paper size are equal (step 203). Here, if the page size width w and the paper size height H are equal, and the page size height h and the paper size width W are equal, it is determined that the type of processing is "rotation processing" (step 204),
The process returns to step 103.

【0029】ステップ203でページサイズの幅wと用
紙サイズの高さHとが等しく、かつページサイズの高さ
hと用紙サイズの幅Wとが等しい、といえない場合、さ
らに、ページサイズの幅wに対する用紙サイズの幅Wの
比A1と、ページサイズの高さhに対する用紙サイズの
高さHの比A2とを求める(ステップ205)。そし
て、比A1が比A2以下であるか否かを判断する(ステ
ップ206)。比A1が比A2以下でないと判断された
場合、変数Aを比A2の値とし(ステップ207)、比
A1が比A2以下であると判断された場合、変数Aを比
A1の値に設定する(ステップ208)。
If it cannot be said in step 203 that the page size width w is equal to the paper size height H and the page size height h is equal to the paper size width W, then the page size width is further increased. A ratio A1 of the width W of the paper size to w and a ratio A2 of the height H of the paper size to the height h of the page size are obtained (step 205). Then, it is determined whether the ratio A1 is equal to or less than the ratio A2 (step 206). When it is determined that the ratio A1 is not less than the ratio A2, the variable A is set to the value of the ratio A2 (step 207), and when it is determined that the ratio A1 is not more than the ratio A2, the variable A is set to the value of the ratio A1. (Step 208).

【0030】さらに、ページサイズの高さhに対する用
紙サイズの幅Wの比B1と、ページサイズの幅wに対す
る用紙サイズの高さHの比B2とを求める(ステップ2
09)。そして、比B1が比B2以下であるか否かを判
断する(ステップ210)。比B1が比B2以下でない
と判断された場合、変数Bを比B2の値とし(ステップ
211)、比B1が比B2以下であると判断された場
合、変数Bを比B1の値に設定する(ステップ21
2)。
Further, a ratio B1 of the paper size width W to the page size height h and a ratio B2 of the paper size height H to the page size width w are obtained (step 2).
09). Then, it is determined whether the ratio B1 is equal to or less than the ratio B2 (step 210). If it is determined that the ratio B1 is not less than the ratio B2, the variable B is set to the value of the ratio B2 (step 211), and if it is determined that the ratio B1 is less than the ratio B2, the variable B is set to the value of the ratio B1. (Step 21
2).

【0031】その後、変数Aの値が変数Bの値以上であ
るか否かを判断する(ステップ213)。ここで、変数
Aの値が変数Bの値以上であると判断された場合、処理
の種類を「拡大縮小処理」と判断し(ステップ21
4)、変数Aの値が変数Bの値以上でないと判断された
場合、処理の種類を「拡大縮小回転処理」と判断し(ス
テップ215)、ステップ103にリターンする。
Then, it is judged whether or not the value of the variable A is equal to or more than the value of the variable B (step 213). If it is determined that the value of the variable A is greater than or equal to the value of the variable B, the type of processing is determined to be "enlargement / reduction processing" (step 21).
4) If it is determined that the value of the variable A is not greater than or equal to the value of the variable B, the type of processing is determined to be "enlargement / reduction rotation processing" (step 215), and the process returns to step 103.

【0032】次に、図4のフローチャートを参照して、
ステップ104の変換行列の生成処理について説明す
る。
Next, referring to the flowchart of FIG.
The conversion matrix generation processing in step 104 will be described.

【0033】変換行列の生成処理は、ステップ103に
おける処理の種類の判断結果に基づいて、それぞれ対応
する変換行列が生成されることになる。
In the conversion matrix generation processing, corresponding conversion matrices are generated based on the result of the determination of the type of processing in step 103.

【0034】すなわち、まず処理の種類が「拡大縮小回
転なし」か否かを判断する(ステップ301)。ここ
で、処理の種類が「拡大縮小回転なし」である場合、拡
大縮小処理も行わず、回転処理も行わない変換行列を生
成し(ステップ302)、ステップ104にリターンす
る。すなわち、何の変換処理も行わない変換行列を生成
することになる。
That is, first, it is determined whether or not the type of processing is "no enlargement / reduction rotation" (step 301). Here, when the type of processing is "no scaling rotation", a conversion matrix that does not perform scaling processing and rotation processing is generated (step 302), and the process returns to step 104. That is, a conversion matrix without any conversion processing is generated.

【0035】ステップ301で処理の種類が「拡大縮小
回転なし」でない場合、さらに処理の種類が「回転処
理」か否かを判断する(ステップ303)。処理の種類
が「回転処理」である場合、この回転を行わせる変換行
列を生成し(ステップ304)、ステップ104にリタ
ーンする。
If the type of processing is not "no enlargement / reduction rotation" in step 301, it is further determined whether the type of processing is "rotation processing" (step 303). If the type of processing is "rotation processing", a conversion matrix that causes this rotation is generated (step 304), and the process returns to step 104.

【0036】ステップ303で処理の種類が「回転処
理」でない場合、さらに処理の種類が「拡大縮小処理」
であるか否かを判断する(ステップ305)。処理の種
類が「拡大縮小処理」である場合、この拡大縮小を行わ
せるための変換行列を生成し(ステップ306)、ステ
ップ104にリターンする。
If the processing type is not "rotation processing" in step 303, the processing type is "enlargement / reduction processing".
Or not (step 305). When the type of processing is "enlargement / reduction processing", a conversion matrix for performing this enlargement / reduction is generated (step 306), and the process returns to step 104.

【0037】ステップ305で処理の種類が「拡大縮小
処理」でない場合、対応する拡大縮小処理と回転処理と
を行わせる変換行列を生成し(ステップ307)、ステ
ップ104にリターンする。
If the type of processing is not "enlargement / reduction processing" in step 305, a conversion matrix for performing the corresponding enlargement / reduction processing and rotation processing is generated (step 307), and the process returns to step 104.

【0038】次に、図5から図8を参照して、具体的な
変換行列の生成処理について説明する。
Next, a concrete conversion matrix generation process will be described with reference to FIGS.

【0039】図5は、処理の種類「拡大縮小回転なし」
の場合における変換行列の具体例を示す図である。図5
においては、ページサイズの幅wの値は「200」、高
さhの値を「300」とし、実際に印刷される用紙サイ
ズの幅Wの値も「200」、高さHも「300」であ
る。従って、 なる配列をもった3行3列の変換行列が生成される。
FIG. 5 shows the processing type "no scaling rotation".
It is a figure which shows the specific example of the conversion matrix in the case of. FIG.
, The width w of the page size is "200", the value of the height h is "300", the width W of the paper size to be actually printed is "200", and the height H is "300". Is. Therefore, A transformation matrix of 3 rows and 3 columns having the following array is generated.

【0040】次に図6は、処理の種類「回転処理」の場
合における変換行列の具体例を示す図である。図6にお
いて、ページサイズの幅wと高さhとは、図5と同様に
それぞれ「200」、「300」である。これに対し、
用紙サイズの幅と高さは、ページサイズの幅と高さと逆
の関係となっている。すなわち、用紙サイズの幅Wの値
は「300」、高さHの値は「200」である。このた
め、もとのページイメージの左下の頂点を中心として9
0度回転を行い、さらにこの回転したページイメージを
X方向に高さWの値「300」の平行移動を行わせる変
換行列を生成する。すなわち、 なる3行3列の変換行列を生成する。
Next, FIG. 6 is a diagram showing a concrete example of the conversion matrix in the case of the processing type “rotation processing”. In FIG. 6, the width w and the height h of the page size are “200” and “300”, respectively, as in FIG. In contrast,
The width and height of the paper size are inversely related to the width and height of the page size. That is, the value of the width W of the paper size is "300", and the value of the height H is "200". Therefore, the center of the lower left vertex of the original page image is 9
A conversion matrix that rotates 0 degrees and further translates this rotated page image in the X direction by a value “300” of height W is generated. That is, A transformation matrix of 3 rows and 3 columns is generated.

【0041】次に図7は、処理の種類「拡大縮小処理」
の場合における変換行列の具体例を示す図である。ここ
で、図7(a)はもとのページサイズに比べて用紙サイ
ズが小さい場合の例を示し、図7(b)はもとのページ
サイズに比べて用紙サイズが大きい場合の例を示してい
る。
Next, FIG. 7 shows the type of processing "enlargement / reduction processing".
It is a figure which shows the specific example of the conversion matrix in the case of. Here, FIG. 7A shows an example when the paper size is smaller than the original page size, and FIG. 7B shows an example when the paper size is larger than the original page size. ing.

【0042】図7(a)において、ページサイズの幅w
と高さhとは、図5と同様にそれぞれ「200」、「3
00」である。これに対し、用紙サイズの幅Wは「10
0」、高さHは「200」である。従って、ステップ2
05で求められる比A1の値は、幅W/幅w=「10
0」/「200」であるから、「1/2」となり、比A
2の値は、高さH/高さh=「200」/「300」で
あるから「2/3」となる。また、ステップ209で求
められる比B1の値は、高さH/幅w=「200」/
「200」であるから「1」となり、比B2の値は、幅
W/高さh=「100」/「300」であるから「1/
3」となる。従って、小さい方の比はそれぞれ、比A
1、比B2となる。そして、この比の大小を比較する
と、比A1(=1/2)>比B2(=1/3)であるの
で、回転処理は行わずに、拡大縮小処理のみが行われ
る。
In FIG. 7A, the page size width w
And the height h are “200” and “3”, respectively, as in FIG.
00 ”. On the other hand, the width W of the paper size is “10
The height H is “0” and the height H is “200”. Therefore, step 2
The value of the ratio A1 obtained in 05 is width W / width w = “10
Since it is "0" / "200", it becomes "1/2", and the ratio A
The value of 2 is “2/3” because the height H / height h = “200” / “300”. The value of the ratio B1 obtained in step 209 is the height H / width w = “200” /
Since it is “200”, it becomes “1”, and the value of the ratio B2 is “1 / W” because width W / height h = “100” / “300”.
3 ". Therefore, the smaller ratio is the ratio A
1 and the ratio B2. Then, comparing the magnitudes of this ratio, the ratio A1 (= 1/2)> the ratio B2 (= 1/3), so only the enlargement / reduction process is performed without performing the rotation process.

【0043】この場合、1/2に縮小される変換行列が
生成されるが、縮小後のページイメージの幅をw’、高
さをh’とすると、高さ方向(Y方向)に余白が生じ
る。この余白の高さは、高さH−高さh’であり、この
余白を上下方向等分するため、ページイメージをY方向
に(高さH−高さh’)/2、すなわち「25」の大き
さだけ平行移動させる変換行列を生成する。また、回転
移動に伴う平行移動処理も行う。結果的に、次のような
変換行列が生成される。すなわち、 である。
In this case, a conversion matrix that is reduced to 1/2 is generated, but if the width of the reduced page image is w'and the height is h ', there is a margin in the height direction (Y direction). Occurs. The height of this margin is height H-height h ', and in order to equally divide this margin in the vertical direction, the page image is (height H-height h') / 2 in the Y direction, that is, "25". Generate a transformation matrix that translates by the size of. In addition, parallel movement processing associated with rotational movement is also performed. As a result, the following transformation matrix is generated. That is, It is.

【0044】図7(b)は拡大処理を行う場合を示して
おり、ページサイズの幅wと高さhとは、図5と同様に
それぞれ「200」、「300」である。これに対し、
用紙サイズの幅Wは「300」、高さHは「500」で
ある。従って、ステップ205で求められる比A1の値
は、幅W/幅w=「300」/「200」であるから、
「3/2」となり、比A2の値は、高さH/高さh=
「500」/「300」であるから、「5/3」とな
る。また、ステップ209で求められる比B1の値は、
高さH/幅w=「500」/「200」であるから、
「5/2」となり、比B2の値は、幅W/高さh=「3
00」/「300」であるから、「1」となる。従っ
て、小さい方の比はそれぞれ、比A1、比B2となる。
そして、この比の大小を比較すると、比A1(=「3/
2」)>比B2(=「1」)であるので、回転処理は行
わずに、拡大縮小処理のみが行われる。
FIG. 7B shows the case where the enlargement processing is performed, and the width w and the height h of the page size are "200" and "300", respectively, as in FIG. In contrast,
The width W of the paper size is “300” and the height H is “500”. Therefore, the value of the ratio A1 obtained in step 205 is width W / width w = “300” / “200”,
It becomes "3/2", and the value of ratio A2 is height H / height h =
Since it is "500" / "300", it becomes "5/3". Also, the value of the ratio B1 obtained in step 209 is
Since the height H / width w = “500” / “200”,
It becomes "5/2", and the value of the ratio B2 is the width W / height h = "3".
Since it is "00" / "300", it becomes "1". Therefore, the smaller ratio is the ratio A1 and the ratio B2, respectively.
Then, comparing the magnitudes of this ratio, the ratio A1 (= “3 /
2 ”)> ratio B2 (=“ 1 ”), the rotation process is not performed and only the enlargement / reduction process is performed.

【0045】この場合、3/2に拡大する変換行列が生
成されるが、図7(a)と同様に、ページイメージの余
白を考慮した平行移動の処理を同時に行わせる。この平
行移動は、Y方向に(高さH−高さh’)/2、すなわ
ち「25」の大きさである。また、回転移動に伴う平行
移動の処理も行う。従って、最終的な変換行列は、次の
ようになる。すなわち、 となる。
In this case, a conversion matrix that expands to 3/2 is generated, but as in the case of FIG. 7A, the parallel movement processing in consideration of the margin of the page image is simultaneously performed. This translation is (height H−height h ′) / 2, that is, “25” in the Y direction. In addition, processing of parallel movement associated with rotational movement is also performed. Therefore, the final transformation matrix is as follows. That is, Becomes

【0046】次に図8は、処理の種類「拡大縮小回転処
理」の場合における変換行列の具体例を示す図である。
ここで、図8(a)はもとのページサイズに比べて用紙
サイズが小さい場合の例を示し、図8(b)はもとのペ
ージサイズに比べて用紙サイズが大きい場合の例を示し
ている。
Next, FIG. 8 is a diagram showing a specific example of the conversion matrix in the case of the processing type “enlargement / reduction rotation processing”.
Here, FIG. 8A shows an example when the paper size is smaller than the original page size, and FIG. 8B shows an example when the paper size is larger than the original page size. ing.

【0047】図8(a)において、ページサイズの幅w
と高さhとは、図5と同様にそれぞれ「200」、「3
00」である。これに対し、用紙サイズの幅Wは「20
0」、高さHは「100」である。従って、ステップ2
05で求められる比A1の値は、幅W/幅w=「20
0」/「200」であるから、「1」となり、比A2の
値は、高さH/高さh=「100」/「300」である
から、「1/3」となる。また、ステップ209で求め
られる比B1の値は、高さH/幅w=「100」/「2
00」であるから、「1/2」となり、比B2の値は、
幅W/高さh=「200」/「300」であるから、
「2/3」となる。従って、小さい方の比はそれぞれ、
比A2、比B1となる。そして、この比の大小を比較す
ると、比A2(=1/3)<比B1(=1/2)である
ので、90度の回転処理を行うとともに、拡大縮小処理
が行われる。
In FIG. 8A, the page size width w
And the height h are “200” and “3”, respectively, as in FIG.
00 ”. On the other hand, the width W of the paper size is “20
0 "and the height H are" 100 ". Therefore, step 2
The value of the ratio A1 obtained in 05 is width W / width w = “20
Since it is “0” / “200”, it becomes “1”, and the value of the ratio A2 becomes “1/3” because the height H / height h = “100” / “300”. The value of the ratio B1 obtained in step 209 is the height H / width w = “100” / “2”.
Since it is "00", it becomes "1/2", and the value of the ratio B2 is
Since width W / height h = “200” / “300”,
It becomes "2/3". Therefore, the smaller ratio is
The ratio becomes A2 and B1. When comparing the magnitudes of this ratio, the ratio is A2 (= 1/3) <B1 (= 1/2). Therefore, the rotation process of 90 degrees and the enlargement / reduction process are performed.

【0048】この場合、1/2に縮小される変換行列が
生成されるが、縮小後のページイメージの余白を等分す
るために、X方向に(幅W−幅w’)/2、すなわち
「25」の大きさの平行移動処理も行う。もちろん、9
0度の回転処理に伴う原点変更のための平行移動処理も
行う。この結果次のような変換行列が生成される。すな
わち、 である。
In this case, a conversion matrix reduced to 1/2 is generated, but in order to divide the margin of the reduced page image equally, (width W-width w ') / 2, that is, in the X direction. A parallel movement process with a size of "25" is also performed. Of course, 9
A parallel movement process for changing the origin associated with the 0 ° rotation process is also performed. As a result, the following transformation matrix is generated. That is, It is.

【0049】図8(b)は拡大処理を行う場合を示して
おり、ページサイズの幅wと高さhとは、図5と同様に
それぞれ「200」、「300」である。これに対し、
用紙サイズの幅Wは「500」、高さは「300」であ
る。従って、ステップ205で求められる比A1の値
は、幅W/幅w=「500」/「200」であるから、
「5/2」となり、比A2の値は、高さH/高さh=
「300」/「300」であるから、「1」となる。ま
た、ステップ209で求められる比B1の値は、高さH
/幅w=「300」/「200」であるから、「3/
2」となり、比B2の値は、幅W/高さh=「500」
/「300」であるから、「5/3」となる。従って、
小さい方の比はそれぞれ比A2、比B1となる。そし
て、この比の大小を比較すると、比A2(=1)<比B
1(=3/2)であるので、90度の回転処理を行うと
ともに、拡大縮小処理が行われる。
FIG. 8B shows the case where the enlargement process is performed, and the width w and the height h of the page size are "200" and "300", respectively, as in FIG. In contrast,
The width W of the paper size is “500” and the height is “300”. Therefore, the value of the ratio A1 obtained in step 205 is width W / width w = “500” / “200”,
It becomes “5/2”, and the value of the ratio A2 is height H / height h =
Since it is "300" / "300", it becomes "1". The value of the ratio B1 obtained in step 209 is the height H
/ Width w = “300” / “200”, so “3 /
2 ”, and the value of the ratio B2 is width W / height h =“ 500 ”
Since it is / “300”, it becomes “5/3”. Therefore,
The smaller ratios are ratio A2 and ratio B1, respectively. Then, comparing the magnitudes of this ratio, the ratio A2 (= 1) <the ratio B
Since it is 1 (= 3/2), the rotation processing of 90 degrees and the enlargement / reduction processing are performed.

【0050】この場合、3/2に拡大する変換行列が生
成されるが、拡大後のページイメージの余白を等分する
ために、X方向に(幅W−幅w’)/2、すなわち「2
5」の大きさの平行移動処理も行う。もちろん、90度
の回転処理に伴う原点変更のための平行移動処理も行
う。この結果次のような変換行列が生成される。すなわ
ち、 である。
In this case, a conversion matrix that expands to 3/2 is generated, but in order to divide the margin of the expanded page image into equal parts, (width W-width w ') / 2, that is, " Two
A parallel movement process of 5 "is also performed. Of course, the parallel movement process for changing the origin associated with the 90 ° rotation process is also performed. As a result, the following transformation matrix is generated. That is, It is.

【0051】このようにして生成された変換行列は、デ
コンポーザに送られて、デコンポーズ処理時に該変換行
列が用いられ、拡大縮小処理あるいは回転処理等が同時
に行われる展開処理が実行されることになる。この結
果、用紙サイズに一致するための拡大縮小処理あるいは
回転処理に伴う処理時間が短くなるとともに、常に用紙
サイズに合致したサイズの用紙が選択されてプリントア
ウトされることになる。
The conversion matrix thus generated is sent to the decomposer, and the conversion matrix is used at the time of the decompose processing, and the expansion processing for simultaneously performing the scaling processing or the rotation processing is executed. . As a result, the processing time associated with the enlargement / reduction processing or the rotation processing for matching the paper size is shortened, and the paper of the size matching the paper size is always selected and printed out.

【0052】もちろん、用紙サイズが矩形でなくてもよ
く、極端な場合、円形の用紙サイズである場合は、該円
形に変換する変換行列を生成するのみでよく、変換行列
を用いた場合の利点でもある。なお、円形の用紙サイズ
である場合に、該円形に内接する最大限の矩形領域を検
出し、該矩形領域内にページイメージをプリントアウト
するようにしてもよい。
Of course, the paper size does not have to be rectangular, and in the extreme case where the paper size is circular, it is only necessary to generate a conversion matrix for converting into a circle, and the advantage of using a conversion matrix But also. In the case of a circular paper size, the maximum rectangular area inscribed in the circle may be detected and the page image may be printed out in the rectangular area.

【0053】また、上述した発明の実施の形態では、必
ず変換行列を生成するようにしているが、プリントジョ
ブ内に変換行列の生成を行わない旨の指定情報を含め、
これにより変換行列を生成しないようにし、この指定情
報の有無により、上述したような適応的なプリントアウ
トと変換行列を用いない忠実なプリントアウトとを組み
合わせることが可能となる。
In the above-described embodiment of the present invention, the conversion matrix is always generated, but the print job includes the designation information indicating that the conversion matrix is not generated.
As a result, the conversion matrix is not generated, and it is possible to combine the adaptive printout and the faithful printout that does not use the conversion matrix, depending on the presence or absence of this designation information.

【0054】さらに、図5に示す「拡大縮小回転なし」
の場合にも変換行列を生成するようにしているが、この
場合にも変換行列を生成しないようにし、無駄な処理を
行わないようにしてもよい。
Further, "no scaling rotation" shown in FIG.
In this case, the conversion matrix is also generated, but in this case as well, the conversion matrix may not be generated and unnecessary processing may not be performed.

【0055】[0055]

【発明の効果】以上説明したように、本発明では、出力
要求サイズの画像情報を所定の出力用紙サイズの用紙に
ページ単位で出力する際、比較手段が前記画像情報の展
開処理前に前記出力要求サイズと前記出力用紙サイズと
の形状比較を行い、変換行列生成手段が、形状比較結果
に基づいて前記出力要求サイズの画像情報を前記出力用
紙サイズ内に収めるべく前記出力要求サイズの画像情報
に施される変換行列を生成し、この生成された変換行列
を用いて展開処理手段が前記出力要求サイズの画像情報
をビットマップデータに展開処理し、このビットマップ
データを前記出力用紙サイズの用紙にプリントアウトす
るようにしているので、常に、出力品質を低下させず、
かつ処理時間をかけずに、出力用紙サイズに一致したペ
ージイメージとして出力することができる利点を有す
る。
As described above, in the present invention, when the image information of the output request size is output page by page on the paper of the predetermined output paper size, the comparing means outputs the image information before the expansion processing of the image information. The shape comparison between the requested size and the output paper size is performed, and the conversion matrix generation means converts the image information of the output requested size into the image information of the output requested size so as to fit within the output paper size based on the shape comparison result. A conversion matrix to be applied is generated, and using the generated conversion matrix, expansion processing means expands the image information of the output request size into bitmap data, and this bitmap data is converted into paper of the output paper size. Since I am trying to print out, I do not always reduce the output quality,
Moreover, there is an advantage that a page image that matches the output paper size can be output without spending processing time.

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

【図1】本発明の実施の形態であるジョブ出力装置の構
成を示す図。
FIG. 1 is a diagram showing a configuration of a job output device according to an embodiment of the present invention.

【図2】ジョブ出力装置のページ出力処理手順を示すフ
ローチャート。
FIG. 2 is a flowchart showing a page output processing procedure of the job output device.

【図3】ステップ103における処理の種類の判断処理
の詳細処理手順を示すフローチャート。
FIG. 3 is a flowchart showing a detailed processing procedure of processing type determination processing in step 103.

【図4】ステップ104における変換行列の生成処理の
詳細処理手順を示すフローチャート。
FIG. 4 is a flowchart showing a detailed processing procedure of conversion matrix generation processing in step 104.

【図5】処理の種類「拡大縮小回転なし」の場合におけ
る変換行列の具体例を示す図。
FIG. 5 is a diagram showing a specific example of a conversion matrix when the processing type is “no scaling rotation”.

【図6】処理の種類「回転処理」の場合における変換行
列の具体例を示す図。
FIG. 6 is a diagram showing a specific example of a conversion matrix in the case of a processing type “rotation processing”.

【図7】処理の種類「拡大縮小処理」の場合における変
換行列の具体例を示す図。
FIG. 7 is a diagram showing a specific example of a conversion matrix in the case of the processing type “enlargement / reduction processing”.

【図8】処理の種類「拡大縮小回転処理」の場合におけ
る変換行列の具体例を示す図。
FIG. 8 is a diagram showing a specific example of a conversion matrix in the case of the processing type “enlargement / reduction rotation processing”.

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

1…ジョブ出力制御部 1a…判断部 1b…変換行列
生成部 2〜4…デコンポーザ 2a…インタプリタ 2b…イ
メージャ 5〜7…プリンタ制御部 8〜10…プリンタ J…プ
リントジョブ
DESCRIPTION OF SYMBOLS 1 ... Job output control section 1a ... Judgment section 1b ... Conversion matrix generation section 2-4 ... Decomposer 2a ... Interpreter 2b ... Imager 5-7 ... Printer control section 8-10 ... Printer J ... Print job

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 出力要求サイズの画像情報を所定の出力
用紙サイズの用紙にページ単位で出力するページ出力装
置において、 前記画像情報の展開処理前に前記出力要求サイズと前記
出力用紙サイズとの形状比較を行う比較手段と、 前記比較手段の比較結果をもとに、前記出力要求サイズ
の画像情報を前記出力用紙サイズ内に収めるべく前記出
力要求サイズの画像情報に施される変換行列を生成する
変換行列生成手段と、 前記変換行列を用いて前記出力要求サイズの画像情報を
ビットマップデータに展開処理する展開処理手段とを具
備したことを特徴とするページ出力装置。
1. A page output device for outputting image information of an output request size on a sheet of a predetermined output paper size in page units, wherein the output request size and the output paper size are shaped before the image information expansion processing. Based on a comparison result of the comparison means and the comparison result of the comparison means, a conversion matrix applied to the image information of the output request size is generated so that the image information of the output request size fits within the output paper size. A page output device comprising: a conversion matrix generation unit; and a development processing unit that develops image information of the output request size into bitmap data using the conversion matrix.
JP7241898A 1995-09-20 1995-09-20 Page output device Pending JPH0976597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7241898A JPH0976597A (en) 1995-09-20 1995-09-20 Page output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7241898A JPH0976597A (en) 1995-09-20 1995-09-20 Page output device

Publications (1)

Publication Number Publication Date
JPH0976597A true JPH0976597A (en) 1997-03-25

Family

ID=17081200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7241898A Pending JPH0976597A (en) 1995-09-20 1995-09-20 Page output device

Country Status (1)

Country Link
JP (1) JPH0976597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6778712B1 (en) 1999-12-20 2004-08-17 Fujitsu Limited Data sheet identification device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6778712B1 (en) 1999-12-20 2004-08-17 Fujitsu Limited Data sheet identification device

Similar Documents

Publication Publication Date Title
JP4618324B2 (en) Image processing apparatus and program
US8294914B2 (en) Image forming apparatus and method for changing number of lines in band buffer based on memory size to be required
US6247028B1 (en) Controlling attributes of pre-registered form data to match those of data to be printed with the form data
JPH11105349A (en) Print processing system, print processing method and computer readable recording medium recording print processing control program
JP4564986B2 (en) Image processing apparatus, image processing method, and image processing program
JP2007331390A (en) Image forming device and its control method
JPH0976597A (en) Page output device
JP4385628B2 (en) Image data processing apparatus and image forming apparatus
US8098385B2 (en) Spool file modifying device
JP4336470B2 (en) Drawing control apparatus, drawing control method and program
JP2002007102A (en) Printing controller and plotting controller and data processing method and storage medium
JPH0785024A (en) Image processor
JP2002063582A (en) Device and method for forming image
US6411398B1 (en) Computer interface unit for computer data print-out system using stencil printers
JP3204136B2 (en) Image processing apparatus and compression processing method
US7079285B2 (en) Efficient rasterizing sub-system for printers
JP4355131B2 (en) N-up printing control method in printing device
JP3480117B2 (en) Document printing apparatus and method
JP2009194458A (en) Image processing apparatus, and image processing method
JP3419450B2 (en) Pixel data processing apparatus and method
JP2004254187A (en) Information processor
JP2784823B2 (en) Image editing printing method of printer
JP2008173946A (en) Image processor, image processing method and image processing program
JP2000350019A (en) Method and device for controlling printing and recording medium
JP2006235932A (en) Image processing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040602

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040623

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040917