JP5477915B2 - Print data generation apparatus, print data generation method, and program - Google Patents

Print data generation apparatus, print data generation method, and program Download PDF

Info

Publication number
JP5477915B2
JP5477915B2 JP2011085658A JP2011085658A JP5477915B2 JP 5477915 B2 JP5477915 B2 JP 5477915B2 JP 2011085658 A JP2011085658 A JP 2011085658A JP 2011085658 A JP2011085658 A JP 2011085658A JP 5477915 B2 JP5477915 B2 JP 5477915B2
Authority
JP
Japan
Prior art keywords
data
drawing data
page
print data
file
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.)
Active
Application number
JP2011085658A
Other languages
Japanese (ja)
Other versions
JP2012221173A (en
Inventor
彩乃 大前
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC System Technologies Ltd
Original Assignee
NEC System Technologies 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 NEC System Technologies Ltd filed Critical NEC System Technologies Ltd
Priority to JP2011085658A priority Critical patent/JP5477915B2/en
Publication of JP2012221173A publication Critical patent/JP2012221173A/en
Application granted granted Critical
Publication of JP5477915B2 publication Critical patent/JP5477915B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

本発明は、コンピュータ支援設計ソフトウェアによって作成された図面データから印刷データを生成する、印刷データ生成装置、印刷データ生成方法、及びプログラムに関する。   The present invention relates to a print data generation apparatus, a print data generation method, and a program for generating print data from drawing data created by computer-aided design software.

一般に、コンピュータ支援設計ソフトウェア(以下、「CAD(Computer Aided Design)ソフト」と表記する。)によって作成された図面データ(以下、「CADデータ」と表記する。)を紙等の媒体に出力する場合、CADデータに対してラスタ変換を行なって、印刷データを生成する必要がある(例えば、特許文献1参照。)。ラスタ変換とは、コンピュータが扱う文字データ、画像データ等を、プリンタまたはディスプレイが認識できるデータに変換することを意味する。   Generally, when drawing data (hereinafter referred to as “CAD data”) created by computer-aided design software (hereinafter referred to as “CAD (Computer Aided Design) software”) is output to a medium such as paper. Therefore, it is necessary to perform raster conversion on CAD data to generate print data (see, for example, Patent Document 1). Raster conversion means converting character data, image data, and the like handled by a computer into data that can be recognized by a printer or a display.

具体的には、CADデータからの印刷データの生成では、先ず、CADデータに含まれる各種コマンド(例えば、直線を引くというコマンド、始点の座標を指定するコマンド、終点の座標を指定するコマンドなど)の解析が行なわれる。そして、解析結果に基づいてラスタ変換が行なわれ、印刷データが生成される。   Specifically, in generating print data from CAD data, first, various commands included in the CAD data (for example, a command for drawing a straight line, a command for specifying the coordinates of the start point, a command for specifying the coordinates of the end point, etc.) Analysis is performed. Then, raster conversion is performed based on the analysis result, and print data is generated.

特開2003−131847号公報JP 2003-131847 A

ところで、CADデータでは、1つのファイル(以下「CADファイル」という。)に、用紙サイズが異なる複数のページが含まれることがある。このような場合、従来からのラスタ変換用のプログラムは、各ページの用紙サイズが、A0、A1といった規格サイズであれば、自動的に、用紙サイズに合わせて印刷データを作成する。   Incidentally, in CAD data, a single file (hereinafter referred to as “CAD file”) may include a plurality of pages having different paper sizes. In such a case, a conventional raster conversion program automatically creates print data in accordance with the paper size if the paper size of each page is a standard size such as A0 or A1.

しかしながら、用紙サイズが規格外である場合は、操作者が、手動で印刷サイズを設定する必要がある。また、この場合に手動によって設定できる印刷サイズの数は、複数のページを含むファイル全体に対して、一種類だけであるため、ページによっては、対応する用紙サイズと異なる用紙サイズで印刷データが作成されてしまう。   However, when the paper size is out of the standard, the operator needs to manually set the print size. In this case, the number of print sizes that can be manually set is only one for the entire file including multiple pages, so depending on the page, print data is created with a paper size different from the corresponding paper size. Will be.

このため、ラスタ変換においては、用紙サイズが規格外に設定されているページが含まれていても、ページ毎に最適なサイズで印刷データを自動的に作成できることが求められている。   For this reason, in raster conversion, it is required that print data can be automatically created with an optimum size for each page even if a page whose paper size is set outside the standard is included.

本発明の目的の一例は、上記問題を解消し、用紙サイズが規格外のページを含むCADファイルを対象として、各ページの用紙サイズが適切な印刷データを生成し得る、印刷データ生成装置、印刷データ生成方法、及びプログラムを提供することにある。   An example of an object of the present invention is to solve the above-described problem and to generate a print data in which a paper size of each page is appropriate for a CAD file including pages whose paper sizes are out of standards. To provide a data generation method and a program.

上記目的を達成するため、本発明の一側面における印刷データ生成装置は、コンピュータ支援設計ソフトウェアによって作成された図面データから印刷データを生成する印刷データ生成装置であって、
前記図面データから、図面データに含まれるページ毎に、当該ページの図面サイズを特定するファイルを作成する、ファイル作成部と、
前記図面データをページ毎に分割し、分割によって得られた各ページの図面データそれぞれを対象として、対応する前記ファイルに基づいて、ラスタ変換を実行する、ラスタ変換部と、
前記ラスタ変換部によってラスタ変換された前記各ページの図面データを統合して、一つの印刷データとする、データ統合部と、
を備えていることを特徴とする。
In order to achieve the above object, a print data generation apparatus according to an aspect of the present invention is a print data generation apparatus that generates print data from drawing data created by computer-aided design software,
From the drawing data, for each page included in the drawing data, a file creation unit that creates a file specifying the drawing size of the page; and
Dividing the drawing data into pages, and performing raster conversion based on the corresponding file for each drawing data of each page obtained by the division; and
A data integration unit that integrates drawing data of each page raster-converted by the raster conversion unit into one print data;
It is characterized by having.

また、上記目的を達成するため、本発明の一側面における印刷データ生成方法は、コンピュータ支援設計ソフトウェアによって作成された図面データから印刷データを生成するための方法であって、
(a)前記図面データから、図面データに含まれるページ毎に、当該ページの図面サイズを特定するファイルを作成する、ステップと、
(b)前記図面データをページ毎に分割し、分割によって得られた各ページの図面データそれぞれを対象として、対応する前記ファイルに基づいて、ラスタ変換を実行する、ステップと、
(c)前記(b)のステップでラスタ変換された前記各ページの図面データを統合して、一つの印刷データとする、ステップと、
を有することを特徴とする。
In order to achieve the above object, a print data generation method according to one aspect of the present invention is a method for generating print data from drawing data created by computer-aided design software,
(A) For each page included in the drawing data, creating a file specifying the drawing size of the page from the drawing data;
(B) dividing the drawing data into pages, and performing raster conversion on each drawing data of each page obtained by the division based on the corresponding file;
(C) integrating the drawing data of each page raster-converted in the step (b) into one print data;
It is characterized by having.

更に、上記目的を達成するため、本発明の一側面におけるプログラムは、コンピュータによって、コンピュータ支援設計ソフトウェアによって作成された図面データから印刷データを生成するためのプログラムであって、
前記コンピュータに、
(a)前記図面データから、図面データに含まれるページ毎に、当該ページの図面サイズを特定するファイルを作成する、ステップと、
(b)前記図面データをページ毎に分割し、分割によって得られた各ページの図面データそれぞれを対象として、対応する前記ファイルに基づいて、ラスタ変換を実行する、ステップと、
(c)前記(b)のステップでラスタ変換された前記各ページの図面データを統合して、一つの印刷データとする、ステップと、
を実行させることを特徴とする。
In order to achieve the above object, a program according to one aspect of the present invention is a program for generating print data from drawing data created by computer-aided design software by a computer,
In the computer,
(A) For each page included in the drawing data, creating a file specifying the drawing size of the page from the drawing data;
(B) dividing the drawing data into pages, and performing raster conversion on each drawing data of each page obtained by the division based on the corresponding file;
(C) integrating the drawing data of each page raster-converted in the step (b) into one print data;
Is executed.

以上のように、本発明における、印刷データ生成装置、印刷データ生成方法、及びプログラムによれば、用紙サイズが規格外のページを含むCADファイルを対象として、各ページの用紙サイズが適切な印刷データを生成することができる。   As described above, according to the print data generation device, the print data generation method, and the program of the present invention, print data with an appropriate paper size for each page is targeted for a CAD file including pages whose paper size is not specified. Can be generated.

図1は、本発明の実施の形態における印刷データ生成装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a print data generation apparatus according to an embodiment of the present invention. 図2は、本発明の実施の形態において印刷対象となる図面の一例を示す図である。FIG. 2 is a diagram showing an example of a drawing to be printed in the embodiment of the present invention. 図3は、本発明の実施の形態において使用される変換指示ファイルの一例を示す図である。FIG. 3 is a diagram showing an example of the conversion instruction file used in the embodiment of the present invention. 図4は、本発明の実施の形態における印刷データ生成装置の動作を示すフロー図である。FIG. 4 is a flowchart showing the operation of the print data generation apparatus according to the embodiment of the present invention. 図5は、本発明の実施の形態における印刷データ生成装置を実現するコンピュータの一例を示すブロック図である。FIG. 5 is a block diagram illustrating an example of a computer that implements the print data generation apparatus according to the embodiment of the present invention.

(実施の形態)
以下、本発明の実施の形態における、印刷データ生成装置、印刷データ生成方法、及びプログラムについて、図1〜図4を参照しながら説明する。
(Embodiment)
Hereinafter, a print data generation device, a print data generation method, and a program according to an embodiment of the present invention will be described with reference to FIGS.

[装置構成]
最初に、図1〜図3を用いて本実施の形態における印刷データ生成装置10の構成について説明する。図1は、本発明の実施の形態における印刷データ生成装置の構成を示すブロック図である。図2は、本発明の実施の形態において印刷対象となる図面の一例を示す図である。
[Device configuration]
First, the configuration of the print data generation apparatus 10 according to the present embodiment will be described with reference to FIGS. FIG. 1 is a block diagram showing a configuration of a print data generation apparatus according to an embodiment of the present invention. FIG. 2 is a diagram showing an example of a drawing to be printed in the embodiment of the present invention.

図1に示す、本実施の形態における印刷データ生成装置10は、コンピュータ支援設計ソフトウェア(CADソフト)によって作成された図面データ(CADデータ)から印刷データを生成する装置である。また、本実施の形態では、印刷データ生成装置10は、後述するプログラムによってコンピュータ110の内部に構築されている。   A print data generation apparatus 10 according to the present embodiment shown in FIG. 1 is an apparatus that generates print data from drawing data (CAD data) created by computer-aided design software (CAD software). In the present embodiment, the print data generation apparatus 10 is built inside the computer 110 by a program to be described later.

図1に示すように、印刷データ生成装置10は、ファイル作成部12と、ラスタ変換部13と、データ統合部16とを備えている。このうち、ファイル作成部12は、CADデータから、CADデータに含まれるページ毎に、各ページの図面サイズを特定するファイルを作成する。   As illustrated in FIG. 1, the print data generation apparatus 10 includes a file creation unit 12, a raster conversion unit 13, and a data integration unit 16. Among these, the file creation unit 12 creates a file specifying the drawing size of each page for each page included in the CAD data from the CAD data.

また、ラスタ変換部13は、CADデータをページ毎に分割し、分割によって得られた各ページの図面データそれぞれを対象として、対応するファイルに基づいて、ラスタ変換を実行する。そして、データ統合部16は、ラスタ変換部13によってラスタ変換された各ページの図面データを統合して、一つの印刷データとし、これを外部(例えば、プロッタ50)へと出力する。   The raster conversion unit 13 divides the CAD data for each page, and executes raster conversion based on the corresponding file for each drawing data of each page obtained by the division. Then, the data integration unit 16 integrates the drawing data of each page raster-converted by the raster conversion unit 13 into one print data, and outputs it to the outside (for example, the plotter 50).

このように、本実施の形態では、複数のページを含むCADデータに対して、ページ毎に、各ページに描画される図面のサイズを特定するファイルが作成される。そして、ラスタ変換は、ページ毎に、このファイルを参照して行なわれる。   As described above, in the present embodiment, for CAD data including a plurality of pages, a file for specifying the size of the drawing drawn on each page is created for each page. The raster conversion is performed for each page by referring to this file.

このため、図2に示すように、CADデータが、サイズが異なる複数のページを含み、更に、全部又は一部のページのサイズが規格外であっても、各ページの用紙サイズが適切な印刷データが生成される。なお、図2の例では、ページ1の図面サイズはA1であるが、ページ2及びページ3の図面サイズは規格外の長尺サイズとなっている。   For this reason, as shown in FIG. 2, the CAD data includes a plurality of pages having different sizes, and even when all or some of the pages are out of the standard, the paper size of each page is appropriately printed. Data is generated. In the example of FIG. 2, the drawing size of page 1 is A1, but the drawing sizes of page 2 and page 3 are non-standard long sizes.

ここで、図1に加えて図3を用いて、本実施の形態における印刷データ生成装置10の構成を更に具体的に説明する。本実施の形態では、図1に示すように、印刷データ生成装置10は、コンピュータ110にインストールされているビュワーソフト40から、操作者が指定したCADデータについて印刷データの生成の指示を受け、これに応じて、印刷データの生成処理を実行する。   Here, FIG. 3 in addition to FIG. 1 will be used to more specifically describe the configuration of the print data generation apparatus 10 in the present embodiment. In this embodiment, as shown in FIG. 1, the print data generation apparatus 10 receives an instruction to generate print data for CAD data designated by the operator from the viewer software 40 installed in the computer 110. In response to this, print data generation processing is executed.

具体的には、ビュワーソフト40は、CADデータの閲覧を行なうためのソフトであり、操作者が指定したCADデータにアクセスし、そこに描画されている図面を表示装置(図1において図示せず)の画面に表示する。そして、操作者が、ビュワーソフト40上で、印刷を希望するCADデータを指定すると、ビュワーソフト40は、印刷データ生成装置10に対して、指定されたCADデータに対する印刷データの生成を指示する。   Specifically, the viewer software 40 is software for browsing CAD data, accesses CAD data designated by the operator, and displays a drawing drawn therein on a display device (not shown in FIG. 1). ) Screen. When the operator designates CAD data desired to be printed on the viewer software 40, the viewer software 40 instructs the print data generation apparatus 10 to generate print data for the designated CAD data.

なお、図1の例では、印刷データの生成の指示は、ビュワーソフト40が出力しているが、本実施の形態は、この例に限定されるものではない。例えば、CADソフトが、印刷データの生成の指示を出力する態様であっても良い。   In the example of FIG. 1, the print software generation instruction is output by the viewer software 40, but the present embodiment is not limited to this example. For example, the CAD software may output a print data generation instruction.

また、本実施の形態では、CADデータの具体例としては、2次元または3次元のベクトルデータによって構成されているデータ、例えば、DXFデータが挙げられる。更に、各CADデータは、CADデータ記憶部20に格納されている。CADデータ記憶部20は、コンピュータ110の記憶装置(図1において図示せず)の記憶領域に構築されている。   In the present embodiment, as a specific example of the CAD data, data composed of two-dimensional or three-dimensional vector data, for example, DXF data can be given. Further, each CAD data is stored in the CAD data storage unit 20. The CAD data storage unit 20 is constructed in a storage area of a storage device (not shown in FIG. 1) of the computer 110.

更に、本実施の形態では、印刷データ生成装置10は、情報取得部11を備えている。情報取得部11は、ビュワーソフト40から印刷データの生成の指示を受けると、対象となっているCADデータの各ページについて、図面サイズを取得する。具体的には、情報取得部11は、ビュワーソフト40が使用するActiveXコントロールを利用して、各ページに予め設定されているサイズ、即ち、余白と図枠とを含む縦横サイズを取得する。そして、情報取得部11は、取得した図面サイズをサイズ情報としてファイル作成部12に入力する。   Furthermore, in the present embodiment, the print data generation apparatus 10 includes an information acquisition unit 11. When receiving the print data generation instruction from the viewer software 40, the information acquisition unit 11 acquires a drawing size for each page of the target CAD data. Specifically, the information acquisition unit 11 uses the ActiveX control used by the viewer software 40 to acquire a size set in advance for each page, that is, a vertical and horizontal size including a margin and a picture frame. Then, the information acquisition unit 11 inputs the acquired drawing size as size information to the file creation unit 12.

ファイル作成部12は、本実施の形態では、CADデータに含まれるページ毎に、ラスタ変換を指示する変換指示ファイルを作成し、この変換指示ファイルに、サイズ情報(図面サイズ)を登録する。ここで、図3を用いて、変換指示ファイルの具体例を説明する。   In this embodiment, the file creation unit 12 creates a conversion instruction file for instructing raster conversion for each page included in the CAD data, and registers size information (drawing size) in the conversion instruction file. Here, a specific example of the conversion instruction file will be described with reference to FIG.

図3は、本発明の実施の形態において使用される変換指示ファイルの一例を示す図である。図3に示すように、変換指示ファイルには、ラスタ変換のオペレーション、変換のための情報(線の太さ、色等)などが登録されている。また、図3において四角で囲まれた部分に、図面サイズが登録されている。本実施の形態においては、この図面サイズが登録された変換指示ファイルが、「図面サイズを特定するファイル」となる。   FIG. 3 is a diagram showing an example of the conversion instruction file used in the embodiment of the present invention. As shown in FIG. 3, raster conversion operations, information for conversion (line thickness, color, etc.), etc. are registered in the conversion instruction file. Also, the drawing size is registered in the portion surrounded by the square in FIG. In the present embodiment, the conversion instruction file in which the drawing size is registered is a “file for specifying the drawing size”.

また、本実施の形態では、ファイル作成部12は、作成した変換指示ファイルを、ファイル記憶部30に格納させる。ファイル記憶部30も、上述したCADデータ記憶部20と同様に、コンピュータ110の記憶装置(図1において図示せず)の記憶領域に構築されている。   In the present embodiment, the file creation unit 12 stores the created conversion instruction file in the file storage unit 30. Similarly to the CAD data storage unit 20 described above, the file storage unit 30 is also constructed in a storage area of a storage device (not shown in FIG. 1) of the computer 110.

ラスタ変換部13は、本実施の形態では、分割部14と、変換部15とを備えている。分割部14は、CADデータ記憶部20から、ラスタ変換の対象となるCADデータを取得し、これをページ毎に分割し、分割によって得られた各データ(以下「分割データ」と表記する)を変換部15に入力する。   The raster converting unit 13 includes a dividing unit 14 and a converting unit 15 in the present embodiment. The dividing unit 14 acquires CAD data to be subjected to raster conversion from the CAD data storage unit 20, divides this data for each page, and obtains each data obtained by the division (hereinafter referred to as “divided data”). The data is input to the conversion unit 15.

変換部15は、ファイル記憶部30にアクセスし、各分割データに対応する変換指示ファイルを取得する。そして、変換部15は、各分割データを、対応する変換指示ファイルに基づいて、ラスタ変換する。そして、変換部15は、ラスタ変換後の各分割データをデータ統合部16に入力する。   The conversion unit 15 accesses the file storage unit 30 and acquires a conversion instruction file corresponding to each divided data. Then, the conversion unit 15 raster-converts each divided data based on the corresponding conversion instruction file. Then, the conversion unit 15 inputs each divided data after the raster conversion to the data integration unit 16.

データ統合部16は、上述したように、ラスタ変換後の各分割データを統合する。そして、データ統合部16は、得られた一つのデータ、即ち、印刷データを、コンピュータ110に接続されたプロッタ50へと出力する。   As described above, the data integration unit 16 integrates the divided data after raster conversion. Then, the data integration unit 16 outputs the obtained data, that is, print data, to the plotter 50 connected to the computer 110.

[装置動作]
次に、本発明の実施の形態における印刷データ生成装置10の動作について図4を用いて説明する。図4は、本発明の実施の形態における印刷データ生成装置の動作を示すフロー図である。また、本実施の形態では、印刷データ生成装置10を動作させることによって、印刷データ生成方法が実施される。よって、本実施の形態における印刷データ生成方法の説明は、以下の印刷データ生成装置10の動作説明に代える。
[Device operation]
Next, the operation of the print data generation apparatus 10 according to the embodiment of the present invention will be described with reference to FIG. FIG. 4 is a flowchart showing the operation of the print data generation apparatus according to the embodiment of the present invention. In the present embodiment, the print data generation method is performed by operating the print data generation apparatus 10. Therefore, the description of the print data generation method in the present embodiment is replaced with the following description of the operation of the print data generation apparatus 10.

図4に示すように、まず、ビュワーソフト40が提供する操作画面上で、操作者が、印刷対象とするCADデータを指定し、印刷を指示する。これにより、情報取得部11は、ビュワーソフト40から、印刷データの生成の指示を受け付け(ステップA1)、続いて、指定されたCADデータの各ページにおけるサイズ情報を取得する(ステップA2)。また、情報取得部11は、取得したサイズ情報をファイル作成部12に入力する。   As shown in FIG. 4, first, on the operation screen provided by the viewer software 40, the operator designates CAD data to be printed and instructs printing. Thereby, the information acquisition unit 11 receives an instruction to generate print data from the viewer software 40 (step A1), and subsequently acquires size information on each page of the designated CAD data (step A2). Further, the information acquisition unit 11 inputs the acquired size information to the file creation unit 12.

次に、ファイル作成部12は、CADデータに含まれるページ毎に、ラスタ変換を指示する変換指示ファイルを作成する(ステップA3)。また、ステップA3では、ファイル作成部12は、作成した変換指示ファイルに、ステップA2で入力されたサイズ情報を登録し(図3参照)、その後、変換指示ファイルをファイル記憶部30に格納する。   Next, the file creation unit 12 creates a conversion instruction file for instructing raster conversion for each page included in the CAD data (step A3). In step A3, the file creation unit 12 registers the size information input in step A2 in the created conversion instruction file (see FIG. 3), and then stores the conversion instruction file in the file storage unit 30.

次に、ラスタ変換部13において、分割部14は、CADデータ記憶部20にアクセスして、指定されたCADデータを取得し、これをページ毎に分割する(ステップA4)。また、分割部14は、分割によって得られた各分割データを変換部15に入力する。   Next, in the raster conversion unit 13, the dividing unit 14 accesses the CAD data storage unit 20, acquires the designated CAD data, and divides it for each page (step A4). The dividing unit 14 inputs each piece of divided data obtained by the division to the converting unit 15.

次に、変換部15は、ファイル記憶部30にアクセスし、各分割データに対応する変換指示ファイルを取得し、そして、各分割データを、対応する変換指示ファイルに基づいて、ラスタ変換する(ステップA5)。また、ステップA5では、変換部15は、ラスタ変換後の各分割データをデータ統合部16に入力する。   Next, the conversion unit 15 accesses the file storage unit 30, obtains a conversion instruction file corresponding to each divided data, and raster-converts each divided data based on the corresponding conversion instruction file (step) A5). In step A5, the conversion unit 15 inputs the divided data after raster conversion to the data integration unit 16.

その後、データ統合部16は、ラスタ変換後の各分割データを統合し(ステップA6)、統合後の印刷データを、コンピュータ110に接続されたプロッタ50へと出力する(ステップA7)。   Thereafter, the data integration unit 16 integrates the divided data after raster conversion (step A6), and outputs the integrated print data to the plotter 50 connected to the computer 110 (step A7).

ところで、規格サイズの図面のみを対象とするのであれば、A0、A1といった各規格のサイズを特定するファイルを予め作成し、変換部15が、ラスタ変換時に、このファイルを参照するようにすれば、用紙サイズが適切な印刷データを簡単に作成できる。しかし、規格外のサイズについては、予め、サイズを特定するファイルを作成することは困難であることから、上述の手法は、規格外のサイズの図面には適用できない。   By the way, if only a standard size drawing is targeted, a file for specifying the size of each standard such as A0 and A1 is created in advance, and the conversion unit 15 refers to this file during raster conversion. Print data with an appropriate paper size can be easily created. However, for non-standard sizes, it is difficult to create a file for specifying the size in advance, so the above-described method cannot be applied to non-standard size drawings.

これに対して、本実施の形態では、ページ毎に、そのサイズを特定するファイルが作成され、ページ毎に、このファイルを用いてラスタ変換が行なわれる。このため、CADデータに、図面サイズが規格外となるページが含まれていても(図2参照)、用紙サイズが適切な印刷データが生成される。   On the other hand, in the present embodiment, a file for specifying the size is created for each page, and raster conversion is performed using this file for each page. For this reason, even if the CAD data includes a page whose drawing size is out of the standard (see FIG. 2), print data having an appropriate paper size is generated.

本実施の形態におけるプログラムは、コンピュータ110に、図4に示すステップA1〜A7を実行させるプログラムであれば良い。このプログラムをコンピュータ110にインストールし、実行することによって、本実施の形態における印刷データ生成装置10と印刷データ生成方法とを実現することができる。この場合、コンピュータのCPU(Central Processing Unit)は、情報取得部11、ファイル作成部12、ラスタ変換部13、及びデータ統合部16として機能し、処理を行なう。また、本実施の形態では、コンピュータ110に備えられたハードディスク等の記憶装置が、CADデータ記憶部20及びファイル記憶部30として機能する。   The program in the present embodiment may be a program that causes the computer 110 to execute steps A1 to A7 shown in FIG. By installing and executing this program on the computer 110, the print data generation apparatus 10 and the print data generation method in the present embodiment can be realized. In this case, a CPU (Central Processing Unit) of the computer functions as an information acquisition unit 11, a file creation unit 12, a raster conversion unit 13, and a data integration unit 16, and performs processing. In the present embodiment, a storage device such as a hard disk provided in the computer 110 functions as the CAD data storage unit 20 and the file storage unit 30.

ここで、実施の形態におけるプログラムを実行することによって、印刷データ生成装置10を実現するコンピュータ110について図5を用いて説明する。図5は、本発明の実施の形態における印刷データ生成装置を実現するコンピュータの一例を示すブロック図である。   Here, a computer 110 that realizes the print data generation apparatus 10 by executing the program according to the embodiment will be described with reference to FIG. FIG. 5 is a block diagram illustrating an example of a computer that implements the print data generation apparatus according to the embodiment of the present invention.

図5に示すように、コンピュータ110は、CPU111と、メインメモリ112と、記憶装置113と、入力インターフェイス114と、表示コントローラ115と、データリーダ/ライタ116と、通信インターフェイス117とを備える。これらの各部は、バス121を介して、互いにデータ通信可能に接続される。   As shown in FIG. 5, the computer 110 includes a CPU 111, a main memory 112, a storage device 113, an input interface 114, a display controller 115, a data reader / writer 116, and a communication interface 117. These units are connected to each other via a bus 121 so that data communication is possible.

CPU111は、記憶装置113に格納された、本実施の形態におけるプログラム(コード)をメインメモリ112に展開し、これらを所定順序で実行することにより、各種の演算を実施する。メインメモリ112は、典型的には、DRAM(Dynamic Random Access Memory)等の揮発性の記憶装置である。また、本実施の形態におけるプログラムは、コンピュータ読み取り可能な記録媒体120に格納された状態で提供される。なお、本実施の形態におけるプログラムは、通信インターフェイス117を介して接続されたインターネット上で流通するものであっても良い。   The CPU 111 performs various calculations by developing the program (code) in the present embodiment stored in the storage device 113 in the main memory 112 and executing them in a predetermined order. The main memory 112 is typically a volatile storage device such as a DRAM (Dynamic Random Access Memory). Further, the program in the present embodiment is provided in a state of being stored in a computer-readable recording medium 120. Note that the program in the present embodiment may be distributed on the Internet connected via the communication interface 117.

また、記憶装置113の具体例としては、ハードディスクの他、フラッシュメモリ等の半導体記憶装置が挙げられる。入力インターフェイス114は、CPU111と、キーボード及びマウスといった入力機器118との間のデータ伝送を仲介する。表示コントローラ115は、ディスプレイ装置119と接続され、ディスプレイ装置119での表示を制御する。データリーダ/ライタ116は、CPU111と記録媒体120との間のデータ伝送を仲介し、記録媒体120からのプログラムの読み出し、及びコンピュータ110における処理結果の記録媒体120への書き込みを実行する。通信インターフェイス117は、CPU111と、他のコンピュータとの間のデータ伝送を仲介する。   Specific examples of the storage device 113 include a hard disk and a semiconductor storage device such as a flash memory. The input interface 114 mediates data transmission between the CPU 111 and an input device 118 such as a keyboard and a mouse. The display controller 115 is connected to the display device 119 and controls display on the display device 119. The data reader / writer 116 mediates data transmission between the CPU 111 and the recording medium 120, and reads a program from the recording medium 120 and writes a processing result in the computer 110 to the recording medium 120. The communication interface 117 mediates data transmission between the CPU 111 and another computer.

また、記録媒体120の具体例としては、CF(Compact Flash)及びSD(Secure Digital)等の汎用的な半導体記憶デバイス、フレキシブルディスク(Flexible Disk)等の磁気記憶媒体、又はCD−ROM(Compact Disk Read Only Memory)などの光学記憶媒体が挙げられる。   Specific examples of the recording medium 120 include general-purpose semiconductor storage devices such as CF (Compact Flash) and SD (Secure Digital), magnetic storage media such as a flexible disk, or CD-ROM (Compact Disk). Optical storage media such as Read Only Memory).

以上のように、本発明によれば、用紙サイズが規格外のページを含むCADファイルを対象として、各ページの用紙サイズが適切な印刷データを生成することができる。本発明は、CADソフト、CADデータの閲覧用のビュワーソフトに適用でき、特に、規格外の長尺の図面の作成が求められる分野に有用である。   As described above, according to the present invention, print data having an appropriate paper size for each page can be generated for a CAD file including pages whose paper size is not specified. The present invention can be applied to CAD software and viewer software for browsing CAD data, and is particularly useful in the field where creation of a non-standard long drawing is required.

10 印刷データ生成装置
11 情報取得部
12 ファイル作成部
13 ラスタ変換部
14 分割部
15 変換部
20 CADデータ記憶部
30 ファイル記憶部
40 ビュワーソフト
50 プロッタ
110 コンピュータ
111 CPU
112 メインメモリ
113 記憶装置
114 入力インターフェイス
115 表示コントローラ
116 データリーダ/ライタ
117 通信インターフェイス
118 入力機器
119 ディスプレイ装置
120 記録媒体
121 バス
DESCRIPTION OF SYMBOLS 10 Print data generation apparatus 11 Information acquisition part 12 File preparation part 13 Raster conversion part 14 Dividing part 15 Conversion part 20 CAD data storage part 30 File storage part 40 Viewer software 50 Plotter 110 Computer 111 CPU
112 Main Memory 113 Storage Device 114 Input Interface 115 Display Controller 116 Data Reader / Writer 117 Communication Interface 118 Input Device 119 Display Device 120 Recording Medium 121 Bus

Claims (9)

コンピュータ支援設計ソフトウェアによって作成された図面データを、前記図面データの閲覧用のソフトウェアによって閲覧している場合において、前記図面データの印刷データを生成する印刷データ生成装置であって、
前記図面データが、規格外のサイズが予め設定されたページを含む場合に、前記図面データから、図面データに含まれるページ毎に、当該ページの図面サイズを特定するファイルを作成する、ファイル作成部と、
前記図面データをページ毎に分割し、分割によって得られた各ページの図面データそれぞれを対象として、対応する前記ファイルに基づいて、ラスタ変換を実行する、ラスタ変換部と、
前記ラスタ変換部によってラスタ変換された前記各ページの図面データを統合して、一つの印刷データとする、データ統合部と、
を備えていることを特徴とする印刷データ生成装置。
When the drawing data created by the computer-aided design software is being browsed by the drawing data viewing software, the print data generating device generates print data of the drawing data ,
When the drawing data includes a page in which a non-standard size is set in advance , a file creation unit that creates a file specifying the drawing size of the page for each page included in the drawing data from the drawing data When,
Dividing the drawing data into pages, and performing raster conversion based on the corresponding file for each drawing data of each page obtained by the division; and
A data integration unit that integrates drawing data of each page raster-converted by the raster conversion unit into one print data;
A print data generation apparatus comprising:
前記ファイル作成部が、前記図面データに含まれる各ページに予め設定されているサイズを前記図面サイズとして、前記ファイルを作成する、
請求項1に記載の印刷データ生成装置。
The file creation unit creates the file with the size set in advance for each page included in the drawing data as the drawing size;
The print data generation apparatus according to claim 1.
前記図面データが、2次元または3次元のベクトルデータによって構成されている、請求項1または2に記載の印刷データ生成装置。   The print data generation apparatus according to claim 1, wherein the drawing data is configured by two-dimensional or three-dimensional vector data. コンピュータ支援設計ソフトウェアによって作成された図面データを、前記図面データの閲覧用のソフトウェアによって閲覧している場合において、前記図面データの印刷データを生成するための方法であって、
(a)前記図面データが、規格外のサイズが予め設定されたページを含む場合に、前記図面データから、図面データに含まれるページ毎に、当該ページの図面サイズを特定するファイルを作成する、ステップと、
(b)前記図面データをページ毎に分割し、分割によって得られた各ページの図面データそれぞれを対象として、対応する前記ファイルに基づいて、ラスタ変換を実行する、ステップと、
(c)前記(b)のステップでラスタ変換された前記各ページの図面データを統合して、一つの印刷データとする、ステップと、
を有することを特徴とする印刷データ生成方法。
A method for generating print data of the drawing data when the drawing data created by the computer-aided design software is being browsed by the software for browsing the drawing data ,
(A) When the drawing data includes a page in which a non-standard size is set in advance, a file specifying the drawing size of the page is created for each page included in the drawing data from the drawing data. Steps,
(B) dividing the drawing data into pages, and performing raster conversion on each drawing data of each page obtained by the division based on the corresponding file;
(C) integrating the drawing data of each page raster-converted in the step (b) into one print data;
A print data generation method characterized by comprising:
前記(a)のステップで、前記図面データに含まれる各ページに予め設定されているサイズを前記図面サイズとして、前記ファイルを作成する、
請求項4に記載の印刷データ生成方法。
In the step (a), the file is created with the size set in advance for each page included in the drawing data as the drawing size.
The print data generation method according to claim 4.
前記図面データが、2次元または3次元のベクトルデータによって構成されている、請求項4または5に記載の印刷データ生成方法。   The print data generation method according to claim 4 or 5, wherein the drawing data is constituted by two-dimensional or three-dimensional vector data. コンピュータによって、コンピュータ支援設計ソフトウェアによって作成された図面データを、前記図面データの閲覧用のソフトウェアによって閲覧している場合において、前記図面データの印刷データを生成するためのプログラムであって、
前記コンピュータに、
(a)前記図面データが、規格外のサイズが予め設定されたページを含む場合に、前記図面データから、図面データに含まれるページ毎に、当該ページの図面サイズを特定するファイルを作成する、ステップと、
(b)前記図面データをページ毎に分割し、分割によって得られた各ページの図面データそれぞれを対象として、対応する前記ファイルに基づいて、ラスタ変換を実行する、ステップと、
(c)前記(b)のステップでラスタ変換された前記各ページの図面データを統合して、一つの印刷データとする、ステップと、
を実行させるプログラム。
A program for generating print data of the drawing data when the drawing data created by the computer-aided design software is being browsed by the computer using the software for browsing the drawing data ,
In the computer,
(A) When the drawing data includes a page in which a non-standard size is set in advance, a file specifying the drawing size of the page is created for each page included in the drawing data from the drawing data. Steps,
(B) dividing the drawing data into pages, and performing raster conversion on each drawing data of each page obtained by the division based on the corresponding file;
(C) integrating the drawing data of each page raster-converted in the step (b) into one print data;
A program that executes
前記(a)のステップで、前記図面データに含まれる各ページに予め設定されているサイズを前記図面サイズとして、前記ファイルを作成する、
請求項7に記載のプログラム。
In the step (a), the file is created with the size set in advance for each page included in the drawing data as the drawing size.
The program according to claim 7.
前記図面データが、2次元または3次元のベクトルデータによって構成されている、請求項7または8に記載のプログラム。
The program according to claim 7 or 8, wherein the drawing data is constituted by two-dimensional or three-dimensional vector data.
JP2011085658A 2011-04-07 2011-04-07 Print data generation apparatus, print data generation method, and program Active JP5477915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011085658A JP5477915B2 (en) 2011-04-07 2011-04-07 Print data generation apparatus, print data generation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011085658A JP5477915B2 (en) 2011-04-07 2011-04-07 Print data generation apparatus, print data generation method, and program

Publications (2)

Publication Number Publication Date
JP2012221173A JP2012221173A (en) 2012-11-12
JP5477915B2 true JP5477915B2 (en) 2014-04-23

Family

ID=47272622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011085658A Active JP5477915B2 (en) 2011-04-07 2011-04-07 Print data generation apparatus, print data generation method, and program

Country Status (1)

Country Link
JP (1) JP5477915B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000101820A (en) * 1998-09-22 2000-04-07 Ricoh Co Ltd Image forming device
JP2002219828A (en) * 2001-01-29 2002-08-06 Jekku:Kk Print data integral processing system and recording medium
JP2010134539A (en) * 2008-12-02 2010-06-17 Brother Ind Ltd Program for controlling printer, information processor and printing system

Also Published As

Publication number Publication date
JP2012221173A (en) 2012-11-12

Similar Documents

Publication Publication Date Title
KR101221940B1 (en) Image processing apparatus, image processing method, and medium storing program therefor
US9141895B2 (en) Information processing apparatus, data editing method, and computer program product
US8149239B2 (en) Image processing apparatus, image processing method, and storage medium storing a program for causing an image processing apparatus to execute an image processing method
JP6447564B2 (en) Image forming apparatus, program, and information processing system
US20160127584A1 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium for performing printing based on collection settings
JP5477915B2 (en) Print data generation apparatus, print data generation method, and program
JP2011175629A (en) System and method for rendering of printable data
US10140558B2 (en) Print control system, print control apparatus, and program
US10915278B2 (en) Information processing apparatus that provides print data to printer and control method therefor
JP2007122188A (en) Image forming device, image processing method and program
JP6295741B2 (en) Image forming apparatus
JP5325744B2 (en) Image processing apparatus and image processing program
CN104461406A (en) Printout method and device
JP2015176231A (en) Information processing apparatus, information processing method, and information processing system
JP2016009292A (en) Image processor and program
US20170300789A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
JP6221543B2 (en) Program, information processing apparatus, information processing system, and image processing system
JP2012141857A (en) Information processor, gui program and recording medium
JP6283980B2 (en) Image processing apparatus and image processing method
JP2010199744A (en) Image processing apparatus, method of controlling the same, and program
JP2007249403A (en) Image data processing system and method for it
JP2015146125A (en) Information processing apparatus and information processing method
JP6061882B2 (en) Image forming apparatus and application screen display method of image forming apparatus
JP6186926B2 (en) Program and information processing apparatus
US9292770B2 (en) Information processing apparatus, method and medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130605

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130814

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140115

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140206

R150 Certificate of patent or registration of utility model

Ref document number: 5477915

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350