JP4871149B2 - Printing program and image forming system - Google Patents

Printing program and image forming system Download PDF

Info

Publication number
JP4871149B2
JP4871149B2 JP2007006964A JP2007006964A JP4871149B2 JP 4871149 B2 JP4871149 B2 JP 4871149B2 JP 2007006964 A JP2007006964 A JP 2007006964A JP 2007006964 A JP2007006964 A JP 2007006964A JP 4871149 B2 JP4871149 B2 JP 4871149B2
Authority
JP
Japan
Prior art keywords
character string
drawing area
annotation character
data
sub
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
JP2007006964A
Other languages
Japanese (ja)
Other versions
JP2008176384A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita 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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2007006964A priority Critical patent/JP4871149B2/en
Priority to CN2008100006820A priority patent/CN101226461B/en
Priority to US12/014,143 priority patent/US7973964B2/en
Publication of JP2008176384A publication Critical patent/JP2008176384A/en
Application granted granted Critical
Publication of JP4871149B2 publication Critical patent/JP4871149B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷データにヘッダー又はフッター等の注釈文字列データを付加する機能を備えた印刷用プログラム及び画像形成システムに関する。   The present invention relates to a printing program and an image forming system having a function of adding annotation character string data such as a header or a footer to print data.

従来、ワープロソフト等のアプリケーション上でユーザによる印刷指示を受け付けた場合に、ヘッダー又はフッター等の注釈文字列データを印刷データに付加する機能を備えたプリンタドライバが知られている。   2. Description of the Related Art Conventionally, printer drivers having a function of adding annotation character string data such as a header or footer to print data when a print instruction by a user is received on an application such as word processing software are known.

しかし、上記機能を使用して印刷した際に、本文(画像等を含む)と注釈文字列とが重複する場合や、複数の注釈文字列が互いに重複する場合が生じて、本文又は注釈文字列の情報が損なわれるという問題点があった{図7(B)参照}。また、コンピュータ装置の入力手段から入力される印刷倍率情報が、描画対象領域の拡大を示している場合に、上記機能を使用して印刷した際には、本文が拡大されるとともに注釈文字列も拡大されてしまうので、注釈文字列の全部又は一部が有効印字領域外にはみ出る場合が生じて、注釈文字列の情報が損なわれるという問題点があった{図8(A)参照}。なお、有効印字領域とは図6に示す点線枠内の領域であり、プリンタが印刷可能な用紙上の領域をいう。   However, when printing using the above functions, the text (including images etc.) and the annotation character string may overlap, or multiple annotation character strings may overlap each other. There was a problem that the information of {circle around (2)} was lost {see FIG. 7B}. In addition, when the print magnification information input from the input means of the computer device indicates enlargement of the drawing target area, when printing using the above function, the text is enlarged and the annotation character string is also displayed. As a result, the annotation character string may be entirely or partially protruded from the effective print area, and the information of the annotation character string may be lost {see FIG. 8A}. The effective print area is an area within a dotted frame shown in FIG. 6 and is an area on the paper on which the printer can print.

そこで、上記問題点を鑑みて下記特許文献1では、本文の印刷データに注釈文字列データを付加する前に、印刷データの描画領域が注釈文字列データの描画領域に重複しないように、その印刷データの描画領域を縮小するプリンタドライバが開示されている。以下、印刷データの描画範囲を主描画領域と称し、注釈文字列データの描画範囲を副描画領域と称す。   In view of the above problems, in Japanese Patent Application Laid-Open No. 2005-228561, before adding the annotation character string data to the body print data, the print data is printed so that the drawing area of the print data does not overlap the drawing area of the annotation character string data. A printer driver that reduces a data drawing area is disclosed. Hereinafter, the drawing range of print data is referred to as a main drawing region, and the drawing range of annotation character string data is referred to as a sub drawing region.

また、下記特許文献2では、主描画領域と副描画領域とが互いに重複してはならない場合に、重複しないように注釈文字列を移動又は縮小する書式オーバレイ制御方法が開示されている。
特開2002−73595号公報 特開平9−319805号公報
Patent Document 2 below discloses a format overlay control method for moving or reducing an annotation character string so that it does not overlap when the main drawing area and the sub-drawing area should not overlap each other.
JP 2002-73595 A JP 9-319855 A

しかしながら、上記特許文献1の発明は、主描画領域が副描画領域に重複しないように、主描画領域を縮小するので、本文の印刷サイズがユーザの意図しないサイズに縮小される場合がある。また、上記特許文献1では複数の注釈文字列が互いに重複して、又は、注釈文字列の全部若しくは一部が有効印字領域外にはみ出して注釈文字列の情報が損なわれる問題を解決することができない。さらにまた、ページごとに主描画領域を縮小するか否かを判断するので、全ページにわたる本文の統一感が失われることもある。   However, the invention of Patent Document 1 reduces the main drawing area so that the main drawing area does not overlap the sub-drawing area, so the print size of the text may be reduced to a size not intended by the user. Further, in Patent Document 1, a plurality of annotation character strings are overlapped with each other, or all or a part of the annotation character string protrudes outside the effective print area, thereby solving the problem that the information on the annotation character string is impaired. Can not. Furthermore, since it is determined whether or not to reduce the main drawing area for each page, the sense of unity of the text across all pages may be lost.

また、上記特許文献2の発明は、主描画領域と副描画領域とが互いに重複しないように、注釈文字列を移動又は縮小するだけなので、複数の注釈文字列が互いに重複して、又は、注釈文字列の全部若しくは一部が有効印字領域外にはみ出して注釈文字列の情報が損なわれる問題を解決することができない。また、注釈文字列を移動することにより、複数の注釈文字列が互いに重複して、又は、注釈文字列の全部若しくは一部が有効印字領域外にはみ出して注釈文字列の情報が損なわれることもある。さらにまた、ページごとに副描画領域を移動又は縮小するか否かを判断するので、全ページにわたる注釈文字列の位置やサイズの統一感が失われることもある{図13(A)参照}。   In addition, since the invention of Patent Document 2 merely moves or reduces the annotation character string so that the main drawing region and the sub drawing region do not overlap each other, a plurality of annotation character strings overlap each other, or an annotation It is impossible to solve the problem that all or part of the character string protrudes outside the effective print area and the information of the annotation character string is lost. Also, by moving the annotation character string, multiple annotation character strings may overlap each other, or all or part of the annotation character string may protrude outside the effective print area and the information on the annotation character string may be damaged. is there. Furthermore, since it is determined whether or not the sub-drawing area is moved or reduced for each page, the sense of unity of the position and size of the annotation character string across all pages may be lost {see FIG. 13A}.

本発明の目的は、このような問題点に鑑み、本文の印刷サイズを縮小することなく、本文及び注釈文字列の情報が損なわれることを防止することが可能な印刷用プログラム及び画像形成システムを提供することにある。   In view of such problems, an object of the present invention is to provide a printing program and an image forming system capable of preventing the information on the text and the annotation character string from being damaged without reducing the print size of the text. It is to provide.

本発明の更なる目的は、上記目的を達成するとともに、全ページにわたる注釈文字列の位置やサイズの統一感が失われることを防止することが可能な印刷用プログラム及び画像形成システムを提供することにある。   A further object of the present invention is to provide a printing program and an image forming system capable of achieving the above-mentioned object and preventing the sense of unification of the position and size of annotation character strings over all pages. It is in.

本発明の第1態様における印刷用プログラムでは、
コンピュータ装置の一時記憶手段に格納される印刷データに、注釈文字列データを付加することを該コンピュータ装置のプロセッサに実行させる印刷用プログラムにおいて、
印刷されるページ全ての該印刷データに基づいて、全ページを重ねて印刷した場合の描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算する第1ステップと、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定する第2ステップと、
該第2ステップで少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を移動、縮小又は二段分割する第3ステップと、
変更した該注釈文字列データを該印刷データに付加する第4ステップと、
を該プロセッサに実行させる。
In the printing program according to the first aspect of the present invention,
In a printing program for causing a processor of a computer device to add annotation character string data to print data stored in a temporary storage unit of the computer device,
Based on the print data of all the pages to be printed, the drawing area when all the pages are overlaid is calculated as the main drawing area, and the drawing area is calculated as the sub drawing area based on the annotation character string data. A first step to:
A second step of determining whether or not the main drawing area and the sub drawing area overlap each other and determining whether or not all or a part of the sub drawing area protrudes from the effective print area;
When at least one of the second step is affirmatively determined, the main drawing area and the sub drawing area are not overlapped, and the sub drawing area is entirely within the effective printing area. A third step of changing the annotation character string data to move, reduce or divide the annotation character string;
A fourth step of adding the modified annotation character string data to the print data;
Is executed by the processor.

なお、前記印刷用プログラムは、プリンタドライバ若しくはプリンタドライバ用モジュール(プラグインモジュール)、又は、これらの組合せを含む。そして、前記プロセッサに対する前記第1〜第4ステップは、プリンタドライバ単体若しくはプリンタドライバ用モジュール単体がその全ステップを実行させる場合、複数のプリンタドライバ用モジュールがその各ステップを分担して実行させる場合、又は、プリンタドライバとプリンタドライバ用モジュールがその各ステップを分担して実行させる場合を含む。   The print program includes a printer driver, a printer driver module (plug-in module), or a combination thereof. In the first to fourth steps for the processor, the printer driver alone or the printer driver module alone executes all the steps, and the plurality of printer driver modules execute the steps in a shared manner. Or, it includes a case where the printer driver and the printer driver module share and execute each step.

また、前記注釈文字列データには、注釈文字列の文字情報だけでなく、位置情報及び書式情報なども含まれる。さらに、前記注釈文字列には、本文の意義を説き明かすための文字列に限られず、本文とは関係のない文字列も含まれる。さらにまた、前記コンピュータ装置には、画像形成装置内部に備えられているコンピュータ装置も含まれる。   The annotation character string data includes not only character information of the annotation character string but also position information and format information. Further, the annotation character string is not limited to a character string for explaining the significance of the text, but also includes a character string not related to the text. Furthermore, the computer apparatus includes a computer apparatus provided in the image forming apparatus.

本発明の第2態様における印刷用プログラムでは、
コンピュータ装置の一時記憶手段に格納される印刷データに、注釈文字列データを付加することを該コンピュータ装置のプロセッサに実行させる印刷用プログラムにおいて、
1ページ分の該印刷データに基づいてその描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算する第1ステップと、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定する第2ステップと、
該第2ステップで少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を二段分割する第3ステップと、
変更した該注釈文字列データを該印刷データに付加する第4ステップと、
を該プロセッサに実行させる。
In the printing program in the second aspect of the present invention,
In a printing program for causing a processor of a computer device to add annotation character string data to print data stored in a temporary storage unit of the computer device,
A first step of calculating the drawing area as a main drawing area based on the print data for one page and calculating the drawing area as a sub-drawing area based on the annotation character string data;
A second step of determining whether or not the main drawing area and the sub drawing area overlap each other and determining whether or not all or a part of the sub drawing area protrudes from the effective print area;
When at least one of the second step is affirmatively determined, the main drawing area and the sub drawing area are not overlapped, and the sub drawing area is entirely within the effective printing area. A third step of changing the annotation character string data to divide the annotation character string into two stages;
A fourth step of adding the modified annotation character string data to the print data;
Is executed by the processor.

本発明の第3態様における印刷用プログラムでは、第2態様において、
前記二段分割は、前記第2ステップで少なくとも一方が肯定判定されたときに、前記主描画領域と前記副描画領域とが重複しないように、且つ該副描画領域の全部が前記有効印字領域内に入るように、前記注釈文字列データを変更して前記注釈文字列を移動し、移動しても該主描画領域と該副描画領域とが重複する場合又は該副描画領域の全部若しくは一部が前記有効印字領域外にはみ出す場合に行う。
In the printing program in the third aspect of the present invention, in the second aspect,
The two-stage division is performed so that the main drawing area and the sub drawing area do not overlap when at least one of the second steps is affirmed in the second step, and the sub drawing area is entirely within the effective print area. The annotation character string data is changed so that the annotation character string is moved so that the main drawing area overlaps with the sub drawing area even if the annotation is moved, or all or part of the sub drawing area Is carried out when it goes out of the effective print area.

本発明の第4態様における印刷用プログラムでは、第1乃至第3態様のいずれか1つの態様において、
前記注釈文字列は複数存在し、
前記第2ステップでさらに、複数の前記副描画領域が互いに重複するか否かを判定し、肯定判定した場合に前記第3ステップで、該複数の副描画領域が互いに重複しないように、前記注釈文字列データを変更する。
In the printing program according to the fourth aspect of the present invention, in any one of the first to third aspects,
There are a plurality of annotation strings,
In the second step, it is further determined whether or not the plurality of sub-drawing regions overlap each other, and when the determination is affirmative, in the third step, the annotation is made so that the plurality of sub-drawing regions do not overlap each other. Change the string data.

本発明の第5態様における印刷用プログラムでは、第1乃至第4態様のいずれか1つの態様において、
前記注釈文字列は、前記コンピュータ装置の入力手段から入力される文字列を含む。
In the printing program according to the fifth aspect of the present invention, in any one of the first to fourth aspects,
The annotation character string includes a character string input from input means of the computer device.

本発明の第6態様における印刷用プログラムでは、第1乃至第5態様のいずれか1つの態様において、
前記第2ステップで、前記コンピュータ装置の入力手段から入力される印刷倍率情報を考慮して前記主描画領域及び前記副描画領域を計算する。
In the printing program according to the sixth aspect of the present invention, in any one of the first to fifth aspects,
In the second step, the main drawing area and the sub drawing area are calculated in consideration of print magnification information input from the input means of the computer device.

本発明の第7態様における画像形成システムは、
印刷データを格納する一時記憶手段と、注釈文字列データを該印刷データに付加する注釈文字列付加手段と、付加した該注釈文字列データを送信する送信手段とを備えたコンピュータ装置と、
該コンピュータ装置と結合されており、該コンピュータ装置から受信した該印刷データを印刷する画像形成装置と、
を有する画像形成システムであって、
該注釈文字列付加手段は、
印刷されるページ全ての該印刷データに基づいて、全ページを重ねて印刷した場合の描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算し、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定し、
これらの判定で少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を移動、縮小又は二段分割し、
変更した該注釈文字列データを該印刷データに付加する。
An image forming system according to a seventh aspect of the present invention includes:
A computer device comprising: temporary storage means for storing print data; annotation character string addition means for adding annotation character string data to the print data; and transmission means for transmitting the added annotation character string data;
An image forming apparatus coupled to the computer apparatus for printing the print data received from the computer apparatus;
An image forming system comprising:
The annotation character string adding means includes:
Based on the print data of all the pages to be printed, the drawing area when all the pages are overlaid is calculated as the main drawing area, and the drawing area is calculated as the sub drawing area based on the annotation character string data. And
Determining whether the main drawing area and the sub-drawing area overlap each other, and determining whether all or a part of the sub-drawing area protrudes outside the effective printing area;
When at least one of these determinations is affirmative, the annotation is made so that the main drawing area and the sub drawing area do not overlap with each other and the entire sub drawing area falls within the effective printing area. Change the character string data, move, reduce or split the annotation character string,
The changed annotation character string data is added to the print data.

本発明の第8態様における画像形成システムは、
印刷データを格納する一時記憶手段と、注釈文字列データを該印刷データに付加する注釈文字列付加手段と、付加した該注釈文字列データを送信する送信手段とを備えたコンピュータ装置と、
該コンピュータ装置と結合されており、該コンピュータ装置から受信した該印刷データを印刷する画像形成装置と、
を有する画像形成システムであって、
該注釈文字列付加手段は、
1ページ分の該印刷データに基づいてその描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算し、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定し、
これらの判定で少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を二段分割し、
変更した該注釈文字列データを該印刷データに付加する。
An image forming system according to an eighth aspect of the present invention includes:
A computer device comprising: temporary storage means for storing print data; annotation character string addition means for adding annotation character string data to the print data; and transmission means for transmitting the added annotation character string data;
An image forming apparatus coupled to the computer apparatus for printing the print data received from the computer apparatus;
An image forming system comprising:
The annotation character string adding means includes:
Calculating the drawing area as a main drawing area based on the print data for one page, and calculating the drawing area as a sub-drawing area based on the annotation character string data;
Determining whether the main drawing area and the sub-drawing area overlap each other, and determining whether all or a part of the sub-drawing area protrudes outside the effective printing area;
When at least one of these determinations is affirmative, the annotation is made so that the main drawing area and the sub drawing area do not overlap with each other and the entire sub drawing area falls within the effective printing area. Change the string data and split the annotation string into two stages
The changed annotation character string data is added to the print data.

上記第1態様の構成によれば、全ページを重ねて印刷した場合の描画領域(主描画領域)と注釈文字列データの描画領域(副描画領域)とが互いに重複しないように、且つ副描画領域の全部が有効印字領域内に入るように、印刷用プログラムが注釈文字列データを変更して注釈文字列を移動、縮小又は二段分割するので、全ページにわたる注釈文字列の位置やサイズの統一感が失われることなく、且つ本文の印刷サイズを縮小することなく、本文及び注釈文字列の情報が損なわれることを防止することができるという効果を奏する。   According to the configuration of the first aspect, the drawing area (main drawing area) and the drawing area (sub-drawing area) of the annotation character string data when all pages are overprinted are not overlapped with each other, and the sub-drawing is performed. The printing program changes the annotation character string data to move, reduce, or divide the annotation character string so that the entire area falls within the effective print area. There is an effect that it is possible to prevent the information of the text and the annotation character string from being damaged without losing a sense of unity and without reducing the print size of the text.

上記第2態様の構成によれば、1ページ分の印刷データの描画領域(主描画領域)と注釈文字列データの描画領域(副描画領域)とが互いに重複しないように、且つ副描画領域の全部が印刷用紙の有効印字領域内に入るように、印刷用プログラムが注釈文字列データを変更して注釈文字列を二段分割するので、本文の印刷サイズを縮小することなく、本文及び注釈文字列の情報が損なわれることを防止することができるという効果を奏する。なお、注釈文字列を二段に分割することは従来にない発想である。   According to the configuration of the second aspect, the drawing area of the print data for one page (main drawing area) and the drawing area of the annotation character string data (sub drawing area) do not overlap each other, and the sub drawing area The printing program changes the annotation character string data and divides the annotation character string into two stages so that everything falls within the effective print area of the printing paper, so the text and annotation characters can be reduced without reducing the print size of the text. There is an effect that it is possible to prevent the information in the column from being damaged. It is an unprecedented idea to divide the annotation character string into two stages.

上記第4態様の構成によれば、複数の注釈文字列が存在する場合に、複数の副描画領域が互いに重複しないように、印刷用プログラムが注釈文字列データを変更して注釈文字列を二段分割等するので、注釈文字列の情報が損なわれることを防止することができるという効果を奏する。また、複数の注釈文字列が存在する場合又は注釈文字列に入力手段から入力されるユーザ任意の文字列が含まれる場合には、背景技術の欄で説明した問題点が生ずる可能性が高まるが、この構成により該問題点を解決することができる。   According to the configuration of the fourth aspect, when there are a plurality of annotation character strings, the printing program changes the annotation character string data so that the plurality of sub-drawing areas do not overlap each other. Since step division or the like is performed, it is possible to prevent the information of the annotation character string from being damaged. In addition, when there are a plurality of annotation character strings or when an arbitrary character string input from the input unit is included in the annotation character string, there is a high possibility that the problem described in the background art column will occur. This problem can be solved by this configuration.

上記第6態様の構成によれば、印刷用プログラムが、印刷倍率情報を考慮して主描画領域及び副描画領域を計算するので、印刷倍率情報に基づき注釈文字列が拡大されて注釈文字列の全部又は一部が有効印字領域外にはみ出すことを未然に防ぎ、もって注釈文字列の情報が損なわれることを防止することができる。   According to the configuration of the sixth aspect, the printing program calculates the main drawing area and the sub drawing area in consideration of the printing magnification information. Therefore, the annotation character string is enlarged based on the printing magnification information, and the annotation character string It is possible to prevent all or part of the information from protruding outside the effective print area, thereby preventing the information on the annotation character string from being damaged.

本発明の他の目的、構成及び効果は以下の説明から明らかになる。   Other objects, configurations and effects of the present invention will become apparent from the following description.

図9は、本発明の実施例1に係る画像形成システムのハードウェア構成を示す概略ブロック図である。   FIG. 9 is a schematic block diagram illustrating a hardware configuration of the image forming system according to the first embodiment of the present invention.

この画像形成システムは、パーソナルコンピュータ等のコンピュータ1と、プリンタ2とから構築される。このプリンタ2はPDL対応プリンタであり、プリンタドライバ20によりPDL言語に変換された印刷データをプリンタ2側でビットマップデータに展開して印字する方式を採用している。   This image forming system is constructed from a computer 1 such as a personal computer and a printer 2. The printer 2 is a PDL compatible printer, and employs a system in which print data converted into the PDL language by the printer driver 20 is expanded into bitmap data on the printer 2 side and printed.

コンピュータ1では、CPU10にインターフェース11を介して、RAM12、ROM13、HDD14、キーボードやポインティングデバイスなどの対話型入力装置15、表示装置16及びUSBポートやパラレルポートなどの通信ポート17が結合されている。図9では、簡単化のため、複数のインターフェースを1つのブロックで示している。通信ポート17は、ケーブル又は無線の通信媒体を介してプリンタ2に結合されている。   In the computer 1, a RAM 12, a ROM 13, an HDD 14, an interactive input device 15 such as a keyboard and a pointing device, a display device 16, and a communication port 17 such as a USB port and a parallel port are coupled to the CPU 10 via an interface 11. In FIG. 9, a plurality of interfaces are shown as one block for the sake of simplicity. The communication port 17 is coupled to the printer 2 via a cable or a wireless communication medium.

RAM12は、主メモリ用である。ROM13には、ブートストラップ及びBIOSが格納されている。HDD14には、オペレーティングシステム(OS)、アプリケーションプログラム、注釈文字列データ18を含むドライバ設定データ及び本発明に係わるプリンタドライバ20を含む各種デバイスドライバが格納されている。このプリンタドライバ20は、印刷データを制御する機能を有するデータ制御モジュール21、印刷データの記述言語をプリンタ2が解釈可能な言語に変換する機能を有するデータ変換モジュール22、及び、本発明に係わる、ヘッダー又はフッター等の注釈文字列データ18のレイアウトを変更する機能を有する注釈文字列レイアウト変更モジュール23を備えている。また、アプリケーションプログラムには、文書や画像等を印刷する機能を有したアプリケーションプログラム24が含まれる。例えば、文書作成ソフト、表計算ソフト、画像ソフト、Webブラウザ等がこれに該当する。   The RAM 12 is for main memory. The ROM 13 stores a bootstrap and BIOS. The HDD 14 stores an operating system (OS), application programs, driver setting data including annotation character string data 18, and various device drivers including the printer driver 20 according to the present invention. The printer driver 20 includes a data control module 21 having a function of controlling print data, a data conversion module 22 having a function of converting a description language of print data into a language interpretable by the printer 2, and the present invention. An annotation character string layout change module 23 having a function of changing the layout of the annotation character string data 18 such as a header or a footer is provided. The application program includes an application program 24 having a function of printing a document, an image, or the like. For example, document creation software, spreadsheet software, image software, Web browser, and the like correspond to this.

なお、プリンタドライバ20単体又は注釈文字列レイアウト変更モジュール23単体は、通常、コンピュータ1が読み取り可能なプログラム記録媒体、例えばフロッピーディスク(「フロッピー」は登録商標)、又は、CD−ROM等に記録されており、この記録媒体から読み出されて、HDD14にインストールされる。或いは、他のコンピュータ(サーバ等)の記録媒体に記録されており、LANやインターネット等の通信回線を介してインストールされる。   The printer driver 20 alone or the annotation character string layout change module 23 alone is normally recorded on a program recording medium readable by the computer 1, for example, a floppy disk ("floppy" is a registered trademark), a CD-ROM, or the like. It is read from this recording medium and installed in the HDD 14. Alternatively, it is recorded on a recording medium of another computer (server or the like) and installed via a communication line such as a LAN or the Internet.

以下に、アプリケーションプログラム24が起動している場合において、ヘッダー又はフッター等の注釈文字列の設定を行い、注釈文字列レイアウト変更モジュール23を利用することにより注釈文字列データ18のレイアウトを変更し、アプリケーションプログラム24により表示装置16の画面上に表示されている内容を用紙に印刷する流れを説明する。   Hereinafter, when the application program 24 is activated, the annotation character string such as a header or footer is set, and the layout of the annotation character string data 18 is changed by using the annotation character string layout changing module 23. The flow of printing the contents displayed on the screen of the display device 16 on the sheet by the application program 24 will be described.

アプリケーション24上のメニューバーに表示される印刷メニューがユーザにより押下されると、図2に示すような印刷ダイアログボックス30が表示される。ユーザが、使用するプリンタ名を選択し、詳細設定ボタン31を押下すると、プリンタドライバ20の設定ルーチンが呼び出されて、図3に示すような、選択されたプリンタ名に対応する印刷設定ダイアログボックス32が表示装置16の画面上に表示される。ここで、印刷設定ダイアログボックス32はアプリケーション24によりプリンタドライバ20を介し表示され、このボックスに関する各処理は、プリンタドライバ20がCPU10に対して実行させるものである。次に、印刷設定ダイアログボックス32内のヘッダー/フッター印刷ボタン33を押下すると、図4に示すようなヘッダー/フッター印刷ダイアログボックス40が表示される。   When the user presses the print menu displayed on the menu bar on the application 24, a print dialog box 30 as shown in FIG. 2 is displayed. When the user selects a printer name to be used and presses the detailed setting button 31, a setting routine of the printer driver 20 is called, and a print setting dialog box 32 corresponding to the selected printer name as shown in FIG. Is displayed on the screen of the display device 16. Here, the print setting dialog box 32 is displayed by the application 24 via the printer driver 20, and each process related to this box is executed by the printer driver 20 with respect to the CPU 10. Next, when the header / footer print button 33 in the print setting dialog box 32 is pressed, a header / footer print dialog box 40 as shown in FIG. 4 is displayed.

このヘッダー/フッター印刷ダイアログボックス40では、ユーザ名、コンピュータ名、ページ番号、日付又はユーザ指定の注釈文字列を、ヘッダー又はフッターとして印刷データに付加するか否か及びその位置をそれらに対応する選択ボックス41〜45から選択できる。具体的には、図4に示すように選択ボックス41〜45からは、「しない」、「左上」46、「中央上」47、「右上」48、「左下」49、「中央下」50、又は、「右下」51が選択できる。これらは、図6に示す用紙上の位置を指す。   In the header / footer printing dialog box 40, whether or not to add a user name, computer name, page number, date, or user-specified annotation character string to the print data as a header or footer, and a position corresponding thereto are selected. You can select from boxes 41-45. Specifically, as shown in FIG. 4, from the selection boxes 41 to 45, “No”, “Upper left” 46, “Upper center” 47, “Upper right” 48, “Lower left” 49, “Lower center” 50, Alternatively, “lower right” 51 can be selected. These indicate the positions on the paper shown in FIG.

また、このヘッダー/フッター印刷ダイアログボックス40では、日付の注釈文字列データ18を印刷データに付加する場合に、時刻の文字列をその注釈文字列の後に追加するか否かを、チェックボックス52により選択できる。さらに、ユーザ任意の注釈文字列を入力ボックス53へ入力することにより印刷データに追加することができる。さらにまた、注釈文字列の書式設定に関する「フォント」、「サイズ」、「スタイル」、及び、「色」を、それぞれ選択ボックス54〜57から選択することができる。   Also, in this header / footer print dialog box 40, when adding the date annotation character string data 18 to the print data, whether or not to add the time character string after the annotation character string is indicated by a check box 52. You can choose. Furthermore, an arbitrary annotation character string can be added to the print data by inputting it into the input box 53. Furthermore, “font”, “size”, “style”, and “color” related to the annotation character string formatting can be selected from the selection boxes 54 to 57, respectively.

本実施例1では、ヘッダー/フッター印刷ダイアログボックス40内に表示されている「コンピュータ名を印刷」に対応する選択ボックス42のリストから「左上」46を選択し、「日付を印刷」に対応する選択ボックス44のリストから「左下」49を選択し、「文字列を印刷」に対応する選択ボックス45から「右下」51を選択するものとし、「文字列を印刷」に対応する入力ボックス53には、メールアドレスを記入するものとする。また、図4に示している他の設定は、デフォルト設定を使用するものとする。   In the first embodiment, “upper left” 46 is selected from the list of the selection box 42 corresponding to “print computer name” displayed in the header / footer print dialog box 40 and corresponds to “print date”. It is assumed that “lower left” 49 is selected from the list of the selection box 44, “lower right” 51 is selected from the selection box 45 corresponding to “print character string”, and an input box 53 corresponding to “print character string”. The e-mail address shall be entered. The other settings shown in FIG. 4 use default settings.

上記のようにヘッダー/フッターの設定を行った後、図4に示すOKボタン58が押下された場合、この設定内容が注釈文字列データ18としてHDD14に格納されているドライバ設定データ内で確定し、ヘッダー/フッター印刷ダイアログボックス40が閉じられ、同時に図3に示す印刷設定ダイアログボックス32がアクティブになる。   When the OK button 58 shown in FIG. 4 is pressed after setting the header / footer as described above, the setting contents are confirmed in the driver setting data stored in the HDD 14 as the annotation character string data 18. The header / footer print dialog box 40 is closed, and at the same time, the print setting dialog box 32 shown in FIG. 3 is activated.

印刷設定ダイアログボックス32内のOKボタン60が押下されると、ドライバ設定データ内の他の印刷設定情報、例えば用紙情報及びレイアウト情報などが確定され、このダイアログボックス32が閉じられ、同時に図2に示す印刷ダイアログボックス30がアクティブになる。   When the OK button 60 in the print setting dialog box 32 is pressed, other print setting information in the driver setting data, such as paper information and layout information, is confirmed, and the dialog box 32 is closed. The print dialog box 30 shown becomes active.

この印刷ダイアログボックス30内の印刷ボタン61を押下すると、注釈文字列データ18が印刷データに付加されて、用紙にそのデータの内容が形成される。   When the print button 61 in the print dialog box 30 is pressed, the annotation character string data 18 is added to the print data, and the contents of the data are formed on the paper.

ここで、印刷データに付加されるデータをヘッダー又はフッターデータと表現せず、注釈文字列データ18と表現する理由は、後述のように注釈文字列レイアウト変更モジュール23がヘッダー又はフッターとしての注釈文字列を移動等するため、ヘッダー又はフッターという概念の領域を越えた位置に文字列が付加される場合が生ずるからである。   Here, the reason why the data added to the print data is not expressed as header or footer data but is expressed as annotation character string data 18 is that the annotation character string layout changing module 23 is used as an annotation character as a header or footer as described later. This is because a character string may be added at a position beyond the concept area of the header or footer in order to move the string.

以下に、印刷ボタン61が押下され、用紙に印刷データの内容が形成されるまでの流れを、図1に示す機能ブロック図を用いて説明する。この機能ブロック図は、画像形成システムの本発明に関係した機能部分のみを示している。   The flow from when the print button 61 is pressed until the content of the print data is formed on the paper will be described below using the functional block diagram shown in FIG. This functional block diagram shows only functional parts related to the present invention of the image forming system.

アプリケーション24は、ユーザによる印刷ボタン61の押下を受け付けると、アプリケーション24で作成した文章データに対応してGDI100の関数を呼び出すとともに、文書データを該関数に引き渡す(文書データをGDI描画コマンドに変換する)。   When the application 24 accepts the pressing of the print button 61 by the user, the application 24 calls a function of the GDI 100 corresponding to the text data created by the application 24 and delivers the document data to the function (converts the document data into a GDI drawing command). ).

GDI100の関数は、GDI描画コマンドをプリンタドライバ20が解釈可能な描画コマンド(DDIコマンド)に変換し、これをEMF(Enhanced Meta File)ファイル101として、RAM12上又はHDD14上のスプール領域に格納する。   The function of the GDI 100 converts a GDI drawing command into a drawing command (DDI command) that can be interpreted by the printer driver 20, and stores this as an EMF (Enhanced Meta File) file 101 in a spool area on the RAM 12 or the HDD 14.

プリントスプーラ102は、プリンタ2が印刷可能になったか否かをバックグラウンド処理で確認しており、印刷可能になったときに、スプール領域に格納されているEMFファイル101の内容をプリンタドライバ20に順次引き渡す。   The print spooler 102 checks whether or not the printer 2 is ready for printing by background processing. When printing is possible, the contents of the EMF file 101 stored in the spool area are sent to the printer driver 20. Deliver sequentially.

プリンタドライバ20は、これに応答して、ドライバ内にあるデータ制御モジュール21を呼び出す。   In response to this, the printer driver 20 calls the data control module 21 in the driver.

データ制御モジュール21は、これに応答して、プリントスプーラ102から順次受け取る印刷データをデータ変換モジュール22に渡すとともに、そのデータの命令文が改ページであるか否かを判定する。肯定判定した場合には、ドライバ設定データを読み出して、そのデータ内に注釈文字列データ18があるか否かを更に判定し、注釈文字列データ18がある場合には、改ページ命令のデータを渡す前に、注釈文字列レイアウト変更モジュール23を呼び出す。   In response to this, the data control module 21 passes the print data sequentially received from the print spooler 102 to the data conversion module 22 and determines whether the command statement of the data is a page break. If an affirmative determination is made, the driver setting data is read out to further determine whether or not the comment character string data 18 is present in the data. Before passing, the annotation character string layout change module 23 is called.

注釈文字列レイアウト変更モジュール23は、これに応答して、EMFファイル101を解釈し、後述のように所定の条件の場合に注釈文字列データ18のレイアウトを変更して、そのデータをデータ制御モジュール21に渡す。   In response to this, the annotation character string layout change module 23 interprets the EMF file 101, changes the layout of the annotation character string data 18 under a predetermined condition as will be described later, and uses the data as a data control module. Pass to 21.

データ制御モジュール21は、これに応答して、印刷データを受け取った場合と同様に、その注釈文字列データ18をデータ変換モジュール22に渡し、次に改ページ命令のデータを渡す。このことにより、注釈文字列データ18が改ページ命令の前までの印刷データに付加されることになる。その後、プリントスプーラ102から順次受け取る残ページの印刷データについても上記と同一の処理を繰り返す。   In response to this, the data control module 21 passes the annotation character string data 18 to the data conversion module 22 in the same manner as when the print data is received, and then passes the page break command data. As a result, the annotation character string data 18 is added to the print data before the page break command. Thereafter, the same processing as described above is repeated for the print data of the remaining pages sequentially received from the print spooler 102.

ここで、例えば本文の印刷データのみに基づいた印刷結果が図7(A)に示すような場合、注釈文字列データ18を変更せずに印刷すると、図7(B)に示すような印刷結果となり、印刷データの描画領域(主描画領域)と注釈文字列データ18の描画領域(副描画領域)とが互いに重複し、さらに複数の副描画領域が互いに重複する。なお、図7(B)及び図7(C)に示している符号42a、44a、45aは、それぞれコンピュータ名、日付、メールアドレスの注釈文字列を指している。   Here, for example, when the print result based only on the print data of the text is as shown in FIG. 7A, if the annotation character string data 18 is printed without being changed, the print result as shown in FIG. Thus, the print data drawing area (main drawing area) and the annotation character string data 18 drawing area (sub drawing area) overlap each other, and a plurality of sub drawing areas overlap each other. Reference numerals 42a, 44a, and 45a shown in FIGS. 7B and 7C indicate annotation character strings of a computer name, date, and mail address, respectively.

また、対話型入力装置15から入力される印刷倍率情報が、描画対象領域の拡大を示している場合に、注釈文字列データ18を変更せずに印刷すると、図8(A)に示すような印刷結果となり、副描画領域の全部又は一部が有効印字領域62外にはみ出す。なお、図8(A)内のコンピュータ名42aの一部である‘st−comp’、並びに、日付44aの全部‘日付:2006年10月6日’及びメールアドレス45aの全部‘○○○○○○@co.jp’は実際には印刷されないが、説明のために示している。   Further, when the print magnification information input from the interactive input device 15 indicates enlargement of the drawing target area, if the annotation character string data 18 is printed without being changed, as shown in FIG. As a result of printing, all or part of the sub-drawing area protrudes outside the effective printing area 62. It should be noted that 'st-comp', which is a part of the computer name 42a in FIG. 8 (A), and all of the date 44a 'date: October 6, 2006' and all of the mail address 45a 'XXXXX'. ○○ @ co. jp 'is not actually printed, but is shown for explanation.

上記問題点を解決するために、本発明の要部である注釈文字列レイアウト変更モジュール23は、EMFファイル101に含まれる1ページ分の印刷データの主描画領域と副描画領域とが互いに重複しないように、複数の注釈文字列データ18の描画領域が互いに重複しないように、且つ注釈文字列データ18の描画領域の全部が印刷用紙の有効印字領域62内に入るように、注釈文字列データ18が示す位置座標又はフォントサイズを変更して注釈文字列を移動又は縮小する。   In order to solve the above problem, the annotation character string layout changing module 23, which is the main part of the present invention, does not overlap the main drawing area and the sub drawing area of the print data for one page included in the EMF file 101. As described above, the annotation character string data 18 is such that the drawing areas of the plurality of annotation character string data 18 do not overlap each other and that the entire drawing area of the annotation character string data 18 falls within the effective print area 62 of the printing paper. The annotation character string is moved or reduced by changing the position coordinates or font size indicated by.

データ変換モジュール22は、データ制御モジュール21から受け取ったデータをプリンタ2が解釈可能なPDL言語に変換し、それをRAWデータとしてプリントスプーラ102に渡す。   The data conversion module 22 converts the data received from the data control module 21 into a PDL language that can be interpreted by the printer 2, and passes it to the print spooler 102 as RAW data.

プリントスプーラ102は、上記RAWデータを、インターフェース11と通信ポート17を介してプリンタ2に送信する。   The print spooler 102 transmits the RAW data to the printer 2 via the interface 11 and the communication port 17.

プリンタ2は、プリントスプーラ102から順次受信するRAWデータを解釈し、1ページ分の各レイヤー(注釈文字列のレイヤーを含む)の印刷データをビットマップデータに展開し、合成する。その後、合成したデータに基づいてプリントエンジンの感光ドラムに静電潜像を形成し、これをトナーで現像し、用紙に転写し定着させた後に排紙する。   The printer 2 interprets the RAW data sequentially received from the print spooler 102, and develops and synthesizes the print data of each layer (including the annotation character string layer) for one page into bitmap data. Thereafter, an electrostatic latent image is formed on the photosensitive drum of the print engine based on the combined data, developed with toner, transferred to a sheet, fixed, and discharged.

図5は、注釈文字列レイアウト変更モジュール23に従ってCPU10が行う処理を示すフローチャートである。以下、括弧内は図5中のステップ識別符号である。   FIG. 5 is a flowchart showing processing performed by the CPU 10 in accordance with the annotation character string layout change module 23. In the following, the step identification codes in FIG. 5 are shown in parentheses.

(S1)EMFファイル101から、文字や画像の位置情報及び書式情報等の描画情報、並びに、用紙サイズ情報、印刷倍率情報及びレイアウト情報等の印刷設定情報を含んだ上記改ページ命令前の1ページ分の印刷データを取得する。   (S1) One page before the page break command including drawing information such as character and image position information and format information, and print setting information such as paper size information, print magnification information, and layout information from the EMF file 101 Get print data for minutes.

(S2)文字情報、並びにその位置情報及び書式情報等の描画情報を含んだ注釈文字列データ18を取得する。   (S2) Annotation character string data 18 including character information and drawing information such as position information and format information is acquired.

(S3)注釈文字列の付加数分だけ、以下のステップS4からステップS12までの処理を繰り返す。   (S3) The following steps S4 to S12 are repeated as many times as the number of annotation character strings added.

(S4)EMFファイル101から取得した1ページ分の印刷データに基づいてその印刷データの描画領域を計算し、それを主描画領域としてRAM12に格納するとともに、注釈文字列データ18に基づいてその注釈文字列データ18の描画領域を計算し、それを副描画領域としてRAM12に格納する。なお、計算される描画領域は、例えば文字列、ベクトル図形及びイメージの各描画オブジェクトを矩形領域で近似した領域である。また、対話型入力装置15から入力される印刷倍率情報が対話型入力装置15から入力されている場合には、その倍率を考慮に入れて主描画領域及び副描画領域の矩形領域を計算する。   (S4) The drawing area of the print data is calculated based on the print data for one page acquired from the EMF file 101, stored in the RAM 12 as the main drawing area, and the annotation based on the annotation character string data 18 The drawing area of the character string data 18 is calculated and stored in the RAM 12 as a sub-drawing area. The calculated drawing area is, for example, an area obtained by approximating each drawing object of a character string, a vector figure, and an image with a rectangular area. If the printing magnification information input from the interactive input device 15 is input from the interactive input device 15, the rectangular areas of the main drawing area and the sub drawing area are calculated in consideration of the magnification.

(S5)図形論理積演算を行うことにより、主描画領域と副描画領域とが互いに重複するか否かを判定し、複数の副描画領域が互いに重複するか否かを判定し、且つ副描画領域の全部又は一部が有効印字領域62外にはみ出すか否かを判定する。重複すると判定した場合、又は、はみ出すと判定した場合は次の処理へ進み、そうでない場合は、ステップS11の処理へ進む。   (S5) By performing a figure logical product operation, it is determined whether or not the main drawing area and the sub drawing area overlap each other, it is determined whether or not a plurality of sub drawing areas overlap each other, and the sub drawing is performed. It is determined whether or not all or part of the area protrudes outside the effective print area 62. If it is determined that they overlap, or if it is determined that they are protruding, the process proceeds to the next process, and if not, the process proceeds to step S11.

(S6)注釈文字列データ18が示す注釈文字列の位置座標、例えばその文字列の矩形枠の左上頂点座標を有効印字領域62内で変更して、注釈文字列を移動する。ここで、移動方法はいかなる態様であってもよいが、本実施例1では、最初に設定された位置座標(図6参照)から例えば1mmピッチでこの位置に応じて上下左右の予め定めた順番で注釈文字列の移動を行っていくものとする。   (S6) The annotation character string is moved by changing the position coordinates of the annotation character string indicated by the annotation character string data 18, for example, the upper left vertex coordinate of the rectangular frame of the character string within the effective print area 62. Here, the movement method may be any form, but in the first embodiment, a predetermined order of up, down, left, and right according to this position at a pitch of, for example, 1 mm from the position coordinates (see FIG. 6) set at the beginning. Let's move the annotation string.

(S7)注釈文字列の位置座標を有効印字領域62内の全ての範囲で変更したか否かを判定する。全ての範囲で変更したと判定した場合、次の処理へ進み、そうでない場合はステップS4の処理へ戻る。   (S7) It is determined whether or not the position coordinates of the annotation character string have been changed in all ranges within the effective print area 62. When it determines with having changed in all the ranges, it progresses to the next process, and when that is not right, it returns to the process of step S4.

(S8)注釈文字列データ18が示すフォントサイズを例えば1ポイント小さく変更して、注釈文字列を縮小する。   (S8) The font size indicated by the annotation character string data 18 is changed by, for example, one point smaller to reduce the annotation character string.

(S9)フォントサイズが許容サイズか否かを判定する。フォントサイズが許容サイズ、つまり下限サイズ以上であると判定した場合は、ステップS4の処理へ戻り、そうでない場合は、次の処理へ進む。   (S9) It is determined whether or not the font size is an allowable size. If it is determined that the font size is larger than the allowable size, that is, the lower limit size, the process returns to step S4, and if not, the process proceeds to the next process.

(S10)注釈文字列データ18を該当するページの印刷データに付加できない旨を表示装置16の画面上に表示し、ステップS12の処理へ進む。   (S10) The fact that the annotation character string data 18 cannot be added to the print data of the corresponding page is displayed on the screen of the display device 16, and the process proceeds to step S12.

(S11)1つの注釈文字列に関する注釈文字列データ18内のレイアウト情報を確定する。   (S11) The layout information in the annotation character string data 18 relating to one annotation character string is determined.

(S13)注釈文字列データ18をデータ制御モジュール21に渡して、データ制御モジュール21により、そのデータは、印刷データを受け取った場合と同様に、データ変換モジュール22に渡され、その後更に、改ページ命令のデータが渡される。このことにより、注釈文字列データ18が改ページ前の印刷データに付加されることになる。   (S13) The annotation character string data 18 is passed to the data control module 21, and the data control module 21 passes the data to the data conversion module 22 in the same manner as when the print data is received. Instruction data is passed. As a result, the annotation character string data 18 is added to the print data before the page break.

本実施例1では、主描画領域と副描画領域とが互いに重複しないように、且つ副描画領域の全部が印刷用紙の有効印字領域62内に入るように、注釈文字列レイアウト変更モジュール23が注釈文字列データ18の示す位置座標又はフォントサイズを変更してプリンタ2によって印刷される注釈文字列を移動又は縮小するので、本文の印刷サイズを縮小することなく、本文及び注釈文字列の情報が損なわれることを防止することができるという効果を奏する。   In the first embodiment, the annotation character string layout change module 23 makes an annotation so that the main drawing area and the sub drawing area do not overlap each other and the entire sub drawing area falls within the effective print area 62 of the printing paper. Since the annotation character string printed by the printer 2 is moved or reduced by changing the position coordinates or the font size indicated by the character string data 18, the information of the text and the annotation character string is lost without reducing the print size of the text. There is an effect that it can be prevented.

また、複数の注釈文字列を付加する際は、複数の副描画領域が互いに重複しないように、注釈文字列データ18が示す注釈文字列の位置座標又はフォントサイズを変更して注釈文字列を移動又は縮小するので、注釈文字列の情報が損なわれることを防止することができるという効果を奏する。なお、複数の注釈文字列が存在する場合や注釈文字列データ18の中にユーザによる任意の文字列を含む場合には、背景技術の欄で説明した問題点が生ずる可能性が高まるが、この構成により該問題点を解決することができる。   When adding a plurality of annotation character strings, the annotation character strings are moved by changing the position coordinates or font size of the annotation character strings indicated by the annotation character string data 18 so that the plurality of sub-drawing areas do not overlap each other. Alternatively, since the information is reduced, the information of the annotation character string can be prevented from being damaged. In addition, when there are a plurality of annotation character strings or when an arbitrary character string by the user is included in the annotation character string data 18, there is a high possibility that the problem described in the background art column will occur. This problem can be solved by the configuration.

実施例2では、印刷データをEMF形式ではなく、RAW形式でスプールする画像形成システムにおいて、本発明に係わる機能構成を説明する。   In the second embodiment, a functional configuration according to the present invention will be described in an image forming system that spools print data not in the EMF format but in the RAW format.

図10は、本発明の実施例2に係る画像形成システムのシステム概略ブロック図である。   FIG. 10 is a system schematic block diagram of an image forming system according to Embodiment 2 of the present invention.

実施例1と同様に印刷ダイアログボックス30、印刷設定ダイアログボックス32及びヘッダー/フッター印刷ダイアログボックス40において印刷設定がされた後、図2に示す印刷ボタン61が押下される。この押下後、用紙に印刷データの内容が形成されるまでの流れを、図10に示す機能ブロック図を用いて以下に説明する。   As in the first embodiment, after print settings are made in the print dialog box 30, print setting dialog box 32, and header / footer print dialog box 40, the print button 61 shown in FIG. 2 is pressed. The flow from when the pressing is performed until the content of the print data is formed on the paper will be described below with reference to the functional block diagram shown in FIG.

アプリケーション24は、ユーザによる印刷ボタン61の押下を受け付けると、アプリケーション24で作成した文章データに対応してGDI100の関数を呼び出すとともに、文書データを該関数に引き渡す(文書データをGDI描画コマンドに変換する)。   When the application 24 accepts the pressing of the print button 61 by the user, the application 24 calls a function of the GDI 100 corresponding to the text data created by the application 24 and delivers the document data to the function (converts the document data into a GDI drawing command). ).

GDI100の関数は、GDI描画コマンドをプリンタドライバ20が解釈可能な描画コマンド(DDIコマンド)に変換し、そのコマンドデータをプリンタドライバ20に順次引き渡す。   The GDI 100 function converts a GDI drawing command into a drawing command (DDI command) that can be interpreted by the printer driver 20, and sequentially passes the command data to the printer driver 20.

プリンタドライバ20は、これに応答して、ドライバ内にあるデータ制御モジュール21を呼び出す。   In response to this, the printer driver 20 calls the data control module 21 in the driver.

データ制御モジュール21は、これに応答して、データ変換モジュール22に、上記変換されて順次受け取るコマンドデータを印刷データとして渡すとともに、そのデータをページバッファ103に格納する。また、データ変換モジュール22に上記データを渡す際に、そのデータの命令文が改ページであるか否かを判定する。肯定判定した場合には、ドライバ設定データを読み出して、そのデータ内に注釈文字列データ18があるか否かを更に判定し、注釈文字列データ18がある場合には、改ページ命令のデータを渡す前に、注釈文字列レイアウト変更モジュール23を呼び出す。   In response to this, the data control module 21 passes the converted command data received in sequence to the data conversion module 22 as print data, and stores the data in the page buffer 103. Further, when the data is transferred to the data conversion module 22, it is determined whether or not the command statement of the data is a page break. If an affirmative determination is made, the driver setting data is read out to further determine whether or not the comment character string data 18 is present in the data. Before passing, the annotation character string layout change module 23 is called.

注釈文字列レイアウト変更モジュール23は、これに応答して、ページバッファに格納される1ページ分の印刷データを解釈し、上記実施例1と同様に、所定の条件の場合に注釈文字列データ18のレイアウトを変更して、そのデータをデータ制御モジュール21に渡す。   In response to this, the annotation character string layout changing module 23 interprets the print data for one page stored in the page buffer, and the annotation character string data 18 in the case of a predetermined condition as in the first embodiment. And the data is transferred to the data control module 21.

データ制御モジュール21は、これに応答して、印刷データを受け取った場合と同様に、その注釈文字列データ18をデータ変換モジュール22に渡し、次に改ページ命令のデータを渡す。このことにより、注釈文字列データ18が改ページ命令の前までの印刷データに付加されることになる。その後、改ページ命令の後にGDI関数100から順次受け取る残ページの印刷データについても上記と同一の処理を繰り返す。   In response to this, the data control module 21 passes the annotation character string data 18 to the data conversion module 22 in the same manner as when the print data is received, and then passes the page break command data. As a result, the annotation character string data 18 is added to the print data before the page break command. Thereafter, the same process is repeated for the remaining page print data sequentially received from the GDI function 100 after the page break command.

データ変換モジュール22は、データ制御モジュール21から受け取ったデータをプリンタ2が解釈可能なPDL言語に変換し、それをRAWファイル101Aとして、RAM12上又はHDD14上のスプール領域に格納する。   The data conversion module 22 converts the data received from the data control module 21 into a PDL language that can be interpreted by the printer 2, and stores it as a RAW file 101 A in the spool area on the RAM 12 or the HDD 14.

プリントスプーラ102は、プリンタ2が印刷可能になったか否かをバックグラウンド処理で確認しており、印刷可能になったときに、スプール領域に格納されている上記RAWファイル101Aを、インターフェース11と通信ポート17を介してプリンタ2に送信する。   The print spooler 102 confirms whether or not the printer 2 is ready for printing by background processing. When printing is possible, the print spooler 102 communicates the RAW file 101A stored in the spool area with the interface 11. The data is transmitted to the printer 2 via the port 17.

プリンタ2は、プリントスプーラ102から受信するRAWファイル101Aを解釈し、それに含まれる1ページ分の各レイヤー(注釈文字列のレイヤーを含む)の印刷データをビットマップデータに展開し、合成する。その後、合成したデータに基づいてプリントエンジンの感光ドラムに静電潜像を形成し、これをトナーで現像し、用紙に転写し定着させた後に排紙する。   The printer 2 interprets the RAW file 101A received from the print spooler 102, and develops and synthesizes the print data of each layer (including the annotation character string layer) included in one page into bitmap data. Thereafter, an electrostatic latent image is formed on the photosensitive drum of the print engine based on the combined data, developed with toner, transferred to a sheet, fixed, and discharged.

なお、本発明の実施例1又は2には他にも種々の変形例が含まれる。   Various other modified examples are included in the first or second embodiment of the present invention.

例えば、プリンタ2は、プリント機能を備えたものであればよく、例えば複合機の一部であってもよい。   For example, the printer 2 only needs to have a print function, and may be a part of a multifunction peripheral, for example.

また、通信ポート17は、USBポートやパラレルポートに限定されるものではなく、シリアルポートやSCSIポート等の通信を行うためのポートであればよい。   The communication port 17 is not limited to a USB port or a parallel port, and may be a port for performing communication such as a serial port or a SCSI port.

さらに、プリンタドライバ20の記録媒体は、HDD14、フロッピーディスク、CD−ROM、又は、サーバのHDDに限定されるものではなく、外付けの外部HDD、フラッシュメモリ、MD、SDカード、又は、CFカードであってもよい。   Further, the recording medium of the printer driver 20 is not limited to the HDD 14, floppy disk, CD-ROM, or server HDD, but an external external HDD, flash memory, MD, SD card, or CF card. It may be.

さらにまた、上記実施例では、上記注釈文字列レイアウト変更モジュール20が、コンピュータ1のCPU10に対して処理を行わせる構成を説明したが、注釈文字列レイアウト変更モジュール20がプリンタ2のHDDに格納され、プリンタ2のCPUに対して処理を行わせる構成であってもよい。   Furthermore, in the above embodiment, the configuration in which the annotation character string layout changing module 20 causes the CPU 10 of the computer 1 to perform processing has been described. However, the annotation character string layout changing module 20 is stored in the HDD of the printer 2. Alternatively, the configuration may be such that the CPU of the printer 2 performs processing.

また、上記実施例で説明した図1又は図10に示す機能ブロック図は、OSがWindows(登録商標)を前提とした一態様に過ぎず、Windowsを前提とした他の態様であってもよく、また他のOS、例えばLinux(登録商標)を前提とした他の態様であってもよい。   The functional block diagram shown in FIG. 1 or FIG. 10 described in the above embodiment is only one aspect in which the OS is premised on Windows (registered trademark), and may be in another aspect on the premise of Windows. Also, other modes based on other OSs such as Linux (registered trademark) may be used.

さらに、上記実施例1では、印刷データをEMF形式でスプールし、上記実施例2では、RAW形式でスプールする画像形成システムの構成を説明したが、印刷データをスプールしない構成であってもよい。   Further, in the first embodiment, the configuration of the image forming system in which the print data is spooled in the EMF format and the second embodiment is spooled in the RAW format has been described. However, the configuration may be such that the print data is not spooled.

さらにまた、プリンタ2がPDL対応プリンタである場合を説明したが、プリンタ2がホストベースプリンタ(ダムプリンタ)であってもよい。その場合は、実施例と異なり、プリンタ2が印刷データと注釈文字列データとを合成せず、プリンタドライバ20がビットマップ展開をした後に、それらを合成する。なお、この場合、ビットマップ展開をした後に、注釈文字列レイアウト変更モジュール23を使用して、注釈文字列の移動等をする構成であってもよい。   Furthermore, although the case where the printer 2 is a PDL compatible printer has been described, the printer 2 may be a host base printer (dumb printer). In that case, unlike the embodiment, the printer 2 does not synthesize the print data and the annotation character string data, and synthesizes them after the printer driver 20 develops the bitmap. In this case, after the bitmap development, the annotation character string layout changing module 23 may be used to move the annotation character string.

また、図5に示すフローチャートは、注釈文字列レイアウト変更モジュール23の処理の一態様に過ぎず、特に移動処理と縮小処理の順番は問わない。   The flowchart shown in FIG. 5 is only one aspect of the processing of the annotation character string layout changing module 23, and the order of the moving processing and the reduction processing is not particularly limited.

さらに、対話型入力装置15から入力される印刷倍率情報が、描画対象領域の拡大を示している場合に、副描画領域を拡大することなく主描画領域のみを拡大するように、主描画領域及び副描画領域を計算する前に注釈文字列レイアウト変更モジュール23が印刷データに対して拡大処理をする構成を備えていてもよい。   Further, when the print magnification information input from the interactive input device 15 indicates the enlargement of the drawing target area, the main drawing area and the main drawing area are enlarged so as to enlarge only the main drawing area without enlarging the sub drawing area. The annotation character string layout change module 23 may be configured to enlarge the print data before calculating the sub-drawing area.

さらにまた、上記実施例では、プリンタドライバ20が、データ制御モジュール21、データ変換モジュール22及び注釈文字列レイアウト変更モジュール23を有し、それぞれのモジュールが各処理を行う構成を説明したが、プリンタドライバ20や他のモジュール等の印刷用プログラムが、当該各処理の全部又は一部を行う構成であってもよい。   Furthermore, in the above-described embodiment, the printer driver 20 has the data control module 21, the data conversion module 22, and the annotation character string layout change module 23, and the configuration in which each module performs each process has been described. The printing program such as 20 or another module may be configured to perform all or a part of each process.

上述の実施例1又は2では、注釈文字列を移動又は縮小することにより、発明が解決しようとする課題の欄で説明した問題点を解決したが、この構成では、注釈文字列が長すぎると、過度に移動又は縮小されて、その文字列を認識することが困難になってしまう場合が生ずる。   In the above-described first or second embodiment, the problem described in the column of the problem to be solved by the invention is solved by moving or reducing the annotation character string. In this configuration, however, the annotation character string is too long. If the character string is excessively moved or reduced, it may be difficult to recognize the character string.

よって、本実施例3では、注釈文字列レイアウト変更モジュール23が印刷される注釈文字列を二段に分割することにより、その視認性を確保する構成を説明する。   Therefore, in the third embodiment, a description will be given of a configuration that ensures the visibility by dividing the annotation character string to be printed by the annotation character string layout changing module 23 into two stages.

以下、注釈文字列レイアウト変更モジュール23が注釈文字列を二段分割する方法を説明する。   Hereinafter, a method in which the annotation character string layout changing module 23 divides the annotation character string into two stages will be described.

本実施例3に係わる画像形成システムのハードウェア構成及びシステム構成は、実施例1で説明したものと同一である。   The hardware configuration and system configuration of the image forming system according to the third embodiment are the same as those described in the first embodiment.

図11は、本実施例3に係わる注釈文字列レイアウト変更モジュール23に従ってCPU10が行う処理を示すフローチャートである。括弧内は図11中のステップ識別符号である。   FIG. 11 is a flowchart illustrating processing performed by the CPU 10 in accordance with the annotation character string layout change module 23 according to the third embodiment. In parentheses are step identification codes in FIG.

(S20〜S23)実施例1で説明した図5中のステップS1〜S4と同様の処理を行う。   (S20 to S23) The same processing as steps S1 to S4 in FIG.

(S24)図形論理積演算を行うことにより、主描画領域と副描画領域とが互いに重複するか否かを判定し、複数の副描画領域が互いに重複するか否かを判定し、且つ副描画領域の全部又は一部が有効印字領域62外にはみ出すか否かを判定する。重複すると判定した場合、又は、はみ出すと判定した場合は次の処理へ進み、そうでない場合は、ステップS30の処理へ進む。   (S24) By performing a figure logical product operation, it is determined whether or not the main drawing area and the sub drawing area overlap each other, it is determined whether or not a plurality of sub drawing areas overlap each other, and the sub drawing is performed. It is determined whether or not all or part of the area protrudes outside the effective print area 62. If it is determined that they overlap, or if it is determined that they protrude, the process proceeds to the next process, and if not, the process proceeds to step S30.

(S25)実施例1で説明した図5中のステップS6と同様に注釈文字列の位置座標を変更して、印刷される注釈文字列を移動する。   (S25) The position of the annotation character string is changed as in step S6 in FIG. 5 described in the first embodiment, and the printed annotation character string is moved.

(S26)注釈文字列の位置座標を有効印字領域62内の全ての範囲で変更したか否かを判定する。全ての範囲で変更したと判定した場合、次の処理へ進み、そうでない場合はステップS23の処理へ戻る。   (S26) It is determined whether or not the position coordinates of the annotation character string have been changed in the entire range within the effective print area 62. When it determines with having changed in all the ranges, it progresses to the next process, and when that is not right, it returns to the process of step S23.

(S27)注釈文字列データ18が示す注釈文字列が既に二段分割されているか否かを判定する。二段分割されていると判定した場合はステップS29の処理へ進み、そうでない場合は次の処理へ進む。   (S27) It is determined whether or not the annotation character string indicated by the annotation character string data 18 has already been divided into two stages. If it is determined that it is divided into two stages, the process proceeds to step S29, and if not, the process proceeds to the next process.

(S28)注釈文字列データ18が示す注釈文字列を二段に分割し、ステップS23の処理へ戻る。ここで、分割方法はいかなる態様であってもよいが、本実施例3では、例えば注釈文字列を前部と後部の半分に分割して、後部が前部の次段に配置されるように注釈文字列データ18を変更する。なお、半角文字、全角文字はともに1文字として数えるものとし、文字数が半分に割り切れない場合(注釈文字列を半分に分割できない場合)は、前部文字数が後部文字数より1つ多くなるように分割する。   (S28) The annotation character string indicated by the annotation character string data 18 is divided into two stages, and the process returns to step S23. Here, the division method may be any form. In the third embodiment, for example, the annotation character string is divided into a front part and a rear half part, and the rear part is arranged in the next stage of the front part. The annotation character string data 18 is changed. Note that both half-width characters and full-width characters are counted as one character. If the number of characters cannot be divided in half (if the annotation character string cannot be divided in half), the number of front characters is divided by one more than the number of rear characters. To do.

(S29〜32)実施例1で説明した図5中のステップS10〜S13と同様の処理を行う。   (S29-32) The same processing as steps S10-S13 in FIG.

プリンタ2に対して注釈文字列データ18を付加した印刷データを用紙に印刷させると、本来図7(B)に示すような印刷結果が得られるが、以上の構成により図12に示すような印刷結果が得られる。   When printing data with annotation character string data 18 added to the printer 2 is printed on a sheet, a printing result as shown in FIG. 7B is obtained originally, but printing as shown in FIG. Results are obtained.

他の点は、実施例1と同一である。   The other points are the same as those in the first embodiment.

本実施例3では、主描画領域と副描画領域とが互いに重複しないように、且つ副描画領域の全部が印刷用紙の有効印字領域62内に入るように、また注釈文字列が複数存在する場合にはさらに、複数の副描画領域が互いに重複しないように、注釈文字列データを変更して注釈文字列を移動し、移動しても重複又ははみ出す場合には二段に分割するので、本文の印刷サイズを縮小することなく、本文及び注釈文字列の情報が損なわれることを防止することができるという効果を奏する。   In the third embodiment, when there are a plurality of annotation character strings so that the main drawing area and the sub drawing area do not overlap each other, and the entire sub drawing area falls within the effective print area 62 of the printing paper. In addition, the annotation character string data is changed so that a plurality of sub-drawing areas do not overlap each other, and the annotation character string is moved. There is an effect that it is possible to prevent the information of the text and the annotation character string from being damaged without reducing the print size.

なお、本実施例3には他にも種々の変形例が含まれる。   The third embodiment includes various other modified examples.

例えば、図11に示すステップS29の前に、実施例1で説明した図5中のステップS8及びステップS9のような注釈文字列を縮小するステップを追加してもよい。   For example, before step S29 shown in FIG. 11, a step of reducing the annotation character string as in steps S8 and S9 in FIG. 5 described in the first embodiment may be added.

さらに、図11に示すフローチャートは、注釈文字列レイアウト変更モジュール23の処理の一態様に過ぎず、特に移動処理と分割処理の順番は問わない。   Furthermore, the flowchart shown in FIG. 11 is only one aspect of the processing of the annotation character string layout changing module 23, and the order of the moving processing and the dividing processing is not particularly limited.

図13(A)は、実施例1に係わる注釈文字列レイアウト変更モジュール23が、1ページごとの印刷データの描画領域(主描画領域)に対して注釈文字列を移動又は縮小した印刷結果である。なお、図中の斜線領域は、主描画領域を表す。   FIG. 13A shows a printing result in which the annotation character string layout change module 23 according to the first embodiment moves or reduces the annotation character string with respect to the drawing area (main drawing area) of the print data for each page. . A hatched area in the figure represents a main drawing area.

図13(A)に示すように実施例1では、1ページごとの主描画領域に対して注釈文字列を移動又は縮小するので、EMFファイル101に複数ページの印刷データが含まれる場合(印刷文書が複数のページからなる場合)、全ページにわたって注釈文字列の位置やサイズが異なる結果となる。また、実施例2及び3の発明においても同様である。   As shown in FIG. 13A, in the first embodiment, the annotation character string is moved or reduced with respect to the main drawing area for each page. Therefore, when the EMF file 101 includes multiple pages of print data (print document) Result in different positions and sizes of annotation strings across all pages. The same applies to the inventions of Examples 2 and 3.

よって、本実施例4では、注釈文字列レイアウト変更モジュール23が全ページを重ねて印刷した場合の描画領域を主描画領域として計算することで、注釈文字列の位置やサイズに統一感を持たせる構成を説明する。ここで、全ページを重ねて印刷した場合の描画領域とは、例えば図13(B)に示す斜線領域を指す。当該図は、図13(A)に示している全ページを重ねて印刷した場合の描画領域を示す図である。   Therefore, in the fourth embodiment, the annotation character string layout change module 23 calculates the drawing area when all the pages are overlapped and printed as the main drawing area, so that the position and size of the annotation character string have a sense of unity. The configuration will be described. Here, the drawing area when all pages are overprinted indicates, for example, a hatched area shown in FIG. This figure is a diagram showing a drawing area when all the pages shown in FIG. 13A are overprinted.

以下、本実施例4に係わる注釈文字列レイアウト変更モジュール23に応じてCPU10が行う処理を図5のフローチャートを用いて説明する。なお、本実施例4ではEMFファイル101に複数ページからなる印刷データが含まれているものとする。   Hereinafter, processing performed by the CPU 10 in accordance with the annotation character string layout change module 23 according to the fourth embodiment will be described with reference to the flowchart of FIG. In the fourth embodiment, it is assumed that the EMF file 101 includes print data including a plurality of pages.

(S1)EMFファイル101、すなわち全ページ分の印刷データを取得する。   (S1) The EMF file 101, that is, print data for all pages is acquired.

(S2)文字情報、並びにその位置情報及び書式情報等の描画情報を含んだ注釈文字列データ18を取得する。   (S2) Annotation character string data 18 including character information and drawing information such as position information and format information is acquired.

(S3)注釈文字列の付加数分だけ、以下のステップS4からステップS12までの処理を繰り返す。   (S3) The following steps S4 to S12 are repeated as many times as the number of annotation character strings added.

(S4)取得したEMFファイル101に基づいて、図13(A)に示すような各ページそれぞれの印刷データの描画領域を計算し、これら全ての描画領域の図形論理和を求めて、それを主描画領域{図13(B)に示す斜線領域}としてRAM12に格納する。さらに、注釈文字列データ18に基づいてその注釈文字列データ18の描画領域を計算し、それを副描画領域としてRAM12に格納する。なお、計算される描画領域は、例えば文字列、ベクトル図形及びイメージの各描画オブジェクトを矩形領域で近似した領域である。また、対話型入力装置15から入力される印刷倍率情報が対話型入力装置15から入力されている場合には、その倍率を考慮に入れて主描画領域及び副描画領域の矩形領域を計算する。   (S4) Based on the acquired EMF file 101, the drawing area of the print data for each page as shown in FIG. 13A is calculated, and the figure logical sum of all these drawing areas is obtained, The drawing area {hatched area shown in FIG. 13B} is stored in the RAM 12. Further, the drawing area of the annotation character string data 18 is calculated based on the annotation character string data 18 and stored in the RAM 12 as a sub drawing area. The calculated drawing area is, for example, an area obtained by approximating each drawing object of a character string, a vector figure, and an image with a rectangular area. If the printing magnification information input from the interactive input device 15 is input from the interactive input device 15, the rectangular areas of the main drawing area and the sub drawing area are calculated in consideration of the magnification.

(S5)図形論理積演算を行うことにより、主描画領域と副描画領域とが互いに重複するか否かを判定し、複数の副描画領域が互いに重複するか否かを判定し、且つ副描画領域の全部又は一部が有効印字領域62外にはみ出すか否かを判定する。重複すると判定した場合、又は、はみ出すと判定した場合は次の処理へ進み、そうでない場合は、ステップS11の処理へ進む。   (S5) By performing a figure logical product operation, it is determined whether or not the main drawing area and the sub drawing area overlap each other, it is determined whether or not a plurality of sub drawing areas overlap each other, and the sub drawing is performed. It is determined whether or not all or part of the area protrudes outside the effective print area 62. If it is determined that they overlap, or if it is determined that they are protruding, the process proceeds to the next process, and if not, the process proceeds to step S11.

(S6〜S13)実施例1で説明した処理と同様の処理を行う。   (S6 to S13) Processing similar to that described in the first embodiment is performed.

なお、主描画領域と副描画領域とが互いに重複等する場合には、印刷データに含まれる最初の改ページ命令においてデータ制御モジュール21により呼び出された時に、注釈文字列レイアウト変更モジュール23が注釈文字列データ18を変更するが、それ以降の改ページ命令において呼び出された時は、全ページを重ねて印刷した場合の描画領域と注釈文字列の描画領域とが互いに重ならないよう等、最初に呼び出された際に注釈文字列データ18を既に変更しているので、注釈文字列データ18を最初に変更した後、更に変更することはない。即ち、図5に示すフローチャートが実行されて注釈文字列データ18が変更された後、更にそのフローチャートが実行された場合、図5に示すステップS5において肯定判定されることはない。よって、全ページにわたって同一の注釈文字列データ18を使用することができ、注釈文字列の位置やサイズが統一される。   If the main drawing area and the sub-drawing area overlap each other, the annotation character string layout change module 23 is set to the annotation character when called by the data control module 21 in the first page break instruction included in the print data. When the column data 18 is changed but is called by a subsequent page break command, it is called first so that the drawing area and the drawing area of the annotation character string do not overlap each other when all pages are printed in an overlapping manner. Since the annotation character string data 18 has already been changed at this time, the annotation character string data 18 is not changed further after the first change. That is, when the flowchart shown in FIG. 5 is executed and the annotation character string data 18 is changed and then the flowchart is further executed, an affirmative determination is not made in step S5 shown in FIG. Therefore, the same annotation character string data 18 can be used for all pages, and the position and size of the annotation character string are unified.

以上の処理により、本来図13(A)に示すような印刷結果であるところから、注釈文字列データ18を変更し、全ページにわたって注釈文字列の位置やサイズを統一すると、図14に示すような印刷結果が得られる。しかしながら、全ページを重ねて印刷した場合の描画領域(主描画領域)は、1ページごとの印刷データの描画領域に比べて広くなる可能性が高いので、主描画領域に重ならないように注釈文字列が過度に移動又は縮小されるおそれがある。よって、本実施例4では、図15に示すように、ヘッダー/フッター印刷ダイアログボックス40a内のチェックボックス200から全ページにわたって注釈文字列の位置やサイズを統一させるか否かを選択することができる。ここで、注釈文字列レイアウト変更モジュール23は、チェックがある場合には全ページを重ねて印刷した場合の描画領域を主描画領域として計算し、チェックがない場合には一ページ分の印刷データの描画領域を主描画領域として計算する。   With the above processing, if the annotation character string data 18 is changed and the position and size of the annotation character string are unified over the entire page from the print result as originally shown in FIG. 13A, as shown in FIG. Print results. However, since the drawing area (main drawing area) when all pages are printed in an overlapping manner is likely to be wider than the drawing area of the print data for each page, the annotation characters are not overlapped with the main drawing area. The column may be moved or shrunk excessively. Therefore, in the fourth embodiment, as shown in FIG. 15, it is possible to select whether or not to unify the position and size of the annotation character string across all pages from the check box 200 in the header / footer print dialog box 40a. . Here, the annotation character string layout changing module 23 calculates the drawing area when all the pages are overprinted when there is a check as the main drawing area, and when there is no check, the annotation character string layout changing module 23 calculates the print data for one page. The drawing area is calculated as the main drawing area.

他の点は、実施例1と同一である。   The other points are the same as those in the first embodiment.

なお、本実施例4に係わる上記発明を実施例3で説明した図11に示すフローチャートに適用してもよい。   The above invention according to the fourth embodiment may be applied to the flowchart shown in FIG. 11 described in the third embodiment.

本実施例4では、全ページを重ねて印刷した場合の描画領域(主描画領域)と注釈文字列データ18の描画領域(副描画領域)とが互いに重複しないように、且つ副描画領域の全部が印刷用紙の有効印字領域62内に入るように、また注釈文字列が複数存在する場合にはさらに、複数の副描画領域が互いに重複しないように、注釈文字列データ18を変更して注釈文字列を移動、縮小又は二段分割するので、全ページにわたる注釈文字列の位置やサイズの統一感が失われることなく、且つ本文の印刷サイズを縮小することなく、本文及び注釈文字列の情報が損なわれることを防止することができるという効果を奏する。   In the fourth embodiment, the drawing area (main drawing area) and the drawing area (sub-drawing area) of the annotation character string data 18 when all pages are printed in an overlapping manner do not overlap each other, and the entire sub-drawing area The annotation character string data 18 is changed so that the plurality of sub-drawing regions do not overlap with each other so that the sub-drawing region does not overlap with each other. Since the columns are moved, reduced, or divided into two stages, the text and annotation character string information can be saved without losing a sense of uniformity in the position and size of the annotation character strings across all pages and without reducing the print size of the text. There is an effect that it can be prevented from being damaged.

前述の実施例1〜4では、注釈文字列レイアウト変更モジュール23がCPU10に対して、有効印字領域62内で注釈文字列を移動させる構成を説明したが、注釈文字列を移動させた結果、図4又は図15に示す選択ボックス41〜45において選択した印刷位置からユーザの想定を超えた場所に注釈文字列が付加されてユーザの意図しない印刷結果を得ることになる場合がある{図8(B)又は図12参照}。   In the above-described first to fourth embodiments, the configuration in which the annotation character string layout change module 23 moves the annotation character string within the effective print area 62 with respect to the CPU 10 has been described. As a result of moving the annotation character string, FIG. 4 or an annotation character string may be added to a location beyond the user's assumption from the print position selected in the selection boxes 41 to 45 shown in FIG. 15 to obtain a print result unintended by the user {FIG. B) or FIG. 12}.

よって、本実施例5では、注釈文字列の移動範囲を、ユーザが指定した印刷位置に対応する許容領域に限定して、本文及び注釈文字列の情報が損なわれることを防止するとともに、ユーザの意図しない印刷結果を得ることを防止する構成を述べる。   Therefore, in the fifth embodiment, the movement range of the annotation character string is limited to the allowable area corresponding to the printing position designated by the user, and the information on the text and the annotation character string is prevented from being damaged. A configuration for preventing unintended printing results will be described.

本実施例5に係わる画像形成システムのハードウェア構成及びシステム構成は、実施例1で説明したものと同一である。   The hardware configuration and system configuration of the image forming system according to the fifth embodiment are the same as those described in the first embodiment.

図16は、ユーザが指定した位置に対応する許容領域を示す図である。本実施例5では、図4に示す選択ボックス41〜45から印刷位置「左上」46、「中央上」47、「右上」48、「左下」49、「中央下」50又は「右下」51を選択した場合の、注釈文字列の移動範囲はそれぞれ許容領域300、301、302、303、304又は305に限定される。   FIG. 16 is a diagram illustrating an allowable area corresponding to the position designated by the user. In the fifth embodiment, the printing positions “upper left” 46, “upper center” 47, “upper right” 48, “lower left” 49, “lower center” 50, or “lower right” 51 are selected from the selection boxes 41 to 45 shown in FIG. When “” is selected, the movement range of the annotation character string is limited to the allowable area 300, 301, 302, 303, 304 or 305, respectively.

例えば、印刷位置「左上」46が選択されて、「左上」46に対応する注釈文字列の位置座標情報を注釈文字列データ18が含む場合に、本実施例5に係わる注釈文字列レイアウト変更モジュール23は、CPU10に対し、図5に示す処理を行わせる。ただし、ステップS7では、注釈文字列の位置座標、例えば注釈文字列を含む矩形の左上頂点座標を印刷位置「左上」46に対応する許容領域300内において1mmピッチで変更させ、ステップS8では、該領域内の全範囲にわたって位置座標を変更したか否かを判定させる。   For example, when the print position “upper left” 46 is selected and the annotation character string data 18 includes the position coordinate information of the annotation character string corresponding to the “upper left” 46, the annotation character string layout change module according to the fifth embodiment is used. 23 causes the CPU 10 to perform the processing shown in FIG. However, in step S7, the position coordinates of the annotation character string, for example, the upper left vertex coordinates of the rectangle including the annotation character string are changed at a 1 mm pitch in the allowable area 300 corresponding to the print position “upper left” 46. It is determined whether or not the position coordinates are changed over the entire range in the region.

本実施例5では、注釈文字列の移動範囲を、ユーザが選択した印刷位置の許容領域に限定するので、本文及び注釈文字列の情報が損なわれることを防止するとともに、ユーザの意図しない印刷結果を得ることを防止することができるという効果を奏する。   In the fifth embodiment, since the movement range of the annotation character string is limited to the allowable area of the printing position selected by the user, the information on the text and the annotation character string can be prevented from being damaged, and the print result unintended by the user can be prevented. The effect that it can prevent obtaining is obtained.

なお、本実施例5には他にも種々の変形例が含まれる。   The fifth embodiment includes various other modified examples.

前述した位置座標の変更範囲は一例に過ぎず、例えば選択ボックス41〜45から印刷位置「左上」46が選択された場合には、許容領域300、301及び302を含んだ許容領域内で位置座標を変更するようにしてもよい。   The change range of the position coordinates described above is merely an example. For example, when the print position “upper left” 46 is selected from the selection boxes 41 to 45, the position coordinates are within the allowable area including the allowable areas 300, 301, and 302. May be changed.

また、実施例5に係わる発明は、実施例1に係わる発明に適用されるだけでなく、他の全ての実施例に係わる発明に適用可能である。   The invention according to the fifth embodiment is applicable not only to the invention according to the first embodiment but also to the inventions according to all other embodiments.

前述の実施例1〜5では、図4又は図15に示す選択ボックス41〜45から複数の注釈文字列が指定されて印刷された際、そのうちの少なくとも一つの注釈文字列と、本文や他の注釈文字列とが重複しない領域がなくなり、その注釈文字列の情報が損なわれる場合がある。   In the above first to fifth embodiments, when a plurality of annotation character strings are designated and printed from the selection boxes 41 to 45 shown in FIG. 4 or FIG. 15, at least one of the annotation character strings, the text, and other There may be no region where the annotation character string does not overlap, and the information of the annotation character string may be lost.

本実施例6では、実施例1において、前記ケースによりユーザにとってより重要な注釈文字列の情報が損なわれることを防止する構成を説明する。   In the sixth embodiment, a configuration that prevents the information of the annotation character string that is more important to the user from being damaged by the case in the first embodiment will be described.

本実施例6に係わる画像形成システムのハードウェア構成及びシステム構成は、実施例1で説明したものと同一である。   The hardware configuration and system configuration of the image forming system according to the sixth embodiment are the same as those described in the first embodiment.

図17は、本実施例6に係わるヘッダー/フッター印刷ダイアログボックス40bを表す図である。   FIG. 17 is a diagram illustrating a header / footer print dialog box 40b according to the sixth embodiment.

このヘッダー/フッター印刷ダイアログボックス40b内には、注釈文字列の種類と選択ボックス41〜45との間に、選択ボックス310〜314が設けられている。この選択ボックス310〜314からは、各注釈文字列の移動優先順位を選択することができ、OKボタン58が押下されると、選択した内容は注釈文字列データ18の一部として確定される。ここで、選択ボックス310〜314はそれぞれ独立しているので、注釈文字列間で移動優先順位が重複する場合がある。そのような場合には、OKボタン58の押下により注釈文字列データ18が確定される際に、注釈文字列間で移動優先順位が重複しないように、該順位を変更する。例えば、図17に示すヘッダー/フッター印刷ダイアログボックス40bにおいて、移動優先順位が重複する注釈文字列の中で他の注釈文字列より上方に位置する注釈文字列の移動優先順位を先に確定し、他の注釈文字列の同一移動優先順位を繰り下げる。   In the header / footer print dialog box 40b, selection boxes 310 to 314 are provided between the types of annotation character strings and the selection boxes 41 to 45. From the selection boxes 310 to 314, the movement priority order of each annotation character string can be selected. When the OK button 58 is pressed, the selected content is confirmed as a part of the annotation character string data 18. Here, since the selection boxes 310 to 314 are independent of each other, the movement priority order may overlap between the annotation character strings. In such a case, when the annotation character string data 18 is determined by pressing the OK button 58, the order is changed so that the movement priority order does not overlap between the annotation character strings. For example, in the header / footer print dialog box 40b shown in FIG. 17, the movement priority of the annotation character string positioned above the other annotation character strings among the annotation character strings having the same movement priority order is determined first. Decrease the same movement priority of other comment strings.

本実施例6に係わる注釈文字列レイアウト変更モジュール23は、CPU10に対して、図5に示す処理を行わせる。ただし、ステップS4〜S11までの処理は、この移動優先順位の高い注釈文字列データ18から先に行わせる。   The annotation character string layout change module 23 according to the sixth embodiment causes the CPU 10 to perform the processing shown in FIG. However, the processing from step S4 to S11 is performed first from the annotation character string data 18 having the high movement priority.

本実施例6では、注釈文字列の移動優先順位をユーザにより選択させることで、本文や他の注釈文字列と重複しない領域がなくなり、ユーザにとって重要な注釈文字列の情報が損なわれることを防止することができるという効果を奏する。   In the sixth embodiment, by letting the user select the movement priority order of the annotation character string, there is no area that does not overlap with the main text and other annotation character strings, thereby preventing the information on the annotation character string important for the user from being damaged. There is an effect that can be done.

なお、本実施例6に係わる発明は、実施例1に係わる発明に適用されるだけでなく、他の全ての実施例に係わる発明に適用可能である。   The invention according to the sixth embodiment can be applied not only to the invention according to the first embodiment but also to the inventions according to all other embodiments.

前述の実施例1〜6では、注釈文字列データ18が印刷データに付加された後すぐに、プリントスプーラ102によってその印刷データがプリンタ2に送られて、印刷が開始される。よって、印刷が終わるまで、ユーザは注釈文字列データ18が付加された後の印刷内容を確認できず、ユーザの意図しない印刷結果が得られる場合がある。   In the first to sixth embodiments, immediately after the annotation character string data 18 is added to the print data, the print spooler 102 sends the print data to the printer 2 to start printing. Therefore, until the printing is completed, the user cannot confirm the print content after the annotation character string data 18 is added, and a print result unintended by the user may be obtained.

本実施例7では、実施例1において、本文及び注釈文字列の情報が損なわれることを防止するとともに、ユーザの意図しない印刷結果を得ることを防止することができる構成を説明する。なお、この構成を備えることで更に、注釈文字列の設定と印刷とを再度行うことを未然に防ぎ、手間と用紙の浪費を削減することができる。   In the seventh embodiment, a configuration capable of preventing the information of the text and the annotation character string from being damaged and preventing obtaining a print result unintended by the user in the first embodiment will be described. By providing this configuration, it is possible to prevent the annotation character string from being set and printed again, thereby reducing labor and paper waste.

本実施例7に係わる画像形成システムのハードウェア構成及びシステム構成は、実施例1で説明したものと同一である。   The hardware configuration and system configuration of the image forming system according to the seventh embodiment are the same as those described in the first embodiment.

本実施例7に係わる注釈文字列レイアウト変更モジュール23は、CPU10に対して、図5に示す処理を行わせる。ただし、ステップS13においてデータ制御モジュール21の処理に移行させる前に、印刷処理を続行するか否かをユーザに選択させるために、図18に示すような印刷プレビューダイアログボックス320を表示装置16の画面上に表示させる。   The annotation character string layout change module 23 according to the seventh embodiment causes the CPU 10 to perform the processing shown in FIG. However, before shifting to the process of the data control module 21 in step S13, a print preview dialog box 320 as shown in FIG. Display above.

この印刷プレビューダイアログボックス320には、注釈文字列データ18を含む印刷データの印刷内容を示す印刷プレビュー321と、OKボタン322と、キャンセルボタン323と、が含まれる。ここで、OKボタン322の押下があると、処理は続行(この場合、次ページ以降もOKボタン322が押されたとみなす。)されて、プリンタ2による印刷が開始される。また、キャンセルボタン323の押下があると、処理は中止されて、図4に示すヘッダー/フッター印刷ダイアログボックス40が表示装置16の画面上に表示される。   The print preview dialog box 320 includes a print preview 321 indicating the print contents of the print data including the annotation character string data 18, an OK button 322, and a cancel button 323. Here, if the OK button 322 is pressed, the processing is continued (in this case, it is considered that the OK button 322 is pressed after the next page), and printing by the printer 2 is started. If the cancel button 323 is pressed, the process is canceled and the header / footer print dialog box 40 shown in FIG. 4 is displayed on the screen of the display device 16.

本実施例7では、データ制御モジュール21に処理を渡す前に、前記印刷プレビューダイアログボックス320を表示させ、処理を続行させるか否かをユーザに判断させるので、本文及び注釈文字列の情報が損なわれることを防止するとともに、ユーザの意図しない印刷結果を得ることを防止することができるという効果を奏する。   In the seventh embodiment, before the process is transferred to the data control module 21, the print preview dialog box 320 is displayed to allow the user to determine whether or not to continue the process. This is effective in that it is possible to prevent a print result unintended by the user from being obtained.

なお、本実施例7には他にも種々の変形例が含まれる。   The seventh embodiment includes various other modified examples.

例えば、本実施例7では、1ページ分だけ印刷プレビュー321が表示されることになるが、次ページ以降の印刷プレビュー321も表示されるようにしてもよい。   For example, in the seventh embodiment, the print preview 321 for one page is displayed, but the print preview 321 for the next page and after may also be displayed.

また、注釈文字列レイアウト変更モジュール23が、CPU10に対して、データ制御モジュール21の処理に移行させる前に、印刷プレビューダイアログボックス320を表示させる構成を説明したが、印刷データがプリンタ2に送信される前までに印刷プレビューダイアログボックス320を表示させる構成であればよく、例えば注釈文字列レイアウト変換モジュール23からデータ制御モジュール21の処理に移行させた後且つプリントスプーラ102がプリンタ2へデータを送信する前に、注釈文字列レイアウト変更モジュール23を呼び出させ、印刷プレビューダイアログボックス320を表示させる構成であってもよい。   In addition, the description has been given of the configuration in which the annotation character string layout changing module 23 displays the print preview dialog box 320 before the CPU 10 shifts to the processing of the data control module 21. However, the print data is transmitted to the printer 2. The print preview dialog box 320 may be displayed before the print data is displayed. For example, the print spooler 102 transmits data to the printer 2 after the transition from the annotation character string layout conversion module 23 to the processing of the data control module 21. The annotation character string layout change module 23 may be called before and the print preview dialog box 320 may be displayed.

さらに、注釈文字列レイアウト変更モジュール23が、印刷プレビューダイアログボックス320を表示させる構成を説明したが、プリンタドライバ20や他のモジュール等の印刷用プログラムが表示させる構成であってもよい。   Further, although the configuration in which the annotation character string layout changing module 23 displays the print preview dialog box 320 has been described, a configuration in which a printing program such as the printer driver 20 or another module displays may be used.

さらにまた、本実施例7に係わる発明は、実施例1に係わる発明に適用されるだけでなく、他の全ての実施例に係わる発明に適用可能である。   Furthermore, the invention according to the seventh embodiment can be applied not only to the invention according to the first embodiment but also to the inventions according to all other embodiments.

画像形成システムの本発明に関係した部分を示す機能ブロック図である。It is a functional block diagram showing a portion related to the present invention of an image forming system. 表示装置の画面上に表示される印刷ダイアログボックスを表した図である。It is a figure showing the printing dialog box displayed on the screen of a display apparatus. 表示装置の画面上に表示される印刷設定ダイアログボックスを表した図である。It is a figure showing the print setting dialog box displayed on the screen of a display apparatus. 表示装置の画面上に表示されるヘッダー/フッター印刷ダイアログボックスを表した図である。It is a figure showing the header / footer print dialog box displayed on the screen of a display apparatus. 実施例1又は3に係わる注釈文字列付加モジュールに従ってCPUが行う処理を示すフローチャートである。12 is a flowchart illustrating processing performed by a CPU according to an annotation character string addition module according to the first or third embodiment. 有効印字領域、並びに、ヘッダー及びフッターの始点に関する説明図である。It is explanatory drawing regarding the effective printing area | region and the starting point of a header and a footer. (A)は本文の印刷データの印刷結果を示す図であって、(B)は注釈文字列データそのままに基づいて本文の印刷データに注釈文字列を付加した印刷結果を示す図であり、(C)は本文の印刷データと注釈文字列データに基づいて注釈文字列を移動又は縮小した後に本文の印刷データに注釈文字列データを付加した印刷結果を示す図である。(A) is a diagram showing the print result of the text print data, (B) is a diagram showing the print result of adding the comment character string to the text print data based on the annotation character string data as it is, C) is a diagram illustrating a printing result obtained by adding the annotation character string data to the body print data after moving or reducing the annotation character string based on the body print data and the annotation character string data. (A)は印刷倍率情報が描画対象領域の拡大を示している場合に、注釈文字列データを本文の印刷データに変更せずにそのまま付加した印刷結果を示す図であり、(B)は印刷倍率情報が描画対象領域の拡大を示している場合に、本文の印刷データと注釈文字列データに基づいて注釈文字列を移動又は縮小した後に本文の印刷データに注釈文字列データを付加した印刷結果を示す図である。(A) is a figure which shows the printing result which added annotation character string data as it is, without changing to the printing data of a text, when printing magnification information shows expansion of a drawing object field, (B) is printing Print result of adding annotation character string data to the body print data after moving or reducing the annotation character string based on the body print data and the annotation character string data when the magnification information indicates enlargement of the drawing target area FIG. 本発明の実施例1に係る画像形成システムのハードウェア構成を示す概略ブロック図である。1 is a schematic block diagram illustrating a hardware configuration of an image forming system according to Embodiment 1 of the present invention. 本発明の実施例2に係る画像形成システムのシステム概略ブロック図である。It is a system schematic block diagram of the image forming system which concerns on Example 2 of this invention. 実施例2に係わる注釈文字列付加モジュールに従ってCPUが行う処理を示すフローチャートである。10 is a flowchart illustrating processing performed by a CPU according to an annotation character string addition module according to the second embodiment. 実施例2に係わる発明を適用した印刷結果である。7 is a printing result to which the invention according to Example 2 is applied. (A)は、実施例1に係わる発明を適用した印刷結果である。(B)は、(A)に示している全ページを重ねて印刷した場合の描画領域を示す図である。(A) is a printing result to which the invention according to the first embodiment is applied. (B) is a diagram showing a drawing area when all pages shown in (A) are overlaid and printed. 実施例3に係わる発明を適用した印刷結果である。10 is a printing result to which the invention according to Example 3 is applied. 実施例3に係わるヘッダー/フッター印刷ダイアログボックスを表した図である。FIG. 10 is a diagram illustrating a header / footer print dialog box according to a third embodiment. ユーザが指定した位置に対応する許容領域を示す図である。It is a figure which shows the tolerance | permissible_area corresponding to the position designated by the user. 実施例6に係わるヘッダー/フッター印刷ダイアログボックスを表した図である。FIG. 10 is a diagram illustrating a header / footer print dialog box according to a sixth embodiment. 表示装置の画面上に表示される印刷プレビューダイアログボックスを表した図である。It is a figure showing the print preview dialog box displayed on the screen of a display apparatus.

符号の説明Explanation of symbols

1 コンピュータ
2 プリンタ
10 CPU
11 インターフェース
12 RAM
13 ROM
14 HDD
15 対話型入力装置
16 表示装置
17 通信ポート
18 注釈文字列データ
20 プリンタドライバ
21 データ制御モジュール
22 データ変換モジュール
23 注釈文字列レイアウト変更モジュール
24 アプリケーションプログラム
30 印刷ダイアログボックス
31 詳細設定ボタン
32 印刷設定ダイアログボックス
33 ヘッダー/フッター印刷ボタン
40、40a、40b ヘッダー/フッター印刷ダイアログボックス
41〜45 選択ボックス
42a コンピュータ名
44a 日付
45a メールアドレス
46 「左上」
47 「中央上」
48 「右上」
49 「左下」
50 「中央下」
51 「右下」
52 チェックボックス
53 入力ボックス
54〜57 選択ボックス
58 OKボタン
60 OKボタン
61 印刷ボタン
62 有効印字領域
100 GDI
101 EMFファイル
101A RAWファイル
102 プリントスプーラ
103 ページバッファ
200 チェックボックス
300、301、302、303、304、305 許容領域
310〜314 選択ボックス
320 印刷プレビューダイアログボックス
321 印刷プレビュー
322 OKボタン
323 キャンセルボタン
1 Computer 2 Printer 10 CPU
11 Interface 12 RAM
13 ROM
14 HDD
15 Interactive input device 16 Display device 17 Communication port 18 Annotation character string data 20 Printer driver 21 Data control module 22 Data conversion module 23 Annotation character string layout change module 24 Application program 30 Print dialog box 31 Detailed setting button 32 Print setting dialog box 33 Header / Footer Print Buttons 40, 40a, 40b Header / Footer Print Dialog Boxes 41-45 Selection Box 42a Computer Name 44a Date 45a Email Address 46 “Upper Left”
47 “Upper center”
48 “Upper right”
49 “Lower left”
50 “Bottom Center”
51 “Lower right”
52 Check box 53 Input boxes 54 to 57 Selection box 58 OK button 60 OK button 61 Print button 62 Effective print area 100 GDI
101 EMF file 101A RAW file 102 Print spooler 103 Page buffer 200 Check box 300, 301, 302, 303, 304, 305 Allowable area 310-314 Selection box 320 Print preview dialog box 321 Print preview 322 OK button 323 Cancel button

Claims (8)

コンピュータ装置の一時記憶手段に格納される印刷データに、注釈文字列データを付加することを該コンピュータ装置のプロセッサに実行させるプリンタドライバにおいて、
印刷されるページ全ての該印刷データに基づいて、全ページを重ねて印刷した場合の描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算する第1ステップと、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定する第2ステップと、
該第2ステップで少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を移動、縮小又は二段分割する第3ステップと、
変更した該注釈文字列データを該印刷データに付加する第4ステップと、
を該プロセッサに実行させることを特徴とする印刷用プログラム。
In a printer driver that causes a processor of a computer device to add annotation character string data to print data stored in a temporary storage unit of the computer device,
Based on the print data of all the pages to be printed, the drawing area when all the pages are overlaid is calculated as the main drawing area, and the drawing area is calculated as the sub drawing area based on the annotation character string data. A first step to:
A second step of determining whether or not the main drawing area and the sub drawing area overlap each other and determining whether or not all or a part of the sub drawing area protrudes from the effective print area;
When at least one of the second step is affirmatively determined, the main drawing area and the sub drawing area are not overlapped, and the sub drawing area is entirely within the effective printing area. A third step of changing the annotation character string data to move, reduce or divide the annotation character string;
A fourth step of adding the modified annotation character string data to the print data;
A program for printing which causes the processor to execute.
コンピュータ装置の一時記憶手段に格納される印刷データに、注釈文字列データを付加することを該コンピュータ装置のプロセッサに実行させるプリンタドライバにおいて、
1ページ分の該印刷データに基づいてその描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算する第1ステップと、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定する第2ステップと、
該第2ステップで少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を二段分割する第3ステップと、
変更した該注釈文字列データを該印刷データに付加する第4ステップと、
を該プロセッサに実行させることを特徴とする印刷用プログラム。
In a printer driver that causes a processor of a computer device to add annotation character string data to print data stored in a temporary storage unit of the computer device,
A first step of calculating the drawing area as a main drawing area based on the print data for one page and calculating the drawing area as a sub-drawing area based on the annotation character string data;
A second step of determining whether or not the main drawing area and the sub drawing area overlap each other and determining whether or not all or a part of the sub drawing area protrudes from the effective print area;
When at least one of the second step is affirmatively determined, the main drawing area and the sub drawing area are not overlapped, and the sub drawing area is entirely within the effective printing area. A third step of changing the annotation character string data to divide the annotation character string into two stages;
A fourth step of adding the modified annotation character string data to the print data;
A program for printing which causes the processor to execute.
前記二段分割は、前記第2ステップで少なくとも一方が肯定判定されたときに、前記主描画領域と前記副描画領域とが重複しないように、且つ該副描画領域の全部が前記有効印字領域内に入るように、前記注釈文字列データを変更して前記注釈文字列を移動し、移動しても該主描画領域と該副描画領域とが重複する場合又は該副描画領域の全部若しくは一部が前記有効印字領域外にはみ出す場合に行うことを特徴とする請求項2に記載の印刷用プログラム。   The two-stage division is performed so that the main drawing area and the sub drawing area do not overlap when at least one of the second steps is affirmed in the second step, and the sub drawing area is entirely within the effective print area. The annotation character string data is changed so that the annotation character string is moved so that the main drawing area overlaps with the sub drawing area even if the annotation is moved, or all or part of the sub drawing area 3. The printing program according to claim 2, wherein the printing program is executed when the image is out of the effective print area. 前記注釈文字列は複数存在し、
前記第2ステップでさらに、複数の前記副描画領域が互いに重複するか否かを判定し、肯定判定した場合に前記第3ステップで、該複数の副描画領域が互いに重複しないように、前記注釈文字列データを変更することを特徴とする請求項1乃至3のいずれか1つに記載の印刷用プログラム。
There are a plurality of annotation strings,
In the second step, it is further determined whether or not the plurality of sub-drawing regions overlap each other, and when the determination is affirmative, in the third step, the annotation is made so that the plurality of sub-drawing regions do not overlap each other. The printing program according to claim 1, wherein the character string data is changed.
前記注釈文字列は、前記コンピュータ装置の入力手段から入力される文字列を含むことを特徴とする請求項1乃至4のいずれか1つに記載の印刷用プログラム。   5. The printing program according to claim 1, wherein the annotation character string includes a character string input from an input unit of the computer apparatus. 前記第2ステップで、前記コンピュータ装置の入力手段から入力される印刷倍率情報を考慮して前記主描画領域及び前記副描画領域を計算することを特徴とする請求項1乃至5のいずれか1つに記載の印刷用プログラム。   6. The method according to claim 1, wherein in the second step, the main drawing area and the sub drawing area are calculated in consideration of print magnification information input from an input unit of the computer apparatus. The printing program described in 1. 印刷データを格納する一時記憶手段と、注釈文字列データを該印刷データに付加する注釈文字列付加手段と、付加した該注釈文字列データを送信する送信手段とを備えたコンピュータ装置と、
該コンピュータ装置と結合されており、該コンピュータ装置から受信した該印刷データを印刷する画像形成装置と、
を有する画像形成システムであって、
該注釈文字列付加手段は、
印刷されるページ全ての該印刷データに基づいて、全ページを重ねて印刷した場合の描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算し、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定し、
これらの判定で少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を移動、縮小又は二段分割し、
変更した該注釈文字列データを該印刷データに付加することを特徴とする画像形成システム。
A computer device comprising: temporary storage means for storing print data; annotation character string addition means for adding annotation character string data to the print data; and transmission means for transmitting the added annotation character string data;
An image forming apparatus coupled to the computer apparatus for printing the print data received from the computer apparatus;
An image forming system comprising:
The annotation character string adding means includes:
Based on the print data of all the pages to be printed, the drawing area when all the pages are overlaid is calculated as the main drawing area, and the drawing area is calculated as the sub drawing area based on the annotation character string data. And
Determining whether the main drawing area and the sub-drawing area overlap each other, and determining whether all or a part of the sub-drawing area protrudes outside the effective printing area;
When at least one of these determinations is affirmative, the annotation is made so that the main drawing area and the sub drawing area do not overlap with each other and the entire sub drawing area falls within the effective printing area. Change the character string data, move, reduce or split the annotation character string,
An image forming system, wherein the modified annotation character string data is added to the print data.
印刷データを格納する一時記憶手段と、注釈文字列データを該印刷データに付加する注釈文字列付加手段と、付加した該注釈文字列データを送信する送信手段とを備えたコンピュータ装置と、
該コンピュータ装置と結合されており、該コンピュータ装置から受信した該印刷データを印刷する画像形成装置と、
を有する画像形成システムであって、
該注釈文字列付加手段は、
1ページ分の該印刷データに基づいてその描画領域を主描画領域として計算し、且つ該注釈文字列データに基づいてその描画領域を副描画領域として計算し、
該主描画領域と該副描画領域とが互いに重複するか否かを判定し、且つ該副描画領域の全部又は一部が有効印字領域外にはみ出すか否かを判定し、
これらの判定で少なくとも一方が肯定判定された場合に、該主描画領域と該副描画領域とが重複しないように、且つ該副描画領域の全部が該有効印字領域内に入るように、該注釈文字列データを変更して注釈文字列を二段分割し、
変更した該注釈文字列データを該印刷データに付加することを特徴とする画像形成システム。
A computer device comprising: temporary storage means for storing print data; annotation character string addition means for adding annotation character string data to the print data; and transmission means for transmitting the added annotation character string data;
An image forming apparatus coupled to the computer apparatus for printing the print data received from the computer apparatus;
An image forming system comprising:
The annotation character string adding means includes:
Calculating the drawing area as a main drawing area based on the print data for one page, and calculating the drawing area as a sub-drawing area based on the annotation character string data;
Determining whether the main drawing area and the sub-drawing area overlap each other, and determining whether all or a part of the sub-drawing area protrudes outside the effective printing area;
When at least one of these determinations is affirmative, the annotation is made so that the main drawing area and the sub drawing area do not overlap with each other and the entire sub drawing area falls within the effective printing area. Change the string data and split the annotation string into two stages
An image forming system, wherein the modified annotation character string data is added to the print data.
JP2007006964A 2007-01-16 2007-01-16 Printing program and image forming system Expired - Fee Related JP4871149B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007006964A JP4871149B2 (en) 2007-01-16 2007-01-16 Printing program and image forming system
CN2008100006820A CN101226461B (en) 2007-01-16 2008-01-14 Data processing method for printing
US12/014,143 US7973964B2 (en) 2007-01-16 2008-01-15 Printing program that adjusts annotation location and size

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007006964A JP4871149B2 (en) 2007-01-16 2007-01-16 Printing program and image forming system

Publications (2)

Publication Number Publication Date
JP2008176384A JP2008176384A (en) 2008-07-31
JP4871149B2 true JP4871149B2 (en) 2012-02-08

Family

ID=39703383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007006964A Expired - Fee Related JP4871149B2 (en) 2007-01-16 2007-01-16 Printing program and image forming system

Country Status (2)

Country Link
JP (1) JP4871149B2 (en)
CN (1) CN101226461B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634557B (en) * 2009-09-01 2012-01-11 常熟恒基科技有限公司 Method for preventing picture display characters from being mutually overlapped in navigation system
JP2014184648A (en) * 2013-03-22 2014-10-02 Teraoka Seiko Co Ltd Label printer
JP2014188756A (en) * 2013-03-26 2014-10-06 Teraoka Seiko Co Ltd Printer
CN104699467A (en) * 2013-12-04 2015-06-10 北京新媒传信科技有限公司 Source code processing method and device
JP6921933B2 (en) * 2015-08-27 2021-08-18 キヤノン株式会社 Printing equipment, printing methods, and programs
JP6954229B2 (en) * 2018-05-25 2021-10-27 京セラドキュメントソリューションズ株式会社 Image processing device and image forming device
JP2020044821A (en) * 2018-09-21 2020-03-26 セイコーエプソン株式会社 Printer, print control device and method for controlling printer
JP2020044822A (en) * 2018-09-21 2020-03-26 セイコーエプソン株式会社 Printer, print control device and method for controlling printer

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10250160A (en) * 1997-03-13 1998-09-22 Ricoh Co Ltd Printer apparatus
JP4215187B2 (en) * 2000-12-14 2009-01-28 株式会社リコー Stamp mark printing method
JP2003080791A (en) * 2001-09-13 2003-03-19 Fuji Xerox Co Ltd Printer controller and printer control method

Also Published As

Publication number Publication date
JP2008176384A (en) 2008-07-31
CN101226461B (en) 2010-08-04
CN101226461A (en) 2008-07-23

Similar Documents

Publication Publication Date Title
JP4871149B2 (en) Printing program and image forming system
US7839531B2 (en) Printing control method
JP4520340B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL PROGRAM, AND RECORDING MEDIUM
US10691385B2 (en) Image processing apparatus, image processing method, and storage medium in which a text element and an image element are arranged based on layouts in a webpage
JP4966533B2 (en) Printing system, printing method, printing program, and recording medium
JP5704834B2 (en) Information processing apparatus, control method, and program
JP5235695B2 (en) Printing control apparatus and control method thereof
JP2000187564A (en) Processor and method for data processing, and computer- readable storage medium with program
JP4882128B2 (en) Printing program and image forming system
US7973964B2 (en) Printing program that adjusts annotation location and size
JP2007011735A (en) Information processor, printing control method, program and recording medium
JP7332345B2 (en) Program, control method and image processing device
US20050254079A1 (en) Printing apparatus and method enabled to save print option and print document file
JP4978202B2 (en) Printing program and image forming system
US8751923B2 (en) Image processing apparatus, image processing method, and storage medium
JP2006215725A (en) Print system, printer management method, computer-readable storage medium storing program, and program
JP4375459B2 (en) Print control device and printer driver program
JP2009116734A (en) Information processor and reduction layout printing method
JP4717339B2 (en) Image processing apparatus, image processing method, and control program
JP6250110B2 (en) Information processing apparatus, method and program thereof
JP3897539B2 (en) Print data generation method and apparatus
JP2009289121A (en) Information processor, output device, output processing method and program
WO2021131979A1 (en) Control method and information processing device
JP4661832B2 (en) Print control device and printer driver program
JP2006197210A (en) Information processing device, printing system, printing operation assisting method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111012

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111118

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees