Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5594028B2 - Print data generation apparatus and program - Google Patents
[go: Go Back, main page]

JP5594028B2 - Print data generation apparatus and program - Google Patents

Print data generation apparatus and program Download PDF

Info

Publication number
JP5594028B2
JP5594028B2 JP2010220771A JP2010220771A JP5594028B2 JP 5594028 B2 JP5594028 B2 JP 5594028B2 JP 2010220771 A JP2010220771 A JP 2010220771A JP 2010220771 A JP2010220771 A JP 2010220771A JP 5594028 B2 JP5594028 B2 JP 5594028B2
Authority
JP
Japan
Prior art keywords
print
arrangement
development
area
paper
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010220771A
Other languages
Japanese (ja)
Other versions
JP2012078894A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2010220771A priority Critical patent/JP5594028B2/en
Publication of JP2012078894A publication Critical patent/JP2012078894A/en
Application granted granted Critical
Publication of JP5594028B2 publication Critical patent/JP5594028B2/en
Expired - Fee Related 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 and a program.

CAD(Computer Aided Design)などで設計した製品の展開図データから、この展開図データにおける底面や側面などの面ごとに面図形データを生成する技術(特許文献1)や、このように生成された面図形データを用いて製品の組立形状を算出する技術が開発されている(特許文献2)。   A technology (Patent Document 1) that generates surface graphic data for each surface such as a bottom surface and a side surface in the development view data from the development view data of a product designed by CAD (Computer Aided Design) or the like. A technique for calculating an assembly shape of a product using surface graphic data has been developed (Patent Document 2).

また、製品や商品の展開図データを保持したサーバが、利用者のクライアント端末からの要求に応じて、クライアント端末に展開図データを送信するシステムが提案されている。例えば、特許文献3に記載のシステムは、製品の実物大の展開図データを注文者のコンピュータに送信する。注文者は、自身のコンピュータで受信した展開図データを紙に印刷し、印刷された展開図を切り抜き、展開図中の折れ線および糊代線に沿って組み立てることで、製品の実物大の外観を確認する。また例えば、特許文献4には、商品の展開図データをクライアント端末に送信するシステムにおいて、商品の展開図データを作成する際に、商品の寸法に関する情報に基づいて、展開図の寸法が所定の用紙サイズに納まるように展開図の寸法を調整するシステムが開示されている。   Further, a system has been proposed in which a server that holds product or product development view data transmits development view data to a client terminal in response to a request from a user's client terminal. For example, the system described in Patent Document 3 transmits full-scale development drawing data of a product to an orderer's computer. The orderer prints the development data received by his / her computer on paper, cuts out the printed development drawing, and assembles it along the broken lines and margin lines in the development drawing, so that the full-scale appearance of the product can be obtained. Check. Further, for example, in Patent Document 4, in a system for transmitting product development view data to a client terminal, when creating product development view data, the dimensions of the development view are predetermined based on information relating to the dimensions of the product. A system is disclosed that adjusts the dimensions of a developed view to fit within the paper size.

また、特許文献5には、印刷装置で印刷可能な用紙のサイズよりも大きなサイズの用紙に大きな画像を印刷することを可能とする技術が開示されている。特許文献5に記載の技術では、画像データを基準位置で複数の画像に分割し、分割した複数の画像を変倍する。そして、分割および変倍した複数の画像のそれぞれを、複数折りにした用紙の各面に印刷する。   Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique that enables a large image to be printed on a paper having a size larger than the size of paper that can be printed by a printing apparatus. In the technique described in Patent Document 5, image data is divided into a plurality of images at a reference position, and the divided plurality of images are scaled. Then, each of the divided and scaled images is printed on each side of the folded paper.

特開平6−259507号公報JP-A-6-259507 特開平6−176111号公報JP-A-6-176111 特開2002−150059号公報JP 2002-150059 A 特開2005−202838号公報JP 2005-202838 A 特開2003−46752号公報JP 2003-46752 A

印刷装置で印刷可能な用紙の大きさよりも大きな展開図データの印刷を利用者が望む場合がある。この場合、印刷可能な用紙の大きさの範囲内に納まるように展開図データを縮小して印刷するか、あるいは、展開図データを分割して複数の用紙に印刷することが考えられる。展開図データを縮小して印刷する場合、印刷された展開図を組み立てても、縮小前の展開図データが表す大きさの立体は得られない。また、展開図データを分割して複数の用紙に印刷し、これらの用紙を貼り合わせて得られる展開図から立体を組み立てる場合、用紙の重複部分では組み立てのための加工が困難であり得る。   There are cases where the user desires to print development map data larger than the size of paper that can be printed by the printing apparatus. In this case, it is conceivable that the development view data is reduced and printed so as to be within the size range of the printable paper, or the development view data is divided and printed on a plurality of papers. When printing the development drawing data in a reduced size, even if the printed development drawing is assembled, a solid having the size represented by the development drawing data before the reduction cannot be obtained. In addition, when the development drawing data is divided and printed on a plurality of sheets and a solid is assembled from the development drawing obtained by pasting these sheets, processing for assembling may be difficult at the overlapping portion of the sheets.

本発明の目的は、展開図データの大きさを変えることなく、組み立てのための加工が阻害されないように展開図データを分割して複数の用紙に印刷できる印刷データ生成装置およびプログラムを提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide a print data generation device and a program that can divide development data and print it on a plurality of sheets without changing the size of the development data so that processing for assembly is not hindered. It is.

請求項1に係る発明は、立体の展開図を表す展開図データを取得し、取得した展開図データに含まれる各面を検出する検出手段と、印刷に用いられる用紙の大きさの設定および当該用紙において前記展開図データが印刷される領域である印刷領域の設定を受け付ける受付手段と、前記検出手段が検出した面ごとに前記展開図データを分割し、各面について1枚の前記用紙の前記印刷領域内での当該面の配置を決定する配置決定手段であって、当該面を構成する辺の少なくとも1つが前記印刷領域の辺上に位置するように当該面の配置を決定する配置決定手段と、前記配置決定手段が決定した各面の配置を表す画像を前記用紙に印刷するための印刷データを生成する生成手段と、を備えることを特徴とする印刷データ生成装置である。   The invention according to claim 1 acquires development map data representing a three-dimensional development chart, detects each surface included in the acquired development chart data, sets the size of the paper used for printing, and Receiving means for accepting setting of a print area, which is an area on the paper, on which the development view data is printed, and dividing the development view data for each surface detected by the detection means; Arrangement determining means for determining the arrangement of the surface in the printing area, wherein the arrangement determining means determines the arrangement of the surface so that at least one of the sides constituting the surface is positioned on the side of the printing area. And a generation means for generating print data for printing an image representing the arrangement of each surface determined by the arrangement determination means on the paper.

請求項2に係る発明は、請求項1に係る発明において、前記検出手段は、前記展開図データに含まれる外枠線および折り線を検出し、検出した外枠線および折り線により囲まれる各領域を前記各面として検出し、前記配置決定手段は、前記検出した面ごとに、当該面の辺のうち前記折り線が前記印刷領域の辺上に位置するように当該面の前記印刷領域内での配置を決定する。   The invention according to claim 2 is the invention according to claim 1, wherein the detection means detects an outer frame line and a fold line included in the development data, and each of the frames surrounded by the detected outer frame line and the fold line. An area is detected as each of the surfaces, and the arrangement determining unit is configured so that, for each of the detected surfaces, the fold line is positioned on the side of the print region, so that the fold line is positioned on the side of the print region. Determine the placement at.

請求項3に係る発明は、請求項1または2に係る発明において、前記配置決定手段は、前記検出した面のうちの1つを1枚の前記用紙の前記印刷領域内に配置した状態で、当該1つの面に隣接する面がさらに前記印刷領域内に収まる場合に、当該1つの面と当該隣接する面とを前記印刷領域内に配置することを決定し、当該隣接する面のみを1枚の前記用紙の前記印刷領域内に配置することを決定済みであれば当該決定を破棄する。   The invention according to claim 3 is the invention according to claim 1 or 2, wherein the arrangement determining means arranges one of the detected faces in the print area of one sheet of paper, When a surface adjacent to the one surface further fits in the print area, it is determined that the one surface and the adjacent surface are arranged in the print area, and only one of the adjacent surfaces is If it is determined that the paper is to be arranged in the print area of the paper, the determination is discarded.

請求項4に係る発明は、請求項1から3のいずれか1項に係る発明において、前記配置決定手段は、配置の決定の対象の面が1枚の前記用紙の前記印刷領域内に収まらない場合に、複数の前記用紙の前記印刷領域に亘って当該対象の面を配置することを決定する。   According to a fourth aspect of the present invention, in the invention according to any one of the first to third aspects, the arrangement determining means does not have a surface whose arrangement is to be determined within the print area of the single sheet. In this case, it is determined that the target surface is arranged over the print areas of the plurality of sheets.

請求項5に係る発明は、請求項1から4のいずれか1項に係る発明において、前記生成手段は、前記配置決定手段が決定した各面の配置を表す画像に対して、前記展開図データが表す展開図を用いた組み立て作業の際の目印となる画像を追加した印刷データを生成する。   According to a fifth aspect of the present invention, in the invention according to any one of the first to fourth aspects, the generation unit generates the development map data for an image representing the arrangement of each surface determined by the arrangement determination unit. Print data to which an image serving as a mark at the time of assembling work using the developed view is added is generated.

請求項6に係る発明は、請求項1から5のいずれか1項に係る発明において、前記生成手段は、前記配置決定手段が決定した各面の配置を表す画像を印刷する前記用紙の大きさの設定を、印刷において利用可能な用紙の大きさのうち前記各面を印刷可能な最小の用紙の大きさに変更した上で、前記印刷データを生成する。   According to a sixth aspect of the present invention, in the invention according to any one of the first to fifth aspects, the size of the sheet on which the generating unit prints an image representing the arrangement of each surface determined by the arrangement determining unit. Is changed to the smallest paper size that can be printed on each side of the paper sizes available for printing, and then the print data is generated.

請求項7に係る発明は、コンピュータに、立体の展開図を表す展開図データを取得し、取得した展開図データに含まれる各面を検出する検出ステップと、印刷に用いられる用紙の大きさの設定および当該用紙において前記展開図データが印刷される領域である印刷領域の設定を受け付ける受付ステップと、前記検出ステップで検出された面ごとに前記展開図データを分割し、各面について1枚の前記用紙の前記印刷領域内での当該面の配置を決定するステップであって、当該面を構成する辺の少なくとも1つが前記印刷領域の辺上に位置するように当該面の配置を決定する配置決定ステップと、前記配置決定ステップで決定した各面の配置を表す画像を前記用紙に印刷するための印刷データを生成する生成ステップと、を実行させるためのプログラムである。   According to the seventh aspect of the present invention, a computer is used to acquire development view data representing a three-dimensional development view, detect each surface included in the obtained development view data, and a size of a sheet used for printing. Receiving the setting and setting of a print area that is an area where the development data is printed on the sheet; and dividing the development data for each surface detected in the detection step; An arrangement for determining an arrangement of the surface in the printing area of the paper, wherein the arrangement of the surface is determined such that at least one of the sides constituting the surface is positioned on the side of the printing area; A determination step, and a generation step for generating print data for printing an image representing the layout of each surface determined in the layout determination step on the paper. A gram.

請求項1または7に係る発明によると、展開図データの大きさを変えることなく、組み立てのための加工が阻害されないように展開図データを分割して複数の用紙に印刷できる。   According to the first or seventh aspect of the invention, the development data can be divided and printed on a plurality of sheets without changing the size of the development data so that the processing for assembling is not hindered.

請求項2に係る発明によると、用紙が張り合わせられる重複部分に展開図の折り線が印刷されることを防止できる。   According to the invention which concerns on Claim 2, it can prevent that the folding line of a developed view is printed in the overlap part in which a paper is bonded together.

請求項3に係る発明によると、展開図データの面ごとに1枚の用紙を用いて印刷する場合と比較して、より少ない枚数の用紙を用いて展開図データを印刷できる。   According to the third aspect of the present invention, it is possible to print the development view data using a smaller number of sheets as compared with the case of printing using one sheet for each side of the development view data.

請求項4に係る発明によると、展開図データの面が1枚の用紙の印刷領域内に収まらない場合に、当該面を複数の用紙の印刷領域に亘って印刷することができる。   According to the fourth aspect of the present invention, when the plane of the development data does not fit within the print area of one sheet, the plane can be printed over the print areas of a plurality of sheets.

請求項5に係る発明によると、分割されて複数の用紙に印刷された展開図を用いた組み立て作業を支援できる。   According to the invention which concerns on Claim 5, the assembly operation | work using the expanded view divided | segmented and printed on the some paper can be supported.

請求項6に係る発明によると、用紙の大きさを固定する場合と比較して、展開図データの各面を印刷した用紙における余白部分をより少なくすることができる。   According to the invention which concerns on Claim 6, compared with the case where the magnitude | size of a paper is fixed, the margin part in the paper which printed each surface of the developed data can be decreased.

印刷データ生成装置の内部構成の概略の例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a schematic internal configuration of a print data generation apparatus. 印刷される展開図の例を示す図である。It is a figure which shows the example of the expanded view printed. 用紙の印刷領域の例を示す図である。It is a figure which shows the example of the printing area | region of a paper. 印刷データ生成装置が実行する処理の手順の一部の例を示すフローチャートである。4 is a flowchart illustrating an example of a part of a procedure of processing executed by the print data generation apparatus. 印刷データ生成装置が実行する処理の手順の他の一部の例を示すフローチャートである。10 is a flowchart illustrating another example of another part of a process executed by the print data generation apparatus. 展開図中の1つの面を用紙の印刷領域に配置した例を示す図である。It is a figure which shows the example which has arrange | positioned one surface in an expanded view in the printing area | region of paper. 展開図中の他の面を用紙の印刷領域に配置した例を示す図である。It is a figure which shows the example which has arrange | positioned the other surface in an expanded view in the printing area | region of paper. 展開図中のさらに他の面を用紙の印刷領域に配置した例を示す図である。It is a figure which shows the example which has arrange | positioned the other surface in a development view in the printing area | region of paper. 展開図中のさらに他の面を用紙の印刷領域に配置した例を示す図である。It is a figure which shows the example which has arrange | positioned the other surface in a development view in the printing area | region of paper. 展開図中の面が用紙の印刷領域内に収まらない配置の例を示す図である。It is a figure which shows the example of arrangement | positioning which the surface in an expanded view does not fit in the printing area | region of paper. 図10Aの例の配置に対して用紙を追加した状態の例を示す図である。It is a figure which shows the example of the state which added the sheet | seat with respect to arrangement | positioning of the example of FIG. 10A. 印刷データ生成装置が実行する処理の手順のさらに他の一部の例を示すフローチャートである。14 is a flowchart illustrating still another example of a procedure of processing executed by the print data generation apparatus. 展開図中のすべての面を用紙に配置した例を示す図である。It is a figure which shows the example which has arrange | positioned all the surfaces in an expanded view on paper. 用紙の張り合わせ領域の中央位置を示す枠線の例を示す図である。FIG. 10 is a diagram illustrating an example of a frame line indicating a center position of a sheet pasting area. 組み立ての際の目印を追加した印刷データの例を示す図である。It is a figure which shows the example of the print data which added the mark at the time of an assembly. コンピュータのハードウエア構成の例を示す図である。It is a figure which shows the example of the hardware constitutions of a computer.

図1に、本発明の実施形態の例による印刷データ生成装置の内部構成の概略の例を示す。図1では、印刷データ生成装置10は、表示装置20および印刷装置30に接続されている。表示装置20は、液晶ディスプレイなどの一般的な表示装置であってよい。また、印刷装置30は、電子データを用紙に印刷する一般的なプリンタであってよい。   FIG. 1 shows an example of a schematic internal configuration of a print data generation apparatus according to an example of an embodiment of the present invention. In FIG. 1, the print data generation device 10 is connected to a display device 20 and a printing device 30. The display device 20 may be a general display device such as a liquid crystal display. The printing apparatus 30 may be a general printer that prints electronic data on paper.

印刷データ生成装置10は、立体の展開図を用紙に印刷するための印刷データを生成する。印刷データ生成装置10は、展開図データ記憶部100、入力受付部110、展開図データ処理部120、印刷データ生成部130、印刷指示部140、および表示制御部150を備える。   The print data generation device 10 generates print data for printing a three-dimensional development view on paper. The print data generation apparatus 10 includes a development view data storage unit 100, an input reception unit 110, a development view data processing unit 120, a print data generation unit 130, a print instruction unit 140, and a display control unit 150.

展開図データ記憶部100は、展開図を表す展開図データを記憶する記憶手段である。展開図データは、例えば、CADシステムなどを使用して作成された展開図の画像のデータであってよい。展開図データは、例えばPDF(Portable Document Format)などの形式のファイルとして展開図データ記憶部100に記憶される。また、展開図データには、当該展開図データが表す展開図の大きさを示す情報が含まれているとする。展開図の大きさを示す情報は、例えば、展開図の全体を印刷するために必要な用紙のサイズ(大きさ)および展開図中の各部分の寸法を含む。   The development view data storage unit 100 is storage means for storing development view data representing a development view. The development view data may be, for example, data of a development view image created using a CAD system or the like. The development view data is stored in the development view data storage unit 100 as a file in a format such as PDF (Portable Document Format). Further, it is assumed that the development diagram data includes information indicating the size of the development diagram represented by the development diagram data. The information indicating the size of the development view includes, for example, the size (size) of a sheet necessary for printing the whole development view and the dimensions of each part in the development view.

図2に、展開図データ記憶部100に記憶される展開図データが表す展開図の一例を示す。図2の例の展開図は、箱の展開図である。図2では、外枠線および切込線を実線で示し、折り線を破線で示す。また、図2の例の展開図は、印刷装置30で利用可能な用紙の最大サイズよりも大きいものとする。なお、図2に示す符号i〜xiiiは、以下の説明において展開図データ中の各面を識別するための符号である。   FIG. 2 shows an example of a development diagram represented by the development diagram data stored in the development diagram data storage unit 100. The developed view of the example of FIG. 2 is a developed view of a box. In FIG. 2, the outer frame line and the cut line are indicated by solid lines, and the folding line is indicated by a broken line. 2 is assumed to be larger than the maximum size of paper that can be used by the printing apparatus 30. In addition, the code | symbol i-xiii shown in FIG. 2 is a code | symbol for identifying each surface in development drawing data in the following description.

再び図1を参照し、入力受付部110は、印刷データ生成装置10に対するユーザの指示の入力を受け付ける。入力受付部110は、例えば、マウスやキーボードなどの入力装置(図示しない)を用いて入力された情報を取得し、取得した情報を展開図データ処理部120や印刷データ生成部130に渡す。   Referring again to FIG. 1, the input receiving unit 110 receives an input of a user instruction to the print data generating apparatus 10. For example, the input receiving unit 110 acquires information input using an input device (not shown) such as a mouse or a keyboard, and passes the acquired information to the development data processing unit 120 or the print data generation unit 130.

展開図データ処理部120は、展開図データから印刷データを生成するための前処理を展開図データに対して行う。展開図データ処理部120は、データ取得部122、面検出部124、用紙情報取得部126、および配置決定部128を備える。   The development view data processing unit 120 performs pre-processing for generating print data from the development view data on the development view data. The development data processing unit 120 includes a data acquisition unit 122, a surface detection unit 124, a paper information acquisition unit 126, and an arrangement determination unit 128.

データ取得部122は、展開図データ記憶部100から展開図データを取得する。例えば、展開図データ記憶部100に記憶された展開図データのうちの1つを指定して印刷データの生成を指示するユーザの入力を入力受付部110が受け付けた場合、データ取得部122は、ユーザにより指定された展開図データを展開図データ記憶部100から読み出す。データ取得部122は、さらに、読み出した展開図データから、展開図の大きさを表す情報を抽出する。   The data acquisition unit 122 acquires development view data from the development view data storage unit 100. For example, when the input receiving unit 110 receives an input from the user who designates one of the developed view data stored in the developed view data storage unit 100 and instructs generation of print data, the data acquisition unit 122 The development view data designated by the user is read from the development view data storage unit 100. The data acquisition unit 122 further extracts information representing the size of the development view from the read development view data.

面検出部124は、展開図データ中の各面を検出する。本実施形態の例の面検出部124は、まず、展開図データに含まれる各種の線を検出する。例えば図2の例の場合、展開図データには、実線および破線が含まれ、面検出部124は、これらの実線および破線を検出する。展開図データ中の線を検出した後、面検出部124は、検出した面に囲まれる各領域を、展開図データ中の各面として検出する。図2の例では、面i〜xiiiが検出される。なお、本実施形態の例の面検出部124は、展開図データ中の線を検出する際、検出した線の種類を認識するものとする。ここで、「線の種類」とは、展開図から立体を組み立てる際の各線の機能を意味する。図2の例の場合、展開図の外形を規定する実線を「外枠線」として、展開図の内部の実線を「切込線」として、破線を「折り線」として認識する。展開図データ中の線の態様(実線、破線、点線、一点鎖線など)と線の種類(組立時の線の機能)との対応を表す情報は、展開図データに含まれていてもよいし、予め設定されて記憶装置(図示しない)記憶装置に記憶されていてもよい。いずれにしても、展開図データ中のどのような態様の線をどの種類の線として認識すべきかを表す情報を面検出部124により参照可能にしておけばよい。この情報を参照して、面検出部124は、展開図データにおいて検出した線の種類を特定する。   The surface detection unit 124 detects each surface in the development data. The surface detection unit 124 of the example of the present embodiment first detects various lines included in the development data. For example, in the case of the example of FIG. 2, the development data includes solid lines and broken lines, and the surface detection unit 124 detects these solid lines and broken lines. After detecting the line in the development data, the surface detection unit 124 detects each area surrounded by the detected surface as each surface in the development data. In the example of FIG. 2, surfaces i to xiii are detected. Note that the surface detection unit 124 in the example of the present embodiment recognizes the type of the detected line when detecting the line in the development data. Here, the “line type” means the function of each line when assembling a solid from the development. In the case of the example in FIG. 2, the solid line defining the outline of the developed view is recognized as “outer frame line”, the solid line inside the developed view is recognized as “cut line”, and the broken line is recognized as “folded line”. The information indicating the correspondence between the form of the line in the development data (solid line, broken line, dotted line, one-dot chain line, etc.) and the type of line (the function of the line at the time of assembly) may be included in the development data. Alternatively, it may be set in advance and stored in a storage device (not shown). In any case, information indicating what kind of line should be recognized as which kind of line in the development data may be referred to by the surface detection unit 124. With reference to this information, the surface detection unit 124 identifies the type of line detected in the development data.

用紙情報取得部126は、入力受付部110を介して、展開図データの印刷に用いられる用紙に関する情報を取得する。本実施形態の例の用紙情報取得部126は、印刷に用いられる用紙のサイズと、当該用紙において印刷に用いられない張り合わせ領域と、を指定するユーザの入力を取得する。ここで、張り合わせ領域とは、用紙において印刷が行われない余白(マージン)領域であり、用紙に印刷された展開図を切り取って組み立てる際に、用紙同士を張り合わせるために用いられ得る。用紙情報取得部126は、例えば、後述の表示制御部150に依頼して、用紙のサイズと用紙における張り合わせ領域のサイズとの入力をユーザに促す情報を表示装置20に表示させる。用紙のサイズについては、例えば、印刷装置30で利用可能な用紙サイズの選択肢(A4,A3,B5,など)を表示させ、そのうちの1つを選択することを促す情報を表示させればよい。張り合わせ領域のサイズに関しては、例えば、用紙の上下左右の余白領域の幅を入力することを促す情報を表示させればよい。表示装置20の表示を確認したユーザが入力装置(図示しない)を用いて、用紙のサイズおよび張り合わせ領域のサイズを入力すると、この入力は、入力受付部110により用紙情報取得部126に渡される。用紙情報取得部126は、取得した用紙のサイズおよび張り合わせ領域のサイズを配置決定部128に渡す。   The paper information acquisition unit 126 acquires information about the paper used for printing the development view data via the input reception unit 110. The sheet information acquisition unit 126 of the example of the present embodiment acquires a user input that specifies the size of a sheet used for printing and a pasting area that is not used for printing on the sheet. Here, the pasting area is a margin area in which printing is not performed on the paper, and can be used for pasting the papers together when cutting and assembling the development drawing printed on the paper. For example, the paper information acquisition unit 126 requests the display control unit 150 (to be described later) to display information prompting the user to input the size of the paper and the size of the pasting area on the paper on the display device 20. For the paper size, for example, paper size options (A4, A3, B5, etc.) that can be used by the printing apparatus 30 may be displayed, and information that prompts the user to select one of them may be displayed. Regarding the size of the pasting area, for example, information that prompts the user to input the widths of the margin areas on the top, bottom, left, and right of the sheet may be displayed. When the user who has confirmed the display on the display device 20 inputs the paper size and the size of the pasting area using an input device (not shown), the input is passed to the paper information acquisition unit 126 by the input receiving unit 110. The paper information acquisition unit 126 passes the acquired paper size and pasting area size to the arrangement determination unit 128.

配置決定部128は、面検出部124が検出した各面について、用紙への配置を決定する。本実施形態の例の配置決定部128は、まず、用紙情報取得部126から受け取った用紙のサイズおよび張り合わせ領域のサイズから、当該用紙において印刷が行われる領域である印刷領域の位置および大きさを求める。例えば図3を参照し、用紙400の張り合わせ領域のサイズとして、矢印top,bottom,left,rightで示すように、上下左右の余白の幅が指定されているとする。用紙400において、余白部分以外の斜線部分が印刷領域402である。図3の例において、用紙400の縦方向の大きさから矢印top,bottomの余白の幅の和を減算することで印刷領域402の縦方向の大きさが求められ、用紙400の横方向の大きさから、矢印left,rightの余白の幅の和を減算することで印刷領域402の横方向の大きさが求められる。また、印刷領域402の位置は、矢印top,bottom,left,rightで表される余白の幅により求められる。   The arrangement determination unit 128 determines the arrangement of each surface detected by the surface detection unit 124 on the sheet. The arrangement determining unit 128 of the example of the present embodiment first determines the position and size of the print area, which is the area where printing is performed on the paper, from the size of the paper received from the paper information acquisition unit 126 and the size of the pasting area. Ask. For example, referring to FIG. 3, it is assumed that the width of the top, bottom, left, and right margins is designated as the size of the pasting area of the sheet 400 as indicated by arrows top, bottom, left, and right. In the sheet 400, a hatched portion other than the margin portion is a print area 402. In the example of FIG. 3, the vertical size of the print area 402 is obtained by subtracting the sum of the margin widths of the arrows top and bottom from the vertical size of the paper 400, and the horizontal size of the paper 400 is obtained. Then, the size of the print area 402 in the horizontal direction is obtained by subtracting the sum of the margin widths of the arrows left and right. The position of the print area 402 is obtained from the width of the margin represented by the arrows top, bottom, left, and right.

図1の説明に戻り、配置決定部128は、用紙の印刷領域の大きさおよび位置を求めると、展開図データの展開図の大きさが1枚の用紙の印刷領域内に収まるか否かを判定する。1枚の用紙の印刷領域内に収まる場合、当該展開図の全体を当該印刷領域内に配置する。展開図の全体が1枚の用紙の印刷領域内に収まらない場合、配置決定部128は、面検出部124が検出した展開図データ中の複数の面を複数の用紙の印刷領域に割り当て、各面の印刷領域における配置を決定する。言い換えると、展開図を面単位で分割して、複数の用紙の印刷領域内に配置する。また、本実施形態の例では、展開図データ中の面を構成する辺の少なくとも1つが印刷領域の辺上に位置するように、各面の印刷領域への配置が決定される。配置決定部128による各面の配置の決定の詳細については後述する。   Returning to the description of FIG. 1, when the arrangement determining unit 128 obtains the size and position of the print area of the sheet, it determines whether or not the size of the developed view of the developed view data fits within the print area of one sheet. judge. When it fits within the print area of one sheet, the entire developed view is placed in the print area. When the entire development view does not fit within the printing area of one sheet, the arrangement determining unit 128 assigns a plurality of surfaces in the development drawing data detected by the surface detection unit 124 to a plurality of paper printing areas, Determine the placement of the surface in the print area. In other words, the developed view is divided into planes and arranged in the print area of a plurality of sheets. In the example of the present embodiment, the arrangement of each surface in the print area is determined so that at least one of the sides constituting the surface in the development data is positioned on the side of the print region. Details of the determination of the arrangement of each surface by the arrangement determining unit 128 will be described later.

印刷データ生成部130は、配置決定部128が決定した配置に従って印刷データを生成する。印刷データ生成部130は、例えば、配置決定部128が決定したとおりに展開図データ中の各面を用紙の印刷領域に配置した結果の画像を印刷装置30に印刷させるための印刷データを生成する。   The print data generation unit 130 generates print data according to the arrangement determined by the arrangement determination unit 128. For example, the print data generation unit 130 generates print data for causing the printing apparatus 30 to print an image obtained as a result of arranging each surface in the development view data in the print area of the paper as determined by the arrangement determination unit 128. .

印刷指示部140は、印刷データ生成部130が生成した印刷データを用紙に印刷するよう、印刷装置30に対して指示を出す。   The print instruction unit 140 instructs the printing apparatus 30 to print the print data generated by the print data generation unit 130 on a sheet.

表示制御部150は、表示装置20に表示させる内容を制御する。表示制御部150は、例えば、展開図データ処理部120における処理の結果や過程を表示装置20に表示させたり、印刷データ生成部130が生成した印刷データを表示装置20に表示させたりする。   The display control unit 150 controls the contents displayed on the display device 20. For example, the display control unit 150 causes the display device 20 to display the processing result and process in the developed view data processing unit 120, and causes the display device 20 to display the print data generated by the print data generation unit 130.

以下、印刷データ生成装置10における処理の例を説明する。   Hereinafter, an example of processing in the print data generation apparatus 10 will be described.

図4は、印刷データ生成装置10が実行する処理の手順の例を示すフローチャートである。印刷データ生成装置10は、例えば、特定の展開図データの印刷を指示するユーザの入力を入力受付部110において受け付けた場合に、図4の例の手順の処理を開始する。   FIG. 4 is a flowchart illustrating an example of a procedure of processing executed by the print data generation apparatus 10. For example, when the input receiving unit 110 receives an input from a user instructing printing of specific development data, the print data generation apparatus 10 starts the processing of the procedure in the example of FIG.

入力受付部110からユーザの入力を受取った展開図データ処理部120において、データ取得部122は、ユーザの入力で特定された展開図データを展開図データ記憶部100から取得する(ステップS10)。ステップS10で、データ取得部122は、さらに、取得した展開図データから、展開図の大きさを表す情報を抽出する。   In the developed view data processing unit 120 that has received the user input from the input receiving unit 110, the data acquisition unit 122 obtains the developed view data specified by the user input from the developed view data storage unit 100 (step S10). In step S10, the data acquisition unit 122 further extracts information representing the size of the development view from the acquired development view data.

展開図データ処理部120の用紙情報取得部126は、入力受付部110を介して、展開図データの印刷に用いられる用紙のサイズおよび張り合わせ領域のサイズのユーザ入力を受け付ける(ステップS12)。用紙情報取得部126は、例えば、表示制御部150に依頼して、用紙のサイズおよび張り合わせ領域のサイズの入力を促す情報を表示装置20に表示させ、この表示に応じてユーザが入力した情報を、入力受付部110から取得する。用紙情報取得部126は、取得した用紙のサイズおよび張り合わせ領域のサイズを配置決定部128に渡す。   The paper information acquisition unit 126 of the development view data processing unit 120 receives user input of the size of the paper and the size of the pasting area used for printing development view data via the input receiving unit 110 (step S12). For example, the paper information acquisition unit 126 requests the display control unit 150 to display information for prompting the input of the paper size and the size of the pasting area on the display device 20, and the information input by the user according to the display is displayed. , Acquired from the input receiving unit 110. The paper information acquisition unit 126 passes the acquired paper size and pasting area size to the arrangement determination unit 128.

配置決定部128は、ステップS12で受け付けられた用紙のサイズおよび張り合わせ領域のサイズを用いて、用紙における印刷領域の位置および大きさを特定する(ステップS14)。この印刷領域の特定は、例えば図3を参照して上述したとおりに行えばよい。   The layout determining unit 128 specifies the position and size of the print area on the paper using the size of the paper and the size of the pasting area received in step S12 (step S14). For example, the print area may be specified as described above with reference to FIG.

印刷領域を特定すると、配置決定部128は、ステップS10で取得された展開図データが表す展開図の全体が1枚の用紙の印刷領域内に収まるか否かを判定する(ステップS16)。この判定は、ステップS10で展開図データから抽出された展開図の大きさと、ステップS14で求めた印刷領域の大きさとを比較することで行えばよい。   When the print area is specified, the arrangement determining unit 128 determines whether or not the entire developed view represented by the developed view data acquired in step S10 is within the print area of one sheet (step S16). This determination may be made by comparing the size of the development view extracted from the development view data in step S10 with the size of the print area obtained in step S14.

1枚の用紙の印刷領域内に展開図の全体が収まる場合(ステップS16でYES)、配置決定部128は、当該展開図の全体を印刷領域に配置し(ステップS18)、この配置を表す情報を印刷データ生成部130に渡す。印刷データ生成部130は、配置決定部128から受取った情報に従って、用紙の印刷領域に展開図を配置した結果の画像を印刷するための印刷データを生成する(ステップS20)。生成された印刷データは、印刷データ生成部130から印刷指示部140に渡され、印刷指示部140は、当該印刷データによる印刷を行うことを印刷装置30に指示する(ステップS22)。この指示を受けて、展開図が1枚の用紙に印刷される。   When the entire development view fits within the print area of one sheet (YES in step S16), the arrangement determining unit 128 arranges the whole development drawing in the print area (step S18), and information indicating this arrangement To the print data generation unit 130. The print data generation unit 130 generates print data for printing an image obtained as a result of arranging the development view in the print area of the paper according to the information received from the arrangement determination unit 128 (step S20). The generated print data is transferred from the print data generation unit 130 to the print instruction unit 140, and the print instruction unit 140 instructs the printing apparatus 30 to perform printing using the print data (step S22). In response to this instruction, the developed view is printed on one sheet of paper.

ステップS10で取得された展開図データの展開図が1枚の用紙の印刷領域内に収まらない場合(ステップS16でNO)、処理は図5のステップS30に進む。   If the development view of the development view data acquired in step S10 does not fit within the print area of one sheet (NO in step S16), the process proceeds to step S30 in FIG.

図5を参照し、まず、展開図データ処理部120の面検出部124において、図4のステップS10で取得された展開図データ中の線を検出する(ステップS30)。上述の図2の例の展開図データの場合、実線で表される外枠線および切込線と、破線で表される折り線とが検出される。   Referring to FIG. 5, first, the surface detection unit 124 of the development view data processing unit 120 detects a line in the development view data acquired in step S10 of FIG. 4 (step S30). In the case of the development drawing data of the example of FIG. 2 described above, an outer frame line and a cut line represented by solid lines and a fold line represented by a broken line are detected.

次に、面検出部124は、ステップS30で検出した線を用いて、展開図データ中の各面を検出する(ステップS32)。本実施形態の例の面検出部124は、展開図データにおいて、ステップS30で検出した線によって囲まれる領域のそれぞれを面として検出する。面検出部124は、ステップS32で検出した各面の情報を配置決定部128に渡す。例えば図2の例の展開図の場合、面i〜xiiiが検出され、これらの各面i〜xiiiを表す情報が配置決定部128に渡される。各面を表す情報は、例えば、当該面を構成する辺、各辺の種類、各辺の大きさ、および当該面と他の面との間の位置関係などを含む。   Next, the surface detection unit 124 detects each surface in the development data using the lines detected in step S30 (step S32). The surface detection unit 124 of the example of this embodiment detects each of the regions surrounded by the line detected in step S30 as a surface in the development data. The surface detection unit 124 passes information on each surface detected in step S <b> 32 to the arrangement determination unit 128. For example, in the developed view of the example of FIG. 2, the surfaces i to xiii are detected, and information representing these surfaces i to xiii is passed to the arrangement determining unit 128. The information representing each surface includes, for example, the sides constituting the surface, the type of each side, the size of each side, and the positional relationship between the surface and another surface.

展開図データ中の各面を検出した後、配置決定部128は、これらの面のうちの1つを処理対象として選択し(ステップS34)、選択した面の用紙における配置を決定する(ステップS36)。より詳細には、配置決定部128は、選択した面を構成する辺のうちの少なくとも1つが用紙の印刷領域の辺上に位置するように、当該面の印刷領域への配置を決定する。本例の配置決定部128は、選択した面の辺のうち、「折り線」が優先的に印刷領域の辺上に位置するように面の配置を決定する。図6〜図9に、図2の例の展開図の面の一部(面i〜iv)について、各面を用紙400の印刷領域402内に配置した例を示す。図6〜図9は、用紙400の内部の一点鎖線で囲まれた矩形を印刷領域402とする。図6,図7,図8,図9は、それぞれ、展開図データ中の面i,ii,iii,ivがステップS34で選択された場合の配置の例を示す。図6〜図9を参照し、各面i〜ivは、当該面の折り線のうちの少なくとも1つが印刷領域402の辺上に位置するように配置されている。また、角度90度の角を含む面ii〜ivは、それぞれ、90度の角が印刷領域402の角のうちの1つと重なるように配置されている。なお、本実施形態の例では、ステップS36で、各面を配置する用紙の向きは一定の向きに定められるとする。図6〜図9では、用紙を横向き(用紙の長辺を水平方向と平行にする向き)に固定して各面の配置を決定する場合の例を示す。   After detecting each surface in the development data, the arrangement determining unit 128 selects one of these surfaces as a processing target (step S34), and determines the arrangement of the selected surface on the sheet (step S36). ). More specifically, the arrangement determining unit 128 determines the arrangement of the surface in the print area so that at least one of the sides constituting the selected surface is positioned on the side of the print area of the paper. The arrangement determining unit 128 of this example determines the arrangement of the surface so that the “fold line” is preferentially positioned on the side of the print area among the sides of the selected surface. FIGS. 6 to 9 show examples in which each surface is arranged in the print area 402 of the paper 400 with respect to a part of the surface (surfaces i to iv) of the development view of the example of FIG. In FIGS. 6 to 9, a rectangle surrounded by a one-dot chain line inside the paper 400 is a print area 402. 6, 7, 8, and 9 show examples of arrangements when the surfaces i, ii, iii, and iv in the development data are selected in step S <b> 34, respectively. 6 to 9, each of the surfaces i to iv is arranged such that at least one of the fold lines of the surfaces is located on the side of the print region 402. Further, the surfaces ii to iv including the angle of 90 degrees are arranged such that the 90 degree angle overlaps one of the corners of the print region 402. In the example of the present embodiment, it is assumed that the orientation of the paper on which each side is arranged is determined to be a fixed orientation in step S36. FIGS. 6 to 9 show examples in which the arrangement of each surface is determined by fixing the paper in a landscape orientation (direction in which the long side of the paper is parallel to the horizontal direction).

ステップS32で選択した面について用紙の印刷領域への配置を行った後、配置決定部128は、当該選択した面の全体が印刷領域内に収まっているか否かを確認する(ステップS38)。上述の図6〜図9の各例の場合、いずれも、配置された各面i〜ivは印刷領域402内に収まっているので、ステップS38でYES判定され、ステップS42に進む。   After arranging the surface selected in step S32 in the print area of the sheet, the arrangement determining unit 128 checks whether or not the entire selected surface is within the print area (step S38). In each of the examples in FIGS. 6 to 9 described above, the arranged surfaces i to iv are all within the print area 402, so that a YES determination is made in step S38, and the process proceeds to step S42.

一方、選択した面が印刷領域内に収まらない場合もある。この場合の例を図10Aに示す。図10Aは、図2の例の展開図データの各面の配置を決定する際、ステップS36で、用紙を縦向き(用紙の長辺を水平方向に対して垂直にする向き)に固定した場合の面iiの配置の一例である。図10Aを参照し、面iiが備える2つの折り線のうちの一方が印刷領域402の辺上に位置するように面iiを印刷領域402に配置した状態において、面iiのうち印刷領域402内に収まっていない部分がある。図10Aの例のように、現在の処理対象の面のうち印刷領域402内に収まらない部分がある場合、図5の例の手順のステップS38の判定処理でNO判定され、配置決定部128は、現在の処理対象の面を印刷するための用紙を追加する(ステップS40)。ステップS40で、配置決定部128は、例えば、印刷領域402内に収まっていない部分に、追加の用紙の印刷領域を割り当てる。図10Aを参照する上述の例の場合、ステップS40で、例えば図10Bに示すように、面iiにおいて用紙400の印刷領域402に収まらない部分を追加の用紙400´の印刷領域402´内に配置するように、追加の用紙400´における面iiの配置を決定する。なお、図10Bにおいて、展開図の下方に示した用紙400´は、用紙400´の実際の配置位置を示すものではなく、単に理解を容易にするために示したものである。展開図の下方に示す用紙400´の印刷領域402´において斜線で示す領域内に、展開図の面iiにおいて印刷領域402内に収まらない部分が配置される。また、面iiのうち印刷領域402内に収まらない部分における折り線が印刷領域402´の辺上に配置される。図10Bの例のように追加の用紙400´の印刷領域402´内に面iiの一部を配置すると、面iiの全体が用紙400および用紙400´のいずれか一方の印刷領域402,402´内に収まる。   On the other hand, the selected surface may not fit within the print area. An example of this case is shown in FIG. 10A. FIG. 10A shows a case where the paper is fixed in the vertical direction (the direction in which the long side of the paper is perpendicular to the horizontal direction) in step S36 when determining the arrangement of each surface of the development data in the example of FIG. It is an example of arrangement | positioning of surface ii. Referring to FIG. 10A, in the state where the surface ii is arranged in the print region 402 so that one of the two folding lines provided on the surface ii is located on the side of the print region 402, the inside of the print region 402 of the surface ii There are parts that do not fit in. When there is a part that does not fit in the print area 402 in the current processing target surface as in the example of FIG. 10A, NO is determined in the determination process of step S38 in the procedure of the example of FIG. Then, a sheet for printing the current processing target surface is added (step S40). In step S <b> 40, for example, the arrangement determining unit 128 allocates a print area of an additional sheet to a part that does not fit in the print area 402. In the case of the above-described example with reference to FIG. 10A, in step S40, as shown in FIG. 10B, for example, a portion that does not fit in the print area 402 of the sheet 400 is placed in the print area 402 ′ of the additional sheet 400 ′. Thus, the arrangement of the surface ii on the additional sheet 400 ′ is determined. In FIG. 10B, the sheet 400 ′ shown at the bottom of the development view does not indicate the actual arrangement position of the sheet 400 ′, but is merely shown for easy understanding. In the print area 402 ′ of the sheet 400 ′ shown below the development view, a portion that does not fit in the print area 402 on the plane ii of the development view is arranged in the hatched area. In addition, a fold line in a part of the surface ii that does not fit in the print area 402 is arranged on the side of the print area 402 ′. When a part of the surface ii is arranged in the print area 402 ′ of the additional sheet 400 ′ as in the example of FIG. 10B, the entire surface ii is the print area 402, 402 ′ of either the sheet 400 or the sheet 400 ′. Fits within.

ステップS40の後、ステップS38に戻り、再度、現在の処理対象の面において印刷領域内に収まっていない部分があるか否かの判定が行われる。用紙を追加しても当該面が印刷領域内に収まらない場合(ステップS38でNO)、面の全体が印刷領域内に収まるようになるまで、用紙を追加する処理(ステップS40)が繰り返される。また、例えば図10Bのように、追加の用紙による配置を行うことで面が印刷領域内に収まる場合、ステップS38でYES判定されてステップS42に進む。   After step S40, the process returns to step S38, and it is again determined whether or not there is a portion that does not fit in the print area on the current processing target surface. If the surface does not fit within the print area even after the paper is added (NO in step S38), the process of adding paper (step S40) is repeated until the entire surface fits within the print area. Also, for example, as shown in FIG. 10B, when the surface is within the print area by performing the placement with the additional paper, a YES determination is made in step S38 and the process proceeds to step S42.

ステップS42では、展開図データ中の面のすべてについて処理済みであるか否かの判定が行われる。すべての面について処理済みでなければ(ステップS42でNO)、処理はステップS34に戻って、未処理の面を1つ選択し、選択した面に対してステップS36以降の処理が行われる。すべての面について処理済みであれば(ステップS42でYES)、処理は図11のステップS50に進む。   In step S42, it is determined whether or not all the faces in the development data have been processed. If all the surfaces have not been processed (NO in step S42), the process returns to step S34 to select one unprocessed surface, and the processing from step S36 onward is performed on the selected surface. If all the surfaces have been processed (YES in step S42), the process proceeds to step S50 in FIG.

図5の例の手順において、展開図データ中のすべての面について処理が終了した時点では、展開図データ中の面ごとに、1枚以上の用紙の印刷領域への当該面の配置が決定されている。例えば図2の例の展開図の場合、図6〜図9に例示する面i〜ivの配置に加えて、面v〜xiiiの各面についても図6〜図9と同様に印刷領域への配置が決定される。このように決定された配置のとおりに展開図データの各面を用紙に印刷すると、展開図データ中の面の数以上の枚数の用紙が必要となる。上述の図2,図6〜図9を参照する例の場合、展開図データ中に13個の面i〜xiiiが存在するため、面ごとに1枚以上の用紙の印刷領域への配置を決定して印刷を行うと、13枚以上の用紙が必要となる。しかしながら、1枚の用紙の印刷領域に複数の面を配置可能な場合もある。1枚の用紙の印刷領域に複数の面を配置すれば、これら複数の面ごとに1枚以上の用紙への配置を行うよりも、印刷に必要な用紙の枚数が少なくなる。したがって、配置決定部128は、図11の例のステップS50〜S56で、可能な限り多くの面を1枚の用紙に配置するための処理を行う。   In the procedure of the example of FIG. 5, when the processing is completed for all the surfaces in the development diagram data, the arrangement of the surfaces in the print area of one or more sheets is determined for each surface in the development diagram data. ing. For example, in the expanded view of the example of FIG. 2, in addition to the arrangement of the surfaces i to iv illustrated in FIGS. 6 to 9, each surface of the surfaces v to xiii is also transferred to the print area in the same manner as FIGS. 6 to 9. Placement is determined. If each side of the development view data is printed on a sheet according to the arrangement determined in this way, the number of sheets more than the number of sides in the development view data is required. In the case of the example referring to FIGS. 2 and 6 to 9 described above, since there are 13 faces i to xiii in the development data, the arrangement of one or more sheets in the print area is determined for each face. When printing is performed, 13 sheets or more are required. However, there are cases where a plurality of surfaces can be arranged in the printing area of one sheet. If a plurality of surfaces are arranged in the printing area of one sheet, the number of sheets required for printing is smaller than the arrangement of one or more sheets for each of the plurality of surfaces. Therefore, the arrangement determining unit 128 performs processing for arranging as many faces as possible on one sheet in steps S50 to S56 in the example of FIG.

図11を参照し、配置決定部128は、展開図データ中の面のうちの1つを1枚の用紙に配置した状態を表す配置情報を選択する(ステップS50)。ここで、「配置情報」とは、例えば図6〜図9に例示するような、展開図データ中の面の用紙(の印刷領域)への配置を表す情報であるとする。図11の例の手順が開始される時点では、上述のように、展開図データ中の面ごとに、当該面の1枚以上の用紙への配置を表す配置情報が生成されている。これらの配置情報のうち、1枚の用紙に1つの面を配置した状態を表すものがステップS50における選択の対象となる。   Referring to FIG. 11, the arrangement determining unit 128 selects arrangement information representing a state in which one of the faces in the development data is arranged on one sheet (step S50). Here, the “arrangement information” is information representing the arrangement of the surface in the development data on the sheet (printing area) as exemplified in FIGS. 6 to 9. At the time when the procedure of the example of FIG. 11 is started, as described above, arrangement information representing the arrangement of one surface on one or more sheets is generated for each surface in the development data. Among these pieces of arrangement information, information representing a state in which one surface is arranged on one sheet is a selection target in step S50.

配置決定部128は、ステップS50で選択した配置情報が表す配置の状態において、印刷領域に配置された面に隣接する面(隣接面)のうち、当該印刷領域内に収まる面があるか否かを判定する(ステップS52)。   In the arrangement state represented by the arrangement information selected in step S50, the arrangement determining unit 128 determines whether there is a surface that can be accommodated in the print region among the surfaces adjacent to the surface arranged in the print region (adjacent surface). Is determined (step S52).

例えば、ステップS50で図6の例の配置を表す配置情報が選択された場合、面iに隣接する面iiは、印刷領域402内に収まっていない。このため、ステップS52でNO判定される。ステップS52でNO判定されると、未処理の配置情報がなくなるまで(ステップS56でNO判定されるまで)、ステップS50以降の処理が繰り返される。   For example, when the arrangement information representing the arrangement in the example of FIG. 6 is selected in step S50, the surface ii adjacent to the surface i is not within the print area 402. For this reason, NO determination is made at step S52. If NO is determined in step S52, the processes after step S50 are repeated until there is no unprocessed arrangement information (until NO is determined in step S56).

また例えば、図7の例の配置を表す配置情報がステップS50で選択された場合、面iiに隣接する面iは、印刷領域402内に収まっている。このため、ステップS52でYES判定される。   For example, when the arrangement information representing the arrangement in the example of FIG. 7 is selected in step S50, the surface i adjacent to the surface ii is within the print area 402. Therefore, YES is determined in step S52.

ステップS52でYES判定されると、処理はステップS54に進み、配置決定部128は、印刷領域内に収まっている隣接面のみを用紙に配置した状態を表す配置情報を破棄する。例えば、図7についてステップS52の判定が行われてステップS54の処理を行う場合、面iiに隣接する面iのみを用紙に配置した状態を表す図6の例の配置情報を破棄する。また、配置決定部128は、ステップS54で破棄した配置情報に含まれる隣接面を、現在の処理対象の(ステップS50で選択された)配置情報における印刷領域内に配置される面として、現在の処理対象の配置情報に含める。図7を参照する上述の例の場合、印刷領域に元から配置されていた面iiだけでなく、隣接する面i(廃棄された図6の配置情報に含まれる面)も印刷領域内に配置された面として認識しておく。言い換えると、図7に例示する印刷領域402内に位置する展開図データの面iおよび面iiの両方を印刷対象としておく。   If “YES” is determined in step S52, the process proceeds to step S54, and the arrangement determining unit 128 discards arrangement information indicating a state in which only the adjacent surface within the print area is arranged on the sheet. For example, when the determination of step S52 is performed for FIG. 7 and the process of step S54 is performed, the arrangement information in the example of FIG. 6 representing the state where only the surface i adjacent to the surface ii is disposed on the sheet is discarded. In addition, the arrangement determining unit 128 sets the adjacent surface included in the arrangement information discarded in step S54 as the surface to be arranged in the print area in the arrangement information (selected in step S50) that is the current processing target. Include in the placement information to be processed. In the case of the above example referring to FIG. 7, not only the surface ii originally arranged in the print area, but also the adjacent face i (the face included in the discarded arrangement information of FIG. 6) is arranged in the print area. Recognize it as a made surface. In other words, both the surface i and the surface ii of the development view data located in the print area 402 illustrated in FIG. 7 are set as print targets.

ステップS54の後、またはステップS52でNO判定された後、ステップS56で、未処理の配置情報の有無が判定される。未処理の配置情報があれば(ステップS56でYES)、処理はステップS50に戻り、未処理の配置情報のうちの1つを選択してステップS52以降の処理が実行される。   After step S54 or after NO is determined in step S52, the presence / absence of unprocessed arrangement information is determined in step S56. If there is unprocessed arrangement information (YES in step S56), the process returns to step S50, one of the unprocessed arrangement information is selected, and the processes after step S52 are executed.

ステップS50〜S56を含むループ処理により、1枚の用紙の印刷領域内に配置可能な、展開図データ中の隣接する複数の面が特定される。さらに、これらの複数の面ごとに生成されていた、複数の用紙への配置情報は、1枚の用紙の印刷領域内にこれらの複数の面を配置した状態を表す配置情報に統合される。よって、ステップS50〜S56を含むループ処理は、不要な配置情報を間引く処理であるとも言える。   By the loop processing including steps S50 to S56, a plurality of adjacent faces in the development view data that can be arranged in the print area of one sheet is specified. Furthermore, the arrangement information on the plurality of sheets generated for each of the plurality of surfaces is integrated with the arrangement information indicating the state in which the plurality of surfaces are arranged in the printing area of one sheet. Therefore, it can be said that the loop process including steps S50 to S56 is a process of thinning out unnecessary arrangement information.

なお、本例のステップS54では、現在の処理対象の配置情報において印刷領域内に収まる隣接面「のみ」を用紙に配置した状態を表す配置情報は破棄するけれども、このような隣接面の他の面をさらに用紙に配置した状態を表す配置情報は破棄しない。例えば、上述した例のように、図6および図7の例の各配置情報についてステップS50〜S56を含むループ処理を行ったとする。この例では、図7の例の配置情報を処理対象としたときに、ステップS54で図6の例の配置情報は廃棄される。この後、さらに、図8の例の面iiiの配置を表す配置情報がステップS50で選択されたとする。図8を参照すると、面iiiの隣接面iiも印刷領域402内に収まっている。しかし、この隣接面iiを印刷領域に配置した配置情報(図7)が表す印刷領域402には、面iiだけでなく、面iも含まれている。さらに、面iを含む配置情報(図6)はすでに破棄されているため、面iiを含む図7の例の配置情報を破棄すると、面iの用紙への割り当てがなくなる。よって、図7の例の配置情報は破棄すべきでない。以上より、処理対象の配置情報において元から印刷領域内に配置されていた面の隣接面が印刷領域内に収まっていても、当該隣接面を含む配置情報において当該隣接面の他の面が印刷領域に含まれる場合は、ステップS54で、当該隣接面を含む配置情報を破棄しないようにする。   In step S54 of the present example, the arrangement information indicating the state in which only the adjacent surface “only” that falls within the print area in the current processing target arrangement information is arranged on the paper is discarded. Arrangement information indicating a state where the surface is further arranged on the sheet is not discarded. For example, as in the example described above, it is assumed that a loop process including steps S50 to S56 is performed for each piece of arrangement information in the examples of FIGS. In this example, when the arrangement information in the example of FIG. 7 is a processing target, the arrangement information in the example of FIG. 6 is discarded in step S54. Thereafter, it is further assumed that arrangement information indicating the arrangement of the surface iii in the example of FIG. 8 is selected in step S50. Referring to FIG. 8, the adjacent surface ii of the surface iii is also within the print region 402. However, the print area 402 represented by the arrangement information (FIG. 7) in which the adjacent face ii is placed in the print area includes not only the face ii but also the face i. Furthermore, since the arrangement information including the surface i (FIG. 6) has already been discarded, if the arrangement information in the example of FIG. 7 including the surface ii is discarded, the assignment of the surface i to the sheet is lost. Therefore, the arrangement information in the example of FIG. 7 should not be discarded. As described above, even if the adjacent surface of the surface originally arranged in the print area in the arrangement information to be processed is within the print area, the other surface of the adjacent surface is printed in the arrangement information including the adjacent surface. If it is included in the region, the arrangement information including the adjacent surface is not discarded in step S54.

なお、ステップS50〜S56を含むループ処理において、複数の用紙の印刷領域に亘って1つの面を配置した状態を表す配置情報(1枚の用紙の印刷領域内に収まらない面の配置情報)は、処理の対象から除外される。このような配置情報において、印刷領域に配置された面に隣接する面がさらに印刷領域内に収まる可能性は低いためである。   In the loop processing including steps S50 to S56, the arrangement information (the arrangement information of the surface that does not fit in the printing area of one sheet) representing the state in which one surface is arranged over the printing area of a plurality of sheets. , Excluded from processing. This is because in such arrangement information, there is a low possibility that a surface adjacent to the surface arranged in the print area will be further accommodated in the print area.

1つの面を1枚の用紙に配置した状態を表す配置情報のすべてについてステップS50〜S54の処理が実行された場合(ステップS56でNO)、配置決定部128は、表示制御部150に依頼して、現時点での各面の配置情報を表示装置20に表示させる(ステップS58)。図12に、ステップS58で表示される配置情報の一例を示す。図12は、図2の例の展開図データに対して、上述の図4、図5、および図11のステップS50〜ステップS56までの処理を行った結果の例である。図12の例では、展開図データ中のすべての面i〜xiiiが、いずれかの用紙の印刷領域内に配置されている。また、面iii,v,xiiの他の面についての配置情報は、隣接する複数の面を1枚の用紙の印刷領域内に配置したものである。   When the processing of steps S50 to S54 is executed for all of the arrangement information indicating the state where one surface is arranged on one sheet (NO in step S56), the arrangement determining unit 128 requests the display control unit 150 to make a request. Then, the current arrangement information of each surface is displayed on the display device 20 (step S58). FIG. 12 shows an example of the arrangement information displayed in step S58. FIG. 12 is an example of a result obtained by performing the processing from step S50 to step S56 in FIG. 4, FIG. 5, and FIG. 11 described above on the development view data in the example in FIG. In the example of FIG. 12, all the faces i to xiii in the development data are arranged in the print area of any paper. In addition, the arrangement information on the other surfaces of the surfaces iii, v, and xii is information in which a plurality of adjacent surfaces are disposed in the print area of one sheet.

次に、展開図データ処理部120は、配置情報の表示を確認したユーザによる、用紙や配置の設定の変更を受け付ける(ステップS60)。例えば、ユーザは、図示しない入力装置を用いて、特定の配置情報における用紙の向きを変更する指示を入力してよい。また例えば、各配置情報における用紙のサイズを、印刷装置30で利用可能な用紙サイズのうち、各配置情報で配置された面を印刷可能な最小サイズに変更する指示を入力してよい。あるいは、例えば、面の配置を変更する入力を行ってもよい。面の配置の変更の例としてある面をその印刷領域内で移動させること、および、ある面を他の用紙の印刷領域内の余白部分に移動させることなどが挙げられる。以上の例のようなユーザの入力は、入力受付部110を介して展開図データ処理部120により取得される。展開図データ処理部120は、取得した入力に従って、配置情報を変更する。なお、例えば変更が不要である旨の入力があった場合など、ユーザによる変更指示の入力がない場合、ステップS60の処理は省略される。   Next, the development data processing unit 120 accepts a change in setting of paper and layout by the user who confirmed the display of the layout information (step S60). For example, the user may input an instruction to change the paper orientation in the specific arrangement information using an input device (not shown). Further, for example, an instruction to change the size of the paper in each piece of arrangement information to the minimum printable size among the paper sizes usable in the printing apparatus 30 may be input. Or you may perform the input which changes arrangement | positioning of a surface, for example. Examples of changing the arrangement of the surface include moving a certain surface within the print area, and moving a certain surface to a margin in the print area of another sheet. The user input as in the above example is acquired by the development view data processing unit 120 via the input receiving unit 110. The development data processing unit 120 changes the arrangement information in accordance with the acquired input. If there is no input of a change instruction by the user, for example, when there is an input indicating that no change is necessary, the process of step S60 is omitted.

印刷データ生成部130は、ステップS58で表示された配置情報を配置決定部128から取得し、取得した配置情報を用いて印刷データを生成する(ステップS62)。印刷データ生成部130は、取得した配置情報が表す各用紙の画像を印刷するための印刷データを生成する。例えば図12の例の配置情報を取得した場合、図12に示す7枚の用紙それぞれの画像を印刷するための印刷データを生成する。また、ステップS60では、取得した配置情報が表す各用紙の画像において、組み立ての際に目印となる線や印を付加した印刷データを生成してもよい。例えば、図13に示すように、各用紙の張り合わせ領域の中央位置を表す枠線Lを追加する。また例えば、図14に示すように、各用紙において、組み立て時に互いに張り合わせられる部分に、目印となる符号を付してもよい。図14の例は、同じアルファベット文字の部分同士が、組み立て時に張り合わせられることを示す。図13の例の枠線と図14の例の目印との両方を付加してもよい。また、図14のようにアルファベット文字で張り合わせ位置を示す代わりに、他の種類の符号やマークを張り合わせ位置の目印にしたり、張り合わせの位置合わせに用いられる目印線を付加したりしてもよい。また、例えば図10Aおよび図10Bを参照して説明したように、複数の用紙の印刷領域に亘って1つの面が配置された配置情報についての印刷データには、印刷領域の重複位置を示す線を付加してもよい。例えば図10Bの用紙400´の印刷領域402´において、面iiの一部分が配置される領域(斜線部分)とその他の領域とを区別するための境界線を付加してもよい。   The print data generation unit 130 acquires the arrangement information displayed in step S58 from the arrangement determination unit 128, and generates print data using the acquired arrangement information (step S62). The print data generation unit 130 generates print data for printing an image of each sheet represented by the acquired arrangement information. For example, when the arrangement information in the example of FIG. 12 is acquired, print data for printing images on each of the seven sheets shown in FIG. 12 is generated. Further, in step S60, print data to which a line or mark that becomes a mark at the time of assembly may be generated in the image of each sheet represented by the acquired arrangement information. For example, as shown in FIG. 13, a frame line L representing the center position of the bonding area of each sheet is added. Further, for example, as shown in FIG. 14, in each sheet, a reference sign may be attached to a portion that is attached to each other at the time of assembly. The example of FIG. 14 shows that the same alphabetic character parts are pasted together during assembly. You may add both the frame line of the example of FIG. 13, and the mark of the example of FIG. Further, instead of indicating the bonding position with alphabetic characters as shown in FIG. 14, other types of codes and marks may be used as marks for the bonding position, or mark lines used for the bonding position may be added. For example, as described with reference to FIGS. 10A and 10B, the print data regarding the arrangement information in which one surface is arranged over the print areas of a plurality of sheets includes a line indicating the overlap position of the print areas. May be added. For example, in the print area 402 ′ of the sheet 400 ′ in FIG. 10B, a boundary line for distinguishing between an area (hatched portion) where a part of the surface ii is arranged and another area may be added.

ステップS62で印刷データを生成した後、印刷データ生成部130は、生成した印刷データを印刷指示部140に渡す。印刷指示部140は、印刷データ生成部130から受け取った印刷データに従った印刷を行うよう、印刷装置30に対して印刷指示を出す(ステップS64)。この印刷指示に従って、印刷装置30は、展開図データ中の異なる面が配置された複数の用紙の印刷を行う。ステップS64の後、図11の例の手順の処理は終了する。   After generating the print data in step S <b> 62, the print data generation unit 130 passes the generated print data to the print instruction unit 140. The print instruction unit 140 issues a print instruction to the printing apparatus 30 so as to perform printing according to the print data received from the print data generation unit 130 (step S64). In accordance with this print instruction, the printing apparatus 30 prints a plurality of sheets on which different surfaces in the development data are arranged. After step S64, the process of the procedure in the example of FIG. 11 ends.

以上、図4〜図14を参照して説明した処理の例によると、印刷装置30で利用可能な用紙の最大サイズよりも大きな展開図を印刷する場合、展開図を縮小することなく、面単位で分割して複数の用紙に印刷する。このように複数の用紙に亘って印刷された展開図から組み立てられた立体は、展開図が表すとおりの大きさを有する。また、本例の処理によると、用紙の上下左右の余白により定められる張り合わせ領域を除いた印刷領域にのみ展開図の各面が印刷され、各面の折り線の少なくとも1つが印刷領域の辺上に位置するように各面が印刷領域に配置される。よって、印刷された展開図の各面を張り合わせて立体を組み立てる際、複数の用紙の張り合わせにより用紙が重複した部分に折り線が位置することはない。   As described above, according to the processing example described with reference to FIGS. 4 to 14, when printing a development view larger than the maximum size of the paper that can be used by the printing apparatus 30, the plane unit is used without reducing the development view. To print on multiple sheets. Thus, the solid assembled from the development view printed over a plurality of sheets has a size as shown in the development view. Further, according to the processing of this example, each side of the development view is printed only in the print area excluding the pasting area defined by the top, bottom, left, and right margins of the paper, and at least one of the folding lines of each side is on the side of the print area. Each surface is arranged in the print area so as to be located at the position. Therefore, when assembling a solid body by pasting the surfaces of the printed development view, the fold line is not located at a portion where the sheets overlap due to the pasting of a plurality of sheets.

以上で説明した実施形態の例は、本発明の実施の形態の一例に過ぎず、上述の実施形態の例の他に各種の変形例があってよい。例えば、図11のステップS60において、用紙のサイズについて、ユーザからの指示を待たずに、自動的に変更してもよい。つまり、各配置情報における用紙のサイズを、印刷装置30で利用可能な用紙サイズのうち、当該配置情報で配置された面を印刷可能な最小サイズに自動的に変更するようにしてもよい。   The example of the embodiment described above is merely an example of the embodiment of the present invention, and there may be various modifications in addition to the example of the above-described embodiment. For example, in step S60 of FIG. 11, the paper size may be automatically changed without waiting for an instruction from the user. In other words, the paper size in each piece of arrangement information may be automatically changed to the minimum printable size of the face arranged with the arrangement information among the paper sizes available in the printing apparatus 30.

また例えば、上述の実施形態の例では、展開図データ中のすべての面のそれぞれについて、1枚以上の用紙の印刷領域への配置を決定してから、1枚の用紙の印刷領域内に配置可能な複数の面を特定する。変形例では、各面の配置を決定するたびに、隣接する他の面が印刷領域内に収まるか否かを確認してもよい。本変形例においても、印刷領域の辺上に面の一辺が位置するように配置を決定した面の隣接面が印刷領域内に収まる場合、当該隣接面のみを印刷領域に配置した状態を表す配置情報を破棄する。   Further, for example, in the example of the above-described embodiment, the arrangement of one or more sheets in the print area is determined for each of all the surfaces in the development data, and then the arrangement is performed in the print area of one sheet. Identify multiple possible faces. In the modified example, every time the arrangement of each surface is determined, it may be confirmed whether or not other adjacent surfaces can be accommodated in the print region. In this modification as well, when the adjacent surface of the surface determined to be positioned so that one side of the surface is positioned on the side of the print region fits in the print region, the layout indicates a state in which only the adjacent surface is disposed in the print region. Discard information.

上述した例の印刷データ生成装置10の各部の機能は、他のシステムまたはソフトウエアの機能の一部として実現されてもよい。例えば、展開図データ処理部120および印刷データ生成部130の機能を、展開図データを作成するCADシステムの一部として実現し、作成された展開図データの印刷に用いることが考えられる。また例えば、プリンタおよびファクシミリなどの画像形成装置の機能の一部として展開図データ処理部120および印刷データ生成部130を実現してもよい。あるいは、プリンタに接続されたPC(Personal Computer)などにインストールされるプリンタドライバが、展開図データ処理部120、印刷データ生成部130、および印刷指示部140の機能を備えるようにしてもよい。   The functions of the respective units of the print data generation apparatus 10 in the above-described example may be realized as a part of other system or software functions. For example, the functions of the developed view data processing unit 120 and the print data generating unit 130 may be realized as a part of a CAD system that creates developed view data, and used for printing the created developed view data. Further, for example, the development data processing unit 120 and the print data generation unit 130 may be realized as part of the functions of an image forming apparatus such as a printer and a facsimile. Alternatively, a printer driver installed in a PC (Personal Computer) connected to the printer may have the functions of the development view data processing unit 120, the print data generation unit 130, and the print instruction unit 140.

上述の印刷データ生成装置10は、典型的には、汎用のコンピュータにて上述の印刷データ生成装置10の各部の機能または処理内容を記述したプログラムを実行することにより実現される。コンピュータは、例えば、ハードウエアとして、図15に示すように、CPU(中央演算装置)80、メモリ(一次記憶)82、各種I/O(入出力)インタフェース84等がバス86を介して接続された回路構成を有する。また、そのバス86に対し、例えばI/Oインタフェース84経由で、HDD(ハードディスクドライブ)88やCDやDVD、フラッシュメモリなどの各種規格の可搬型の不揮発性記録媒体を読み取るためのディスクドライブ90が接続される。このようなドライブ88又は90は、メモリに対する外部記憶装置として機能する。実施形態の処理内容が記述されたプログラムがCDやDVD等の記録媒体を経由して、またはネットワーク経由で、HDD88等の固定記憶装置に保存され、コンピュータにインストールされる。固定記憶装置に記憶されたプログラムがメモリに読み出されCPUにより実行されることにより、実施形態の処理が実現される。   The above-described print data generation apparatus 10 is typically realized by executing a program describing functions or processing contents of each unit of the above-described print data generation apparatus 10 on a general-purpose computer. As shown in FIG. 15, for example, the computer includes a CPU (central processing unit) 80, a memory (primary storage) 82, various I / O (input / output) interfaces 84, and the like connected via a bus 86. Circuit configuration. Also, a disk drive 90 for reading portable non-volatile recording media of various standards such as an HDD (Hard Disk Drive) 88, a CD, a DVD, and a flash memory via the I / O interface 84, for example, to the bus 86. Connected. Such a drive 88 or 90 functions as an external storage device for the memory. A program in which the processing content of the embodiment is described is stored in a fixed storage device such as the HDD 88 via a recording medium such as a CD or DVD, or via a network, and is installed in a computer. The program stored in the fixed storage device is read into the memory and executed by the CPU, whereby the processing of the embodiment is realized.

なお、以上では、印刷データ生成装置10を1台のコンピュータにより実現する実施形態および変形例を説明したが、印刷データ生成装置10の上述の例の各部の機能を複数のコンピュータに分散させて実現してもよい。例えば、サーバコンピュータとクライアントコンピュータとが互いに接続されたシステムにおいて、印刷データ生成装置10の各部の機能をサーバコンピュータとクライアントコンピュータとに分散させて実現させることが考えられる。一例では、サーバコンピュータに展開図データ記憶部100、展開図データ処理部120、および印刷データ生成部130の機能を実現し、クライアントコンピュータに印刷指示部140および表示制御部150の機能を実現する。この例の場合、クライアントコンピュータにおいてユーザが入力した指示をクライアントコンピュータがサーバコンピュータに送信し、この指示に従ってサーバコンピュータの展開図データ処理部120および印刷データ生成部130により上述の実施形態の例の処理が行われて、生成された印刷データがクライアントコンピュータに返送される。クライアントコンピュータの印刷指示部140により、クライアントコンピュータに接続された印刷装置30に印刷指示が行なわれ、展開図が印刷される。   In the above, the embodiment and the modification example in which the print data generation device 10 is realized by one computer have been described. However, the functions of the respective units in the above-described example of the print data generation device 10 are distributed to a plurality of computers. May be. For example, in a system in which a server computer and a client computer are connected to each other, it is conceivable to realize the functions of each part of the print data generation apparatus 10 by distributing the functions to the server computer and the client computer. In one example, the functions of the expanded view data storage unit 100, the expanded view data processing unit 120, and the print data generating unit 130 are realized in a server computer, and the functions of the print instruction unit 140 and the display control unit 150 are realized in a client computer. In the case of this example, the client computer transmits an instruction input by the user on the client computer to the server computer, and in accordance with this instruction, the development diagram data processing unit 120 and the print data generation unit 130 of the server computer process the example of the above-described embodiment. And the generated print data is returned to the client computer. The print instruction unit 140 of the client computer issues a print instruction to the printing apparatus 30 connected to the client computer, and the development view is printed.

10 印刷データ生成装置、20 表示装置、30 印刷装置、80 CPU、82 メモリ、84 I/Oインタフェース、86 バス、88 HDD、90 ディスクドライブ、100 展開図データ記憶部、110 入力受付部、120 展開図データ処理部、122 データ取得部、124 面検出部、126 用紙情報取得部、128 配置決定部、130 印刷データ生成部、140 印刷指示部、150 表示制御部。   DESCRIPTION OF SYMBOLS 10 Print data production | generation apparatus, 20 Display apparatus, 30 Printing apparatus, 80 CPU, 82 Memory, 84 I / O interface, 86 bus | bath, 88 HDD, 90 Disk drive, 100 Expansion drawing data storage part, 110 Input reception part, 120 Expansion | deployment Graphic data processing unit, 122 data acquisition unit, 124 surface detection unit, 126 paper information acquisition unit, 128 arrangement determination unit, 130 print data generation unit, 140 print instruction unit, 150 display control unit

Claims (7)

立体の展開図を表す展開図データを取得し、取得した展開図データに含まれる各面を検出する検出手段と、
印刷に用いられる用紙の大きさの設定および当該用紙において前記展開図データが印刷される領域である印刷領域の設定を受け付ける受付手段と、
前記検出手段が検出した面ごとに前記展開図データを分割し、各面について1枚の前記用紙の前記印刷領域内での当該面の配置を決定する配置決定手段であって、当該面を構成する辺の少なくとも1つが前記印刷領域の辺上に位置するように当該面の配置を決定する配置決定手段と、
前記配置決定手段が決定した各面の配置を表す画像を前記用紙に印刷するための印刷データを生成する生成手段と、
を備えることを特徴とする印刷データ生成装置。
Detection means for acquiring development data representing a three-dimensional development, and detecting each surface included in the acquired development data;
Accepting means for accepting setting of a size of a sheet used for printing and setting of a print area which is an area where the development data is printed on the sheet;
An arrangement determining unit that divides the development data for each surface detected by the detecting unit and determines an arrangement of the surface in the print area of one sheet of paper for each surface, the surface being configured Arrangement determining means for determining the arrangement of the surface so that at least one of the sides to be positioned is on the side of the print area;
Generating means for generating print data for printing an image representing the arrangement of each surface determined by the arrangement determining means on the paper;
A print data generation apparatus comprising:
前記検出手段は、前記展開図データに含まれる外枠線および折り線を検出し、検出した外枠線および折り線により囲まれる各領域を前記各面として検出し、
前記配置決定手段は、前記検出した面ごとに、当該面の辺のうち前記折り線が前記印刷領域の辺上に位置するように当該面の前記印刷領域内での配置を決定する、
ことを特徴とする請求項1に記載の印刷データ生成装置。
The detecting means detects an outer frame line and a fold line included in the development data, detects each area surrounded by the detected outer frame line and the fold line as the respective surfaces,
The arrangement determining means determines, for each of the detected surfaces, an arrangement of the surface in the print region so that the fold line is positioned on a side of the print region among the sides of the surface.
The print data generation apparatus according to claim 1.
前記配置決定手段は、前記検出した面のうちの1つを1枚の前記用紙の前記印刷領域内に配置した状態で、当該1つの面に隣接する面がさらに前記印刷領域内に収まる場合に、当該1つの面と当該隣接する面とを前記印刷領域内に配置することを決定し、当該隣接する面のみを1枚の前記用紙の前記印刷領域内に配置することを決定済みであれば当該決定を破棄する、
ことを特徴とする請求項1または2に記載の印刷データ生成装置。
The arrangement determining means is arranged when one of the detected faces is arranged in the print area of one sheet of paper and a face adjacent to the one face is further accommodated in the print area. If it is determined that the one surface and the adjacent surface are arranged in the printing area, and only the adjacent surface is decided to be arranged in the printing area of one sheet of paper. Abandon the decision,
The print data generation apparatus according to claim 1, wherein the print data generation apparatus is a print data generation apparatus.
前記配置決定手段は、配置の決定の対象の面が1枚の前記用紙の前記印刷領域内に収まらない場合に、複数の前記用紙の前記印刷領域に亘って当該対象の面を配置することを決定する、
ことを特徴とする請求項1から3のいずれか1項に記載の印刷データ生成装置。
The arrangement determining means arranges the target surface across the print areas of the plurality of sheets when the target surface of the arrangement does not fit within the print area of one sheet of paper. decide,
The print data generation apparatus according to claim 1, wherein the print data generation apparatus is a print data generation apparatus.
前記生成手段は、前記配置決定手段が決定した各面の配置を表す画像に対して、前記展開図データが表す展開図を用いた組み立て作業の際の目印となる画像を追加した印刷データを生成する、
ことを特徴とする請求項1から4のいずれか1項に記載の印刷データ生成装置。
The generation unit generates print data in which an image representing the layout of each surface determined by the layout determination unit is added with an image serving as a mark for assembly work using the development view represented by the development view data. To
The print data generation apparatus according to claim 1, wherein the print data generation apparatus is a print data generation apparatus.
前記生成手段は、前記配置決定手段が決定した各面の配置を表す画像を印刷する前記用紙の大きさの設定を、印刷において利用可能な用紙の大きさのうち前記各面を印刷可能な最小の用紙の大きさに変更した上で、前記印刷データを生成する、
ことを特徴とする請求項1から5のいずれか1項に記載の印刷データ生成装置。
The generation unit sets the size of the sheet on which an image representing the layout of each side determined by the layout determination unit is set, and sets the minimum size that can print each side out of the sizes of sheets usable in printing. The print data is generated after the paper size is changed.
The print data generation apparatus according to claim 1, wherein the print data generation apparatus is a print data generation apparatus.
コンピュータに、
立体の展開図を表す展開図データを取得し、取得した展開図データに含まれる各面を検出する検出ステップと、
印刷に用いられる用紙の大きさの設定および当該用紙において前記展開図データが印刷される領域である印刷領域の設定を受け付ける受付ステップと、
前記検出ステップで検出された面ごとに前記展開図データを分割し、各面について1枚の前記用紙の前記印刷領域内での当該面の配置を決定するステップであって、当該面を構成する辺の少なくとも1つが前記印刷領域の辺上に位置するように当該面の配置を決定する配置決定ステップと、
前記配置決定ステップで決定した各面の配置を表す画像を前記用紙に印刷するための印刷データを生成する生成ステップと、
を実行させるためのプログラム。
On the computer,
A development step of obtaining development data representing a three-dimensional development, and detecting each surface included in the acquired development data;
An accepting step of accepting a setting of a size of a sheet used for printing and a setting of a print area that is an area on which the development view data is printed;
Dividing the development data for each surface detected in the detection step, and determining the arrangement of the surface in the print area of one sheet of paper for each surface, and configuring the surface An arrangement determining step for determining the arrangement of the surface so that at least one of the sides is positioned on the side of the print area;
A generation step for generating print data for printing an image representing the layout of each surface determined in the layout determination step on the paper;
A program for running
JP2010220771A 2010-09-30 2010-09-30 Print data generation apparatus and program Expired - Fee Related JP5594028B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010220771A JP5594028B2 (en) 2010-09-30 2010-09-30 Print data generation apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010220771A JP5594028B2 (en) 2010-09-30 2010-09-30 Print data generation apparatus and program

Publications (2)

Publication Number Publication Date
JP2012078894A JP2012078894A (en) 2012-04-19
JP5594028B2 true JP5594028B2 (en) 2014-09-24

Family

ID=46239118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010220771A Expired - Fee Related JP5594028B2 (en) 2010-09-30 2010-09-30 Print data generation apparatus and program

Country Status (1)

Country Link
JP (1) JP5594028B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6386885B2 (en) * 2014-11-13 2018-09-05 株式会社アマダホールディングス Automatic programming apparatus and machining program creation method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4347708B2 (en) * 2004-01-19 2009-10-21 パナソニック株式会社 Product information provision system
JP2005215895A (en) * 2004-01-28 2005-08-11 Canon Inc Printing control method and apparatus, printer driver program, and storage medium

Also Published As

Publication number Publication date
JP2012078894A (en) 2012-04-19

Similar Documents

Publication Publication Date Title
JP3673643B2 (en) Print layout apparatus, print layout method, and storage medium
US8520251B2 (en) Information processing apparatus, information processing method, and computer program
US20050105116A1 (en) Document processing apparatus and document processing method
JP4847182B2 (en) Print data generation apparatus, control method therefor, and computer program
US8395806B2 (en) Information processing apparatus, method, and program for bookbinding with selected cover layout type
JP2009273025A (en) Image processing apparatus, image processing method, image processing program, and recording medium with the same recorded
JP7332345B2 (en) Program, control method and image processing device
US9141895B2 (en) Information processing apparatus, data editing method, and computer program product
JP2004058651A (en) Print control device, print control method, print control program, and storage medium storing the program
US10970017B2 (en) Control method for controlling an image processing apparatus including printing areas displayed on a display unit and print information facing a predetermined direction
JP5127947B2 (en) Data processing apparatus, control method therefor, and computer program
JP2006259045A (en) Image forming apparatus and method
JP5594028B2 (en) Print data generation apparatus and program
JP5875273B2 (en) Print control apparatus, print control method, and program
JP5896266B2 (en) Image processing apparatus and program
JP2007279855A (en) Information processing apparatus, control method therefor, and program
JP6747246B2 (en) Image forming apparatus, print control program, and print control method
JP3897539B2 (en) Print data generation method and apparatus
CN113378610A (en) Information processing apparatus and computer readable medium
JP6467812B2 (en) Program, information processing apparatus and method
JP4277900B2 (en) Printing system, printing support system, printing method, printing support method, printing program, printing support program, and recording medium
JP2007253597A (en) Printer
US20250348255A1 (en) Information processing system, non-transitory computer readable medium storing program, and information processing method
US20260086748A1 (en) Method for controlling information processing device, information processing device and computer-readable storage medium
JP4968417B1 (en) Print data conversion apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140620

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: 20140708

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140721

R150 Certificate of patent or registration of utility model

Ref document number: 5594028

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees