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
JP6976524B2 - How to generate print data and software for generating print data - Google Patents
[go: Go Back, main page]

JP6976524B2 - How to generate print data and software for generating print data - Google Patents

How to generate print data and software for generating print data Download PDF

Info

Publication number
JP6976524B2
JP6976524B2 JP2018220788A JP2018220788A JP6976524B2 JP 6976524 B2 JP6976524 B2 JP 6976524B2 JP 2018220788 A JP2018220788 A JP 2018220788A JP 2018220788 A JP2018220788 A JP 2018220788A JP 6976524 B2 JP6976524 B2 JP 6976524B2
Authority
JP
Japan
Prior art keywords
data
print data
stream information
generating
information
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
JP2018220788A
Other languages
Japanese (ja)
Other versions
JP2020086972A (en
JP2020086972A5 (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.)
National Printing Bureau Inc
Original Assignee
National Printing Bureau Inc
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 National Printing Bureau Inc filed Critical National Printing Bureau Inc
Priority to JP2018220788A priority Critical patent/JP6976524B2/en
Publication of JP2020086972A publication Critical patent/JP2020086972A/en
Publication of JP2020086972A5 publication Critical patent/JP2020086972A5/ja
Application granted granted Critical
Publication of JP6976524B2 publication Critical patent/JP6976524B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

本発明は、バリアブル印刷向けの印刷用データの生成方法及び印刷用データを生成するためのソフトウェアである。 The present invention is a method for generating print data for variable printing and software for generating print data.

印刷物の内容を1枚ごとに変えながら印刷することを、一般にバリアブル印刷という。バリアブル印刷で用いられるデジタル印刷機は、大量生産のため高速化が図られており、機種によってはA4規格の用紙を毎分30枚以上の速度で印刷することができる。例えば、一般的なIDカードサイズの場合、A4規格の用紙に10枚分を配置できるので、印刷能力に換算して毎分300枚のIDカードを印刷することができる。 Printing while changing the contents of printed matter one by one is generally called variable printing. Digital printing machines used in variable printing are mass-produced and are therefore speeded up. Depending on the model, A4 standard paper can be printed at a speed of 30 sheets or more per minute. For example, in the case of a general ID card size, 10 sheets can be arranged on A4 standard paper, so that 300 ID cards can be printed per minute in terms of printing capacity.

仮に、毎分300枚の速度でバリアブル印刷する場合は、デジタル印刷機に与える印刷用データを、毎分300件以上の速度で生成することが望ましい。すなわち、デジタル印刷機の高速性をいかすためには、印刷用データを1件につき0.2秒以下で生成する必要がある。逆に、印刷用データの生成に0.2秒を超える時間を要すると、生産性を低下させる原因となる。 If variable printing is performed at a speed of 300 sheets per minute, it is desirable to generate printing data to be given to the digital printing machine at a speed of 300 sheets per minute or more. That is, in order to take advantage of the high speed of the digital printing machine, it is necessary to generate printing data for each print in 0.2 seconds or less. On the contrary, if it takes more than 0.2 seconds to generate print data, it causes a decrease in productivity.

このように、バリアブル印刷でデジタル印刷機の高速性を維持するためには、印刷能力よりも短い時間で印刷用データを生成することが求められている。 As described above, in order to maintain the high speed of the digital printing machine in variable printing, it is required to generate printing data in a time shorter than the printing ability.

一般に、バリアブル印刷を行う場合は、市販の自動組版ソフトウェアを使用して、印刷用データを生成している。 Generally, when variable printing is performed, commercially available automatic typesetting software is used to generate printing data.

図1において、バリアブル印刷のための印刷用データ1a、1b、1cは、PDF形式ファイル(非特許文献1)又はPDFのサブセットであるPDF/X形式ファイル(非特許文献2及び非特許文献3)が広く使用されている。 In FIG. 1, the print data 1a, 1b, and 1c for variable printing are a PDF format file (Non-Patent Document 1) or a PDF / X format file that is a subset of PDF (Non-Patent Document 2 and Non-Patent Document 3). Is widely used.

市販の自動組版ソフトウェア2を使用して印刷用データを生成する場合、レイアウトデータ3の画像エリア4及び文字エリア5へ、データベースに記録された情報に応じて画像や文字を挿入する。 When generating print data using commercially available automatic typesetting software 2, images and characters are inserted into the image area 4 and the character area 5 of the layout data 3 according to the information recorded in the database.

ここで、レイアウトデータ3のデザインの自由度は、自動組版ソフトウェア2の機能に制約される。市販の自動組版ソフトウェアには、例えば文字を自由曲線に沿って配置するような自由度の高いデザインに対応できるものは存在しないのが実情である。また、挿入できる画像の色空間も、自動組版ソフトウェア2の機能に依存する。例えば、RGBカラーやCMYKカラーといった汎用的なものに限定される場合が多く、その他の色空間、例えばバイナリ(モノクロ2階調)やスポットカラー(例えばコーポレートカラー)の画像に対応できるものは存在しない。 Here, the degree of freedom in the design of the layout data 3 is limited to the functions of the automatic typesetting software 2. The fact is that there is no commercially available automatic typesetting software that can handle designs with a high degree of freedom, such as arranging characters along a free curve. The color space of the image that can be inserted also depends on the function of the automatic typesetting software 2. For example, it is often limited to general-purpose images such as RGB color and CMYK color, and there is no one that can handle other color spaces such as binary (monochrome 2 gradation) and spot color (for example, corporate color) images. ..

図2に、一般的な自動組版ソフトウェアを使用して、レイアウトデータを生成する手順を示す。 FIG. 2 shows a procedure for generating layout data using general automatic typesetting software.

ステップS101として、あらかじめ用意されたデータベースを読み込む。このデータベースには、例えば個人情報が記録されている。 As step S101, the database prepared in advance is read. For example, personal information is recorded in this database.

ステップS102として、ページサイズを設定する。 The page size is set in step S102.

ステップS103として、画像エリアを配置し、ステップS104として、例えば画像ファイルの参照先、挿入位置、拡大率、角度等の属性を設定する。 As step S103, an image area is arranged, and as step S104, attributes such as a reference destination, an insertion position, an enlargement ratio, and an angle of an image file are set.

ステップS105として、画像の挿入条件、例えば固定又は可変等の条件を設定する。なお、画像を可変とする場合は、挿入条件に、例えば画像ファイルの参照先としてデータベースのフィールド情報を指定する。このステップS103、S104、S105の手順を画像エリアの数だけ繰り返す。 In step S105, image insertion conditions, such as fixed or variable conditions, are set. When the image is variable, the field information of the database is specified in the insertion condition, for example, as the reference destination of the image file. The procedure of steps S103, S104, and S105 is repeated for the number of image areas.

ステップS106として、文字エリアを配置し、ステップS107として、例えば文字の挿入位置、書体、組方向、サイズ、色等の属性を設定する。 As step S106, a character area is arranged, and as step S107, attributes such as a character insertion position, a typeface, a set direction, a size, and a color are set.

ステップS108として、文字の挿入条件、例えば固定又は可変等の条件を設定する。なお、文字を可変とする場合は、挿入条件に、例えば文字の参照先としてデータベースのフィールド情報を指定する。このステップS106、S107、S108の手順を文字エリアの数だけ繰り返す。 In step S108, character insertion conditions, such as fixed or variable conditions, are set. When the character is variable, for example, the field information of the database is specified as the reference destination of the character in the insertion condition. The procedure of steps S106, S107, and S108 is repeated for the number of character areas.

ステップS109として、作成したレイアウトデータを記憶部に格納する。 As step S109, the created layout data is stored in the storage unit.

上述したように、ステップS103〜S105、S106〜S108において、レイアウトデータに配置された画像エリア及び文字エリアの数だけ、画像や文字を挿入するための手順を繰り返すので、複雑なデザインほど多くの作業時間を要する。 As described above, in steps S103 to S105 and S106 to S108, the procedure for inserting images and characters is repeated for the number of image areas and character areas arranged in the layout data, so that the more complicated the design, the more work. It takes time.

図3に、一般的な自動組版ソフトウェアを用いて、作成したレイアウトデータに対して組版処理を行い、印刷用データを生成する手順を示す。 FIG. 3 shows a procedure for generating print data by performing typesetting processing on the created layout data using general automatic typesetting software.

ステップS201として、図2に示された手順でレイアウトデータを作成する。 As step S201, layout data is created according to the procedure shown in FIG.

ステップS202及びステップS210の間に、後述のステップS203〜S209の処理を、データベースのレコード情報の件数だけ繰り返す。 During steps S202 and S210, the processes of steps S203 to S209 described later are repeated for the number of record information in the database.

ステップS203として、記憶部に格納されたレイアウトデータを読み込む。 As step S203, the layout data stored in the storage unit is read.

ステップS204として、レイアウトデータに配置された画像エリアに画像を挿入する。 As step S204, an image is inserted into the image area arranged in the layout data.

ステップS205として、挿入した画像に、画像エリアに設定された属性を適用する。このステップS204とS205の処理を、画像エリアの数だけ繰り返す。 As step S205, the attribute set in the image area is applied to the inserted image. The processing of steps S204 and S205 is repeated for the number of image areas.

ステップS206として、レイアウトデータに配置された文字エリアに文字を挿入する。

ステップS207として、挿入した文字に、文字エリアに設定された属性を適用する。このステップS206とS207の処理を、文字エリアの数だけ繰り返す。
As step S206, a character is inserted into the character area arranged in the layout data.

As step S207, the attribute set in the character area is applied to the inserted character. The processing of steps S206 and S207 is repeated for the number of character areas.

ステップS208として、画像及び文字を組み込んだ印刷用データを生成する。なお、ステップS204からステップS208までの処理が、組版処理に相当する。 As step S208, print data incorporating images and characters is generated. The process from step S204 to step S208 corresponds to the typesetting process.

ステップS209として、記憶部に印刷用データを格納する。 As step S209, print data is stored in the storage unit.

自動組版ソフトウェアでは、レイアウトデータを元に、画像や文字を所定の位置へ挿入する組版処理を行いながら、印刷用データを生成するための演算処理を実行している。すなわち、印刷用データの組版処理を行う度に、画像や文字の属性が記述されたコード(以下「プロパティ情報」と称する。)と、画像や文字の内容が連続的なデータとして記述されたコード(以下「ストリーム情報」と称する。)を印刷用データに組み込んでいる。 The automatic typesetting software executes arithmetic processing for generating print data while performing typesetting processing for inserting images and characters into predetermined positions based on layout data. That is, each time the typesetting process of the print data is performed, a code in which the attributes of the image and characters are described (hereinafter referred to as "property information") and a code in which the contents of the images and characters are described as continuous data. (Hereinafter referred to as "stream information") is incorporated into the print data.

なお、一般的なバリアブル印刷に用いられる印刷用データの場合、画像や文字の内容が変わっても、そのデザインの外観を決める属性、すなわちプロパティ情報は変わらないことがほとんどである。しかしながら、自動組版ソフトウェアでは、組版処理を行う度に、印刷用データに対して同じプロパティ情報を繰り返し記述している。その結果、演算処理に多くの時間を要していた。 In the case of print data used for general variable printing, in most cases, the attributes that determine the appearance of the design, that is, the property information, do not change even if the contents of the image or characters change. However, in the automatic typesetting software, the same property information is repeatedly described for the print data every time the typesetting process is performed. As a result, it took a lot of time for the arithmetic processing.

また、印刷物のデザイン案は、例えばAdobe Illustrator(登録商標)のようなデザインソフトウェアを使用して作成する場合が多い。そのため、バリアブル印刷が前提であっても、始めから自動組版ソフトウェアを用いてデザイン、すなわちレイアウトデータを作成することはまれである。 Further, the design proposal of the printed matter is often created by using design software such as Adobe Illustrator (registered trademark). Therefore, even if variable printing is a prerequisite, it is rare to create design, that is, layout data using automatic typesetting software from the beginning.

よって、バリアブル印刷のための印刷用データを作成する際は、デザインソフトウェアを用いてデザイン案を作成し、それを下絵として、自動組版ソフトウェアでトレースするように、レイアウトデータを作成するのが一般的な手順である。 Therefore, when creating print data for variable printing, it is common to create a design proposal using design software, and then create layout data so that it can be traced by automatic typesetting software as a sketch. Procedure.

このように、まずデザイン案を作成した後、そのデザイン案を下絵として、自動組版ソフトウェアを用いてデザインを再作成するかのようにレイアウトデータを作成するため、デザインの段階で重複した作業を繰り返すことがあり、作業性が低かった。 In this way, after creating a design proposal first, the layout data is created as if the design was recreated using automatic typesetting software, using the design proposal as a sketch, so duplicate work is repeated at the design stage. In some cases, workability was low.

また、デザイナーが通常使用しているデザインソフトウェアに比べると、自動組版ソフトウェアは、デザインの自由度や表現力が格段に低かった。
例えば、デザインソフトウェアでは、画像にクリッピングマスクを適用したり、文字を自由曲線に沿うように配置したり、それらを複雑なレイヤー構造で配置したり等、自由自在なデザインのアレンジが可能であるが、自動組版ソフトウェアでは、そのようなデザイン表現の全てには対応できなかった。
In addition, compared to the design software normally used by designers, the automatic typesetting software had a much lower degree of freedom and expressiveness in design.
For example, in design software, it is possible to freely arrange the design, such as applying a clipping mask to an image, arranging characters along a free curve, and arranging them in a complicated layer structure. , The automatic typesetting software could not handle all such design expressions.

このように、デザインソフトウェアと自動組版ソフトウェアとの間には、デザインの自由度において格差があり、デザインソフトウェアで作成した自由度の高いデザイン表現を自動組版ソフトウェアにそのまま反映することができない場合が多くあった。 In this way, there is a difference in the degree of freedom in design between the design software and the automatic typesetting software, and it is often not possible to directly reflect the highly flexible design expression created by the design software in the automatic typesetting software. there were.

なお、従来の自動組版処理に関する技術として、例えば特開2000−29875号公報及び特許第4834919号公報に記載されたものがある。 As a conventional technique related to automatic typesetting, there are those described in, for example, Japanese Patent Application Laid-Open No. 2000-29875 and Japanese Patent No. 4834919.

特開2000−29875号公報Japanese Unexamined Patent Publication No. 2000-29875 特許第4834919号公報Japanese Patent No. 4834919 PDF Reference sixth editionPDF Reference sixth edition ISO 15930−1:2001 Graphic technology−Prepress digital data exchange−Use of PDF−ISO 15930-1: 2001 Graphic technology-Prepress digital data exchange-Use of PDF- ISO 15930−7:2010 Graphic technology−Prepress digital data exchange using PDF−ISO 15930-7: 2010 Graphic technology-Prepress digital data exchange PDF-

特許文献1及び特許文献2として記載されたような従来の技術では、例えば自動組版システムや自動組版ソフトウェアを用いて、所定のエリア内に条件を発生させて画像や文字を挿入していく処理を行っており、デザインによっては、バリアブル印刷のための印刷用データの生成に、デジタル印刷機の印刷能力よりも長い時間を要してしまい、生産性が低いという課題があった。 In the conventional technology as described in Patent Document 1 and Patent Document 2, for example, using an automatic typesetting system or automatic typesetting software, a process of generating a condition in a predetermined area and inserting an image or a character is performed. Depending on the design, it takes longer than the printing capacity of the digital printing machine to generate printing data for variable printing, and there is a problem that the productivity is low.

また、デザインソフトウェアによってデザイン案を作成した後、このデザイン案を下絵として、自動組版ソフトウェアを用いてデザインを再作成するかのようにレイアウトデータを作成していたため、作業性が低かった。 In addition, after the design proposal was created by the design software, the layout data was created as if the design was recreated using the automatic typesetting software using this design proposal as a sketch, so the workability was low.

さらに、市販の自動組版ソフトウェアは、市販のデザインソフトウェアに比べてデザインの自由度が低いため、デザインソフトウェアによるデザイン表現の全てを実現することができなかった。 Furthermore, since the commercially available automatic typesetting software has a lower degree of freedom in design than the commercially available design software, it has not been possible to realize all the design expressions by the design software.

本発明は、上記事情を鑑みて、生産性及び作業性を向上させるとともに、自由度の高いデザイン表現が可能なバリアブル印刷向けの印刷用データの生成方法及び印刷用データを生成するためのソフトウェアを提供することを目的とする。 In view of the above circumstances, the present invention provides a method for generating print data for variable printing and software for generating print data, which can improve productivity and workability and can express a design with a high degree of freedom. The purpose is to provide.

本発明は、記憶部及び処理部を備える装置と、データ入力機能、演算処理機能及びデータ出力機能を備えるソフトウェアを用いて、前記データ入力機能により、前記記憶部に格納された、画像及び/又は文字を含むソースデータを入力するステップと、前記データ入力機能により、前記記憶部に格納された、設定データを入力するステップと、前記データ入力機能により、前記記憶部に格納された、データベースを入力するステップと、前記演算処理機能により、前記ソースデータに含まれる前記画像及び/又は前記文字のプロパティ情報を維持したまま、前記ソースデータに含まれる前記画像及び/又は前記文字の第1のストリーム情報を、前記設定データに従って、前記データベースに記録された情報に応じて、前記画像及び/又は前記文字をストリーム情報へと変換した第2のストリーム情報に置換して、前記印刷用データを生成するステップと、前記データ出力機能により、生成された前記印刷用データを、前記記憶部に格納するステップによって、高速でバリアブル印刷向けの印刷用データを生成する。
The present invention uses a device including a storage unit and a processing unit and software having a data input function, an arithmetic processing function, and a data output function, and an image and / or an image stored in the storage unit by the data input function. A step of inputting source data including characters, a step of inputting setting data stored in the storage unit by the data input function, and a database stored in the storage unit by the data input function are input. And the first stream information of the image and / or the character included in the source data while maintaining the property information of the image and / or the character included in the source data by the arithmetic processing function. Is replaced with the second stream information obtained by converting the image and / or the character into stream information according to the information recorded in the database according to the setting data, and the step of generating the print data. Then, the print data for variable printing is generated at high speed by the step of storing the print data generated by the data output function in the storage unit.

本発明の印刷用データの生成方法及び印刷用データを生成するためのソフトウェアによれば、ソースデータに含まれる画像や文字のプロパティ情報を維持したまま、ストリーム情報を新たなストリーム情報に置換する方法で印刷用データを作成するため、作業性及び生産性が向上し、高速でバリアブル印刷向けの印刷用データを生成できるとともに、ソースデータが持つ自由度の高いデザイン表現を維持することができる。 According to the method for generating print data and the software for generating print data of the present invention, a method for replacing stream information with new stream information while maintaining property information of images and characters contained in the source data. Since the print data is created in, workability and productivity are improved, print data for variable printing can be generated at high speed, and the highly flexible design expression of the source data can be maintained.

自動組版ソフトウェアを用いて印刷用データを生成する概略を示した説明図。An explanatory diagram showing an outline of generating printing data using automatic typesetting software. 自動組版ソフトウェアを用いてレイアウトデータを作成する手順を示したフローチャート。A flowchart showing a procedure for creating layout data using automatic typesetting software. 自動組版ソフトウェアを用いて印刷用データを生成する手順を示したフローチャート。A flowchart showing a procedure for generating print data using automatic typesetting software. デザイナーの設計思考を示した説明図。An explanatory diagram showing the designer's design thinking. 本発明の実施形態において印刷用データを生成する概略を示した説明図。An explanatory diagram showing an outline for generating print data in an embodiment of the present invention. 印刷用データに含まれる画像及び文字のストリーム情報及びプロパティ情報の一例を示した説明図。An explanatory diagram showing an example of stream information and property information of images and characters included in print data. 同実施形態においてソースデータを作成する概略を示した説明図。An explanatory diagram showing an outline of creating source data in the same embodiment. 同実施形態において印刷用データを生成する概略を示した説明図。Explanatory drawing which showed the outline which generates the data for printing in the same embodiment. 同実施形態で使用するPDF形式ファイルの構成を示した説明図。The explanatory view which showed the structure of the PDF format file used in the same embodiment. 同実施形態で使用するPDF形式ファイルのオブジェクト構成を示した説明図。The explanatory view which showed the object structure of the PDF format file used in the same embodiment. 同実施形態で使用するPDF形式ファイルの内部構造を示した説明図。Explanatory drawing which showed the internal structure of the PDF format file used in the same embodiment. 同実施形態で使用するPDF形式ファイルのストリーム情報を示した説明図。The explanatory view which showed the stream information of the PDF format file used in the same embodiment. 同実施形態で使用するPDF形式ファイルにおける画像のストリーム情報の置換を示した説明図。The explanatory view which showed the replacement of the stream information of the image in the PDF format file used in the same embodiment. 同実施形態で使用するPDF形式ファイルにおける文字のストリーム情報の置換を示した説明図。The explanatory view which showed the replacement of the stream information of a character in the PDF format file used in the same embodiment. 同実施形態で使用するPDF形式ファイルにおけるストリーム情報の置換に付随して行う処理としてバイト長の更新を示した説明図。The explanatory view which showed the update of the byte length as the process which accompanies the replacement of stream information in the PDF format file used in the same embodiment. 同実施形態で使用するPDF形式ファイルにおけるストリーム情報の置換に付随して行う処理として相互参照表の更新を示した説明図。The explanatory view which showed the update of the cross-reference table as the process performed with the replacement of stream information in the PDF format file used in the same embodiment. 同実施形態で使用する装置及びソフトウェアの構成を示したブロック図。The block diagram which showed the structure of the apparatus and software used in the same embodiment. 同実施形態による印刷用データの生成で使用するソースデータを作成する手順を示したフローチャート。The flowchart which showed the procedure of creating the source data used in the generation of print data by the same embodiment. 同実施形態による印刷用データの生成で使用する設定データを作成する手順を示したフローチャート。The flowchart which showed the procedure of creating the setting data used in the generation of print data by the same embodiment. 同実施形態による印刷用データの生成で使用するデータベースの一例を示した説明図。An explanatory diagram showing an example of a database used for generating print data according to the same embodiment. 同実施形態による印刷用データの生成で使用する設定データの一例を示した説明図。Explanatory drawing which showed an example of setting data used for generation of print data by the same embodiment. 同実施形態によって印刷用データを生成する手順を示したフローチャート。The flowchart which showed the procedure which generated the print data by the same embodiment. 同実施形態2で使用するPDF形式ファイルにおける文字のフォントデータの追記を示した説明図。The explanatory view which showed the addition of the font data of the character in the PDF format file used in the same Embodiment 2. 同実施形態2によって印刷用データを生成する手順を示したフローチャート。The flowchart which showed the procedure which generated the print data by the same Embodiment 2. 同実施形態3で使用するPDF形式ファイルにおける文字のプロパティ情報の置換を示した説明図。The explanatory view which showed the substitution of the property information of a character in the PDF format file used in Embodiment 3. FIG. 同実施形態3によって印刷用データを生成する手順を示したフローチャート。The flowchart which showed the procedure which generated the print data by the said Embodiment 3.

(実施形態1)
以下、本発明の実施形態による印刷用データの生成方法について、図面を用いて説明する。
(Embodiment 1)
Hereinafter, a method for generating print data according to an embodiment of the present invention will be described with reference to the drawings.

デザイナーは通常、図4に示されるように、頭の中で描いた図案を、市販のデザインソフトウェア6を使用してデザインデータ7として具現化する。デザインソフトウェア6は、画像にクリッピングマスクを適用したり、文字を自由曲線に沿うように配置したり、それらを複雑なレイヤー構造で配置したり等、自由自在なデザインのアレンジが可能である。なお、これらの機能は、市販の自動組版ソフトウェアよりも自由度の高いデザイン表現が得られるものである。 Designers usually embody the design drawn in their head as design data 7 using commercially available design software 6, as shown in FIG. The design software 6 can freely arrange the design, such as applying a clipping mask to an image, arranging characters along a free curve, and arranging them in a complicated layer structure. It should be noted that these functions provide a design expression with a higher degree of freedom than commercially available automatic typesetting software.

市販のデザインソフトウェア6では、デザインデータ7を、例えばPDF形式ファイル8として、記憶部に格納することができる。 In the commercially available design software 6, the design data 7 can be stored in the storage unit as, for example, a PDF format file 8.

そこで、図5に示されるように、PDF形式ファイル8を雛形(以下「ソースデータ」と称する。)として使用し、可変情報のストリーム情報のみを置換することで、バリアブル印刷のための印刷用データ1a、1b、1cを作成する。 Therefore, as shown in FIG. 5, the PDF format file 8 is used as a template (hereinafter referred to as “source data”), and only the stream information of the variable information is replaced to print data for variable printing. Create 1a, 1b, and 1c.

ここで、画像及び文字のストリーム情報とプロパティ情報の一例を図6に示す。 Here, FIG. 6 shows an example of stream information and property information of images and characters.

印刷用データを構成する要素は、原則的に、画像、文字のいずれかに種別されると考えられる。画像には、ビットマップで表現されるラスター画像、図形や線画として表現されるベクター画像が存在する。文字には、例えばASCIIコード、HEXコード等の文字コードにより表現されるものがある。 In principle, the elements that make up the print data are considered to be classified into either images or characters. Images include raster images represented by bitmaps and vector images represented as figures and line drawings. Some characters are represented by character codes such as ASCII code and HEX code.

画像及び文字に共通するプロパティ情報として、配置座標、サイズ、拡大率、比率、角度等がある。ラスター画像に特有のプロパティ情報として、画素数、色深度、色空間等がある。ベクター画像に特有のプロパティ情報として、色(塗り及び線)、線幅等がある。文字に特有のプロパティ情報として、書体、色、文字間、行間等がある。 Property information common to images and characters includes placement coordinates, size, enlargement ratio, ratio, angle, and the like. Property information peculiar to a raster image includes the number of pixels, color depth, color space, and the like. Property information unique to vector images includes color (fill and line), line width, and the like. Property information specific to characters includes typeface, color, character spacing, line spacing, and the like.

本実施形態では、プロパティ情報には手を加えず維持し、ストリーム情報のみを置換することで、バリアブル印刷のための印刷データを作成する。これにより、自動組版ソフトウェアを用いてストリーム情報のみならずプロパティ情報も1件ごとに組版処理する必要があった従来と異なり、より高速に印刷用データを生成することができるとともに、デザインソフトウェアが持つデザインの自由度を維持することができる。 In the present embodiment, the property information is maintained unchanged and only the stream information is replaced to create print data for variable printing. This makes it possible to generate print data at a higher speed than in the past, where it was necessary to typeset not only stream information but also property information for each case using automatic typesetting software, and the design software has it. The degree of design freedom can be maintained.

例えば、図7に示されるように、PDF形式ファイル8において、可変情報とする画像10を「黒」に変更し、可変情報とする文字11を「0」に変更したソースデータ9を使用する。なお、この変更は、本実施形態において必ずしも実施すべき手順ではなく、PDF形式ファイル8をソースデータ9として使用することも可能である。 For example, as shown in FIG. 7, in the PDF format file 8, the source data 9 in which the image 10 to be variable information is changed to “black” and the character 11 to be variable information is changed to “0” is used. It should be noted that this change is not necessarily a procedure to be performed in this embodiment, and the PDF format file 8 can be used as the source data 9.

このようなソースデータ9を記憶部から読み込み、図8に示されるように、可変情報の画像10と可変情報の文字11に対して、所望のストリーム情報、すなわち画像10、文字11の内容が記述されたコードを置換することにより、印刷用データ1a、1b、1cを生成する。 Such source data 9 is read from the storage unit, and as shown in FIG. 8, desired stream information, that is, the contents of the image 10 and the character 11 are described for the variable information image 10 and the variable information character 11. By substituting the code, print data 1a, 1b, and 1c are generated.

従来のように、自動組版ソフトウェアを用いて画像や文字を挿入して配置するのではなく、ソースデータ9において、既に配置されている画像10や文字11のプロパティ情報、すなわち画像や文字の属性が記述されたコードには手を加えず維持し、ストリーム情報、すなわち画像や文字の内容が記述されたコードのみを置換して、印刷用データ1a、1b、1cを生成するので、組版処理が不要である。 Instead of inserting and arranging images and characters using automatic typesetting software as in the past, the property information of the images 10 and characters 11 that have already been arranged in the source data 9, that is, the attributes of the images and characters The written code is maintained untouched, and only the stream information, that is, the code in which the content of the image or character is described is replaced to generate the print data 1a, 1b, 1c, so that the typesetting process is unnecessary. Is.

ここで、ソースデータ9として用いる例えばPDF形式ファイルの構成は、非特許文献1のPDF Reference sixth editionにより定義されており、図9に示されるように、ヘッダー(Header)12a、ボディ(Body)12b、クロスリファレンステーブル(Cross−reference table)12c、トレイラー(Trailer)12dを備えている。このうち、画像や文字のプロパティ情報及びストリーム情報は、全てボディ12bと称される領域内に記述されている。 Here, for example, the structure of the PDF format file used as the source data 9 is defined by the PDF Reference sixth edition of Non-Patent Document 1, and as shown in FIG. 9, the header 12a and the body 12b are defined. , Cross-reference table 12c, Trailer 12d. Of these, the property information and stream information of images and characters are all described in the area called the body 12b.

ボディ12bは、図10に示されるようにオブジェクト13a、13b、13cの集合体で構成されている。そして、図11に示されるように、画像のプロパティ情報及びストリーム情報は、グラフィックオブジェクト(Graphics object)14と称されるオブジェクト内に記述されており、文字のプロパティ情報及びストリーム情報は、テキストオブジェクト(Text object)15と称されるオブジェクト内に記述されている。 The body 12b is composed of an aggregate of objects 13a, 13b, and 13c as shown in FIG. As shown in FIG. 11, the property information and stream information of the image are described in an object called a graphic object 14, and the property information and stream information of characters are text objects (text objects). It is described in an object called Text object) 15.

図12に示されるように、ストリーム情報は、オブジェクト13におけるストリーム(stream)からエンドストリーム(endstream)という2つのキーワードで囲われた部分16に記述されている。 As shown in FIG. 12, the stream information is described in the portion 16 surrounded by two keywords, the stream (stream) to the end stream (endstream) in the object 13.

画像については、例えば図13に示されるように、グラフィックオブジェクト14において、画像の濃度値を表すコードが記述されているストリーム情報17aを、新たなストリーム情報17bに置換して、画像の内容を変更する。画像のストリーム情報を置換する際には、原則としてストリーム情報の量、具体的には画像の画素を構成している要素は変更しない。また、画像の配置座標、サイズ、色空間等が記述されているプロパティ情報については、前述のように変更しない。そのため、ソースデータ9が持つデザイン性をそのまま維持することができる。 For the image, for example, as shown in FIG. 13, in the graphic object 14, the stream information 17a in which the code representing the density value of the image is described is replaced with the new stream information 17b, and the content of the image is changed. do. When replacing the stream information of an image, in principle, the amount of stream information, specifically, the elements constituting the pixels of the image are not changed. Further, the property information in which the arrangement coordinates, size, color space, etc. of the image are described is not changed as described above. Therefore, the design of the source data 9 can be maintained as it is.

文字については、例えば図14に示されるように、テキストオブジェクトにおいて、文字を表すコードが記述されているストリーム情報17cを、新たなストリーム情報17dに置換して、文字の内容を変更する。文字のストリーム情報を置換する際には、画像の場合と異なり、ストリーム情報の量、具体的には文字数が変更される場合がある。 For characters, for example, as shown in FIG. 14, in a text object, the stream information 17c in which a code representing a character is described is replaced with new stream information 17d to change the content of the character. When replacing the stream information of characters, the amount of stream information, specifically, the number of characters may be changed, unlike the case of an image.

しかしながら、文字の配置座標、書体、サイズ、色等が記述されているプロパティ情報については、画像のプロパティ情報と同様に変更しない。そのため、ソースデータ9が持つデザイン性をそのまま維持することができる。 However, the property information in which the arrangement coordinates, typeface, size, color, etc. of the characters are described is not changed in the same manner as the property information of the image. Therefore, the design of the source data 9 can be maintained as it is.

ところで、グラフィックオブジェクト14及びテキストオブジェクト15には、図15に示されるように、画像及び文字のストリーム情報17に従属して、その情報量を示すバイト長(Length)18が記述されている。このストリーム情報17の情報量を示すバイト長18は、画像の場合は圧縮方式等、文字の場合は文字数等によって変動する。このため、ストリーム情報17a、17cをストリーム情報17b、17dに置換したことで、そのバイト長18に増減が生じた場合には、PDF形式ファイルの仕様を満たす目的で、記述されているバイト長18の値を変更する必要がある。 By the way, as shown in FIG. 15, a byte length (Length) 18 indicating the amount of information is described in the graphic object 14 and the text object 15 depending on the stream information 17 of images and characters. The byte length 18 indicating the amount of information in the stream information 17 varies depending on the compression method or the like in the case of an image and the number of characters or the like in the case of characters. Therefore, if the byte length 18 is increased or decreased by replacing the stream information 17a and 17c with the stream information 17b and 17d, the byte length 18 described is described for the purpose of satisfying the specifications of the PDF format file. You need to change the value of.

PDF形式ファイルの末尾には、図16に示されるように、各々のオブジェクト13の開始位置、すなわち冒頭からオブジェクトの先頭までのバイト数を列記したクロスリファレンステーブル(以下「相互参照表」と称する。)19が記述されている。この相互参照表19は、いわゆる目次に相当するものであり、画像や文字のバイト長18が変動すると、それに付随して値が変動する。 At the end of the PDF format file, as shown in FIG. 16, a cross-reference table (hereinafter referred to as "cross-reference table") in which the start position of each object 13, that is, the number of bytes from the beginning to the beginning of the object is listed is listed. ) 19 is described. This cross-reference table 19 corresponds to a so-called table of contents, and when the byte length 18 of an image or a character fluctuates, the value fluctuates accordingly.

例えば、上述したようにストリーム情報17a、17cをストリーム情報17b、17dに置換したことで、そのバイト長18に増減が生じた場合には、PDF形式ファイルの仕様を満たす目的で、そのオブジェクト13よりも後のオブジェクト13の開始位置20と、相互参照表の開始位置21を変更する必要がある。 For example, if the byte length 18 is increased or decreased by replacing the stream information 17a and 17c with the stream information 17b and 17d as described above, the object 13 is used for the purpose of satisfying the specifications of the PDF format file. It is necessary to change the start position 20 of the later object 13 and the start position 21 of the cross-reference table.

図16に示された一例では、7番目のオブジェクト13のバイト長18が512バイト増えたと仮定している。このような場合は、8番目以降のオブジェクト13の開始位置20と、相互参照表の開始位置21に512バイトを加算している。 In the example shown in FIG. 16, it is assumed that the byte length 18 of the seventh object 13 is increased by 512 bytes. In such a case, 512 bytes are added to the start position 20 of the eighth and subsequent objects 13 and the start position 21 of the cross-reference table.

図17に、本発明の実施形態による印刷用データを生成するための装置及びソフトウェアの構成を示す。 FIG. 17 shows a configuration of an apparatus and software for generating printing data according to an embodiment of the present invention.

この装置は、記憶部101と処理部102を備え、処理部102には、データ入力機能103、演算処理機能104、データ出力機能105を持つソフトウェアを備える。なお、記憶部101はコンピュータにおけるハードディスクドライブ又はRAM、処理部102はコンピュータにおけるCPUに相当する。 This device includes a storage unit 101 and a processing unit 102, and the processing unit 102 includes software having a data input function 103, an arithmetic processing function 104, and a data output function 105. The storage unit 101 corresponds to a hard disk drive or RAM in a computer, and the processing unit 102 corresponds to a CPU in a computer.

記憶部101は、印刷用データの作成に必要なPDF形式ファイル等のソースデータを格納する。このソースデータは、例えば図18を用いて後述するように、市販のデザインソフトウェアを使用して作成したPDF形式ファイルをソースデータとして使用してもよい。 The storage unit 101 stores source data such as a PDF format file necessary for creating print data. As the source data, for example, as will be described later with reference to FIG. 18, a PDF format file created by using commercially available design software may be used as the source data.

また、記憶部101は、印刷用データの作成に必要なデータベース形式ファイル等(以下「データベース」と称する。)も格納する。このデータベースには、例えば各個人を示す氏名、性別、年齢等の情報が記録されている。 The storage unit 101 also stores a database format file or the like (hereinafter referred to as a “database”) necessary for creating print data. In this database, for example, information such as a name, gender, and age indicating each individual is recorded.

データ入力機能103は、記憶部101に格納されたソースデータ、データベース、後述の設定データを入力する。 The data input function 103 inputs the source data stored in the storage unit 101, the database, and the setting data described later.

演算処理機能104は、ソースデータに含まれる画像及び文字の第1のストリーム情報を、データベースに記録された情報に応じて、画像及び文字をストリーム情報へと変換した第2のストリーム情報に置換する。また、その一方で、ソースデータに含まれるプロパティ情報を維持したまま印刷用データを生成する。 The arithmetic processing function 104 replaces the first stream information of the image and the character contained in the source data with the second stream information obtained by converting the image and the character into the stream information according to the information recorded in the database. .. On the other hand, print data is generated while maintaining the property information included in the source data.

データ出力機能105は、演算処理機能104が生成した印刷用データを、記憶部101へ格納する。 The data output function 105 stores the print data generated by the arithmetic processing function 104 in the storage unit 101.

図18のフローチャートに、ソースデータを、市販のデザインソフトウェアを使用して作成する手順を示す。 The flowchart of FIG. 18 shows a procedure for creating source data using commercially available design software.

ステップS301として、ページサイズを設定する。 The page size is set in step S301.

ステップS302として、画像を配置し、ステップS303として、例えば画像の配置座標、サイズ、拡大率、比率、角度等の属性を、画像に適用する。このステップS302、S303の手順を画像の数だけ繰り返す。 The image is arranged in step S302, and attributes such as the arrangement coordinates, size, enlargement ratio, ratio, and angle of the image are applied to the image in step S303. The procedure of steps S302 and S303 is repeated for the number of images.

ステップS304として、文字を配置し、ステップS305として、例えば文字の配置座標、書体、色、文字間、行間等の属性を、文字に適用する。このステップS304、S305の手順を文字の数だけ繰り返す。なお、この場合の文字の数とは、原則として、文字数ではなく文字列の数を示している。 Characters are arranged as step S304, and attributes such as character arrangement coordinates, typeface, color, character spacing, and line spacing are applied to the characters as step S305. The procedure of steps S304 and S305 is repeated for the number of characters. In principle, the number of characters in this case indicates the number of character strings, not the number of characters.

ステップS306として、作成したソースデータを記憶部101に格納する。 As step S306, the created source data is stored in the storage unit 101.

図19のフローチャートに、ソースデータを元に、設定データを作成する手順を示す。なお、設定データとは、ソースデータに含まれる置換対象の画像及び文字のストリーム情報の開始位置、終了位置等の置換条件を記録したデータである。 The flowchart of FIG. 19 shows a procedure for creating setting data based on the source data. The setting data is data in which replacement conditions such as a start position and an end position of stream information of images and characters to be replaced included in the source data are recorded.

ステップS401として、記憶部101に格納されたソースデータを読み込む。 As step S401, the source data stored in the storage unit 101 is read.

ステップS402として、ソースデータの中から、置換対象の画像のストリーム情報を検索する。 In step S402, the stream information of the image to be replaced is searched from the source data.

ステップS403として、検索した画像のストリーム情報の開始位置、具体的にはソースデータの冒頭からのバイト数、終了位置、エンコード方式等を含む置換条件を設定する。このステップS402、S403の手順を置換対象の画像の数だけ繰り返す。 In step S403, a replacement condition including the start position of the stream information of the searched image, specifically, the number of bytes from the beginning of the source data, the end position, the encoding method, and the like is set. The procedure of steps S402 and S403 is repeated for the number of images to be replaced.

ステップS404として、ソースデータの中から、置換対象の文字のストリーム情報を検索する。 In step S404, the stream information of the character to be replaced is searched from the source data.

ステップS405として、検索した文字のストリーム情報の開始位置、終了位置、エンコード方式等を含む置換条件を設定する。このステップS404、S405の手順を置換対象の文字の数だけ繰り返す。 In step S405, a replacement condition including a start position, an end position, an encoding method, and the like of the stream information of the searched characters is set. The procedure of steps S404 and S405 is repeated for the number of characters to be replaced.

ステップS406として、設定データを記憶部101に格納する。あるいは、設定データをソフトウェアのプログラムの構文に直接記述してもよい。 As step S406, the setting data is stored in the storage unit 101. Alternatively, the setting data may be described directly in the syntax of the software program.

図20に、データベースの一例を示す。一般的なデータベースと同様に、横軸をフィールド情報(氏名、性別、年齢等)、縦軸をレコード情報(人物1、人物2、…)としてもよい。なお、この図に示すフィールド情報の値は、例えばソフトウェアにおけるインデックスとして利用するための値である。 FIG. 20 shows an example of a database. Similar to a general database, the horizontal axis may be field information (name, gender, age, etc.), and the vertical axis may be record information (person 1, person 2, ...). The value of the field information shown in this figure is a value to be used as an index in software, for example.

図21に、設定データの一例を示す。横軸を文字又は画像の種別、ストリーム情報の開始位置、終了位置、エンコード方式等、縦軸を置換対象の画像及び文字の数としてもよい。このような設定データをテキスト形式ファイルとして記憶部101に格納する場合は、図21に示されるように、例えばCSV形式ファイル22で記述してもよい。 FIG. 21 shows an example of setting data. The horizontal axis may be the type of character or image, the start position and end position of stream information, the encoding method, and the like, and the vertical axis may be the number of images and characters to be replaced. When such setting data is stored in the storage unit 101 as a text format file, it may be described in, for example, a CSV format file 22 as shown in FIG.

図22のフローチャートに、本実施形態による印刷用データの作成方法について、その作成手順を示す。 The flowchart of FIG. 22 shows a procedure for creating print data according to the present embodiment.

ステップS501として、記憶部101に格納されているソースデータをデータ入力機能103が読み込む。 As step S501, the data input function 103 reads the source data stored in the storage unit 101.

ステップS502として、記憶部101に格納されている設定データをデータ入力機能103が読み込む。 As step S502, the data input function 103 reads the setting data stored in the storage unit 101.

ステップS503として、記憶部101に格納されているデータベースをデータ入力機能103が読み込む。 As step S503, the data input function 103 reads the database stored in the storage unit 101.

ステップS504からステップS508までの処理を、データベースのレコード情報の件数だけ繰り返す。 The process from step S504 to step S508 is repeated for the number of record information in the database.

まずステップS505として、演算処理機能104が、ソースデータに含まれる置換対象の画像及び文字の第1のストリーム情報を、設定データに従って、データベースに記録された情報に応じて、画像及び文字をストリーム情報へと変換した第2のストリーム情報に置換する。 First, in step S505, the arithmetic processing function 104 streams the first stream information of the image and the character to be replaced contained in the source data according to the setting data and the image and the character according to the information recorded in the database. Replace with the second stream information converted to.

ステップS506として、演算処理機能104が、このストリーム情報の置換に伴って変動したバイト長と相互参照表の値を更新する。 As step S506, the arithmetic processing function 104 updates the byte length and the cross-reference table value that have changed due to the replacement of the stream information.

ステップS507として、演算処理機能104が生成した印刷用データを、データ出力機能105が記憶部101へ格納する。 In step S507, the data output function 105 stores the print data generated by the arithmetic processing function 104 in the storage unit 101.

(実施形態2)
以下、本発明の実施形態2による印刷用データの生成方法について、図面を用いて説明する。
(Embodiment 2)
Hereinafter, a method for generating print data according to the second embodiment of the present invention will be described with reference to the drawings.

ソースデータには、所定の書体が含まれたものを使用する場合がある。ソースデータに含まれる書体の字形情報は、フォントデータとしてPDF形式ファイル内のコードに記述されている。なお、ソースデータにPDF/X形式ファイルを用いる場合は、その仕様を満たす目的で、フォントデータを含める必要がある。 Source data may include a given typeface. The character shape information of the typeface included in the source data is described in the code in the PDF format file as font data. When a PDF / X format file is used as the source data, it is necessary to include the font data for the purpose of satisfying the specifications.

市販のデザインソフトウェアを使用して、PDF形式ファイル又はPDF/X形式ファイルのソースデータを作成する場合、例えばソースデータの保存時に、フォントデータの包含(Adobe Illustrator(登録商標)では、フォントの埋込み)の有無を選択できる。 When creating the source data of a PDF format file or PDF / X format file using commercially available design software, for example, when saving the source data, include the font data (in the case of Adobe Illustrator®, embedding the font). You can select the presence or absence of.

ソースデータに含まれる書体の属性については、プロパティ情報の一つであるため、ストリーム情報の置換に伴って変更する必要はない。 Since the attribute of the typeface included in the source data is one of the property information, it is not necessary to change it with the replacement of the stream information.

しかしながら、フォントデータについては、ソースデータに配置されている文字のフォントデータのみが記述されている場合があるため、ストリーム情報の置換によって、未使用の文字へ変更する場合又は未使用の文字を加える場合は、そのフォントデータを置換又は追記する必要がある。 However, as for the font data, only the font data of the characters arranged in the source data may be described. Therefore, when changing to unused characters or adding unused characters by replacing the stream information. In that case, it is necessary to replace or add the font data.

フォントデータについては、例えば図23に示されるように、テキストオブジェクトにおいて、ストリーム情報の一つとして、フォントデータ24a、24bが記述されている。 As for the font data, for example, as shown in FIG. 23, the font data 24a and 24b are described as one of the stream information in the text object.

文字のストリーム情報23aから23bへの置換によって、ソースデータに使用されていない文字、例えば「MとI」を加える場合は、ソースデータのフォントデータ24aに「MとI」のフォントデータ24bを追記する。なお、フォントデータ24bは、ソースデータが持つデザイン性を維持するため、原則として、フォントデータ24aと同じ書体を用いる。 When adding characters that are not used in the source data, for example, "M and I" by replacing the character stream information 23a with 23b, add the font data 24b of "M and I" to the font data 24a of the source data. do. In principle, the font data 24b uses the same typeface as the font data 24a in order to maintain the designability of the source data.

図24のフローチャートに、本実施形態2による印刷用データの作成方法について、その作成手順を示す。 The flowchart of FIG. 24 shows a procedure for creating print data according to the second embodiment.

ステップS601〜S603及びS604〜S605は、前述の実施形態1のステップS501〜S503及びS504〜S505と同じ処理である。 Steps S601 to S603 and S604 to S605 are the same processes as steps S501 to S503 and S504 to S505 of the first embodiment described above.

ステップS606として、演算処理機能104が、ステップS605のストリーム情報の置換に伴って変更又は追加された文字のフォントデータを、置換又は追記する。 As step S606, the arithmetic processing function 104 replaces or adds the font data of the characters changed or added in accordance with the replacement of the stream information in step S605.

ステップS607として、演算処理機能104が、ストリーム情報の置換及びフォントデータの置換又は追記に伴って変動したバイト長と相互参照表の値を更新する。 As step S607, the arithmetic processing function 104 updates the byte length and the cross-reference table value that have changed due to the replacement of stream information and the replacement or addition of font data.

ステップS608として、演算処理機能104が生成した印刷用データを、データ出力機能105が記憶部101へ格納する。 In step S608, the data output function 105 stores the print data generated by the arithmetic processing function 104 in the storage unit 101.

(実施形態3)
以下、本発明の実施形態3による印刷用データの生成方法について、図面を用いて説明する。
(Embodiment 3)
Hereinafter, a method for generating print data according to the third embodiment of the present invention will be described with reference to the drawings.

実施形態1及び実施形態2では、印刷用データを生成する速度を向上させるため、ソースデータのプロパティ情報には手を加えず維持したが、実施形態3では、デザインの外観を維持する、又はデザインの多様性を拡充する目的で、ストリーム情報の置換に加えて、プロパティ情報を置換する場合について説明する。 In the first embodiment and the second embodiment, the property information of the source data is maintained unchanged in order to improve the speed of generating the print data, but in the third embodiment, the appearance of the design is maintained or the design is maintained. In addition to the replacement of stream information, the case of replacing property information will be described for the purpose of expanding the variety of.

例えば、文字のプロパティ情報には配置座標が含まれている。市販のデザインソフトウェアを使用してソースデータに文字を配置する場合、文字の段落として、左そろえ、中央そろえ、右そろえ等を選択できるが、PDF形式ファイルでは、左そろえに限定される。 For example, character property information includes placement coordinates. When arranging characters in the source data using commercially available design software, left alignment, center alignment, right alignment, etc. can be selected as the paragraph of the characters, but the PDF format file is limited to left alignment.

バリアブル印刷に限らず、印刷物において、文字そろえの多様性は重要なデザイン要素である。そのため、文字のストリーム情報の置換によって、文字数又は文字の幅が変動した場合は、プロパティ情報である配置座標を変更することで、擬似的に、すなわち人の見た目において中央そろえや右そろえ等を再現することが望ましい。 Not only in variable printing, but also in printed matter, the variety of character alignment is an important design element. Therefore, if the number of characters or the width of the characters fluctuates due to the replacement of the stream information of the characters, by changing the arrangement coordinates that are the property information, the center alignment, right alignment, etc. are reproduced in a pseudo manner, that is, in the human appearance. It is desirable to do.

図25に示された一例では、中央そろえを意図してデザインされた文字「0」を「AB」へ置換しているが、上述したように、PDF形式ファイルにおいてはどちらも左そろえの文字である。このような場合、「AB」の配置座標を変更することで、擬似的に中央そろえを再現できる。図25では、文字のストリーム情報25aからストリーム情報25bへの置換によって、文字数に増減が生じた場合の例として、文字のプロパティ情報である配置座標26aを配置座標26bへ置換している。 In the example shown in FIG. 25, the character "0" designed for center alignment is replaced with "AB", but as described above, in the PDF format file, both characters are left alignment. be. In such a case, by changing the arrangement coordinates of "AB", the center alignment can be reproduced in a pseudo manner. In FIG. 25, the arrangement coordinate 26a, which is the property information of the character, is replaced with the arrangement coordinate 26b as an example of the case where the number of characters is increased or decreased due to the replacement of the character stream information 25a with the stream information 25b.

図26のフローチャートに、本実施形態3による印刷用データの作成方法について、その作成手順を示す。 The flowchart of FIG. 26 shows a procedure for creating print data according to the third embodiment.

ステップS701〜S703、S704〜S705は、前述の実施形態1のステップS501〜S503及びS504〜S505と同じ処理である。 Steps S701 to S703 and S704 to S705 are the same processes as steps S501 to S503 and S504 to S505 of the first embodiment described above.

ステップS706として、演算処理機能104が、ステップS705のストリーム情報の置換に伴って変更するプロパティ情報を置換する。 As step S706, the arithmetic processing function 104 replaces the property information to be changed with the replacement of the stream information in step S705.

ステップS707として、演算処理機能104が、ストリーム情報の置換及びプロパティ情報の置換に伴って変動したバイト長と相互参照表の値を更新する。 As step S707, the arithmetic processing function 104 updates the byte length and the cross-reference table value that have changed due to the replacement of the stream information and the replacement of the property information.

ステップS708として、演算処理機能104が生成した印刷用データを、データ出力機能105が記憶部101へ格納する。 In step S708, the data output function 105 stores the print data generated by the arithmetic processing function 104 in the storage unit 101.

本発明の実施形態1、実施形態2、実施形態3による印刷用データの生成方法は、図17に示された構成を備える装置及びソフトウェアで実行するものであり、これは、コンピュータ及びアプリケーションソフトウェアによって実現されたものでもよい。 The method for generating print data according to the first, second, and third embodiments of the present invention is executed by the apparatus and software having the configuration shown in FIG. 17, which is executed by a computer and application software. It may be realized.

従来の自動組版ソフトウェアを用いて印刷用データを生成した場合の具体例を示す。例えば、モリサワMVP7(登録商標)を用いた場合の処理時間は3,076ms/件、富士フィルムFormMagic4(登録商標)を用いて同一のデザインの印刷用データを生成した場合の処理時間は1,511ms/件であった。これに対し、上記の実施形態により同一のデザインの印刷用データを生成した場合の処理時間は、193ms/件であり、生成時間が大幅に短縮された。 A specific example of generating print data using conventional automatic typesetting software is shown. For example, the processing time when using Morisawa MVP7 (registered trademark) is 3,076 ms / case, and the processing time when generating print data of the same design using Fujifilm FormMagic4 (registered trademark) is 1,511 ms. / It was a case. On the other hand, when the print data of the same design was generated according to the above embodiment, the processing time was 193 ms / case, and the generation time was significantly shortened.

以上説明したように、本発明の上記の実施形態によれば、デザインソフトウェアによって作成したPDF形式ファイルを、印刷用データを生成するためのソースデータとして使用し、原則として、このソースデータに含まれるプロパティ情報を維持したまま、ストリーム情報を新たなストリーム情報へと置換するだけので、高速で印刷用データを生成することができる。これによって、生産性が向上する。 As described above, according to the above embodiment of the present invention, the PDF format file created by the design software is used as the source data for generating the print data, and is included in the source data in principle. Since the stream information is simply replaced with new stream information while maintaining the property information, print data can be generated at high speed. This improves productivity.

また、市販されている通常のデザインソフトウェアは、PDF形式ファイル等を記憶部に格納する機能を有しているので、それをソースデータとして使用することができ、従来の自動組版ソフトウェアでの再現性の可否を意識することなく、デザインすることができる。これによって、作業性が向上する。 In addition, since ordinary design software on the market has a function of storing a PDF format file or the like in a storage unit, it can be used as source data and is reproducible with conventional automatic typesetting software. It is possible to design without being conscious of the possibility of. This improves workability.

また、ソースデータに含まれるプロパティ情報には、原則として手を加えないので、ソースデータが持つ自由度の高いデザイン表現を維持することができる。 Further, since the property information included in the source data is not modified in principle, the design expression having a high degree of freedom of the source data can be maintained.

より詳細には、例えば文書データから所定の文字を検索して置換するといった検索置換の手法とは異なり、検索を行うことなく、設定データが指定するストリーム情報までシークして、ストリーム情報だけを置換するので、ソフトウェアの演算処理における判定回数を最小限にとどめることができる。 More specifically, unlike the search / replace method of searching and replacing a predetermined character from document data, the stream information specified by the setting data is sought and only the stream information is replaced without performing a search. Therefore, the number of determinations in the arithmetic processing of the software can be minimized.

本発明の実施形態について説明したが、上記の実施形態は、一例として提示したものであり、発明の技術的範囲を限定することは意図していない。また、この実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、変更を行うことができる。上記の実施形態やその変形は、発明の技術的範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although embodiments of the present invention have been described, the above embodiments are presented as an example and are not intended to limit the technical scope of the invention. Further, this embodiment can be implemented in various other embodiments, and various omissions and changes can be made without departing from the gist of the invention. The above-described embodiments and modifications thereof are included in the technical scope and gist of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.

1a、1b、1c 印刷用データ
2 自動組版ソフトウェア
3 レイアウトデータ
4 画像エリア
5 文字エリア
6 デザインソフトウェア
7 デザインデータ
8 PDF形式ファイル
9 ソースデータ
10 画像
11 文字
12a ヘッダー
12b ボディ
12c クロスリファレンステーブル
12d トレイラー
13、13a、13b、13c オブジェクト
14 グラフィックオブジェクト
15 テキストオブジェクト
16 ストリーム情報
17、17a、17b、17c、17d ストリーム情報
18 バイト長
19 相互参照表
20 オブジェクトの開始位置
21 相互参照表の開始位置
22 CSV形式ファイル
23a、23b ストリーム情報
24a、24b フォントデータ
25a、25b ストリーム情報
26a、26b プロパティ情報の配置座標
101 記憶部
102 処理部
103 データ入力機能
104 演算処理機能
105 データ出力機能
1a, 1b, 1c Printing data 2 Automatic formatting software 3 Layout data 4 Image area 5 Character area 6 Design software 7 Design data 8 PDF format file 9 Source data 10 Image 11 Character 12a Header 12b Body 12c Cross reference table 12d Trailer 13, 13a, 13b, 13c Object 14 Graphic object 15 Text object 16 Stream information 17, 17a, 17b, 17c, 17d Stream information 18 bytes Length 19 Mutual reference table 20 Object start position 21 Mutual reference table start position 22 CSV format file 23a , 23b Stream information 24a, 24b Font data 25a, 25b Stream information 26a, 26b Arrangement coordinates of property information 101 Storage unit 102 Processing unit 103 Data input function 104 Calculation processing function 105 Data output function

Claims (10)

記憶部と、処理部を備える装置を用いて、前記処理部のデータ入力機能と、演算処理機能と、データ出力機能によって印刷用データを生成する方法であって、
前記データ入力機能により、前記記憶部に格納された、画像及び/又は文字を含むソースデータを入力するステップと、
前記データ入力機能により、前記記憶部に格納された、設定データを入力するステップと、
前記データ入力機能により、前記記憶部に格納された、データベースを入力するステップと、
前記演算処理機能により、前記ソースデータに含まれる前記画像及び/又は前記文字のプロパティ情報を維持したまま、前記ソースデータに含まれる前記画像及び/又は前記文字の第1のストリーム情報を、前記設定データに従って、前記データベースに記録された情報に応じて、前記画像及び/又は前記文字をストリーム情報へと変換した第2のストリーム情報に置換して、前記印刷用データを生成するステップと、
前記データ出力機能により、生成された前記印刷用データを、前記記憶部に格納するステップを備えることを特徴とする印刷用データの生成方法。
It is a method of generating print data by a data input function, an arithmetic processing function, and a data output function of the processing unit using a storage unit and a device including a processing unit.
A step of inputting source data including an image and / or a character stored in the storage unit by the data input function, and
A step of inputting setting data stored in the storage unit by the data input function, and
A step of inputting a database stored in the storage unit by the data input function, and
By the arithmetic processing function, while maintaining the property information of the image and / or the character included in the source data, the first stream information of the image and / or the character included in the source data, the setting According to the data, according to the information recorded in the database, the image and / or the character is replaced with the second stream information converted into the stream information to generate the print data.
A method for generating print data, which comprises a step of storing the print data generated by the data output function in the storage unit.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、前記ソースデータに使用されていない文字が使用された場合、
前記文字のフォントデータを、前記ソースデータに含まれるフォントデータと置換、又は前記ソースデータに含まれるフォントデータに追記して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項1に記載の印刷用データの生成方法。
In the step of generating the print data,
When characters not used in the source data are used by replacing the first stream information with the second stream information by the arithmetic processing function.
The claim is characterized by further comprising a step of replacing the font data of the character with the font data included in the source data or adding the font data to the font data included in the source data to generate the print data. The method for generating print data according to 1.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、前記ソースデータのプロパティ情報も置換する必要が生じた場合、
前記ソースデータに含まれる第1のプロパティ情報を、前記設定データに従って、第2のプロパティ情報に置換して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項1又は2に記載の印刷用データの生成方法。
In the step of generating the print data,
When it becomes necessary to replace the property information of the source data by replacing the first stream information with the second stream information by the arithmetic processing function.
The first or second claim is characterized by further comprising a step of replacing the first property information included in the source data with the second property information according to the setting data and generating the print data. How to generate the described print data.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、ストリーム情報のバイト長が変化した場合、
前記ソースデータに含まれる前記バイト長の値を変更して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項1から3までのいずれか一項に記載の印刷用データの生成方法。
In the step of generating the print data,
When the byte length of the stream information changes due to the replacement of the first stream information with the second stream information by the arithmetic processing function.
The print data according to any one of claims 1 to 3, further comprising a step of changing the value of the byte length included in the source data to generate the print data. Generation method.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、前記バイト長の値が変更された場合、
前記ソースデータに含まれる相互参照表の値を変更して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項4に記載の印刷用データの生成方法。
In the step of generating the print data,
When the value of the byte length is changed by replacing the first stream information with the second stream information by the arithmetic processing function.
The method for generating print data according to claim 4, further comprising a step of changing the value of the cross-reference table included in the source data to generate the print data.
印刷用データの生成方法を、記憶部と、処理部を備える装置を用いて、前記処理部のデータ入力機能と、演算処理機能と、データ出力機能によって、前記装置に実行させるためのソフトウェアであって、
前記データ入力機能により、前記記憶部に格納された、画像及び/又は文字を含むソースデータを入力するステップと、
前記データ入力機能により、前記記憶部に格納された、設定データを入力するステップと、
前記データ入力機能により、前記記憶部に格納された、データベースを入力するステップと、
前記演算処理機能により、前記ソースデータに含まれる前記画像及び/又は前記文字のプロパティ情報を維持したまま、前記ソースデータに含まれる前記画像及び/又は前記文字の第1のストリーム情報を、前記設定データに従って、前記データベースに記録された情報に応じて、前記画像及び/又は前記文字をストリーム情報へと変換した第2のストリーム情報に置換して、前記印刷用データを生成するステップと、
前記データ出力機能により、生成された前記印刷用データを、前記記憶部に格納するステップを備えることを特徴とする印刷用データを生成するためのソフトウェア。
Software for causing the device to execute a printing data generation method using a storage unit and a device including a processing unit by using the data input function, the arithmetic processing function, and the data output function of the processing unit. hand,
A step of inputting source data including an image and / or a character stored in the storage unit by the data input function, and
A step of inputting setting data stored in the storage unit by the data input function, and
A step of inputting a database stored in the storage unit by the data input function, and
By the arithmetic processing function, while maintaining the property information of the image and / or the character included in the source data, the first stream information of the image and / or the character included in the source data, the setting According to the data, according to the information recorded in the database, the image and / or the character is replaced with the second stream information converted into the stream information to generate the print data.
Software for generating print data, which comprises a step of storing the print data generated by the data output function in the storage unit.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、前記ソースデータに使用されていない文字が使用された場合、
前記文字のフォントデータを、前記ソースデータに含まれるフォントデータと置換、又は前記ソースデータに含まれるフォントデータに追記して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項6に記載の印刷用データを生成するためのソフトウェア。
In the step of generating the print data,
When characters not used in the source data are used by replacing the first stream information with the second stream information by the arithmetic processing function.
The claim is characterized by further comprising a step of replacing the font data of the character with the font data included in the source data or adding the font data to the font data included in the source data to generate the print data. Software for generating the print data according to 6.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、前記ソースデータのプロパティ情報も置換する必要が生じた場合、
前記ソースデータに含まれる第1のプロパティ情報を、前記設定データに従って、第2のプロパティ情報に置換して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項6又は7に記載の印刷用データを生成するためのソフトウェア。
In the step of generating the print data,
When it becomes necessary to replace the property information of the source data by replacing the first stream information with the second stream information by the arithmetic processing function.
6. Software for generating the described print data.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、ストリーム情報のバイト長が変化した場合、
前記ソースデータに含まれる前記バイト長の値を変更して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項6から8までのいずれか一項に記載の印刷用データを生成するためのソフトウェア。
In the step of generating the print data,
When the byte length of the stream information changes due to the replacement of the first stream information with the second stream information by the arithmetic processing function.
The print data according to any one of claims 6 to 8, further comprising a step of changing the value of the byte length included in the source data to generate the print data. Software to generate.
前記印刷用データを生成するステップにおいて、
前記演算処理機能により、前記第1のストリーム情報を前記第2のストリーム情報に置換したことにより、前記バイト長の値が変更された場合、
前記ソースデータに含まれる相互参照表の値を変更して、前記印刷用データを生成するステップを更に備えることを特徴とする請求項9に記載の印刷用データを生成するためのソフトウェア。
In the step of generating the print data,
When the value of the byte length is changed by replacing the first stream information with the second stream information by the arithmetic processing function.
The software for generating print data according to claim 9, further comprising a step of changing the value of the cross-reference table included in the source data to generate the print data.
JP2018220788A 2018-11-27 2018-11-27 How to generate print data and software for generating print data Active JP6976524B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018220788A JP6976524B2 (en) 2018-11-27 2018-11-27 How to generate print data and software for generating print data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018220788A JP6976524B2 (en) 2018-11-27 2018-11-27 How to generate print data and software for generating print data

Publications (3)

Publication Number Publication Date
JP2020086972A JP2020086972A (en) 2020-06-04
JP2020086972A5 JP2020086972A5 (en) 2021-10-21
JP6976524B2 true JP6976524B2 (en) 2021-12-08

Family

ID=70908249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018220788A Active JP6976524B2 (en) 2018-11-27 2018-11-27 How to generate print data and software for generating print data

Country Status (1)

Country Link
JP (1) JP6976524B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119536671B (en) * 2024-11-15 2025-11-14 广州市森扬电子科技有限公司 A method, apparatus, and storage medium for processing printed documents with variable areas.

Also Published As

Publication number Publication date
JP2020086972A (en) 2020-06-04

Similar Documents

Publication Publication Date Title
Salomon The Advanced TEXbook
Haralambous Fonts & encodings
JPS6165290A (en) Vector character font creation device
US20100153834A1 (en) Business form creating system, network system using the same, and business form creating method
JPH0687203A (en) Method and apparatus for replacing characters and displaying characters
JP4854491B2 (en) Image processing apparatus and control method thereof
EP2002352B1 (en) Applying effects to a merged text path
CN101458771A (en) Printing method and apparatus thereof
JP3178483B2 (en) Document processing device
JP6976524B2 (en) How to generate print data and software for generating print data
CN103714355B (en) Image processing equipment and method
JP2021157627A (en) Information processing device
JP5020698B2 (en) Image processing apparatus, image processing method, and image processing program
JP5598120B2 (en) Image processing device
Rosenthol Developing with PDF: Dive Into the Portable Document Format
CN111241805A (en) Layout rearrangement method of PDF document
CN102298572B (en) Electronic document generating apparatus and electronic document generation method
JP2001202362A (en) Character editing processor
JP3528620B2 (en) Character drawing apparatus and character drawing method
Witten Elements of computer typography
JP2569489B2 (en) Brush character output device
JP4844364B2 (en) Image processing apparatus and program
Taylor Commutative Diagrams in TEX (version 4)
CN105095158B (en) Based on PDF grades of local linked network treating method and apparatus
JPH06100905B2 (en) Pattern output method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210910

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211028

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211028

R150 Certificate of patent or registration of utility model

Ref document number: 6976524

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250