JP2005115874A - Print controller, print control method and computer program - Google Patents

Print controller, print control method and computer program Download PDF

Info

Publication number
JP2005115874A
JP2005115874A JP2003352977A JP2003352977A JP2005115874A JP 2005115874 A JP2005115874 A JP 2005115874A JP 2003352977 A JP2003352977 A JP 2003352977A JP 2003352977 A JP2003352977 A JP 2003352977A JP 2005115874 A JP2005115874 A JP 2005115874A
Authority
JP
Japan
Prior art keywords
image
print
job
printing
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003352977A
Other languages
Japanese (ja)
Other versions
JP2005115874A5 (en
Inventor
Yoshihiro Takagi
義博 高木
Hiroshi Omura
宏 大村
Yasuhiro Kujirai
康弘 鯨井
Tatsuro Uchida
達郎 内田
Masaki Aritomi
雅規 有富
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2003352977A priority Critical patent/JP2005115874A/en
Publication of JP2005115874A publication Critical patent/JP2005115874A/en
Publication of JP2005115874A5 publication Critical patent/JP2005115874A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a print controller which inputs an image file, etc. as a logo. <P>SOLUTION: In a step S5102, types of an inputted image are discriminated. If the inputted image is DIB, processing proceeds to a step S5110. If the inputted image is not DIB, the processing proceeds to a step S5103. Also in the step S5103, the types of the image are discriminated. If the inputted image is EMF, the processing proceeds to a step S5106. If the inputted image is not EMF, the processing proceeds to a step S5104. In a step S5106, the EMF is rendered and drawn on a bitmap. In addition, a user of a preview function indicating a logo image formed by binarizing the inputted image can confirm whether or not an intended forgery suppression ground tint is exactly added to an image to be printed by the preview function. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は印刷制御装置、印刷制御方法およびコンピュータプログラムに関し、詳しくは、パーソナルコンピュータ等の情報処理装置とプリンタなどの印刷装置を有して構成されるシステムにおいて、複写物の使用などを牽制する地紋画像を含んだ画像をプリントする際の処理に関するものである。   The present invention relates to a print control apparatus, a print control method, and a computer program, and more particularly, to a copy-forgery-inhibited pattern that restrains the use of a copy in a system including an information processing apparatus such as a personal computer and a printing apparatus such as a printer. The present invention relates to processing for printing an image including an image.

従来、帳票や住民票などの複写を禁止、或いは抑止する目的で、これらのコンテンツは偽造防止用紙と呼ばれる特殊な印刷を施した用紙に印刷されていた。この偽造防止用紙は、原本においては人間にとって見えにくいが、複写機などを用いて複写した場合には「禁複写」の文字などが浮び上がるような用紙であり、これにより、複写する者にその複写物の使用などを躊躇わせる効果を生じさせるものである。延いては、このような帳票などは偽造防止用紙に印刷されているとして、複写そのものを抑止する効果をも生じさせるものである。しかし、このような偽造防止用紙は、通常の用紙と比較してコストが高いという問題があり、また、偽造防止用紙の製作時に設定されている文字しか浮び上がらせることができず、その用紙の用途が限られるなど、用途に関して柔軟性に欠ける部分がある。   Conventionally, for the purpose of prohibiting or suppressing copying of forms and resident cards, these contents have been printed on a specially-printed paper called anti-counterfeit paper. This anti-counterfeit paper is hard to be seen by humans in the original, but when copying with a copier, etc., it is a paper that causes the word “prohibited copy” to appear. This produces an effect that encourages the use of copies. As a result, such a form or the like is printed on the anti-counterfeit paper, so that the effect of suppressing the copying itself is also produced. However, such anti-counterfeit paper has a problem that the cost is higher than that of normal paper, and only characters set at the time of manufacturing the anti-counterfeit paper can be raised. There are parts that lack flexibility in terms of applications, such as limited applications.

一方、様々なコンテンツのデジタル化が進む中、帳票や住民票などのコンテンツも同様にデジタル化されている。しかしながら、これら帳票や住民票の利用など、その扱いに関するデジタル化は、まだ過渡期にあり、コンピュータを用いて作成したコンテンツを、プリンタなどを用いて紙に出力して利用することが多い。   On the other hand, as various contents are digitized, contents such as forms and resident's cards are also digitized. However, digitization related to the handling of these forms, such as the use of forms and resident's forms, is still in a transitional period, and content created using a computer is often used by outputting it to paper using a printer or the like.

こうした状況に加えて、近年のプリンタの性能の飛躍的な向上も起因して、従来の偽造防止用紙と同様の効果をコンピュータとプリンタを用いて行う技術が注目されている(例えば、特許文献1参照)。これは、コンピュータを用いて作られたコンテンツを、プリンタを用いて印刷出力する際に、コンテンツの背景に地紋と呼ばれる画像を重ねて出力する技術である。地紋画像は、原本(プリンタで出力した印刷物)においては単なる模様などに見えるが、複写すると所定の文字などが浮び上がるようなものであり、複写した者に偽造防止用紙と同様の牽制効果を与えることができる。   In addition to such a situation, due to a dramatic improvement in printer performance in recent years, a technique that uses a computer and a printer to achieve the same effect as conventional anti-counterfeit paper has attracted attention (for example, Patent Document 1). reference). This is a technique for superimposing and outputting an image called a background pattern on the background of content when the content created using a computer is printed out using a printer. The copy-forgery-inhibited pattern image looks like a simple pattern on the original (printed material output by the printer), but when copied, it appears that certain characters and the like are lifted, giving the copied person the same checking effect as forgery prevention paper be able to.

コンピュータを用いて作成した地紋画像を重ねて出力する場合、当然のことながら通常の印刷用の紙などを用いて出力できるため、偽造防止用紙に比べてコストの面で利点がある。更に、コンテンツを印刷出力する際に地紋画像を生成することができ、これにより、基本的に複写の際に顕在化させる文字等を自由に定めることが可能となる。あるいは、「禁複写」など一定の予め定まった静的な文字列などに加えて、ユーザ名や出力日時などの動的もしくは任意の文字列を浮び上がらせることができるという利点もある。   When a copy-forgery-inhibited pattern image created by using a computer is output in an overlapping manner, it is naturally possible to output the image using normal printing paper or the like, which is advantageous in terms of cost compared to anti-counterfeit paper. Furthermore, it is possible to generate a tint block image when printing out the content, and thus it is possible to freely determine characters and the like that are basically made apparent during copying. Alternatively, there is an advantage that dynamic or arbitrary character strings such as a user name and an output date and time can be highlighted in addition to a predetermined static character string such as “prohibited copying”.

地紋画像は、上述したように、複写をした場合複写前には認識できなかった所定の文字などが顕在化し、その複写物を使用等することを抑止する効果を実現するものである。この効果を実現すべく、地紋画像は、基本的に、複写後に画像が残る領域と複写後に画像が消えるか、あるいは上記の残る領域に較べて薄くなって認識し難くなる領域の2つの領域から構成される。この2つの領域は印刷した状態ではほぼ同じ濃度であり、マクロ的には、一見すると「禁複写」などの複写によって顕在化する文字などが隠れていることが分からないが、ミクロ的には、例えば、印刷のドットのレベルでは以下に示されるようにそれぞれ異なる特性を持っている。この隠されていて複写によって現れる文字などの画像を「潜像(あるいは潜像画像)」と呼び、複写によって消えるかあるいは薄くなる画像を「背景(あるいは背景画像)」と便宜的に呼ぶ。そして、地紋画像は、基本的にこの潜像画像と背景画像からなるものであり、また、後述のカモフラージュ画像をさらに含む場合もある。なお、ユーザインタフェース上の用語として潜像を前景と呼ぶ場合もある。但し、地紋印刷は上記構成に限定されるものではなく、複写時にユーザが認識可能に「禁複写」などの文字列などが現れる(顕像化する)ように構成すればよい。つまり、文字列などが背景部として指定され、複写時に白抜き文字のような状態で示されても地紋印刷としてはその目的を達成することになる。この場合、潜像部と背景部の上述したドットの集中と分散の関係は白抜きでないものと逆の関係となることはもちろんである。   As described above, the copy-forgery-inhibited pattern image realizes an effect of suppressing the use of the copied material by revealing certain characters that could not be recognized before copying when copied. In order to realize this effect, the copy-forgery-inhibited pattern image is basically divided into two areas: an area where the image remains after copying and an area where the image disappears after copying, or an area where the image becomes thinner than the above remaining area and becomes difficult to recognize. Composed. These two areas have almost the same density in the printed state. Macroscopically, it cannot be seen that characters and the like that are manifested by copying such as “prohibited copying” are hidden, but microscopically, For example, the printing dot level has different characteristics as shown below. An image such as a character that is hidden and appears by copying is called a “latent image (or latent image)”, and an image that disappears or becomes thin by copying is called a “background (or background image)” for convenience. The copy-forgery-inhibited pattern image basically consists of the latent image and the background image, and may further include a camouflage image to be described later. In some cases, the latent image is called a foreground as a term on the user interface. However, copy-forgery-inhibited pattern printing is not limited to the above-described configuration, and may be configured such that a character string or the like such as “prohibited copy” appears (visualizes) so that the user can recognize at the time of copying. That is, even if a character string or the like is designated as the background portion and shown in a state like a white character at the time of copying, the purpose of the tint block printing is achieved. In this case, it is a matter of course that the above-described dot concentration and dispersion relationship between the latent image portion and the background portion is opposite to that which is not white.

さて、複写後にドットが残る領域(潜像部または前景部)はドットが集中したドットの塊の集まりで構成され、複写後にドットが消える領域(背景部)は分散したドットの集まりで構成される。さらに、それぞれの集まりが濃度が同じになるよう構成されることにより、潜像部と背景部の濃度をほぼ同じものとすることができる。   Now, the area where the dots remain after copying (latent image portion or foreground portion) is made up of a collection of dots with concentrated dots, and the area where the dots disappear after copying (background portion) is made up of a collection of dispersed dots. . Further, by configuring each group to have the same density, the density of the latent image portion and the background portion can be made substantially the same.

図27は、この2つの領域を示す図である。同図に示すように、ドットが分散して配置される背景部と集中したドットの塊が配置される潜像部によって地紋画像が構成される。このふたつの領域は、それぞれ異なる網点処理や異なるディザ処理により生成することができる。網点処理を用いて地紋画像を生成する場合、潜像部は低い線数の網点処理、背景部は高い線数の網点処理が適している。ディザ処理を用いて地紋画像を生成する場合、潜像部はドット集中型ディザマトリクスを用いたディザ処理、背景部はドット分散型ディザマトリクスを用いたディザ処理が適している。   FIG. 27 is a diagram showing these two areas. As shown in the figure, a background pattern image is composed of a background portion in which dots are dispersed and a latent image portion in which a cluster of concentrated dots is arranged. These two regions can be generated by different halftone dot processing and different dither processing. When a tint block image is generated using halftone dot processing, halftone dot processing with a low number of lines is suitable for the latent image portion and halftone dot processing with a high number of lines is suitable for the background portion. When a copy-forgery-inhibited pattern image is generated using dither processing, dither processing using a dot concentration type dither matrix is suitable for the latent image portion, and dither processing using a dot dispersion type dither matrix is suitable for the background portion.

一般に複写機には、原稿の微小なドットを読み取る入力解像度や微小なドットを再現する出力解像度に依存した再現能力の限界が存在する。地紋画像の背景部のドットが、複写機で再現できるドットの限界より小さく形成され、潜像部のドット塊が限界より大きく形成されている場合、複写により地紋画像の大きなドット塊による画像は再現され、小さなドットによる画像は再現されず、潜像が顕在化される。また、複写によって分散した小さなドットが完全に消えなくとも、集中したドット塊と比較して複写後の濃度がより低い場合でも、潜像は相対的により顕著に認識できる。このように画像が浮かび上がる画像は顕像と呼ばれる。   In general, a copying machine has a limit of reproducibility depending on an input resolution for reading minute dots on an original and an output resolution for reproducing minute dots. When the background dots of the copy-forgery-inhibited pattern image are formed smaller than the limit of dots that can be reproduced by a copying machine and the dot block of the latent image is formed to be larger than the limit, the image of a large dot block of the copy-forgery-inhibited pattern image is reproduced by copying. As a result, the image with small dots is not reproduced, and the latent image becomes obvious. Even if the small dots dispersed by copying do not disappear completely, the latent image can be recognized more remarkably even when the density after copying is lower than that of the concentrated dot cluster. An image in which the image appears in this way is called a visible image.

図28(a)および(b)は、この顕像化を示す図である。同図は集中したドットの塊の集まりによる潜像が現れ、分散したドットによる背景が消えた場合を示している。   FIGS. 28A and 28B are diagrams showing this visualization. This figure shows a case where a latent image due to a collection of concentrated dots appears and a background due to dispersed dots disappears.

また、地紋画像には、潜像をより認識しにくくする「カモフラージュ」という技術が適用されることも良く知られている。カモフラージュは、潜像部や背景部とは濃度を異ならせた模様を地紋画像全体に配置する技術であり、一見、潜像部や背景部とは異なる濃度のカモフラージュ画像が目立ち、潜像が更に目立たなくなる効果がある。また、カモフラージュ画像が存在する地紋画像は、印刷物に装飾的な印象を与える効果もある。図29(a)はカモフラージュ画像が施されない地紋画像を示し、同図(b)はカモフラージュ画像を施した地紋画像を示している。このカモフラージュ画像は、複写後に顕在化される潜像の判別が容易となるように、その画像を構成するドットができるだけ複写後に消失することが望ましい。これは、例えば、図29(b)に示すように、カモフラージュ画像を地紋画像の中に形成された輪郭のみの画像とし、その輪郭に相当する箇所にドットを打たないことで実現することができる。   It is also well known that a technology called “camouflage” that makes a latent image more difficult to recognize is applied to a tint block image. Camouflage is a technology that arranges a pattern with a density different from that of the latent image part and background part on the entire tint block image. At first glance, a camouflage image with a density different from that of the latent image part and background part stands out, and the latent image further appears. There is an effect that makes it inconspicuous. In addition, the tint block image in which the camouflage image exists has an effect of giving a decorative impression to the printed matter. FIG. 29A shows a copy-forgery-inhibited pattern image to which no camouflage image is applied, and FIG. 29B shows a copy-forgery-inhibited pattern image to which a camouflage image is applied. In this camouflaged image, it is desirable that the dots constituting the image disappear as much as possible after copying so that the latent image that becomes apparent after copying can be easily identified. For example, as shown in FIG. 29B, this can be realized by making the camouflage image an image of only the contour formed in the copy-forgery-inhibited pattern image and not placing dots at the locations corresponding to the contour. it can.

特開2001−197297号公報JP 2001-197297 A

上記のように、従来の地紋パターンは、コピー後に消えるテクスチャ(背景部)と、浮かび上がるロゴ(潜像部)とによって構成されている。しかしながら、潜像部のロゴにはコピー牽制用の文字しか情報しか入力することができない。このため、会社のロゴ等のように特殊なフォントやビットマップで構成されている場合、そのようなビットマップをロゴとして入力することができないという問題があった。   As described above, the conventional tint block pattern is configured by the texture (background portion) that disappears after copying and the logo (latent image portion) that emerges. However, only information for checking the copy can be input to the latent image portion logo. For this reason, there is a problem that such a bitmap cannot be input as a logo when it is composed of a special font or bitmap such as a company logo.

本発明はこのような問題に鑑みてなされたものであり、その目的とするところは、イメージファイルなどをロゴとして入力可能にする印刷制御装置、印刷制御方法およびコンピュータプログラムを提供することにある。   The present invention has been made in view of such problems, and an object of the present invention is to provide a print control apparatus, a print control method, and a computer program that can input an image file or the like as a logo.

本発明の別の目的は、イメージを2値化したロゴイメージを含む偽造抑制地紋を印刷前に確認することができる印刷制御装置、印刷制御方法およびコンピュータプログラムを提供することにある。   Another object of the present invention is to provide a print control device, a print control method, and a computer program that can confirm a forgery-suppressed tint block including a logo image obtained by binarizing an image before printing.

このような目的を達成するため、本発明に係る印刷制御装置は、複写時に複写物が原本と異なることを示す地紋画像を生成可能な印刷制御装置であって、複写時、ユーザが認識可能に現れる顕像部に使用するイメージの入力を受け付けるユーザインタフェース手段と、前記ユーザインタフェース手段を介して入力されたイメージを用いて、前記地紋画像を生成する地紋生成手段とを備える。   In order to achieve such an object, the print control apparatus according to the present invention is a print control apparatus capable of generating a copy-forgery-inhibited pattern image indicating that a copy is different from the original at the time of copying, and can be recognized by the user at the time of copying. User interface means for receiving an input of an image to be used for a visible image portion, and a tint block generation means for generating the tint block image using an image input via the user interface means.

本発明によれば、顕像化することを所望するイメージの入力を受け付け、入力されたイメージを顕像化させる地紋の画像を生成するので、イメージファイルなどを地紋画像として生成可能になるという効果がある。   According to the present invention, an input of an image desired to be visualized is received, and a background pattern image for visualizing the input image is generated, so that an image file or the like can be generated as a background pattern image. There is.

また、生成された地紋の画像を含むプレビュー画像を生成し、生成されたプレビュー画像を表示するので、ユーザが所望する地紋設定に従ってユーザインナーフェイス上に簡易プレビュー表示し、地紋設定を容易にする効果もある。   In addition, since a preview image including the generated background pattern image is generated and the generated preview image is displayed, a simple preview is displayed on the user inner face in accordance with the background pattern setting desired by the user, and the background pattern setting is facilitated. There is also.

本発明の他の目的は、添付の特許請求の範囲および以下の添付図面に基づく説明から明らかになるであろう。   Other objects of the invention will become apparent from the appended claims and the following description based on the accompanying drawings.

以下、図面を参照して本発明を適用するのに好適な実施の形態を詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, embodiments suitable for applying the invention will be described in detail with reference to the drawings.

図1から図25は、本発明の一実施形態に係わる情報処理装置であるホストコンピュータと印刷装置であるプリンタを有して構成されるシステムにおける、印刷処理およびそれに伴う地紋画像の描画データの生成に関する構成を説明するとともに、後述される本発明の地紋画像の表示のいくつかの実施形態ための前提となる構成を説明する図である。以下、これらの図を参照して地紋画像表示の前提となる構成について説明する。   FIGS. 1 to 25 show print processing and generation of drawing data for a copy-forgery-inhibited pattern image in a system that includes a host computer that is an information processing apparatus and a printer that is a printing apparatus according to an embodiment of the present invention. 2 is a diagram for explaining a configuration as a premise for some embodiments of display of a tint block image of the present invention to be described later. Hereinafter, a configuration that is a premise of displaying a tint block image will be described with reference to these drawings.

なお、本実施形態においては、複写時に顕像化する部分を潜像部または前景部と称し、複写時に消失または潜像部に比較して薄くなる部分を背景部と称している。そして、潜像部には「禁複写」などのテキスト情報を入力している。しかしながら本発明における地紋画像はこれに限られるものではなく、複写時にテキスト情報またはイメージが周囲の画像に対して白抜き文字や画像のように表現される(顕像化する)形態であってもよい。本発明は地紋画像の種類や生成処理、色、形状、サイズなどによって規定されるものではない。   In this embodiment, a portion that becomes visible at the time of copying is referred to as a latent image portion or a foreground portion, and a portion that disappears or becomes thinner than the latent image portion at the time of copying is referred to as a background portion. Text information such as “prohibited copying” is input to the latent image portion. However, the copy-forgery-inhibited pattern image in the present invention is not limited to this, and even when copying, text information or an image may be expressed (visualized) as a white character or image with respect to surrounding images. Good. The present invention is not defined by the type of tint block image, generation processing, color, shape, size, or the like.

<印刷システムの構成>
図1は本発明の実施形態を示すプリンタ制御システムの構成を示すブロック図である。なお、本発明の機能が実行されるのであれば、単体の機器であっても、複数の機器からなるシステムであっても、LAN,WAN等のネットワークを介して接続がなされ処理が行われるシステムであっても本発明を適用できる。
<Configuration of printing system>
FIG. 1 is a block diagram showing a configuration of a printer control system showing an embodiment of the present invention. As long as the function of the present invention is executed, a system in which processing is performed by being connected via a network such as a LAN or WAN, whether it is a single device or a system composed of a plurality of devices. Even so, the present invention can be applied.

同図において、ホストコンピュータ3000は、ROM3のプログラム用ROMあるいは外部メモリ11に記憶された文書処理プログラム等に基づいて、図26以降で後述される本発明の実施形態に係わる処理を含む、図形、イメージ、文字、表(表計算等を含む)等が混在した文書処理およびそれに基づく印刷処理の実行を制御するCPU1を備える。このCPU1は、システムバス4に接続される各デバイスの制御を総括する。また、ROM3のプログラム用ROMあるいは外部メモリ11には、CPU1の制御プログラムであるオペレーティングシステム(以下OS)等を記憶し、ROM3のフォント用ROMあるいは外部メモリ11には上記文書処理の際に使用するフォントデータ等を記憶し、ROM3のデータ用ROMあるいは外部メモリ11には上記文書処理等を行う際に使用する各種データを記憶する。RAM2は、CPU1の主メモリ、ワークエリア等として機能する。   In the figure, the host computer 3000 includes a graphic including processing according to the embodiment of the present invention described later in FIG. 26 based on a document processing program stored in the program ROM of the ROM 3 or the external memory 11. A CPU 1 that controls execution of document processing in which images, characters, tables (including spreadsheets, etc.) and the like are mixed and printing processing based on the document processing is provided. The CPU 1 summarizes the control of each device connected to the system bus 4. The ROM 3 program ROM or external memory 11 stores an operating system (hereinafter referred to as OS) which is a control program for the CPU 1, and the ROM 3 font ROM or external memory 11 is used for the above document processing. Font data and the like are stored, and various data used when performing the document processing and the like are stored in the data ROM of the ROM 3 or the external memory 11. The RAM 2 functions as a main memory and work area for the CPU 1.

キーボードコントローラ(KBC)5は、キーボード(KB)9や不図示のポインティングデバイスからのキー入力を制御する。CRTコントローラ(CRTC)6は、CRTディスプレイ(CRT)10による表示を制御する。ディスクコントローラ(DKC)7は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、プリンタ制御コマンド生成プログラム(以下プリンタドライバ)等を記憶するハードディスク(HD)、フロッピー(登録商標)ディスク(FD)等の外部メモリ11とのアクセスを制御する。プリンタコントローラ(PRTC)8は、双方向性インタフェース21を介してプリンタ1500に接続されて、プリンタ1500との通信制御処理を実行する。   A keyboard controller (KBC) 5 controls key input from a keyboard (KB) 9 or a pointing device (not shown). A CRT controller (CRTC) 6 controls display on a CRT display (CRT) 10. A disk controller (DKC) 7 includes a hard disk (HD), floppy (registered trademark) disk (which stores a boot program, various applications, font data, user files, editing files, a printer control command generation program (hereinafter referred to as a printer driver), and the like. FD) or the like is controlled. A printer controller (PRTC) 8 is connected to the printer 1500 via the bidirectional interface 21 and executes communication control processing with the printer 1500.

なお、CPU1は、例えばRAM2上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYGを可能としている。また、CPU1は、CRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウィンドウを開き、種々のデータ処理を実行する。ユーザは印刷を実行する際、印刷の設定に関するウィンドウを開き、プリンタの設定や、印刷モードの選択を含むプリンタドライバに対する印刷処理方法の設定を行える。   The CPU 1 executes, for example, an outline font rasterization process on the display information RAM set on the RAM 2 to enable WYSIWYG on the CRT 10. Further, the CPU 1 opens various windows registered based on commands instructed by a mouse cursor (not shown) on the CRT 10 and executes various data processing. When executing printing, the user opens a window related to print settings, and can set the print processing method for the printer driver, including printer settings and print mode selection.

プリンタ1500は、そのCPU12により制御される。プリンタCPU12は、ROM13のプログラム用ROMに記憶された制御プログラム等あるいは外部メモリ14に記憶された制御プログラム等に基づいてシステムバス15に接続される印刷部(プリンタエンジン)17に印刷出力情報としての画像信号を出力する。また、このROM13のプログラム用ROMには、CPU12の制御プログラム等を記憶する。ROM13のフォント用ROMには上記印刷出力情報を生成する際に使用するフォントデータ等が記憶され、ROM13のデータ用ROMには、ハードディスク等の外部メモリ14がないプリンタの場合には、ホストコンピュータ上で利用される情報等が記憶されている。   The printer 1500 is controlled by the CPU 12. The printer CPU 12 sends print output information to a printing unit (printer engine) 17 connected to the system bus 15 based on a control program stored in the program ROM of the ROM 13 or a control program stored in the external memory 14. Output image signal. Further, a control program of the CPU 12 is stored in the program ROM of the ROM 13. The font ROM of the ROM 13 stores font data and the like used when generating the print output information. In the case of a printer without the external memory 14 such as a hard disk, the data ROM of the ROM 13 is installed on the host computer. The information used in is stored.

CPU12は入力部18を介してホストコンピュータとの通信処理が可能となっており、プリンタ1500内の情報等をホストコンピュータ3000に通知できる。RAM19は、CPU12の主メモリや、ワークエリア等として機能するメモリで、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM19は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。前述したハードディスク(HD)、ICカード等の外部メモリ14は、メモリコントローラ(MC)20によりアクセスを制御される。外部メモリ14は、オプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、入力部18には前述した操作パネルで操作のためのスイッチおよびLED表示器等が配されている。   The CPU 12 can perform communication processing with the host computer via the input unit 18, and can notify the host computer 3000 of information in the printer 1500. The RAM 19 is a memory that functions as a main memory, a work area, or the like for the CPU 12, and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 19 is used as an output information expansion area, environment data storage area, NVRAM, and the like. Access to the above-described external memory 14 such as a hard disk (HD) or IC card is controlled by a memory controller (MC) 20. The external memory 14 is connected as an option and stores font data, an emulation program, form data, and the like. In addition, the input unit 18 is provided with a switch, an LED display, and the like for operation on the operation panel described above.

また、前述した外部メモリ14は1個に限らず、複数個備えられ、内蔵フォントに加えてオプションカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていてもよい。更に、図示しないNVRAMを有し、操作パネル1501からのプリンタモード設定情報を記憶するようにしてもよい。   The external memory 14 described above is not limited to one, and a plurality of external memories 14 are provided. In addition to the built-in font, a plurality of external memories storing an option card and a program for interpreting a printer control language having a different language system can be connected. May be. Further, an NVRAM (not shown) may be provided to store printer mode setting information from the operation panel 1501.

印刷部17は本実施形態では電子写真方式のエンジンを備えており、従って、画像の印刷およびそれに伴う地紋画像はそれらの印刷データに従って形成されるトナーのドットによって印刷が行われる。なお、本発明の適用上印刷の方式はこのような電子写真方式に限られないことはもちろんであり、例えば、インクジェット方式など、ドットを形成して印刷を行う方式の印刷方式にも本発明を適用することができる。   In this embodiment, the printing unit 17 includes an electrophotographic engine. Therefore, printing of an image and accompanying copy-forgery-inhibited pattern image are performed by toner dots formed according to the print data. Of course, the printing method is not limited to such an electrophotographic method for the application of the present invention. For example, the present invention is also applied to a printing method in which printing is performed by forming dots such as an ink jet method. Can be applied.

図2は、図1に示したホストコンピュータ3000における印刷処理のための構成の一例を示す。アプリケーション201、グラフィックエンジン202、プリンタドライバ203、およびシステムスプーラ204は、外部メモリ11に保存されたファイルとして存在し、実行される場合にOSやそのモジュールを利用するモジュールによってRAM2にロードされ実行されるプログラムモジュールである。また、アプリケーション201およびプリンタドライバ203は、外部メモリ11のFDや不図示のCD−ROM、あるいは不図示のネットワークを経由して外部メモリ11のHDに追加することが可能となっている。外部メモリ11に保存されているアプリケーション201はRAM2にロードされて実行されるが、このアプリケーション201からプリンタ1500に対して印刷を行う際には、同様にRAM2にロードされ実行可能となっているグラフィックエンジン202を利用して出力(描画)を行う。   FIG. 2 shows an example of a configuration for print processing in the host computer 3000 shown in FIG. The application 201, the graphic engine 202, the printer driver 203, and the system spooler 204 exist as files stored in the external memory 11, and when executed, are loaded into the RAM 2 and executed by the OS and modules using the modules. It is a program module. Further, the application 201 and the printer driver 203 can be added to the HD of the external memory 11 via the FD of the external memory 11, a CD-ROM (not shown), or a network (not shown). The application 201 stored in the external memory 11 is loaded into the RAM 2 and executed. When printing is performed from the application 201 to the printer 1500, the graphic that is similarly loaded into the RAM 2 and executable. Output (drawing) is performed using the engine 202.

グラフィックエンジン202は、プリンタなどの印刷装置ごとに用意されたプリンタドライバ203を同様に外部メモリ11からRAM2にロードし、アプリケーション201の出力をプリンタドライバ203に設定する。そして、アプリケーション201から受け取るGDI(Graphic Device Interface)関数をDDI(Device Driver Interface)関数に変換して、プリンタドライバ203へDDI関数を出力する。プリンタドライバ203は、グラフィックエンジン202から受け取ったDDI関数に基づいて、プリンタが認識可能な制御コマンド、例えばPDL(Page Description Language)に変換する。変換されたプリンタ制御コマンドは、OSによってRAM2にロードされたシステムスプーラ204を経て双方向性インタフェース21経由でプリンタ1500へ印刷データとして出力される仕組みとなっている。   The graphic engine 202 similarly loads the printer driver 203 prepared for each printing apparatus such as a printer from the external memory 11 to the RAM 2 and sets the output of the application 201 in the printer driver 203. Then, the GDI (Graphic Device Interface) function received from the application 201 is converted into a DDI (Device Driver Interface) function, and the DDI function is output to the printer driver 203. Based on the DDI function received from the graphic engine 202, the printer driver 203 converts it into a control command that can be recognized by the printer, for example, PDL (Page Description Language). The converted printer control command is output as print data to the printer 1500 via the bidirectional interface 21 via the system spooler 204 loaded into the RAM 2 by the OS.

本実施形態の印刷システムは、プリンタドライバ203内に地紋処理部205を有する。地紋処理部205はプリンタドライバ203のビルトインモジュールであってもよいし、個別のインストーレーションによって追加されるライブラリモジュールの形式であっても構わない。また、プリンタドライバ203は、地紋画像の印刷に関し、その地紋処理部205の実行により、後述の地紋画像の描画などの処理を行う。   The printing system according to the present embodiment includes a tint block processing unit 205 in the printer driver 203. The copy-forgery-inhibited pattern processing unit 205 may be a built-in module of the printer driver 203 or may be in the form of a library module added by individual installation. In addition, the printer driver 203 performs processing such as drawing of a tint block image, which will be described later, by executing the tint block processing unit 205 regarding printing of the tint block image.

<印刷関連のソフトウエアモジュール>
図3は、ホストコンピュータ3000における印刷処理のための構成の他の例を示す図である。
<Printing-related software module>
FIG. 3 is a diagram illustrating another example of a configuration for print processing in the host computer 3000.

同図は、図2に示した構成を拡張したものであり、グラフィックエンジン202からプリンタドライバ203へ印刷命令を送る際に、一旦中間コードからなるスプールファイル303を生成する構成をとる。図2の構成では、アプリケーション201が印刷処理から開放されるのはプリンタドライバ203がグラフィックエンジン202からの全ての印刷命令をプリンタの制御コマンドへ変換し終った時点である。これに対して、図3の構成は、スプーラ302が全ての印刷命令を中間コードデータに変換し、スプールファイル303に出力した時点で開放されるという点で異なっている。通常、後者の方がアプリケーションによる印刷処理が短時間で済む。また、図3で示す構成においては、スプールファイル303の内容に対して加工することができる。これによりアプリケーションからの印刷データに対して、拡大縮小や、複数ページを1ページに縮小して印刷する等、アプリケーションの持たない機能を実現することができる。   2 is an extension of the configuration shown in FIG. 2, and takes a configuration in which a spool file 303 consisting of an intermediate code is generated once when a print command is sent from the graphic engine 202 to the printer driver 203. In the configuration of FIG. 2, the application 201 is released from the printing process when the printer driver 203 has converted all the print commands from the graphic engine 202 into printer control commands. On the other hand, the configuration of FIG. 3 is different in that it is released when the spooler 302 converts all print commands into intermediate code data and outputs them to the spool file 303. Usually, the latter requires less time for printing by the application. In the configuration shown in FIG. 3, the contents of the spool file 303 can be processed. As a result, it is possible to realize functions that the application does not have, such as enlargement / reduction or printing by reducing a plurality of pages into one page with respect to print data from the application.

これらの目的のために、図2の構成に対し、図3に示すように中間コードデータでスプールするよう、システムの拡張がなされてきている。なお、印刷データの加工を行うためには、通常プリンタドライバ203がCRTディスプレイ(CRT)10に表示させるウィンドウから設定を行い、プリンタドライバ203がその設定内容をRAM2上あるいは外部メモリ11上に保管する。   For these purposes, the system has been expanded to spool with intermediate code data as shown in FIG. 3 with respect to the configuration of FIG. In order to process print data, the printer driver 203 normally performs settings from a window displayed on the CRT display (CRT) 10, and the printer driver 203 stores the setting contents in the RAM 2 or the external memory 11. .

以下、図3に示す構成の詳細を説明する。同図に示す通り、この拡張された処理方式では、グラフィックエンジン202からの印刷命令であるDDI関数をディスパッチャ301が受け取る。ディスパッチャ301がグラフィックエンジン202から受け取った印刷命令(DDI関数)が、アプリケーション201からグラフィックエンジン202へ発行された印刷命令(GDI関数)に基づくものである場合には、ディスパッチャ301は外部メモリ11に格納されているスプーラ302をRAM2にロードし、プリンタドライバ203ではなくスプーラ302へ印刷命令(DDI関数)を送付する。   Details of the configuration shown in FIG. 3 will be described below. As shown in the figure, in this expanded processing method, the dispatcher 301 receives a DDI function that is a print command from the graphic engine 202. When the print command (DDI function) received by the dispatcher 301 from the graphic engine 202 is based on the print command (GDI function) issued from the application 201 to the graphic engine 202, the dispatcher 301 stores it in the external memory 11. The spooler 302 is loaded into the RAM 2 and a print command (DDI function) is sent to the spooler 302 instead of the printer driver 203.

スプーラ302は受け取った印刷命令を解析し、ページ単位に中間コードに変換してスプールファイル303に出力する。このページ単位に格納されている中間コードのスプールファイルをページ描画ファイル(PDF:Page Description File)と呼ぶ。また、スプーラ302は、プリンタドライバ203に対して設定されている印刷データに関する加工設定(Nup、両面、ステープル、カラー/モノクロ指定等)をプリンタドライバ203から取得してジョブ単位のファイルとしてスプールファイル303に保存する。このジョブ単位に格納されている設定ファイルをジョブ設定ファイル(簡略してSDF:Spool Description Fileと呼ぶこともある)と呼ぶ。このジョブ設定ファイルについては後述する。なお、スプールファイル303は外部メモリ11上にファイルとして生成するが、RAM2上に生成されても構わない。更にスプーラ302は、外部メモリ11に格納されているスプールファイルマネージャ304をRAM2にロードし、スプールファイルマネージャ304に対してスプールファイル303の生成状況を通知する。その後、スプールファイルマネージャ304は、スプールファイル303に保存された印刷データに関する加工設定の内容に従って印刷を行えるか判断する。   The spooler 302 analyzes the received print command, converts it into an intermediate code for each page, and outputs it to the spool file 303. The spool file of intermediate code stored in units of pages is called a page drawing file (PDF). Further, the spooler 302 acquires processing settings (Nup, double-sided, staple, color / monochrome designation, etc.) relating to print data set for the printer driver 203 from the printer driver 203, and creates a spool file 303 as a job unit file. Save to. This setting file stored in units of jobs is called a job setting file (sometimes simply called SDF: Spool Description File). This job setting file will be described later. The spool file 303 is generated as a file on the external memory 11, but may be generated on the RAM 2. Further, the spooler 302 loads the spool file manager 304 stored in the external memory 11 into the RAM 2 and notifies the spool file manager 304 of the generation status of the spool file 303. Thereafter, the spool file manager 304 determines whether printing can be performed in accordance with the contents of the processing settings relating to the print data stored in the spool file 303.

スプールファイルマネージャ304がグラフィックエンジン202を利用して印刷を行えると判断した際には、外部メモリ11に格納されているデスプーラ305をRAM2にロードし、デスプーラ305に対して、スプールファイル303に記述された中間コードのページ描画ファイルの印刷処理を行うように指示する。   When the spool file manager 304 determines that printing can be performed using the graphic engine 202, the despooler 305 stored in the external memory 11 is loaded into the RAM 2, and is described in the spool file 303 with respect to the despooler 305. The intermediate code page drawing file is instructed to be printed.

デスプーラ305はスプールファイル303に含まれる中間コードのページ描画ファイルをスプールファイル303に含まれる加工設定情報を含むジョブ設定ファイルに従って加工し、GDI関数を再生成し、もう一度グラフィックエンジン202経由でGDI関数を出力する。その際、地紋画像の印刷に関する描画については、地紋処理部205をロードし、描画処理を行う。   The despooler 305 processes the page drawing file of the intermediate code included in the spool file 303 according to the job setting file including the processing setting information included in the spool file 303, regenerates the GDI function, and converts the GDI function again via the graphic engine 202. Output. At this time, for drawing related to printing of the tint block image, the tint block processing unit 205 is loaded and the drawing process is performed.

ディスパッチャ301がグラフィックエンジン202から受け取った印刷命令(DDI関数)がデスプーラ305からグラフィックエンジン202へ発行された印刷命令(GDI関数)に基づいたものである場合には、ディスパッチャ301はスプーラ302ではなく、プリンタドライバ203に印刷命令を送る。   When the print command (DDI function) received by the dispatcher 301 from the graphic engine 202 is based on the print command (GDI function) issued from the despooler 305 to the graphic engine 202, the dispatcher 301 is not the spooler 302. A print command is sent to the printer driver 203.

プリンタドライバ203はグラフィックエンジン202から取得したDDI関数に基づいてページ記述言語等からなるプリンタ制御コマンドを生成し、システムスプーラ204経由でプリンタ1500に出力する。   The printer driver 203 generates a printer control command including a page description language based on the DDI function acquired from the graphic engine 202 and outputs the printer control command to the printer 1500 via the system spooler 204.

更に、図3に示すように、上述した拡張システムに加えて、プレビューア306、設定変更エディタ307を配し、地紋画像のプレビューを含むプレビュー、印刷設定変更、複数ジョブの結合を可能にした例を示している。印刷プレビュー、印刷設定変更、複数ジョブの結合を行うためには、まずユーザが図4に示すプリンタドライバのプロパティシートにおいて、「出力先の指定」を行う手段であるプルダウンメニュー901において「ストア」を指定する必要がある。なお、プレビューだけをみたい場合は、出力先の指定として「プレビュー」を選択することによっても可能である。   Further, as shown in FIG. 3, in addition to the above-described extended system, an example in which a previewer 306 and a setting change editor 307 are arranged to enable a preview including a copy-forgery-inhibited pattern image preview, a print setting change, and a combination of a plurality of jobs. Is shown. In order to perform print preview, print setting change, and combination of a plurality of jobs, first, in the property sheet of the printer driver shown in FIG. 4, the user sets “Store” in a pull-down menu 901 that is a means for performing “designation of output destination”. Must be specified. If you want to see only the preview, you can also select “Preview” as the destination designation.

このようにプリンタドライバのプロパティで設定されている内容は設定ファイルとしてOSが提供する構造体(Windows(登録商標)OSでは、DEVMODEと呼ばれる)に格納される。その構造体には、例えばスプールファイル303に含まれる加工設定ファイル中にスプールファイルマネージャ304にストアを行うかどうかの設定が含まれている。スプールファイルマネージャ304がプリンタドライバを介して加工設定を読み込み、ストア指定がなされていた場合、前述したようにスプールファイル303にページ描画ファイルとジョブ設定ファイルとが生成・格納される。そして、スプールファイルマネージャのウィンドウ画面がポップアップされ、スプールファイル303にスプールされたジョブがリスト表示される。   The contents set in the properties of the printer driver are stored as a setting file in a structure provided by the OS (called DEVMODE in the Windows (registered trademark) OS). The structure includes, for example, a setting for whether or not to store in the spool file manager 304 in a processing setting file included in the spool file 303. When the spool file manager 304 reads processing settings via the printer driver and stores are specified, a page drawing file and a job setting file are generated and stored in the spool file 303 as described above. Then, the spool file manager window screen pops up, and the jobs spooled in the spool file 303 are displayed in a list.

スプールファイルマネージャのウィンドウ画面上で、ある単体ジョブまたは結合ジョブのプレビュー指定がされた場合、外部メモリ11に格納されているプレビューア306をRAM2にロードし、プレビューア306に対して、スプールファイル303に記述された中間コードのジョブのプレビュー処理を行うように指示する。   When a preview of a single job or a combined job is specified on the window screen of the spool file manager, the previewer 306 stored in the external memory 11 is loaded into the RAM 2, and the spool file 303 is loaded to the previewer 306. Is instructed to perform a preview process of the intermediate code job described in (1).

(プレビューア)
プレビューア306はスプールファイル303に含まれる中間コードのページ描画ファイル(PDF)を順次読み出し、スプールファイル303に格納されているジョブ設定ファイル(SDF)に含まれる加工設定情報の内容に従って加工する。グラフィックエンジン202に対してGDI関数を出力する。グラフィックエンジン202が自身の確保するクライアント領域に描画データを出力することによって、画面上の出力が可能となる。
(Previewer)
The previewer 306 sequentially reads the page drawing file (PDF) of the intermediate code included in the spool file 303 and processes it according to the content of the processing setting information included in the job setting file (SDF) stored in the spool file 303. The GDI function is output to the graphic engine 202. When the graphic engine 202 outputs drawing data to a client area secured by the graphic engine 202, output on the screen becomes possible.

グラフィックエンジン202は、指定された出力先に応じて適切なレンダリングを行うことが可能である。このことから、プレビューア306は、デスプーラ305同様に、スプールファイル303に含まれる中間コードをスプールファイル303に含まれる加工設定の内容に従って加工し、グラフィックエンジン202を利用して出力する方法で実現可能となる。このようにプリンタドライバで設定されている加工設定をジョブ設定ファイルとしてスプールファイル303に格納し、このジョブ設定ファイルに基づいてページ描画ファイルのデータを加工して出力する。   The graphic engine 202 can perform appropriate rendering according to the designated output destination. From this, the previewer 306 can be realized by processing the intermediate code included in the spool file 303 according to the content of the processing setting included in the spool file 303 and outputting using the graphic engine 202, similarly to the despooler 305. It becomes. The processing settings set in the printer driver are stored in the spool file 303 as job setting files, and the data of the page drawing file is processed and output based on the job setting files.

通常の文書作成等のアプリケーションソフトウェアが有しているプレビュー機能は、あくまでそのアプリケーションにおけるページ設定に基づいて描画しているため、プリンタドライバでの印刷設定が反映されず、実際に印刷出力されるプレビューをユーザに認識させることはできなかった。これに対し本発明では上述の処理を行うことにより、実際の描画データがどのように印刷されるか、更には、Nup(Nページの論理ページを1ページの物理ページに縮小配置して印刷する処理)指定されている場合、両面印刷されている場合、製本印刷指定されている場合、スタンプが指定されている場合、それぞれに応じて、プリンタで出力されるものに近い印刷プレビューをユーザに提供することができる。   The preview function of application software such as normal document creation is drawn based on the page settings of the application, so the print settings in the printer driver are not reflected and the preview is actually printed out. Could not be recognized by the user. On the other hand, in the present invention, by performing the above-described processing, how actual drawing data is printed, and further, Nup (N pages of logical pages are reduced to one physical page and printed. Processing) When specified, when duplex printing is performed, when bookbinding printing is specified, or when a stamp is specified, a print preview close to that output by the printer is provided to the user accordingly. can do.

上記のようにプレビュー処理を行うことにより、スプールファイル303に含まれる印刷の加工設定の大プレビューがプレビューア306によって画面上に表示される。図5はプレビューア306が表示するプレビュー画面の一例である。その後、ユーザの非表示指示によって、プレビューア306がクローズされ、制御が図6に示すようなスプールファイルマネージャのウィンドウ画面に移行する。そして、ユーザがプレビューア306によって表示された内容に従って印刷を行うとき、スプールファイルマネージャ304上で、「印刷」または「セーブして印刷」を指示することにより印刷要求を発行する。この印刷要求により、前述したようにデスプーラ305がジョブ設定ファイルに基づいてページ描画ファイルを加工してGDI関数を生成し、グラフィックエンジン202に伝える。グラフィックエンジン202からディスパッチャ301経由でプリンタドライバ203に印刷命令が送られ、印刷が実行される。   By performing the preview process as described above, a large preview of print processing settings included in the spool file 303 is displayed on the screen by the previewer 306. FIG. 5 shows an example of a preview screen displayed by the previewer 306. Thereafter, the previewer 306 is closed by the user's non-display instruction, and the control shifts to a window screen of the spool file manager as shown in FIG. When the user performs printing according to the contents displayed by the previewer 306, the spool file manager 304 issues a print request by instructing “print” or “save and print”. In response to this print request, the despooler 305 generates a GDI function by processing the page drawing file based on the job setting file as described above, and transmits the GDI function to the graphic engine 202. A print command is sent from the graphic engine 202 to the printer driver 203 via the dispatcher 301, and printing is executed.

(設定変更エディタ)
次に、設定変更エディタ307を用いた設定変更について説明する。その実現方法としては、プレビュー同様、図4に示す「ストア」指定されたジョブに関して設定変更が可能である。プレビューと同様の手順によりスプールファイルマネージャ304のウィンドウがポップアップされ、スプールされたジョブがリスト表示される。スプールファイルマネージャのウィンドウ画面上で、「ジョブ編集」が指定され、設定変更指示がされた場合、外部メモリ11に格納されている設定変更エディタ307をRAM2にロードし、設定変更エディタ307に対して、現在またはデフォルトの加工設定の表示を行うように指示する。そしてジョブ設定画面が表示される。
(Setting change editor)
Next, setting change using the setting change editor 307 will be described. As a realization method, setting can be changed for a job designated as “Store” shown in FIG. The spool file manager 304 window pops up in the same procedure as the preview, and the spooled jobs are displayed in a list. When “job editing” is specified on the window screen of the spool file manager and a setting change instruction is given, the setting change editor 307 stored in the external memory 11 is loaded into the RAM 2 and is sent to the setting change editor 307. Instruct to display the current or default machining settings. Then, a job setting screen is displayed.

設定変更エディタ307は、「ジョブ編集」が指定されたジョブのジョブ設定ファイルをスプールファイル303から取得し、そのジョブ設定ファイルに指定されている設定項目に基づいてジョブ設定画面のデフォルト値を変更する。この設定変更エディタ307でもスプールファイル303に含まれる中間コードのページ描画ファイルをスプールファイル303に格納されているジョブ設定ファイルに含まれる加工設定の内容に従って加工し、グラフィックエンジン202を用いてメモリに出力することによって、画面上の小プレビュー出力が可能となる。   The setting change editor 307 acquires the job setting file of the job for which “job editing” is specified from the spool file 303 and changes the default value of the job setting screen based on the setting item specified in the job setting file. . This setting change editor 307 also processes the page drawing file of the intermediate code included in the spool file 303 according to the content of the processing setting included in the job setting file stored in the spool file 303, and outputs it to the memory using the graphic engine 202. By doing so, it is possible to output a small preview on the screen.

また、ここで、スプールファイル303に格納されているジョブ設定ファイルに含まれる加工設定の内容を変更、修正することが可能である。その際、設定変更エディタ307上のユーザインタフェースがプリンタドライバ203の設定可能な項目を持つこととしてもよく、あるいはプリンタドライバ203自身のユーザインタフェースを呼び出しても構わない。ここでは、部数、印刷方法(片面、両面、製本印刷)、ステープル(サドルフィニッシャー等)、ページレイアウト、配置順等の指定ができ、また「詳細設定」を押下することにより、プリンタドライバで指定できる項目の大半を設定し直すことが可能となる。ただし、地紋印字は所定範囲の印刷品位により実現されるので、解像度、グラフィックモード等の印刷品位に関する設定の変更は許可しないものとする。   Here, it is possible to change and modify the contents of the processing settings included in the job setting file stored in the spool file 303. At this time, the user interface on the setting change editor 307 may have items that can be set by the printer driver 203, or the user interface of the printer driver 203 itself may be called. Here, you can specify the number of copies, printing method (single-sided, double-sided, bookbinding printing), stapling (saddle finisher, etc.), page layout, arrangement order, etc., and can be specified with the printer driver by pressing "Detail Settings" Most of the items can be reset. However, since the tint block printing is realized with a print quality within a predetermined range, it is not permitted to change the settings relating to the print quality such as the resolution and the graphic mode.

ここで変更された変更項目は設定変更エディタ307上の認証要求に従い、変更が認証され、制御がスプールファイルマネージャ304に移行する。変更が認証されたものは、印刷設定の変更を保存することになるが、オリジナルのジョブ設定ファイルには保存せずに、ジョブ編集等で用いられるジョブ出力用設定ファイルを新たに生成して保存することになる。ジョブ出力用設定ファイルについての詳細は、図11以降を参照して後述する。   The change item changed here is authenticated in accordance with the authentication request on the setting change editor 307, and control is transferred to the spool file manager 304. If the change is certified, the print setting change is saved, but instead of saving it in the original job setting file, a new job output setting file used for job editing etc. is generated and saved Will do. Details of the job output setting file will be described later with reference to FIG.

そして、ユーザがプレビューア306での確認後、設定変更内容に従って印刷を行うならば、スプールファイルマネージャ304上で、印刷要求を発行する。印刷要求はグラフィックエンジン202に伝えられる。グラフィックエンジン202からディスパッチャ301経由でプリンタドライバ203に印刷命令が送られ、印刷が実行される。   If the user performs printing in accordance with the setting change content after confirmation by the previewer 306, a print request is issued on the spool file manager 304. The print request is transmitted to the graphic engine 202. A print command is sent from the graphic engine 202 to the printer driver 203 via the dispatcher 301, and printing is executed.

また、スプールファイルマネージャのウィンドウ画面では、複数の印刷ジョブを結合し、一つの印刷ジョブとして印刷するように指定することが可能である。これも、プレビュー、設定変更同様、図4に示すプリンタドライバのプロパティにおいて出力先を「ストア」指定されたジョブが前提となる。また、メールボックスやセキュアプリントなどの機能もそれぞれメニュー901中の「メールボックス」「セキュアプリント」を指定することにより選択可能である。   On the spool file manager window screen, a plurality of print jobs can be combined and designated to be printed as one print job. Similar to the preview and setting change, this is also premised on a job for which “store” is specified as the output destination in the properties of the printer driver shown in FIG. Also, functions such as a mailbox and secure print can be selected by designating “mailbox” and “secure print” in the menu 901, respectively.

ユーザが印刷ジョブの結合を行う場合、まず、アプリケーション201からプリンタドライバ203を呼び出し、図4に示すようなユーザインタフェースからストアを選択する。上記と同様、この選択により中間コードデータがスプールファイル303にストアされ、スプールファイルマネージャのウィンドウ画面がポップアップされる。スプールされたジョブはスプールファイルマネージャのウィンドウ上にリスト表示される。アプリケーション201から同様の操作をすることにより、スプールファイルマネージャ304上に複数ジョブのリスト表示がなされる。   When the user combines print jobs, first, the printer 201 is called from the application 201, and a store is selected from the user interface as shown in FIG. Similar to the above, the intermediate code data is stored in the spool file 303 by this selection, and a window screen of the spool file manager is popped up. Spooled jobs are listed on the spool file manager window. By performing the same operation from the application 201, a list of a plurality of jobs is displayed on the spool file manager 304.

ここで、複数ジョブを選択し、「結合」が指定された場合、外部メモリ11に格納されている設定変更エディタ307をRAM2にロードし実行する。ユーザは、設定変更エディタ307に対して、リスト上の先頭ジョブまたはデフォルトの加工設定の表示を行うように指示する。そして結合設定画面が表示される。ここでは、設定変更エディタ307を結合設定画面として用いているが、別モジュールのものを用いても構わない。   Here, when a plurality of jobs are selected and “join” is designated, the setting change editor 307 stored in the external memory 11 is loaded into the RAM 2 and executed. The user instructs the setting change editor 307 to display the first job on the list or the default processing setting. Then, a combination setting screen is displayed. Here, the setting change editor 307 is used as the combination setting screen, but another module may be used.

この設定変更エディタ307は、スプールファイル303に含まれる中間コードのページ描画ファイルをスプールファイル303に格納されているジョブ設定情報に含まれる加工設定の内容に従って加工し、結合ジョブとして指定された全てのジョブに対して、グラフィックエンジン202を用いてメモリに出力することによって、画面上の出力を行う。その際、プレビュー領域に選択された全てのジョブの小プレビューが可能となる。また、結合ジョブを生成する際に、それぞれの単体ジョブのジョブ設定ファイルを拡張したジョブ出力用設定ファイルを生成する。このジョブ出力用設定ファイルは、ジョブ編集を行う際にも生成されるものであり、1つのジョブに対して1つできるものであり、結合ジョブの場合もまた1つ生成される。   The setting change editor 307 processes the page drawing file of the intermediate code included in the spool file 303 according to the content of the processing setting included in the job setting information stored in the spool file 303, and all the specified jobs as combined jobs are processed. By outputting the job to the memory using the graphic engine 202, output on the screen is performed. At that time, a small preview of all jobs selected in the preview area is possible. When generating a combined job, a job output setting file is generated by expanding the job setting file of each single job. This job output setting file is also generated when job editing is performed. One job output setting file can be generated for one job, and one job is also generated for a combined job.

ここではそれぞれのジョブに対して、結合する前の加工設定で表示することも、結合ジョブとして統一の加工設定に変更、修正して表示することも可能である。その際、プリンタドライバ203の設定可能な項目を設定変更エディタ307上のユーザインタフェースで設定可能としてもよく、あるいはプリンタドライバ203自身のユーザインタフェースを呼び出しても構わない。   Here, each job can be displayed with the processing settings before combining, or can be displayed after being changed and corrected to a unified processing setting as a combined job. At this time, items that can be set in the printer driver 203 may be set on the user interface on the setting change editor 307, or the user interface of the printer driver 203 itself may be called.

ここで結合されたジョブおよび変更された変更項目は、前述したように、設定変更エディタ307上の認証要求に従い、変更が認証され、制御がスプールファイルマネージャ304に移行する。これらの操作により、先に選択された複数ジョブは、スプールファイルマネージャのウィンドウ上で1つの結合ジョブとして表示される。   As described above, the combined job and the changed change item are authenticated in accordance with the authentication request on the setting change editor 307, and control is transferred to the spool file manager 304. By these operations, the plurality of jobs selected previously are displayed as one combined job on the spool file manager window.

そして、ユーザがプレビューア306での確認同様、設定変更内容に従って印刷を行うならば、スプールファイルマネージャ304上で、印刷要求を発行する。印刷要求はグラフィックエンジン202に伝えられる。グラフィックエンジン202からディスパッチャ301経由でプリンタドライバ203に印刷命令が送られ、印刷が実行される。   If the user performs printing in accordance with the setting change contents as in the confirmation by the previewer 306, a print request is issued on the spool file manager 304. The print request is transmitted to the graphic engine 202. A print command is sent from the graphic engine 202 to the printer driver 203 via the dispatcher 301, and printing is executed.

<印刷用中間データの保存処理>
図7は、スプーラ302により実行される、スプールファイル303の生成におけるページ単位保存ステップの処理を示すフローチャートである。
<Storage processing of intermediate data for printing>
FIG. 7 is a flowchart showing the processing of the page unit storage step in generating the spool file 303, which is executed by the spooler 302.

同図において、まずステップS501では、スプーラ302は、アプリケーション201からグラフィックエンジン202を介して印刷要求を受け付ける。アプリケーションにおいては、図8に示すような印刷設定を入力するダイアログが表示され、このダイアログから入力された印刷設定がプリンタドライバよりスプーラ302に渡される。図8に示す設定入力ダイアログにおいては、リストボックス801のように1物理ページにレイアウトする論理ページの数を決定するような設定項目等を含んでいる。   In the figure, first, in step S <b> 501, the spooler 302 receives a print request from the application 201 via the graphic engine 202. In the application, a dialog for inputting print settings as shown in FIG. 8 is displayed, and the print settings input from this dialog are passed to the spooler 302 from the printer driver. The setting input dialog shown in FIG. 8 includes setting items for determining the number of logical pages to be laid out in one physical page, such as a list box 801.

ステップS502では、受け付けた印刷要求がジョブ開始要求か判定し、ここで、ステップS502でジョブ開始要求であると判断した場合には、ステップS503に進み、中間データを一時的に保存するためのスプールファイル303を作成する。続いて、ステップS504では、スプールファイルマネージャ304へ印刷処理の進捗を通知し、続くステップS505でスプーラ302のページ数カウンタを1に初期化する。ここで、スプールファイルマネージャ304においては、印刷が開始されたジョブに対するジョブの情報や加工設定などをスプールファイル303より読み込み、記憶する。   In step S502, it is determined whether the received print request is a job start request. If it is determined in step S502 that the request is a job start request, the process proceeds to step S503, where a spool for temporarily storing intermediate data is stored. A file 303 is created. In step S504, the spool file manager 304 is notified of the progress of the printing process. In step S505, the page number counter of the spooler 302 is initialized to 1. Here, the spool file manager 304 reads job information, processing settings, and the like for the job for which printing has started from the spool file 303 and stores it.

一方、ステップS502において、ジョブ開始要求ではなかったと判断した場合には、ステップS506に進む。このステップS506では、受け付けた要求がジョブ終了要求かどうかの判別を行う。ジョブ終了要求でないと判断した場合には、ステップS507に進み、改ページかどうかの判別を行う。もしもステップS507で改ページであると判断した場合には、ステップS508に進み、スプールファイルマネージャ304へ印刷処理の進捗を通知する。そしてページ数カウンタをインクリメントして、中間コードを格納しているページ描画ファイルを閉じ、次のページ描画ファイルを生成する。   On the other hand, if it is determined in step S502 that the request is not a job start request, the process proceeds to step S506. In step S506, it is determined whether the received request is a job end request. If it is determined that the request is not a job end request, the process advances to step S507 to determine whether the page is a page break. If it is determined in step S507 that the page is a page break, the process advances to step S508 to notify the spool file manager 304 of the progress of the printing process. Then, the page number counter is incremented, the page drawing file storing the intermediate code is closed, and the next page drawing file is generated.

ステップS507において、受け付けた印刷要求が改ページではないと判断した場合には、ステップS509に進み、ページ描画ファイルへの中間コードの書き出しの準備を行う。   If it is determined in step S507 that the accepted print request is not a page break, the process advances to step S509 to prepare for writing intermediate code to the page drawing file.

次に、ステップS510では、印字要求をスプールファイル303へ格納するため、印字要求のDDI関数の中間コードへの変換処理を行う。ステップS511では、ステップS510において格納可能な形に変換された印刷要求(中間コード)をスプールファイル303のページ描画ファイルへ書き込む。その後、ステップS501に戻り、再びアプリケーションからの印刷要求を受け付ける。この一連のステップS501からステップS511までの処理を、アプリケーションよりジョブ終了要求(EndDoc)を受け取るまで続ける。また、スプーラ302は、上記処理中にプリンタドライバ203からDEVMODE構造体に格納されている加工設定等の情報を取得し、ジョブ設定ファイルとしてスプールファイル303に格納する。一方、ステップS506にて、アプリケーションからの印刷要求がジョブ終了であると判断した場合には、アプリケーションからの印刷要求は全て終了であるので、ステップS512に進み、スプールファイルマネージャ304へ印刷処理の進捗を通知し、処理を終える。   In step S510, in order to store the print request in the spool file 303, the print request is converted into an intermediate code of the DDI function. In step S511, the print request (intermediate code) converted into a storable form in step S510 is written into the page drawing file of the spool file 303. Thereafter, the process returns to step S501 to accept a print request from the application again. The series of processing from step S501 to step S511 is continued until a job end request (EndDoc) is received from the application. Further, the spooler 302 acquires information such as processing settings stored in the DEVMODE structure from the printer driver 203 during the above processing, and stores the information in the spool file 303 as a job setting file. On the other hand, if it is determined in step S506 that the print request from the application is the end of the job, all the print requests from the application are complete, so the process proceeds to step S512 and the print processing progress to the spool file manager 304 is completed. And finish the process.

<スプールファイルの生成>
図9は、スプールファイルマネージャ304により実行される、スプールファイル303生成プロセスと以降説明する印刷データ生成プロセスの間での制御の詳細を示すフローチャートである。
<Generate spool file>
FIG. 9 is a flowchart showing details of control between the spool file 303 generation process and the print data generation process described below, which is executed by the spool file manager 304.

ステップS601では、スプールファイルマネージャ304は、スプーラ302あるいはデスプーラ305からの印刷処理の進捗通知を受け付ける。   In step S <b> 601, the spool file manager 304 receives a print processing progress notification from the spooler 302 or the despooler 305.

ステップS602では、進捗通知が前述のステップS504において通知されるスプーラ302からの印刷開始通知であるかどうか判定し、もしそうであればステップS603へ進み、印刷の加工設定をスプールファイル303から読み込み、ジョブの管理を開始する。一方、ステップS602において、スプーラ302からの印刷開始通知でなければステップS604へ進み、進捗通知が前述のステップS508において通知されるスプーラ302からの1論理ページの印刷終了通知であるか否かを判定する。ここで1論理ページの印刷終了通知であればステップS605へ進み、この論理ページに関する論理ページ情報を格納する。そして、続くステップS606では、この時点でスプールが終了したn論理ページに対して、1物理ページの印刷が開始できるかを判定する。ここで、印刷可能である場合はステップS607へ進み、印刷する1物理ページに対して割り付けられる論理数から物理ページ番号を決定する。   In step S602, it is determined whether or not the progress notification is a print start notification from the spooler 302 notified in the above-described step S504. If so, the process proceeds to step S603, and the printing processing settings are read from the spool file 303. Start managing jobs. On the other hand, if it is not a print start notification from the spooler 302 in step S602, the process proceeds to step S604, and it is determined whether or not the progress notification is a print end notification of one logical page from the spooler 302 notified in the above-described step S508. To do. If it is a print end notification for one logical page, the process advances to step S605 to store logical page information related to this logical page. In subsequent step S606, it is determined whether printing of one physical page can be started for the n logical pages for which spooling has been completed at this time. If printing is possible, the process advances to step S607 to determine the physical page number from the logical number assigned to one physical page to be printed.

物理ページの計算については、例えば、加工設定が1物理ページに4論理ページを配置するような設定の場合、第1物理ページは第4論理ページがスプールされた時点で印刷可能となり、第1物理ページとなる。続いて、第2物理ページは第8論理ページがスプールされた時点で印刷可能となる。   Regarding the calculation of the physical page, for example, when the processing setting is such that four logical pages are arranged in one physical page, the first physical page can be printed when the fourth logical page is spooled, and the first physical page is printed. It becomes a page. Subsequently, the second physical page can be printed when the eighth logical page is spooled.

また、論理ページ数の総数が1物理ページに配置する論理ページ数の倍数でなくても、ステップS512におけるスプール終了通知によって1物理ページに配置する論理ページが決定可能である。   Even if the total number of logical pages is not a multiple of the number of logical pages allocated to one physical page, the logical page to be allocated to one physical page can be determined by the spool end notification in step S512.

そして、ステップS608では、図11に示すような形式で、印刷可能となった物理ページを構成する論理ページ番号と、その物理ページ番号などの情報がジョブ出力用設定ファイル(物理ページ情報を含むファイル)に保存され、物理ページ情報が1物理ページ分追加されたことがデスプーラ305に通知される。その後ステップS601に戻り、次の通知を待つ。本実施形態においては、印刷ジョブのスプールが全て終了していなくても、印刷データ1ページ、即ち1物理ページを構成する論理ページがスプールされた時点で印刷処理が可能である。   In step S608, in the format shown in FIG. 11, the logical page number constituting the printable physical page and information such as the physical page number are stored in the job output setting file (file including physical page information). ) And the despooler 305 is notified that one physical page has been added. Thereafter, the process returns to step S601 and waits for the next notification. In the present embodiment, even if the spooling of the print job is not completed, the printing process can be performed when one page of print data, that is, a logical page constituting one physical page is spooled.

一方、ステップS604において、進捗通知がスプーラ302からの1論理ページの印刷終了通知でなかった場合ステップS609へ進み、前述のステップS512において通知されるスプーラ302からのジョブ終了通知であるかどうかを判定する。ここで、ジョブ終了通知である場合、前述のステップS606へ進む。一方、ジョブ終了通知でない場合、ステップS610へ進み、受け付けた通知がデスプーラ305からの1物理ページの印刷終了通知であるかどうか判定する。ここで、1物理ページの印刷終了通知である場合はステップS612へ進み、印刷が全て終了したかを判定する。印刷終了した場合、ステップS612へ進み、デスプーラ305に印刷終了の通知を行う。一方、加工設定に対する印刷がまだ終了していないと判断した場合、前述のステップS606へ進む。本実施形態におけるデスプーラ305は印刷処理を行う単位として1物理ページ数を想定している。また、ステップS608では、1物理ページの印刷処理を行うのに必要な情報をファイルに逐次保存し、再利用可能な形式にしているが、再利用不要な場合には、共有メモリ等高速な媒体を使用し、1物理ページ単位で次々と上書きし、速度とリソースを節約するような実装形式であってもよい。また、デスプールの進捗よりもスプールの進捗の方が早い場合や全ページのスプール終了後からデスプールが開始されるような場合、ステップS608で1物理ページ毎にページ印刷可能を通知せずに、デスプール側の進捗に応じた通知を行ってもよい。例えば、複数物理ページまたは全物理ページが印刷可能になったことを通知すれば、通知回数を節約することが可能である。   On the other hand, if the progress notification is not a print end notification of one logical page from the spooler 302 in step S604, the process proceeds to step S609, and it is determined whether or not it is a job end notification from the spooler 302 notified in step S512 described above. To do. If it is a job end notification, the process proceeds to step S606 described above. On the other hand, if it is not a job end notification, the process advances to step S610 to determine whether or not the received notification is a print end notification for one physical page from the despooler 305. If it is a print end notification for one physical page, the process advances to step S612 to determine whether printing has been completed. When printing is completed, the process proceeds to step S612, and the despooler 305 is notified of printing completion. On the other hand, if it is determined that printing for the processing setting has not been completed, the process proceeds to step S606 described above. The despooler 305 in this embodiment assumes the number of one physical page as a unit for performing print processing. In step S608, information necessary to perform printing processing of one physical page is sequentially stored in a file so that it can be reused. If reuse is not necessary, a high-speed medium such as a shared memory is used. May be used, and may be overwritten one after another in units of one physical page to save speed and resources. Further, when the spool progress is faster than the despooling progress or when despooling is started after the spooling of all pages is completed, the despooling is performed without notifying that the page can be printed for each physical page in step S608. Notification according to the progress on the side may be performed. For example, it is possible to save the number of notifications by notifying that a plurality of physical pages or all physical pages can be printed.

ステップS610において、通知がデスプーラ305からの1物理ページの印刷終了通知でないと判断された場合、ステップS613へ進み、スプールファイルマネージャ304は、デスプーラ305からの印刷終了通知かどうかを判定する。通知がデスプーラ305からの印刷終了通知と判定された場合、ステップS614へ進み、スプールファイルマネージャ304は、スプールファイル303の該当するページ描画ファイルの削除を行い、処理を終える。一方、デスプーラ305からの印刷終了通知でなかった場合はステップS615へ進みエラー処理を実行する。その後、図示しないその他の処理を実行し、次の通知を待つ。   If it is determined in step S610 that the notification is not a print end notification of one physical page from the despooler 305, the process advances to step S613, and the spool file manager 304 determines whether it is a print end notification from the despooler 305. If it is determined that the notification is a print end notification from the despooler 305, the process advances to step S614, and the spool file manager 304 deletes the corresponding page drawing file in the spool file 303 and ends the process. On the other hand, if the print end notification is not received from the despooler 305, the process proceeds to step S615 to execute error processing. Thereafter, other processing (not shown) is executed, and the next notification is awaited.

<スプールファイルの出力>
図10は、デスプーラ305により実行される、印刷データの生成プロセスの詳細を示すフローチャートである。
<Output spool file>
FIG. 10 is a flowchart showing details of the print data generation process executed by the despooler 305.

デスプーラ305は、スプールファイルマネージャ304からの印刷要求に応じて、スプールファイル303から必要な情報(ページ描画ファイルおよびジョブ設定ファイル)を読み出して印刷データを生成する。生成された印刷データにおけるプリンタへの転送方法については図3を用いて前述した通りである。   In response to a print request from the spool file manager 304, the despooler 305 reads necessary information (page drawing file and job setting file) from the spool file 303 and generates print data. The method for transferring the generated print data to the printer is as described above with reference to FIG.

印刷データの生成では、まず、ステップS701において、前述のスプールファイルマネージャ304からの通知を入力する。続くステップS702では、入力された通知がジョブの終了通知かどうか判定し、ジョブ終了通知であるならばステップS703へ進み、終了フラグを立て、ステップS705へ進む。一方、ステップS702においてジョブ終了通知でない場合は、ステップS704に進み、前述のステップS608における1物理ページの印刷開始要求が通知されたかどうか判定する。ステップS704において開始要求と判定されなかった場合は、ステップS710へ進み、その他エラー処理を行い、ステップS701へ戻り次の通知を待つ。一方、ステップS704において1物理ページの印刷開始要求と判定された場合は、ステップS705へ進み、ステップS704で通知を受けた印刷処理可能な物理ページのIDを保存する。続くステップS706では、ステップS705で保存した物理ページIDの全てのページに関して印刷処理が済んでいるかどうか判定する。ここで全物理ページの処理が済んでいる場合は、ステップS707へ進み、前述のステップS703で終了フラグが立てられているのか判定する。終了フラグが立っている場合は、ジョブの印刷が終了したとみなし、デスプーラ305の処理終了の通知をスプールファイルマネージャ304に通知し、処理を終える。ステップS707で、終了フラグが立っていないと判定された場合は、ステップS701へ戻り次の通知を待つ。一方、ステップS706で、印刷可能な物理ページが残っていると判定された場合には、ステップS708へ進み、保存された物理ページIDから未処理の物理ページIDを順に読み出し、読み出した物理ページIDに対応する物理ページの印刷データ生成に必要な情報を読み込み、印刷処理を行う。印刷処理はスプールファイル303に格納された印刷要求命令をデスプーラ305においてグラフィックエンジン202が認識可能な形式(GDI関数)に変換し、転送する。本実施形態のような、複数論理ページを1物理ページにレイアウトするような加工設定(以下Nページ印刷)については、このステップで縮小配置を考慮にいれながら変換する。必要な印刷処理を終えたならば、続くステップS709において1物理ページの印刷データ生成終了の通知をスプールファイルマネージャ304に対して行う。そして再びステップS706へ戻り、ステップS705で保存しておいた印刷可能な物理ページID全てについて印刷処理を行うまで繰り返す。   In generating print data, first, in step S701, a notification from the spool file manager 304 is input. In the subsequent step S702, it is determined whether or not the input notification is a job end notification. If the input notification is a job end notification, the process proceeds to step S703, an end flag is set, and the process proceeds to step S705. On the other hand, if it is not a job end notification in step S702, the process proceeds to step S704, and it is determined whether a print start request for one physical page in step S608 is notified. If it is not determined to be a start request in step S704, the process proceeds to step S710, other error processing is performed, and the process returns to step S701 to wait for the next notification. On the other hand, if it is determined in step S704 that a request to start printing of one physical page is made, the process proceeds to step S705, and the ID of the physical page that can be printed that is notified in step S704 is stored. In a succeeding step S706, it is determined whether or not the printing process has been completed for all the pages of the physical page ID stored in the step S705. If all physical pages have been processed, the process advances to step S707 to determine whether the end flag is set in step S703. If the end flag is set, it is considered that the printing of the job has been completed, the processing end notification of the despooler 305 is notified to the spool file manager 304, and the processing ends. If it is determined in step S707 that the end flag is not set, the process returns to step S701 to wait for the next notification. On the other hand, if it is determined in step S706 that a printable physical page remains, the process advances to step S708 to sequentially read the unprocessed physical page ID from the stored physical page ID, and read the physical page ID. The information necessary for generating print data of the physical page corresponding to is read and printing processing is performed. In the printing process, the print request command stored in the spool file 303 is converted into a format (GDI function) that can be recognized by the graphic engine 202 in the despooler 305 and transferred. For the processing setting (hereinafter, N-page printing) for laying out a plurality of logical pages into one physical page as in the present embodiment, conversion is performed while taking the reduced arrangement into consideration in this step. When the necessary print processing is completed, in step S709, the spool file manager 304 is notified of the print data generation completion of one physical page. Then, the process returns to step S706 again, and the process is repeated until print processing is performed for all printable physical page IDs stored in step S705.

以上が、ディスパッチャ301、スプーラ302、スプールファイルマネージャ304、デスプーラ305を用いた印刷処理の流れである。上記のように処理することにより、スプーラ302が中間コードを生成してスプールファイル303に格納するタイミングでアプリケーション201が印刷処理から開放されるので、プリンタドライバ203に直接出力するよりも短時間で済む。また、スプールファイル303にプリンタドライバの印刷設定を踏まえた中間ファイル(ページ描画ファイル、ジョブ設定ファイル)として一時保存しているので、実際に印刷されるべき印刷プレビューをユーザに認識させることや、複数のアプリケーションにより生成した印刷ジョブの結合や並べ替えが可能となり、印刷設定の変更を行う場合にも、再度アプリケーションを立ち上げて印刷をすることなしにユーザに行わせることが可能となる。   The above is the flow of print processing using the dispatcher 301, the spooler 302, the spool file manager 304, and the despooler 305. By performing the processing as described above, the application 201 is released from the printing process at the timing when the spooler 302 generates the intermediate code and stores it in the spool file 303, so that it takes less time than outputting directly to the printer driver 203. . Further, since the spool file 303 is temporarily stored as an intermediate file (page drawing file, job setting file) based on the print settings of the printer driver, the print preview to be actually printed can be recognized by the user, The print jobs generated by the application can be combined and rearranged, and even when the print setting is changed, the user can perform the operation without starting the application again and performing printing.

ここで、スプーラ302を用いた印刷処理において、デスプーラ305からグラフィックエンジン202への印刷要求時にジョブ出力用設定ファイルが生成されるが、プレビューやジョブ結合等を行う場合もジョブ出力用設定ファイルが生成される。ジョブ出力用設定ファイルは、単体ジョブの場合はジョブ設定ファイルと同等のものであり、結合ジョブの場合は複数のジョブ設定情報に基づいて生成されるものである。ここでジョブ出力用設定ファイルについて説明する。   Here, in print processing using the spooler 302, a job output setting file is generated when a print request is sent from the despooler 305 to the graphic engine 202. However, a job output setting file is also generated when previewing or combining jobs. Is done. The job output setting file is equivalent to the job setting file in the case of a single job, and is generated based on a plurality of job setting information in the case of a combined job. Here, the job output setting file will be described.

<ジョブ出力用設定ファイルの構成>
図11は、ステップS608において、スプールファイルマネージャ304が生成する印刷可能となった物理ページを構成する情報を保存しているジョブ出力用設定ファイルの例を示す。フィールド1001は、ジョブを識別するためのIDで、本情報を保存しているファイル名や共有メモリの名称という形で保持することも可能である。フィールド1002はジョブ設定情報である。ジョブ設定情報には、グラフィックエンジン202に対してジョブの印刷を開始するために必要な構造体、Nページ印刷の指定、ページ枠などの追加描画の指定、部数、ステープルなどのフィニッシング指定など、1つのジョブに対して1つしか設定できない情報が含まれている。ジョブ設定情報1002には、ジョブに対する機能に応じて必要なだけ情報が保存される。フィールド1003はジョブの物理ページ数で、本フィールド以降、この数の分だけ物理ページ情報が保存されていることを示す。本実施形態では、印刷可能な物理ページ数を通知する方式であるので、このフィールドは無くても動作可能である。これ以降、フィールド1004から最後までフィールド1003の数だけ物理ページ情報が格納される。物理ページ情報については図13を参照して後述する。
<Configuration of job output setting file>
FIG. 11 shows an example of a job output setting file that stores information constituting the printable physical page generated by the spool file manager 304 in step S608. A field 1001 is an ID for identifying a job, and can be held in the form of the name of a file storing this information or the name of a shared memory. A field 1002 is job setting information. The job setting information includes a structure necessary for starting printing of a job to the graphic engine 202, designation of N page printing, designation of additional drawing such as a page frame, number of copies, finishing designation such as stapling, etc. Information that can only be set for one job is included. The job setting information 1002 stores as much information as necessary according to the function for the job. A field 1003 is the number of physical pages of the job, and indicates that the physical page information corresponding to this number is stored after this field. In this embodiment, since the number of printable physical pages is notified, the operation is possible even without this field. Thereafter, the physical page information is stored in the number of fields 1003 from the field 1004 to the end. The physical page information will be described later with reference to FIG.

図12は、図11のフィールド1002に図示されたジョブ設定情報の一例である。フィールド1101は全物理ページ数である。フィールド1102は、全論理ページ数である。フィールド1101および1102は、印刷データに追加して、ページ数などを付加情報として印刷する場合などに利用する。印刷が続いている際には、両フィールドは暫定的な値、もしくは、印刷が終了するまでスプールファイルマネージャ304は印刷可能な物理ページの情報の作成を延期する。フィールド1103は本印刷ジョブを何部印刷するかを指定する部数情報である。フィールド1104は、フィールド1103で複数部印刷する設定の場合、部単位で印刷するかどうかの指定である。フィールド1104はステープル、パンチ、Z折などのフィニッシング情報で、プリンタ本体もしくは外部にフィニッシャーがある場合に指定される。フィールド1106は付加印刷情報で、本発明の地紋プリントを始め、ページ枠などの飾り、日付などの付加情報、ユーザ名、ページ数、ウォーターマーク印刷等、ジョブに対して付加する情報が保存される。機能が増えるに従って本ジョブ設定情報に含まれるフィールドの数も増加し、例えば、両面印刷が可能な場合は、両面印刷の指定を保存するフィールドが追加される。   FIG. 12 shows an example of job setting information shown in the field 1002 of FIG. A field 1101 is the total number of physical pages. A field 1102 is the total number of logical pages. The fields 1101 and 1102 are used when printing the number of pages as additional information in addition to the print data. When printing continues, both fields are provisional values, or the spool file manager 304 postpones the creation of printable physical page information until printing ends. A field 1103 is copy number information for designating how many copies of the print job are to be printed. A field 1104 is used to specify whether or not printing is performed in units of copies when the field 1103 is set to print a plurality of copies. A field 1104 is finishing information such as stapling, punching, Z-folding, and the like, and is designated when a finisher is present in the printer main body or outside. A field 1106 is additional print information, which stores information to be added to a job, such as a copy-forgery-inhibited pattern print of the present invention, decorations such as page frames, additional information such as date, user name, number of pages, watermark printing, and the like. . As the number of functions increases, the number of fields included in the job setting information also increases. For example, when double-sided printing is possible, a field for storing designation of double-sided printing is added.

図13は、図11のフィールド1004に図示された物理ページ情報の一例を示す。最初のフィールド1201は物理ページ番号で、印刷順序の管理や、物理ページ番号を追加印刷する際に使用される値である。フィールド1202は物理ページ設定情報で、物理ページ毎にレイアウトやカラー・モノクロの指定が可能である場合、レイアウトやカラー・モノクロの設定が保存される。フィールド1203は本物理ページに割り付けられる論理ページ数で、1物理ページに4ページを割り付ける場合には4もしくは4ページ印刷を示すIDが保存される。フィールド1204以降はフィールド1203で指定された数だけ論理ページの情報が保存される。アプリケーション201から印刷されたページ数によっては、フィールド1203で指定されるページ数よりも実際のページデータ数が少なくなる場合がある。その場合には、論理ページ情報に空ページを示す特別なデータを保存して対応する。   FIG. 13 shows an example of physical page information shown in the field 1004 of FIG. The first field 1201 is a physical page number, which is a value used when managing the printing order and additionally printing the physical page number. A field 1202 is physical page setting information. When the layout and color / monochrome can be designated for each physical page, the layout and color / monochrome settings are stored. A field 1203 is the number of logical pages allocated to this physical page. When four pages are allocated to one physical page, an ID indicating 4 or 4-page printing is stored. From the field 1204 onward, logical page information is stored for the number specified in the field 1203. Depending on the number of pages printed from the application 201, the actual number of page data may be smaller than the number of pages specified in the field 1203. In that case, special data indicating an empty page is stored in the logical page information.

図14は、フィールド1202の物理ページ設定情報の例である。フィールド1301は物理ページ上への論理ページの配置順で、Nページ印刷で、物理ページ上に論理ページを配置する順番(左上から横へ、左上から下へ等)の指定が保存されている。システムによっては、配置順ではなく、フィールド1204以降の論理ページ情報の順番をページ番号順ではなく、配置順に応じた順序で配することでフィールド1301の設定を代用する場合もある。フィールド1302は両面印刷の表・裏の情報で、例えば綴じ代を表裏でそろえる際に使用される。フィールド1303はカラーページかモノクロページかの指定を示し、このフィールドを使用して物理ページ単位にカラー/モノクロのモード指定が可能である。フィールド1304は付加印刷情報で、物理ページに対して、ページ数や、日付などの付加情報を印刷する場合に使用される。物理ページ設定情報も、システムの機能に応じてフィールドが追加される。   FIG. 14 is an example of physical page setting information in the field 1202. A field 1301 stores the designation of the order in which the logical pages are arranged on the physical page by printing N pages in the order of arrangement of the logical pages on the physical page (from top left to side, top left to bottom, etc.). Depending on the system, the setting of the field 1301 may be substituted by arranging the logical page information after the field 1204 in the order corresponding to the arrangement order instead of the page number order instead of the arrangement order. A field 1302 is front / back information for double-sided printing, and is used, for example, when aligning binding margins on the front and back. A field 1303 indicates whether the page is a color page or a monochrome page. Using this field, a color / monochrome mode can be specified for each physical page. A field 1304 is additional print information, and is used when additional information such as the number of pages and date is printed on a physical page. In the physical page setting information, a field is added according to the function of the system.

本実施形態の場合、図21以降を参照して後述する地紋画像印刷に関する情報は物理ページに対して付加される情報なので、フィールド1106に保持された地紋プリントに関する情報に基づき、各物理ページに対する設定情報として、フィールド1304内にも格納される。ジョブに対する付加印刷情報1106および付加印刷情報1304内における、地紋プリントに関する設定情報を格納するデータ形式の一例については、図21を参照して後述する。   In the case of this embodiment, the information regarding the copy-forgery-inhibited pattern image printing, which will be described later with reference to FIG. 21 and subsequent drawings, is information added to the physical page. Information is also stored in the field 1304. An example of a data format for storing setting information regarding copy-forgery-inhibited pattern printing in the additional print information 1106 and additional print information 1304 for the job will be described later with reference to FIG.

図15は、フィールド1204で示された論理ページ情報の一例を示す。フィールド1401は論理ページのIDで、このIDを利用して、スプールファイル303から論理ページに対応するページ描画ファイルの中間コードを参照する。このIDを利用して論理ページの中間コードへアクセス可能であれば良く、ファイルやメモリポインタであっても、論理ページを構成する中間コード自身が入っていてもよい。フィールド1402は論理ページ番号で論理ページ番号を付加情報として印刷する場合や、論理ページIDの補助情報に使用される。フィールド1403のフォーマット情報には、論理ページ単位で指定可能である各種設定項目が保存される。例えば、ページ枠などの付加印刷情報、拡縮率などの論理ページ単位に指定される各種設定の情報が保存される。また、必要であれば、論理ページ単位のカラー・モノクロ情報などの論理ページに対する属性情報を保存することも可能である。逆に、論理ページ単位で設定を切りかえることや論理ページ単位での属性情報が不要であるようなシステムでは、フィールド1403は不要である。   FIG. 15 shows an example of logical page information indicated by the field 1204. A field 1401 is an ID of a logical page. By using this ID, an intermediate code of a page drawing file corresponding to the logical page is referred to from the spool file 303. It is only necessary that the intermediate code of the logical page can be accessed using this ID, and the intermediate code itself constituting the logical page may be included even if it is a file or a memory pointer. A field 1402 is a logical page number, and is used for printing the logical page number as additional information or for auxiliary information of the logical page ID. The format information in the field 1403 stores various setting items that can be specified in units of logical pages. For example, additional print information such as a page frame and various setting information designated for each logical page such as an enlargement / reduction ratio are stored. If necessary, attribute information for a logical page such as color / monochrome information in units of logical pages can be stored. On the contrary, the field 1403 is unnecessary in a system in which the setting is switched in units of logical pages or attribute information in units of logical pages is unnecessary.

本実施形態の場合、図22、23および25を参照して後述する地紋プリントに関する機能設定情報はフィールド1403内には保持されない。これは、N-Upなどによる論理ページの拡大縮小に対して地紋プリントで使用されるパターンが影響を受けないようにするためである。   In the case of the present embodiment, function setting information related to the tint block print described later with reference to FIGS. 22, 23, and 25 is not held in the field 1403. This is to prevent the pattern used in the copy-forgery-inhibited pattern printing from being affected by the enlargement / reduction of the logical page by N-Up or the like.

ジョブ出力用設定ファイルは、上記のように構成されている。なお、ジョブ設定ファイルもほぼ同様であり、印刷体裁(片面、両面、製本印刷)、印刷レイアウト(Nup、ポスター印刷)、付加情報(地紋プリント情報、ウォーターマーク、日付、ユーザ名など)、部数、用紙サイズ情報がジョブとして有しており、物理ページ毎に、論理ページの配置順、両面印刷の表面か、裏面か、カラーモード等から構成されている。   The job output setting file is configured as described above. The job setting file is almost the same as the print format (single-sided, double-sided, bookbinding printing), print layout (Nup, poster printing), additional information (background print information, watermark, date, user name, etc.), number of copies, The paper size information has as a job, and is configured for each physical page from the logical page layout order, the front or back side of double-sided printing, the color mode, and the like.

図3はこれまで説明した拡張システムに加えて、ジョブの設定変更機能を持つ設定変更エディタ307を配した例を示している。本実施形態ではジョブの設定内容は、単体ジョブは、ジョブ設定ファイルに、また結合ジョブは、図11に示すジョブ出力用設定ファイル中に含まれており、中間コードを保存しているページ描画ファイル(スプールファイル)303とは独立している。このため、ジョブ出力用設定ファイルを作り変えることでジョブの設定変更が可能である。設定変更エディタ307は単独で、あるいはスプールファイルマネージャ304と連携して、ジョブ出力用設定ファイルを作り変え、あるいは、一部を書き換えることでジョブの設定変更機能を実現している。   FIG. 3 shows an example in which a setting change editor 307 having a job setting change function is arranged in addition to the extended system described so far. In the present embodiment, the job setting contents are a page drawing file in which a single job is included in the job setting file and a combined job is included in the job output setting file shown in FIG. (Spool file) 303 is independent. For this reason, it is possible to change job settings by recreating a job output setting file. The setting change editor 307 alone or in cooperation with the spool file manager 304 realizes a job setting change function by rewriting a job output setting file or rewriting a part thereof.

図16は、設定変更エディタ307におけるジョブ設定変更処理プロセスの詳細を示すフローチャートである。   FIG. 16 is a flowchart showing details of the job setting change processing process in the setting change editor 307.

まずステップS1501では,設定変更エディタは、ジョブ設定ファイルもしくはジョブ出力用設定ファイルを読み込む。ジョブ出力用設定ファイルはプレビューア306,デスプーラ305が読み込むものと同じファイルである。次に,ステップS1502へ進み,読み込んだ結果を,ユーザに表示する。ステップS1503で,図17に示すようなユーザインタフェースを使用して,ユーザとの対話を行い,前述したメニューの指定等により設定内容を変更する。このステップは,対話形式でなく,ファイルなどに書きこまれた設定変更の内容に応じて変更するバッチ形式でもよい。次にステップS1504へ進み,ステップS1501で設定変更エディタは、最初に読み込んだ内容と,現在指定されている設定内容に変更があったかどうかの判定を行う。設定内容に変更が合った場合は,ステップS1505へ進み,新規のジョブ出力用設定ファイルを生成し,変更があったことをスプールファイルマネージャに通知して終了する。ステップS1505で,変更がないと判定された場合は,変更がなかったことをスプールファイルマネージャに通知して終了する。このように新規のジョブ出力用設定ファイルを生成するが、図17のユーザインタフェース画面において、「OK」ボタンが選択されることにより、新規のジョブ出力用設定ファイルが有効となり、古いジョブ出力用設定ファイルは削除される。また、ジョブ出力用設定ファイルからの変更ではなく、単体ジョブのジョブ設定ファイルの場合は削除せずに保存しておく。また、図17の画面で「初期状態に戻す」ボタンが選択された場合は、新規のジョブ出力用設定ファイルを削除し、古いジョブ出力用設定ファイルが有効となり、表示に反映させる。   First, in step S1501, the setting change editor reads a job setting file or a job output setting file. The job output setting file is the same file that the previewer 306 and despooler 305 read. In step S1502, the read result is displayed to the user. In step S1503, the user interface shown in FIG. 17 is used to interact with the user, and the setting contents are changed by specifying the menu described above. This step may be a batch format that changes according to the contents of the setting change written in a file or the like instead of the interactive format. In step S1504, the setting change editor determines in step S1501 whether or not there is a change between the first read content and the currently specified setting content. If the setting contents have been changed, the process advances to step S1505 to generate a new job output setting file, notify the spool file manager of the change, and end. If it is determined in step S1505 that there is no change, the spool file manager is notified that there has been no change, and the process ends. In this way, a new job output setting file is generated. When the “OK” button is selected on the user interface screen of FIG. 17, the new job output setting file becomes valid, and the old job output setting file is displayed. The file is deleted. Also, instead of changing from the job output setting file, the job setting file of a single job is stored without being deleted. When the “return to initial state” button is selected on the screen of FIG. 17, the new job output setting file is deleted, and the old job output setting file becomes valid and is reflected in the display.

なお、本実施形態では,設定変更エディタ307を別モジュールとして説明しているが,単にスプールファイルマネージャ304のユーザインタフェースの一部であってもよい。また、設定変更エディタ307で実際に変更内容をジョブ出力用設定ファイルに書きこまずに,設定変更の内容のみをスプールファイルマネージャ304へ通知し、実際のジョブ出力用設定ファイルの変更はスプールファイルマネージャ304側で行う実装形式でもよい。   In this embodiment, the setting change editor 307 is described as a separate module, but it may be a part of the user interface of the spool file manager 304. In addition, the setting change editor 307 notifies the spool file manager 304 only of the contents of the setting change without actually writing the changed contents in the job output setting file. The spool file manager changes the actual job output setting file. An implementation format performed on the 304 side may be used.

<地紋プリント処理の説明>
以下、地紋プリントに関する設定を行うユーザインタフェースの一例について、図18から20を参照して説明する。
<Description of tint block print processing>
Hereinafter, an example of a user interface for performing settings related to the tint block print will be described with reference to FIGS.

図18はプリンタドライバ203内に配された、地紋プリントに関するユーザインタフェースの初期画面の一例である。この例では、ダイアログ内のプロパティシート2101において地紋プリントに関する設定が行えるようになっている。   FIG. 18 is an example of an initial screen of a user interface related to a tint block print arranged in the printer driver 203. In this example, a setting related to copy-forgery-inhibited pattern printing can be performed on the property sheet 2101 in the dialog.

チェックボックス2102は、印刷ジョブに対して地紋プリントを行うかどうかを指定するものであり、図12における付加印刷情報1106内で地紋プリントを行うかどうかの設定が格納される。   A check box 2102 is used to specify whether to perform a background pattern print for a print job, and stores a setting for whether to perform a background pattern print in the additional print information 1106 in FIG.

リストボックス2103は、地紋プリントの複数の設定情報を1つの識別子(スタイル)で指定可能にするものである。プリンタドライバ203は複数のスタイルを選択可能となっており、各スタイルと図21に示す地紋プリント情報との関係がレジストリに登録される。また、ボタン2104を押下することにより、図19に示すスタイル編集用ダイアログ2201が表示される。   A list box 2103 allows a plurality of pieces of setting information for a tint block print to be designated by one identifier (style). The printer driver 203 can select a plurality of styles, and the relationship between each style and the copy-forgery-inhibited pattern print information shown in FIG. 21 is registered in the registry. Further, when a button 2104 is pressed, a style editing dialog 2201 shown in FIG. 19 is displayed.

チェックボックス2105は、地紋プリントにおける前景、背景のコントラストを調整する際に用いるもので、ボタン2106を押下することにより、図20に示すダイアログ2301が表示される。   A check box 2105 is used to adjust the foreground and background contrast in the copy-forgery-inhibited pattern print, and when a button 2106 is pressed, a dialog 2301 shown in FIG. 20 is displayed.

図19(a)は地紋プリントの個々の詳細設定を編集するためのダイアログの一例である。   FIG. 19A shows an example of a dialog for editing individual detailed settings of the tint block print.

同図において、地紋情報編集用ダイアログ2201は、同領域に後述する個々の地紋情報によって生成される地紋画像の結果がプレビューのため表示される。リストボックス2202は図18のリストボックス2103にて選択可能なスタイルの一覧を表示する領域であり、ボタン2203および2204を用いてスタイルの新規追加、削除が可能となる。領域2205には、現在指定されているスタイル名称が表示される。   In the figure, a tint block information editing dialog 2201 displays a result of a tint block image generated by individual tint block information (to be described later) in the same area for a preview. A list box 2202 is an area for displaying a list of styles that can be selected in the list box 2103 of FIG. 18, and new addition and deletion of styles can be performed using buttons 2203 and 2204. In the area 2205, the currently designated style name is displayed.

ラジオボタン2206は、地紋プリントに用いる描画オブジェクトの種類を選択するものであり、「文字列」を選択するとテキストオブジェクトが使用され、「イメージ」を選択するとBMPなどに代表されるイメージデータが使用される。図19(a)では、「文字列」が選択されているので、地紋情報編集用ダイアログ2201には後述するリストボックス2207、2208および2209などのテキストオブジェクトに関する設定情報が表示され、編集可能となっている。一方、ラジオボタン2206において「イメージ」が選択されている場合、リストボックス2207、2208および2209は表示されず、その代わりに図19(b)に示すイメージファイル名称表示2215および不図示のファイル選択ダイアログを表示するためのボタン2216が表示される。   A radio button 2206 is used to select the type of drawing object used for copy-forgery-inhibited pattern printing. When “character string” is selected, a text object is used, and when “image” is selected, image data represented by BMP is used. The In FIG. 19A, since “character string” is selected, setting information related to text objects such as list boxes 2207, 2208, and 2209, which will be described later, is displayed in the copy-forgery-inhibited pattern information editing dialog 2201 and can be edited. ing. On the other hand, when “image” is selected in the radio button 2206, the list boxes 2207, 2208, and 2209 are not displayed. Instead, the image file name display 2215 shown in FIG. 19B and a file selection dialog (not shown) are displayed. A button 2216 for displaying is displayed.

リストボックス2207は地紋パターンとして使用する文字列を表示、編集するための領域である。リストボックス2208は文字列のフォント情報を表示、編集するための領域である。本実施形態ではフォント名称のみの選択画面としているが、書体のファミリー情報(ボールド、イタリックなど)や、飾り文字情報などが選択可能に拡張してもよい。リストボックス2209は地紋パターンとして使用する文字列のフォントサイズを表示、設定する領域である。本実施形態では「大」「中」「小」の3段階で指定可能な形式を想定しているが、ポイント数の直接入力など、一般的に用いられるフォントサイズ指定方法を採用してもよい。ラジオボタン2210は地紋パターンと原稿データの印刷順序を設定するためのものであり、「透かし印刷」が指定された場合は図22を参照して後述するように、地紋パターンを描画後、原稿データを描画する。一方、「重ね印刷」が指定された場合は図23を参照して後述するように、原稿データを描画後、地紋パターンを描画する。   A list box 2207 is an area for displaying and editing a character string used as a tint block pattern. A list box 2208 is an area for displaying and editing font information of a character string. In the present embodiment, only the font name selection screen is used. However, the font family information (bold, italic, etc.), decorative character information, and the like may be expanded. A list box 2209 is an area for displaying and setting a font size of a character string used as a tint block pattern. In this embodiment, a format that can be designated in three stages of “large”, “medium”, and “small” is assumed, but a commonly used font size designation method such as direct input of the number of points may be adopted. . A radio button 2210 is used to set the print order of the copy-forgery-inhibited pattern and document data. When “watermark printing” is designated, the copy-forgery-inhibited pattern data is drawn after drawing the copy-forgery-inhibited pattern as described later with reference to FIG. Draw. On the other hand, when “overlapping printing” is designated, as described later with reference to FIG. 23, the background pattern is drawn after drawing the document data.

ラジオボタン2211は、地紋パターンの配置角度を指定するものである。本実施形態では「右上がり」「右下がり」「横」の3通りの選択を可能としているが、角度を任意に指定可能な数値入力領域や、直感的に指定可能なスライダーバーなどを配し、角度指定方法を拡張してもよい。   The radio button 2211 is for designating the arrangement angle of the tint block pattern. In this embodiment, “rising right”, “declining right”, and “horizontal” can be selected, but a numerical value input area in which an angle can be arbitrarily specified, a slider bar that can be intuitively specified, and the like are arranged. The angle designation method may be extended.

リストボックス2212は、地紋パターン(前景パターン、背景パターン)に用いる色を表示、指定するための領域である。   The list box 2212 is an area for displaying and specifying the color used for the tint block pattern (foreground pattern, background pattern).

チェックボックス2213は、前景パターン、背景パターンの入れ替えを行うためのものである。チェックボックスがチェックされていない場合は、複写時に前景パターンが浮かび上がる。つまり、前景パターンとして指定した情報が顕像化し、ユーザがその情報を認識可能になる。一方、チェックボックスがチェックされている場合は複写時に背景パターンが浮かび上がる。この場合は、前景パターンとして指定した情報が白抜き文字等のような状態で顕像化する。リストボックス2214は、原稿に埋め込んだ地紋パターンを認識させづらくさせるためのカモフラージュ画像を指定するための領域であり、複数のパターンから選択可能である。また、カモフラージュ画像を使用しないという選択肢も提供されている。   A check box 2213 is for exchanging the foreground pattern and the background pattern. When the check box is not checked, the foreground pattern appears during copying. That is, the information designated as the foreground pattern is visualized and the user can recognize the information. On the other hand, when the check box is checked, a background pattern appears during copying. In this case, the information designated as the foreground pattern is visualized in a state such as white characters. A list box 2214 is an area for designating a camouflage image for making it difficult to recognize a tint block pattern embedded in a document, and can be selected from a plurality of patterns. An option of not using camouflage images is also provided.

図20は、図18におけるコントラスト設定ボタン2106を押下した際に表示されるダイアログの一例である。   FIG. 20 is an example of a dialog displayed when the contrast setting button 2106 in FIG. 18 is pressed.

地紋プリントでは、前景パターン背景パターンの面濃度をあわせることで不可視画像を見え難くさせるため、図20に例示するように、トラックバー2302および2303で前景パターン、背景パターンそれぞれに対する濃度調整を行うインタフェースを提供する。   In copy-forgery-inhibited pattern printing, in order to make the invisible image difficult to see by matching the surface density of the foreground pattern and the background pattern, an interface for adjusting the density of the foreground pattern and the background pattern with track bars 2302 and 2303 as shown in FIG. provide.

<地紋プリント設定情報のデータ形式>
次に、図19を用いて説明した地紋プリント設定情報に関する付加印刷情報1106および1304に格納されるデータ形式について図21を用いて説明する。
<Data format of copy-forgery-inhibited pattern print setting information>
Next, the data format stored in the additional print information 1106 and 1304 related to the copy-forgery-inhibited pattern print setting information described with reference to FIG. 19 will be described with reference to FIG.

同図において、フィールド2001は、図19(a)のラジオボタン2206で指定される、地紋プリントで描画するオブジェクト種(テキスト形式あるいはイメージ)を示す値を格納する。フィールド2002は、図19(a)のリストボックス2207から2209、あるいは図19(b)のダイアログで指定される、フィールド2001の情報で指定された描画オブジェクトに対する設定情報を格納する。テキスト選択時は文字列、フォント名、サイズ情報が、イメージ選択時は入力するイメージファイルのロケーションが格納される。   In the figure, a field 2001 stores a value indicating an object type (text format or image) to be drawn by a copy-forgery-inhibited pattern print designated by the radio button 2206 in FIG. The field 2002 stores setting information for the drawing object designated by the information in the field 2001 designated by the list boxes 2207 to 2209 in FIG. 19A or the dialog in FIG. When text is selected, a character string, font name, and size information are stored. When an image is selected, the location of an input image file is stored.

この図19(b)のダイアログで指定可能なイメージは、DIB(Device Independent Bitmap)、JPEG(Joint Photographic Expert Group)、PNG(Portable Network Graphics)、TIFF(Tagged Image File Format)といったビットマップはもちろんEMF(Enhanced Metafile Format)、PDF(Portable Document Format)、SVG(Scalable Vector Graphics)などのグラフィック情報を保持した描画データファイルも理論上指定可能である。本実施形態では、具体例としてDIBとEMFを指定した場合を図24を用いて後述する。   The images that can be specified in the dialog shown in FIG. 19B include DIB (Device Independent Bitmap), JPEG (Joint Photographic Expert Group), PNG (Portable Network Graphics), TIFF (Tagged Image File Format), and of course EMF. A drawing data file holding graphic information such as (Enhanced Metafile Format), PDF (Portable Document Format), or SVG (Scalable Vector Graphics) can also be theoretically designated. In this embodiment, the case where DIB and EMF are designated as a specific example will be described later with reference to FIG.

フィールド2003は、図19(a)のラジオボタン2210で指定される、原稿データに対して地紋パターンを先に描画するか、後から描画するか(印刷順序)を指定する情報を格納する。フィールド2004は、図19(a)のラジオボタン2211で指定される、描画オブジェクトを配置する角度情報を格納する。フィールド2005は、図19(a)のリストボックス2212で指定される、地紋パターン(前景パターン、背景パターン)に使用される色情報を格納する。フィールド2006は、図19(a)のチェックボックス2213で指定される、前景パターン、背景パターンの入れ替えを行うかどうかの情報を格納する。フィールド2007は、図19(a)のリストボックス2214で指定される、カモフラージュ画像のパターン付加情報を格納する。フィールド2008は、図20のトラックバー2302で指定される、前景パターンの濃度情報を格納する。フィールド2009は、図20のトラックバー2303で指定される、背景パターンの濃度情報を格納する。   The field 2003 stores information for designating whether the background pattern is drawn first or later (printing order) for the document data, which is designated by the radio button 2210 in FIG. 19A. A field 2004 stores angle information for arranging the drawing object, which is designated by the radio button 2211 in FIG. A field 2005 stores color information used for the tint block pattern (foreground pattern, background pattern) designated by the list box 2212 in FIG. A field 2006 stores information about whether or not the foreground pattern and the background pattern specified by the check box 2213 in FIG. The field 2007 stores the camouflage image pattern additional information specified in the list box 2214 of FIG. The field 2008 stores foreground pattern density information specified by the track bar 2302 in FIG. A field 2009 stores background pattern density information designated by the track bar 2303 in FIG.

<地紋パターンの追加描画処理>
次に、地紋プリントにおける描画処理の流れについて、図22および図23を用いて説明する。なお、これらの処理は、それぞれ図19(a)を参照して説明した「透かし印刷」および「重ね印刷」に対応し、また図10のステップS708の印刷処理において行われる。
<Additional drawing process of tint block pattern>
Next, the flow of the drawing process in the tint block print will be described with reference to FIGS. These processes correspond to “watermark printing” and “overlapping printing” described with reference to FIG. 19A, respectively, and are performed in the printing process in step S708 of FIG.

まず、地紋パターン情報の追加描画処理について、図19(a)のラジオボタン2210において「透かし印刷」、すなわち、先に地紋パターンを描画するケースについて、図22のフローチャートを用いて説明する。   First, the background pattern pattern additional drawing process will be described with reference to the flowchart of FIG. 22 for “watermark printing” using the radio button 2210 in FIG.

ステップS1901において、図21に示す地紋パターン情報で示される地紋に関する情報に従い、描画を行う。その詳細な処理については、図25を参照して後述する。続いて、以降原稿データに関する描画処理を行う。ステップS1902において、カウンタを初期化する。ステップS1903において、カウンタが予め設定されている1物理ページあたりの論理ページ数になったかどうかを判定し、論理ページ数と等しくなったらステップS1908へ進み、等しくなければステップS1904へ進む。ステップS1904において、カウンタを1増加させる。ステップS1905において、1ページあたりの論理ページ数およびカウンタをもとに、これから描画する論理ページに対する有効印字領域を計算する。ステップS1906において、図11に示すような形態で通知された物理ページに関する情報から、カウンタをインデックスとして現在の論理ページ番号を読み取り、該当論理ページを有効印字領域内に収まるように縮小描画する。ただし、Nページ印刷が指定されていない場合にはもちろん縮小の必要はない。   In step S1901, drawing is performed according to the information on the background pattern indicated by the background pattern information shown in FIG. The detailed processing will be described later with reference to FIG. Subsequently, drawing processing relating to document data is performed thereafter. In step S1902, the counter is initialized. In step S1903, it is determined whether or not the counter has reached a preset number of logical pages per physical page. If the counter is equal to the number of logical pages, the process proceeds to step S1908, and if not, the process proceeds to step S1904. In step S1904, the counter is incremented by one. In step S1905, based on the number of logical pages per page and the counter, an effective print area for the logical page to be drawn is calculated. In step S1906, the current logical page number is read from the information about the physical page notified in the form shown in FIG. 11 using the counter as an index, and the corresponding logical page is reduced and drawn so as to be within the effective print area. However, if N-page printing is not designated, of course, there is no need for reduction.

次に、図19(a)のラジオボタン2210において「重ね印刷」、すなわち、原稿データを描画した後から地紋パターンを描画するケースについて、図23のフローチャートを用いて詳細に述べる。   Next, a case where “overlay printing”, that is, a case where a copy-forgery-inhibited pattern pattern is drawn after drawing original data with the radio button 2210 of FIG. 19A will be described in detail with reference to the flowchart of FIG.

ステップS1902において、カウンタを初期化する。ステップS1903において、カウンタが、予め設定されている1物理ページあたりの論理ページ数になったかどうかを判定し、論理ページ数と等しくなったらステップS1908へ進み、等しくなければステップS1904へ進む。   In step S1902, the counter is initialized. In step S1903, it is determined whether the counter has reached a preset number of logical pages per physical page. If the counter is equal to the number of logical pages, the process proceeds to step S1908, and if not, the process proceeds to step S1904.

ステップS1904において、カウンタを1増加させる。ステップS1905において、1ページあたりの論理ページ数およびカウンタをもとに、これから描画する論理ページに対する有効印字領域を計算する。ステップS1906において、図11のような形態で通知された物理ページに関する情報から、カウンタをインデックスとして現在の論理ページ番号を読み取り、該当論理ページを有効印字領域内に収まるように縮小描画する。ただし、Nページ印刷が指定されていない場合にはもちろん縮小の必要はない。1物理ページとして所定数の論理ページを展開し終えたなら、ステップS1908に進む。ステップS1908ではアプリケーションから取得している物理ページの有効印字領域に対して、図21に示す地紋パターン情報で示される地紋に関する情報に従い、描画を行う。   In step S1904, the counter is incremented by one. In step S1905, based on the number of logical pages per page and the counter, an effective print area for the logical page to be drawn is calculated. In step S1906, the current logical page number is read from the information related to the physical page notified in the form as shown in FIG. 11 using the counter as an index, and the corresponding logical page is reduced and drawn so as to be within the effective print area. However, if N-page printing is not designated, of course, there is no need for reduction. If a predetermined number of logical pages have been expanded as one physical page, the process advances to step S1908. In step S1908, drawing is performed on the effective print area of the physical page acquired from the application according to the information on the background pattern indicated by the background pattern information shown in FIG.

図24は、本実施の形態における図19(b)に示すユーザインタフェースを通じてロゴにイメージが指定された場合の前景背景領域指定画像生成のフローチャートである。以下、図24を用いて、グラフィックエンジン202により実行される処理フローを説明する。   FIG. 24 is a flowchart for generating a foreground / background area designation image when an image is designated for a logo through the user interface shown in FIG. 19B in the present embodiment. Hereinafter, a processing flow executed by the graphic engine 202 will be described with reference to FIG.

初めにユーザインタフェース等を通じて、ステップS5101でロゴにイメージを指定した場合の前景背景領域指定画像生成処理が開始される。   First, foreground / background region designation image generation processing when an image is designated for a logo in step S5101 is started through a user interface or the like.

次にステップS5102で、図19(b)に示すユーザインタフェースを通じて入力されたイメージの種類を判別する。入力されたイメージがDIBならば、ステップS5110へ進む。入力されたイメージがDIBでなければ、ステップS5103へ進む。ステップS5110については後述する。   In step S5102, the type of image input through the user interface shown in FIG. 19B is determined. If the input image is DIB, the process proceeds to step S5110. If the input image is not DIB, the process proceeds to step S5103. Step S5110 will be described later.

ステップS5103でもまた、図19(b)のユーザインタフェースを通じて入力されたイメージの種類を判別する。入力されたイメージがEMFならば、ステップS5106へ進む。入力されたイメージがEMFでなければ、ステップS5104へ進む。   Also in step S5103, the type of the image input through the user interface of FIG. If the input image is EMF, the process proceeds to step S5106. If the input image is not EMF, the process proceeds to step S5104.

ステップS5106では、EMFをレンダリングしてビットマップに描画する。つまり、EMFをDIB形式に変換する。   In step S5106, the EMF is rendered and drawn on the bitmap. That is, EMF is converted into DIB format.

上記ステップS5103及びステップS5106においてEMFからDIBへの変換処理が述べられたが、これと同じ論理でステップS5104及びステップS5107やステップS5105及びステップS5108といった処理が繰り返される。図19(b)のユーザインタフェースを介した指定により処理可能なイメージの種類として、DIBとEMFの他にJPEG、PNG、TIFF、PDF、SVGなどを紹介したが、これらはステップS5104及びステップS5107や、ステップS5105及びステップS5108などにおいて処理されることになる。   In step S5103 and step S5106, the conversion process from EMF to DIB has been described, but the processes such as step S5104, step S5107, step S5105, and step S5108 are repeated with the same logic. In addition to DIB and EMF, JPEG, PNG, TIFF, PDF, SVG, etc. have been introduced as types of images that can be processed by designation via the user interface of FIG. 19B. These are described in steps S5104 and S5107. In step S5105 and step S5108, the processing is performed.

例えば、ステップS5104で、図19(b)のユーザインタフェースを介して入力されたイメージの種類がJPEGであるかを判別する。入力されたイメージがJPEGならば、ステップS5107へ進む。入力されたイメージがJPEGでなければ、ステップS5105へ進む。ステップS5107では、JPEGをDIB形式に変換する。そして、サポートするイメージの種類に応じてステップS5105及びステップS5108といった処理を続けていけばよい。   For example, in step S5104, it is determined whether the type of the image input via the user interface in FIG. 19B is JPEG. If the input image is JPEG, the process proceeds to step S5107. If the input image is not JPEG, the process proceeds to step S5105. In step S5107, JPEG is converted to DIB format. Then, processing such as step S5105 and step S5108 may be continued according to the type of image to be supported.

ステップS5110では、DIBを2値化する。網点処理を用いてDIBを2値化する場合、低い線数の網点処理が適している。ディザ処理を用いてDIBを2値化する場合、ドット集中型ディザマトリクスを用いたディザ処理が適している。この2値化された画像データが前景背景領域指定画像となる。   In step S5110, the DIB is binarized. When binarizing DIB using halftone processing, halftone processing with a low number of lines is suitable. When the DIB is binarized using dither processing, dither processing using a dot concentration type dither matrix is suitable. This binarized image data becomes the foreground / background region designation image.

ステップS5111でロゴにイメージを指定した場合の前景背景領域指定画像生成処理が終了する。   In step S5111, the foreground / background region designation image generation processing in the case where an image is designated as the logo ends.

図25は本実施の形態にかかる、図22に示したステップS1901における地紋パターン描画および図23に示したステップS1908における地紋パターン描画の内部処理手順を記したフローチャートである。以下、図25を用いて、地紋パターン描画処理を説明する。   FIG. 25 is a flowchart showing the internal processing procedure of the tint block pattern drawing in step S1901 shown in FIG. 22 and the tint block pattern drawing in step S1908 shown in FIG. 23 according to the present embodiment. Hereinafter, the tint block pattern drawing process will be described with reference to FIG.

初めにユーザインタフェース等を通じて、ステップS2701で地紋パターン描画処理が開始される。   First, a tint block pattern drawing process is started in step S2701 through a user interface or the like.

次にステップS2702で、入力背景画像、背景閾値パターン、前景閾値パターン、前景背景領域指定画像、カモフラージュ領域指定画像を読み込む。   In step S2702, an input background image, a background threshold pattern, a foreground threshold pattern, a foreground / background area designation image, and a camouflage area designation image are read.

次にステップS2703で、地紋画像を生成する際の初期画素を決定する。例えば、入力画像全体に対して左上から右下までラスター走査順に画像処理を行い地紋画像に変更する場合、左上を初期位置とする。   In step S2703, an initial pixel for generating a tint block image is determined. For example, when the entire input image is subjected to image processing from the upper left to the lower right in order of raster scanning and changed to a tint block image, the upper left is set as the initial position.

次にステップS2704では、背景閾値パターン、前景閾値パターン、前景背景領域指定画像、カモフラージュ画像は入力背景画像の左上からタイル上に配置するとし、処理対象となっている入力背景画像の画素に対して、以下の式(1)を計算し、ステップS2705で、印刷時のドットに対応する画素値を書き込むか否かを判定する。このとき画素値は入力された色情報に対応する。なお、ここで、背景閾値パターンおよび前景閾値パターンは、ドットの書き込み/非書き込みに対応する「1」と「0」からなる画像データであり、これらの画像は前景(潜像)及び背景画像を作成するに適したそれぞれのディザマトリクスによって2値化されたデータである。   In step S2704, the background threshold pattern, the foreground threshold pattern, the foreground / background region designation image, and the camouflage image are arranged on the tile from the upper left of the input background image. The following equation (1) is calculated, and it is determined in step S2705 whether or not to write a pixel value corresponding to a dot at the time of printing. At this time, the pixel value corresponds to the input color information. Here, the background threshold pattern and the foreground threshold pattern are image data composed of “1” and “0” corresponding to dot writing / non-writing, and these images are foreground (latent images) and background images. The data is binarized by each dither matrix suitable for creation.

Figure 2005115874
Figure 2005115874

式の構成要素の定義を以下に示す。 The definition of the components of the formula is shown below.

Figure 2005115874
Figure 2005115874

なお、各処理対象画素で式(1)の全ての要素を用いて計算する必要は無い。不必要な計算を省くことで処理の高速化を図れる。   Note that it is not necessary to calculate using all the elements of Expression (1) for each processing target pixel. The processing speed can be increased by eliminating unnecessary calculations.

Figure 2005115874
Figure 2005115874

Figure 2005115874
Figure 2005115874

の計算を省略すると良い。 It is good to omit the calculation.

また、生成される地紋画像では、背景閾値パターン、前景閾値パターン、前景背景領域指定画像、カモフラージュ領域指定画像の縦横の長さの最小公倍数の大きさの画像が繰り返しの最小単位となる為、地紋パターン描画部では繰り返しの最小単位である地紋画像の一部分のみを生成し、その地紋画像の一部分を入力背景画像の大きさにタイル状に繰り返し並べると地紋画像生成にかかる処理時間を短縮できる。   In the generated tint block image, the background threshold pattern, the foreground threshold pattern, the foreground / background region designating image, and the image of the least common multiple of the vertical and horizontal lengths of the camouflage region designating image are the minimum unit of repetition. In the pattern drawing unit, only a part of the copy-forgery-inhibited pattern image, which is the minimum unit of repetition, is generated, and when a part of the copy-forgery-inhibited pattern image is repeatedly arranged in a tile shape in the size of the input background image, the processing time for generating the copy-forgery-inhibited pattern image can be shortened.

Figure 2005115874
Figure 2005115874

ステップS2706では、印刷時のドットに対応する画素値を書き込む処理を行う。
画素値の値は、地紋画像の色により変えることができる。黒色の地紋を作成したい場合、入力背景画像の処理対象画素を黒に設定する。
In step S2706, a process of writing a pixel value corresponding to a dot at the time of printing is performed.
The pixel value can be changed according to the color of the tint block image. When it is desired to create a black background pattern, the processing target pixel of the input background image is set to black.

その他、プリンタのトナーまたはインクの色に合わせ、シアン、マゼンタ、イエローに設定すれば、カラーの地紋画像を作成することもできる。   In addition, a color copy-forgery-inhibited pattern image can be created by setting cyan, magenta, and yellow according to the color of the toner or ink of the printer.

入力背景画像が1画素あたり1〜数ビットの画像データである場合には、インデックスカラーを用いて画素値を表現すればよい。インデックスカラーとは画像データの表現方法で、対象とするカラー画像で頻繁に出現する色情報を目次に設定し(例えばインデックス0は白、インデックス1はシアンなど)、各画素の値は色情報を記載した目次の番号で表現する(例えば、1番目の画素値はインデックス1の値、2番目の画素値はインデックス2の値、・・・と表現する。)
ステップS2707では、入力背景画像の処理対象領域の全画素が処理されたかを判定する。入力背景画像の処理対象領域の全画素が処理されていない場合はステップS2708に進み、未処理の画素を選択し、再びステップS2704〜ステップS2706の処理を実行する。
When the input background image is image data of 1 to several bits per pixel, the pixel value may be expressed using the index color. Index color is a method of expressing image data. Color information that frequently appears in a target color image is set in the table of contents (for example, index 0 is white, index 1 is cyan, etc.), and the value of each pixel is color information. It is expressed by the described table of contents numbers (for example, the first pixel value is expressed as index 1 value, the second pixel value is expressed as index 2 value,...).
In step S2707, it is determined whether all pixels in the processing target area of the input background image have been processed. If all the pixels in the processing target area of the input background image have not been processed, the process proceeds to step S2708, an unprocessed pixel is selected, and the processes in steps S2704 to S2706 are executed again.

入力背景画像の処理対象領域の全画素に対する処理が完了していれば、ステップS2709に進む。   If the processing for all the pixels in the processing target area of the input background image is completed, the process advances to step S2709.

以上の処理により、入力背景画像に対して画像処理を加えた地紋パターンが生成できる。ただし、これだけの処理では、前景背景領域指定画像の前景と背景の切り替わる部分にドットの固まりが生じ前景の概形が目立ち偽造防止地紋の効果が薄れるデメリットが生じる可能性がある。そこで、前景背景領域指定画像の前景と背景の切り替わりでドットの固まりが生じないようにするバウンダリ処理もあわせて施してもよい。図26は、そのバウンダリ処理まで施した地紋パターン生成の例である。   Through the above processing, a tint block pattern obtained by performing image processing on the input background image can be generated. However, such a process may cause a disadvantage that the foreground / background region designation image has a dot cluster at the portion where the foreground and the background are switched and the outline of the foreground is conspicuous so that the effect of the forgery-preventing copy-forgery pattern is diminished. Therefore, boundary processing may be performed so as to prevent dot clusters from being caused by switching between the foreground and the background of the foreground / background region designation image. FIG. 26 shows an example of tint block pattern generation that has been performed up to the boundary processing.

再び図25を参照すると、ここまでの処理で地紋パターンが生成される。この処理は図22のステップS1901と図23のステップS1908とで共通であるが、以下のステップで説明される生成した地紋パターンの描画方法は各々異なる。   Referring to FIG. 25 again, the tint block pattern is generated by the processing so far. This process is common to step S1901 in FIG. 22 and step S1908 in FIG. 23, but the generated tint block pattern drawing methods described in the following steps are different.

図22のステップS1901の処理では、地紋パターン自体が下地となるのでステップS2710の透かし描画処理が実行される。ステップS2710は、地紋パターンの描画の後にアプリケーションソフトで作成した文字などを透かして描画することを意味する。つまり、地紋パターンの描画については何ら特殊な処理は行われない。   In the process of step S1901 in FIG. 22, since the tint block pattern itself is the background, the watermark drawing process of step S2710 is executed. Step S2710 means that characters drawn with application software are drawn after watermark pattern drawing. That is, no special processing is performed for the drawing of the tint block pattern.

一方、図23のステップS1908の処理では、地紋パターンは既に描画済みの下地に対し後から描画することになるので、ステップS2711の重ね描画処理が実行される。この場合は、アプリケーションソフトで作成した文字などの上に地紋パターンを重ねて描画することになるので、単純に地紋パターンを描画してしまうと下地が上書きされて見えなくなってしまう。そこで、ANDやORといった論理描画を利用することで完全に上書きしてしまうことを避ける。例えば、下地の各ピクセルが白色だったら、そのピクセルに対応する地紋パターンのピクセルを描画するといった論理描画を行う。   On the other hand, in the process of step S1908 in FIG. 23, the tint block pattern is drawn later on the already drawn background, so that the overdrawing process of step S2711 is executed. In this case, since the tint block pattern is drawn on a character or the like created by application software, if the tint block pattern is simply drawn, the background is overwritten and cannot be seen. Therefore, avoid overwriting completely by using logical drawing such as AND and OR. For example, if each underlying pixel is white, logical drawing is performed such that a pixel of a tint block pattern corresponding to the pixel is drawn.

そして、ステップS2712に進み、地紋パターン描画が終了する。   Then, the process proceeds to step S2712, and the tint block pattern drawing ends.

以上、地紋パターン描画部の内部処理について述べた。   The internal processing of the tint block pattern drawing unit has been described above.

なお、図25を用いて説明した地紋パターンの描画処理は、実際の印刷時だけでなく、図19(a)の簡易プレビューにて地紋パターンを描画する際にも使用される。これによって、図19の角度指定のラジオボタン2211などによる設定を、可視状態で何度でも修正可能となる。   Note that the tint block pattern drawing process described with reference to FIG. 25 is used not only at the time of actual printing, but also when drawing the tint block pattern in the simple preview of FIG. This makes it possible to correct the setting by the angle designation radio button 2211 in FIG. 19 any number of times in the visible state.

以上説明したように、本実施形態によれば、文字列以外にビットマップやEMF(Enhanced Metafile Format、以下EMFと略する)のような描画情報を保持したイメージファイルなどをロゴとして入力可能にする。   As described above, according to the present embodiment, an image file or the like holding drawing information such as a bitmap or EMF (Enhanced Metafile Format, hereinafter referred to as EMF) in addition to a character string can be input as a logo. .

また、入力されたイメージを2値化した後のロゴイメージを示すプレビュー機能により、プレビュー機能利用者は、意図した偽造抑制地紋が印刷される画像に正しく付加されているか確認することができる。   Also, the preview function showing the logo image after binarizing the input image allows the preview function user to check whether the intended forgery-suppressed tint block is correctly added to the image to be printed.

(他の実施形態)
本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(複写機、プリンタ、ファクシミリ装置など)に適用してもよい。
(Other embodiments)
The present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) or an apparatus (copier, printer, facsimile device, etc.) composed of a single device. May be.

また、本発明は、前述した実施形態の機能を実現する、各図のフローチャートの手順を実現するプログラムコードを記憶した記憶媒体を、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても達成される。   Further, in the present invention, a storage medium storing program codes for realizing the procedures of the flowcharts of the respective drawings for realizing the functions of the above-described embodiments is stored in a storage medium by a computer (or CPU or MPU) of the system or apparatus. It is also achieved by reading and executing the programmed program code.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. be able to.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

更に、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board is based on the instruction of the program code. Also included is a case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明の一実施形態にかかる印刷制御システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a print control system according to an embodiment of the present invention. プリンタが接続されたホストコンピュータの典型的なプリントシステムの構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of a typical print system of a host computer to which a printer is connected. アプリケーションからの印刷命令をプリンタ制御コマンドに変換する前に、一旦スプールファイルにスプールするプリントシステムの構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a print system that once spools a spool file before converting a print command from an application into a printer control command. 印刷ジョブの出力先についての設定画面の一例を示す図である。FIG. 6 illustrates an example of a setting screen for an output destination of a print job. プレビューアが表示するプレビュー画面の一例を示す図である。It is a figure which shows an example of the preview screen which a previewer displays. スプールファイルマネージャのユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface of a spool file manager. スプーラにおける印刷データのスプールを示すフローチャートである。6 is a flowchart illustrating spooling of print data in a spooler. 印刷設定入力ダイアログの一例を示す図である。6 is a diagram illustrating an example of a print setting input dialog. FIG. スプールファイルマネージャによる印刷制御および物理ページ番号の決定処理の一例を示すフローチャートである。10 is a flowchart illustrating an example of print control and physical page number determination processing by a spool file manager. デスプーラにおける処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in a despooler. スプールファイルマネージャからデスプーラに対して物理ページの印刷要求を行う際に渡すデータ形式の一例を示す図である。FIG. 6 is a diagram illustrating an example of a data format that is passed when a spool page manager issues a physical page print request to a despooler. 図11に図示されたジョブ設定情報の一例を示す図である。FIG. 12 is a diagram illustrating an example of job setting information illustrated in FIG. 11. スプールファイルマネージャからデスプーラに対して物理ページの印刷要求を行う際に渡すデータ形式の一例を示す図である。FIG. 6 is a diagram illustrating an example of a data format that is passed when a spool page manager issues a physical page print request to a despooler. 図13における物理ページ設定情報の一例を示す図である。It is a figure which shows an example of the physical page setting information in FIG. スプールファイルマネージャからデスプーラに対して物理ページの印刷要求を行う際に渡すデータ形式の一例を示す図である。FIG. 6 is a diagram illustrating an example of a data format that is passed when a spool page manager issues a physical page print request to a despooler. 設定変更エディタにおける設定変更処理の一例を示すフローチャートである。It is a flowchart which shows an example of the setting change process in a setting change editor. 設定変更エディタの画面の一例を示す図である。It is a figure which shows an example of the screen of a setting change editor. 地紋プリント機能の設定画面の一例を示す図である。It is a figure which shows an example of the setting screen of a tint block print function. 地紋プリントの個々の詳細設定を編集するためのダイアログの一例を示す図である。It is a figure which shows an example of the dialog for editing each detailed setting of a tint block print. 図18のコントラスト設定ボタンを押下した際に表示されるダイアログの一例を示す図である。It is a figure which shows an example of the dialog displayed when the contrast setting button of FIG. 18 is pressed. 図14の付加印刷情報のデータ形式の一例を示す図である。It is a figure which shows an example of the data format of the additional printing information of FIG. 地紋パターンの描画処理の一例を示すフローチャートである。5 is a flowchart illustrating an example of a tint block pattern drawing process. 地紋パターンの描画処理の一例を示すフローチャートである。5 is a flowchart illustrating an example of a tint block pattern drawing process. ロゴにイメージを指定した場合における前景背景領域指定画像生成処理の一例を示すフローチャートである。It is a flowchart which shows an example of a foreground / background area designation image generation process when an image is designated as a logo. 地紋パターンの描画処理の一例を示すフローチャートである。5 is a flowchart illustrating an example of a tint block pattern drawing process. 地紋パターン生成例を示す図である。It is a figure which shows a tint block pattern generation example. 偽造牽制地紋の画像の2つの領域を示す図である。It is a figure which shows two area | regions of the image of a forgery check pattern. 偽造牽制地紋の顕像を示す図である。It is a figure which shows the visible image of a forgery check ground pattern. 偽造牽制地紋におけるカモフラージュを示す図である。It is a figure which shows the camouflage in a forgery check ground pattern.

符号の説明Explanation of symbols

1 CPU
2 RAM
3 ROM
4 システムバス
5 キーボードコントローラ(KBC)
6 CRTコントローラ(CRTC)
7 ディスクコントローラ(DKC)
8 プリンタコントローラ(PRTC)
9 キーボード(KB)
10 CRT
11 外部メモリ
12 CPU
13 ROM
14 外部メモリ
15 システムバス
16 印刷部I/F
17 印刷部
18 入力部
19 RAM
20 メモリコントローラ(MC)
1500 プリンタ
1501 操作部
3000 ホストコンピュータ
1 CPU
2 RAM
3 ROM
4 System bus 5 Keyboard controller (KBC)
6 CRT controller (CRTC)
7 Disk controller (DKC)
8 Printer controller (PRTC)
9 Keyboard (KB)
10 CRT
11 External memory 12 CPU
13 ROM
14 External memory 15 System bus 16 Printing section I / F
17 Printing unit 18 Input unit 19 RAM
20 Memory controller (MC)
1500 Printer 1501 Operation unit 3000 Host computer

Claims (5)

複写時に複写物が原本と異なることを示す地紋画像を生成可能な印刷制御装置であって、
複写時、ユーザが認識可能に現れる顕像部に使用するイメージの入力を受け付けるユーザインタフェース手段と、
前記ユーザインタフェース手段を介して入力されたイメージを用いて、前記地紋画像を生成する地紋生成手段と
を備えることを特徴とする印刷制御装置。
A printing control apparatus capable of generating a copy-forgery-inhibited pattern image indicating that a copy is different from an original at the time of copying,
User interface means for accepting input of an image to be used for a visible portion that appears recognizable by a user during copying;
A printing control apparatus comprising: a tint block generation unit that generates the tint block image using an image input via the user interface unit.
前記地紋生成手段により生成された前記地紋画像を含むプレビュー画像を生成するプレビュー画像生成手段と、
前記プレビュー画像生成手段により生成されたプレビュー画像を表示する表示手段と
を更に備えることを特徴とする請求項1に記載の印刷制御装置。
Preview image generation means for generating a preview image including the background pattern image generated by the background pattern generation means;
The print control apparatus according to claim 1, further comprising: a display unit that displays a preview image generated by the preview image generation unit.
複写時に複写物が原本と異なることを示す地紋画像を生成可能なコンピュータにより実行される印刷制御方法であって、
ユーザインタフェースを通じて、複写時、ユーザが認識可能に現れる顕像部に使用するイメージの入力を受け付けるステップと、
前記受け付けるステップにおいて入力されたイメージを用いて、前記地紋画像を作成するステップと
を備えることを特徴とする印刷制御方法。
A printing control method executed by a computer capable of generating a copy-forgery-inhibited pattern image indicating that a copy is different from an original at the time of copying,
A step of accepting an input of an image to be used for a visible portion that appears recognizable by a user during copying through a user interface;
Creating the copy-forgery-inhibited pattern image using the image input in the receiving step.
前記生成するステップにおいて生成された前記地紋画像を含むプレビュー画像を生成するステップと、
前記生成されたプレビュー画像を表示するステップと
を更に備えることを特徴とする請求項3に記載の印刷制御方法。
Generating a preview image including the copy-forgery-inhibited pattern image generated in the generating step;
The print control method according to claim 3, further comprising: displaying the generated preview image.
コンピュータを請求項1または2に記載の印刷制御装置として機能させるためのコンピュータプログラム。
A computer program for causing a computer to function as the print control apparatus according to claim 1.
JP2003352977A 2003-10-10 2003-10-10 Print controller, print control method and computer program Pending JP2005115874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003352977A JP2005115874A (en) 2003-10-10 2003-10-10 Print controller, print control method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003352977A JP2005115874A (en) 2003-10-10 2003-10-10 Print controller, print control method and computer program

Publications (2)

Publication Number Publication Date
JP2005115874A true JP2005115874A (en) 2005-04-28
JP2005115874A5 JP2005115874A5 (en) 2008-01-10

Family

ID=34543693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003352977A Pending JP2005115874A (en) 2003-10-10 2003-10-10 Print controller, print control method and computer program

Country Status (1)

Country Link
JP (1) JP2005115874A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8045232B2 (en) 2006-07-27 2011-10-25 Ricoh Company, Ltd. Image display medium, method and system for preparing composite image display data
US8134752B2 (en) 2007-09-04 2012-03-13 Kyocera Mita Corporation Image forming apparatus
WO2020158713A1 (en) * 2019-02-01 2020-08-06 ブラザー工業株式会社 Support program, information processing device, and printing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8045232B2 (en) 2006-07-27 2011-10-25 Ricoh Company, Ltd. Image display medium, method and system for preparing composite image display data
US8134752B2 (en) 2007-09-04 2012-03-13 Kyocera Mita Corporation Image forming apparatus
WO2020158713A1 (en) * 2019-02-01 2020-08-06 ブラザー工業株式会社 Support program, information processing device, and printing method
JP2020126316A (en) * 2019-02-01 2020-08-20 ブラザー工業株式会社 Support program, information processor, and printing method
US10911638B2 (en) 2019-02-01 2021-02-02 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable recording medium, information processing apparatus and printing method
JP7172667B2 (en) 2019-02-01 2022-11-16 ブラザー工業株式会社 Support program, information processing device, and printing method
US11546487B2 (en) 2019-02-01 2023-01-03 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable recording medium, information processing apparatus and printing method
US11843753B2 (en) 2019-02-01 2023-12-12 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable recording medium, information processing apparatus and printing method

Similar Documents

Publication Publication Date Title
JP4266766B2 (en) Information processing apparatus and information processing method
JP4418814B2 (en) Information processing apparatus and information processing method
JP4290089B2 (en) Information processing apparatus and information processing method
US8009304B2 (en) Printing control apparatus and printing control method
JP2005235181A (en) Information processor and information processing method
JP5103659B2 (en) System, print control apparatus, method and program
JP2006345383A (en) Ground tint control unit, arrangement of two-dimensional code, its method, and medium
JP4418797B2 (en) Print control apparatus, print control system, control method for print control apparatus, control method for print control system, and program
JP4993796B2 (en) Processing apparatus and processing method
JP2005210538A (en) Image processing apparatus and method, ground tint generating method, and computer program
JP2005115874A (en) Print controller, print control method and computer program
JP2005111957A (en) Printing controller, printing control method and computer program
US8441693B2 (en) Information processing apparatus, method, and program for selecting dynamic information with high priority for latent image printing
JP2007174387A (en) Information processing apparatus and control method thereof
JP2007110325A (en) Information processing apparatus and information processing method
JP2005115875A (en) Printing control device and method, and computer program
JP4845983B2 (en) Information processing apparatus and information processing method
JP2007116539A (en) Printer and control method therefor
JP2005115873A (en) Printing control device and method, and computer program
JP2006345382A (en) Print control apparatus, method, and medium
JP2005107777A (en) Print controller, print control method and medium
JP2006345387A (en) Printing control device, method and medium
JP2006345381A (en) Print control apparatus, method, and medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090407

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100105