JPH11298717A - Printing system - Google Patents

Printing system

Info

Publication number
JPH11298717A
JPH11298717A JP10117851A JP11785198A JPH11298717A JP H11298717 A JPH11298717 A JP H11298717A JP 10117851 A JP10117851 A JP 10117851A JP 11785198 A JP11785198 A JP 11785198A JP H11298717 A JPH11298717 A JP H11298717A
Authority
JP
Japan
Prior art keywords
ground pattern
printer
bitmap data
data
watermark
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.)
Granted
Application number
JP10117851A
Other languages
Japanese (ja)
Other versions
JP3680109B2 (en
Inventor
Koji Ishizaki
浩司 石崎
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Data Corp filed Critical Oki Data Corp
Priority to JP11785198A priority Critical patent/JP3680109B2/en
Publication of JPH11298717A publication Critical patent/JPH11298717A/en
Application granted granted Critical
Publication of JP3680109B2 publication Critical patent/JP3680109B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the loads imposed on a printer and to accelerate a printing speed as well by superimposing and compositing a watermark and an image to be printed before sending the data to the printer. SOLUTION: A printer driver 3 generates the bit map data of a watermark in a property setting processing part 7. Also, in an image generation processing part 5, the bit map data of the image to be printed are generated. A superimposing processing part 9 superimposes the image to be printed on the watermark, and thereafter the data are sent to the printing part 11 of the printer 4 through a data transmission processing part 10.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、用紙上に予め印刷
されるべき地模様の上に重ねて文書等の画像を印刷する
機能を持つ印刷システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system having a function of printing an image such as a document on a ground pattern to be printed on paper in advance.

【0002】[0002]

【従来の技術】一般に、例えば「社外秘」扱いの文書を
配布する場合には、文書の各ページに「社外秘」と表示
したスタンプを押す。ところが、ワードプロセッサやコ
ンピュータで印刷した文書を電子メールで送信するよう
な場合に、実際に文書印刷後スタンプを押すといった作
業は不可能である。従って、電子化されたデータそのも
のにこうしたスタンプイメージを印刷するような制御デ
ータを組み込む。この「社外秘」といったマークをウォ
ーターマークと呼んでいる。
2. Description of the Related Art Generally, for example, when distributing a document treated as "confidential", a stamp indicating "confidential" is pressed on each page of the document. However, when a document printed by a word processor or a computer is transmitted by e-mail, it is impossible to actually press a stamp after printing the document. Therefore, control data for printing such a stamp image is incorporated in the digitized data itself. This mark such as "Confidential" is called a watermark.

【0003】ウォーターマーク付きの文書印刷の場合に
は、まずアプリケーションがプリンタに対しウォーター
マークの印刷を指定するコマンドを送信する。続いて、
アプリケーションは印刷すべき文書のビットマップデー
タをプリンタに送信する。プリンタ側では、内蔵してい
るフォントを使用してウォーターマークのビットマップ
データを生成し、後から送り込まれた文書のビットマッ
プデータと重ね合わせて印刷する。
[0003] In the case of printing a document with a watermark, first, the application sends a command for printing a watermark to the printer. continue,
The application sends bitmap data of the document to be printed to the printer. The printer uses the built-in font to generate bitmap data of the watermark, and prints it by superimposing it with the bitmap data of a document sent later.

【0004】[0004]

【発明が解決しようとする課題】ところで、上記のよう
な従来の技術には次のような解決すべき課題があった。
ウォーターマーク付きの文書印刷を実行する場合、プリ
ンタは内蔵フォントを展開してウォーターマークのビッ
トマップデータを生成してから印刷を開始する。従っ
て、印刷待ちの時間が長くなるという欠点がある。ま
た、フォントを内蔵していないプリンタでは、このよう
なウォーターマーク印刷のコマンドには対応できない。
従って、ウォーターマークの印刷は無視される。また、
ウォーターマークに限らず、用紙に様々なマークや枠や
模様(以下、この明細書ではこれらを総称して地模様と
呼ぶ)を印刷した上で文書を印刷する要求も少なくな
い。このような処理を円滑に効率的に行う印刷システム
の開発が望まれる。
However, the above-mentioned prior art has the following problems to be solved.
When printing a document with a watermark, the printer develops a built-in font to generate bitmap data of the watermark and then starts printing. Therefore, there is a drawback that the print waiting time becomes long. Further, a printer without a built-in font cannot support such a watermark printing command.
Therefore, printing of the watermark is ignored. Also,
In addition to the watermark, there are many requests for printing a document after printing various marks, frames, and patterns (hereinafter, collectively referred to as ground patterns) on paper. It is desired to develop a printing system that performs such processing smoothly and efficiently.

【0005】[0005]

【課題を解決するための手段】本発明は以上の点を解決
するため次の構成を採用する。 〈構成1〉用紙上に予め印刷されるべき地模様のビット
マップデータを指定する地模様設定処理部と、上記地模
様の印刷された用紙上に、上記地模様に重ねて印刷され
るべき任意の画像のビットマップデータを生成するイメ
ージ生成処理部と、上記地模様設定処理部の出力する地
模様のビットマップデータと、上記イメージ生成処理部
の出力する画像のビットマップデータとを重ね合わせて
印刷部に供給する重ね合わせ処理部とを備えたことを特
徴とする印刷システム。
The present invention employs the following structure to solve the above problems. <Structure 1> A ground pattern setting processing unit that specifies bitmap data of a ground pattern to be printed on paper in advance, and an optional part to be printed on the paper on which the ground pattern is printed so as to overlap the ground pattern An image generation processing unit that generates bitmap data of the image of the image, the bitmap data of the ground pattern output by the ground pattern setting processing unit, and the bitmap data of the image output by the image generation processing unit are overlapped. A printing system, comprising: a superposition processing unit for supplying the printing unit.

【0006】〈構成2〉プリンタに印刷用データを供給
するプリンタドライバ中に、用紙上に予め印刷されるべ
き地模様のビットマップデータを指定する地模様設定処
理部と、上記地模様の印刷された用紙上に、上記地模様
に重ねて印刷されるべき任意の画像のビットマップデー
タを生成するイメージ生成処理部と、上記地模様設定処
理部の出力する地模様のビットマップデータと、上記イ
メージ生成処理部の出力する画像のビットマップデータ
とを重ね合わせてプリンタに供給する重ね合わせ処理部
とを備えたことを特徴とする印刷システム。
<Structure 2> A ground pattern setting processing unit for designating bitmap data of a ground pattern to be printed in advance on a sheet of paper in a printer driver for supplying print data to a printer; An image generation processing unit that generates bitmap data of an arbitrary image to be printed on the ground pattern on the ground paper, bitmap data of the ground pattern output from the ground pattern setting processing unit, A printing system comprising: a superimposition processing unit that superimposes bitmap data of an image output from a generation processing unit and supplies the superimposed data to a printer.

【0007】〈構成3〉構成2に記載の印刷システムに
おいて、地模様設定処理部における地模様の指定は、プ
リンタドライバのプロパティ設定により行われることを
特徴とする印刷システム。
<Structure 3> The printing system according to Structure 2, wherein the designation of the ground pattern in the ground pattern setting processing section is performed by property setting of a printer driver.

【0008】〈構成4〉構成2に記載の印刷システムに
おいて、地模様設定処理部は、用紙サイズに対応させて
上記地模様のビットマップデータを伸縮処理することを
特徴とする印刷システム。
<Structure 4> The printing system according to Structure 2, wherein the ground pattern setting processing section expands and contracts the bitmap data of the ground pattern in accordance with the paper size.

【0009】〈構成5〉構成2に記載の印刷システムに
おいて、地模様設定処理部は、用紙の指定された印刷領
域のサイズに対応させて上記地模様のビットマップデー
タを伸縮処理することを特徴とする印刷システム。
<Structure 5> In the printing system according to Structure 2, the ground pattern setting processing unit expands and contracts the bitmap data of the ground pattern in accordance with the size of the designated print area of the paper. And printing system.

【0010】〈構成6〉構成2に記載の印刷システムに
おいて、重ね合わせ処理部は、地模様のビットマップデ
ータ中の、その上に重なる画像のビットマップデータの
輪郭部分を白抜き処理することを特徴とする印刷システ
ム。
<Structure 6> In the printing system according to Structure 2, the superimposition processing section performs a whitening process on an outline portion of the bitmap data of the image superimposed on the bitmap data of the ground pattern. Characteristic printing system.

【0011】〈構成7〉プリンタに印刷用データを供給
するプリンタドライバであって、用紙上に予め印刷され
るべき地模様のビットマップデータを指定する地模様設
定処理機能と、上記地模様の印刷された用紙上に、上記
地模様に重ねて印刷されるべき任意の画像のビットマッ
プデータを生成するイメージ生成処理機能と、上記地模
様設定処理部の出力する地模様のビットマップデータ
と、上記イメージ生成処理部の出力する画像のビットマ
ップデータとを重ね合わせてプリンタに供給する重ね合
わせ処理機能とを備えたコンピュータプログラムを記録
した、コンピュータ読み取り可能な記録媒体。
<Structure 7> A printer driver for supplying printing data to a printer, a ground pattern setting processing function for designating bitmap data of a ground pattern to be printed on paper in advance, and printing of the ground pattern An image generation processing function for generating bitmap data of an arbitrary image to be printed on the ground pattern on the formed paper; a bitmap data of the ground pattern output by the ground pattern setting processing unit; A computer-readable recording medium storing a computer program having a superposition processing function of superimposing bitmap data of an image output from an image generation processing unit and supplying the superimposed bitmap data to a printer.

【0012】〈構成8〉ユーザーモードで動作するアプ
リケーションと、このアプリケーションにより起動され
てユーザーモードで動作するプリンタユーザーインタフ
ェースドライバと、カーネルモードで動作するプリンタ
グラフィックドライバとを備え、上記アプリケーション
は、任意の文書から成る印刷文書データを作成し、上記
プリンタユーザーインタフェースドライバは、上記印刷
文書データの印刷要求に伴って設定されたドライバプロ
パティに基づいて、上記印刷文書データと重ね合わせて
印刷をされる地模様を描画するためのデバイス情報を作
成し、上記プリンタグラフィックドライバは、上記アプ
リケーションの印刷要求に伴って入力する関数群を解釈
して上記印刷文書データに対応する文書用ビットマップ
データを生成するとともに、上記関数群に含まれる所定
の呼び出し処理関数により、上記ユーザーインタフェー
スドライバが上記デバイス情報に基づいて生成した地模
様に対応するビットマップデータをバッファに受け入れ
て格納し、さらに、このバッファに格納したビットマッ
プデータと上記文書用ビットマップデータとを重ね合わ
せ処理してプリンタに供給することを特徴とする印刷シ
ステム。
<Structure 8> An application which operates in a user mode, a printer user interface driver which is activated by the application and operates in a user mode, and a printer graphic driver which operates in a kernel mode are provided. The printer user interface driver creates print document data composed of a document, and the printer user interface driver prints the print document data based on the driver property set in response to the print request of the print document data so as to overlap with the print document data. The printer graphic driver interprets a group of functions input in response to a print request of the application and generates document bitmap data corresponding to the print document data. In both cases, a predetermined call processing function included in the function group accepts and stores bitmap data corresponding to the ground pattern generated by the user interface driver based on the device information in the buffer, and further stores the bitmap data in the buffer. A printing system for superposing the bitmap data on the document and the bitmap data for a document and supplying the processed data to a printer.

【0013】〈構成9〉構成8に記載の印刷システムに
おいて、プリンタグラフィックドライバは、アプリケー
ションの印刷要求に伴って入力する関数群に含まれる、
印刷イベントをフックする関数により、ユーザーインタ
フェースドライバを呼び出し、ユーザーインタフェース
ドライバは、アプリケーションプログラムインタフェー
スによりデバイス情報から地模様のビットマップデータ
を生成し、プリンタグラフィックドライバは、ユーザー
インタフェースドライバからの要求に従って、上記地模
様に対応するビットマップデータを格納するバッファを
用意し、ユーザーインタフェースドライバは、上記地模
様のビットマップデータを上記バッファへ出力し、上記
プリンタグラフィックドライバは、上記ユーザーインタ
フェースドライバの要求により、上記地模様のビットマ
ップデータと上記文書用ビットマップデータとを論理和
処理により重ね合わせて、プリンタに供給することを特
徴とする印刷システム。
<Structure 9> In the printing system according to Structure 8, the printer graphic driver is included in a group of functions input in response to a print request from an application.
A user interface driver is called by a function for hooking a print event, the user interface driver generates bitmap data of a ground pattern from device information by an application program interface, and the printer graphic driver executes the above according to a request from the user interface driver. A buffer for storing bitmap data corresponding to the ground pattern is prepared, the user interface driver outputs the bitmap data of the ground pattern to the buffer, and the printer graphic driver sends the bitmap data to the buffer according to a request from the user interface driver. A printing system characterized in that bitmap data of a ground pattern and the bitmap data for a document are overlapped by a logical OR process and supplied to a printer. Beam.

【0014】〈構成10〉構成8に記載の印刷システム
において、ユーザーインタフェースドライバは、地模様
を描画する場合にその回転角が指定されたとき、デバイ
ス情報から、上記回転角に応じた自模様の描画領域と描
画開始位置とを算出して、生成したビットマップデータ
を順次プリンタグラフィックドライバに向けて出力する
ことを特徴とする印刷システム。
<Structure 10> In the printing system according to Structure 8, when the rotation angle is designated when the ground pattern is drawn, the user interface driver determines the own pattern corresponding to the rotation angle from the device information based on the device information. A printing system which calculates a drawing area and a drawing start position, and sequentially outputs the generated bitmap data to a printer graphic driver.

【0015】〈構成11〉ユーザーモードで動作するア
プリケーションと、このアプリケーションにより起動さ
れてユーザーモードで動作するプリンタユーザーインタ
フェースドライバと、カーネルモードで動作するプリン
タグラフィックドライバとを備え、上記アプリケーショ
ンは、任意の文書から成る印刷文書データを作成し、上
記プリンタユーザーインタフェースドライバは、上記印
刷文書データの印刷要求に伴って設定されたドライバプ
ロパティに基づいて、上記印刷文書データと重ね合わせ
て印刷をされる地模様を描画するためのデバイス情報を
作成し、上記プリンタグラフィックドライバは、上記ア
プリケーションの印刷要求に伴って入力する関数群を解
釈して上記印刷文書データに対応する文書用ビットマッ
プデータを生成するとともに、上記関数群に含まれる所
定の呼び出し処理関数により、上記ユーザーインタフェ
ースドライバが上記デバイス情報に基づいて生成した地
模様に対応するビットマップデータをバッファに受け入
れて格納し、さらに、このバッファに格納したビットマ
ップデータと上記文書用ビットマップデータとを重ね合
わせ処理してプリンタに供給する機能を持つコンピュー
タプログラムを記録した、コンピュータ読み取り可能な
記録媒体。用紙上に予め印刷されるべき地模様のビット
マップデータを指定する地模様設定処理部と、上記地模
様の印刷された用紙上に、上記地模様に重ねて印刷され
るべき任意の画像のビットマップデータを生成するイメ
ージ生成処理部と、上記地模様設定処理部の出力する地
模様のビットマップデータと、上記イメージ生成処理部
の出力する画像のビットマップデータとを重ね合わせて
印刷部に供給する重ね合わせ処理部とを備えたことを特
徴とする印刷システム。
<Configuration 11> An application which operates in a user mode, a printer user interface driver which is activated by the application and operates in a user mode, and a printer graphic driver which operates in a kernel mode are provided. The printer user interface driver creates print document data composed of a document, and the printer user interface driver prints the print document data based on the driver property set in response to the print request of the print document data so as to overlap with the print document data. The printer graphic driver generates device information for drawing the document, and interprets a function group input in response to a print request from the application to generate document bitmap data corresponding to the print document data. A predetermined call processing function included in the function group accepts and stores bitmap data corresponding to the ground pattern generated by the user interface driver based on the device information in a buffer, and further stores the bitmap data in the buffer. A computer-readable recording medium on which is recorded a computer program having a function of superimposing the above-mentioned bitmap data and the above-mentioned document bitmap data and supplying them to a printer. A ground pattern setting processing unit that specifies bitmap data of a ground pattern to be printed on paper in advance; and a bit of an arbitrary image to be printed on the ground pattern-printed paper over the ground pattern. An image generation processing unit that generates map data, a bitmap data of a ground pattern output by the ground pattern setting processing unit, and a bitmap data of an image output by the image generation processing unit are superimposed and supplied to a printing unit. A printing system comprising:

【0016】〈構成2〉プリンタに印刷用データを供給
するプリンタドライバ中に、用紙上に予め印刷されるべ
き地模様のビットマップデータを指定する地模様設定処
理部と、上記地模様の印刷された用紙上に、上記地模様
に重ねて印刷されるべき任意の画像のビットマップデー
タを生成するイメージ生成処理部と、上記地模様設定処
理部の出力する地模様のビットマップデータと、上記イ
メージ生成処理部の出力する画像のビットマップデータ
とを重ね合わせてプリンタに供給する重ね合わせ処理部
とを備えたことを特徴とする印刷システム。
<Structure 2> A ground pattern setting processing unit that specifies bitmap data of a ground pattern to be printed on paper in advance in a printer driver that supplies print data to a printer; An image generation processing unit that generates bitmap data of an arbitrary image to be printed on the ground pattern on the ground paper, bitmap data of the ground pattern output from the ground pattern setting processing unit, A printing system comprising: a superimposition processing unit that superimposes bitmap data of an image output from a generation processing unit and supplies the superimposed data to a printer.

【0017】〈構成3〉構成2に記載の印刷システムに
おいて、地模様設定処理部における地模様の指定は、プ
リンタドライバのプロパティ設定により行われることを
特徴とする印刷システム。
<Structure 3> The printing system according to Structure 2, wherein the ground pattern is designated in the ground pattern setting processing section by property setting of a printer driver.

【0018】〈構成4〉構成2に記載の印刷システムに
おいて、地模様設定処理部は、用紙サイズに対応させて
上記地模様のビットマップデータを伸縮処理することを
特徴とする印刷システム。
<Structure 4> The printing system according to Structure 2, wherein the ground pattern setting processing unit expands and contracts the bitmap data of the ground pattern in correspondence with the paper size.

【0019】〈構成5〉構成2に記載の印刷システムに
おいて、地模様設定処理部は、用紙の指定された印刷領
域のサイズに対応させて上記地模様のビットマップデー
タを伸縮処理することを特徴とする印刷システム。
<Structure 5> In the printing system according to Structure 2, the ground pattern setting processing section expands and contracts the bitmap data of the ground pattern in accordance with the size of the designated print area of the paper. And printing system.

【0020】〈構成6〉構成2に記載の印刷システムに
おいて、重ね合わせ処理部は、地模様のビットマップデ
ータ中の、その上に重なる画像のビットマップデータの
輪郭部分を白抜き処理することを特徴とする印刷システ
ム。
<Structure 6> In the printing system according to Structure 2, the superposition processing unit performs a whitening process on an outline portion of the bitmap data of the image superimposed on the bitmap data of the ground pattern. Characteristic printing system.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施の形態を具体
例を用いて説明する。 〈具体例1〉図1は、本発明による印刷システムの具体
例を示すブロック図である。図のシステムは、上位装置
であるパーソナルコンピュータ等でアプリケーション1
が作成した文書等の印刷用データを、グラフィックデバ
イスインタフェース2を通じてプリンタドライバ3に供
給し、これをプリンタ4に供給して印刷するよう構成さ
れている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below using specific examples. FIG. 1 is a block diagram showing a specific example of a printing system according to the present invention. In the system shown in the figure, an application 1
Is supplied to the printer driver 3 through the graphic device interface 2 and supplies the data to the printer 4 for printing.

【0022】アプリケーション1は任意の文書等を作成
し、文書データをグラフィックデバイスインタフェース
2に供給する。グラフィックデバイスインタフェース2
は、グラフィック描画関数を出力デバイスに依存した出
力に変換するための、よく知られたモジュールである。
プリンタドライバ3は、出力デバイスに依存した印刷デ
ータを生成し、それを送信するモジュールである。ここ
で、出力デバイスであるプリンタ4は、印刷部11にお
いて、用紙12に対しウォーターマーク13とこれに重
ね合わせて印刷される画像14とを印刷する機能を持
つ。
The application 1 creates an arbitrary document or the like and supplies document data to the graphic device interface 2. Graphic device interface 2
Is a well-known module for converting graphics drawing functions to output device dependent outputs.
The printer driver 3 is a module that generates print data depending on an output device and transmits the print data. Here, the printer 4 as an output device has a function of printing a watermark 13 and an image 14 to be superimposed on the watermark 13 on the paper 12 in the printing unit 11.

【0023】上記プリンタドライバ3には、イメージ生
成処理部5、イメージバッファ6、プロパティ設定処理
部7、ウォーターマーク情報格納部8、重ね合わせ処理
部9及びデータ送信処理部10が設けられている。イメ
ージ生成処理部5は、グラフィックデバイスインタフェ
ース2が生成したグラフィック描画コマンドからビット
マップデータを生成する部分である。このビットマップ
データはイメージバッファ6に一時格納される。
The printer driver 3 includes an image generation processing unit 5, an image buffer 6, a property setting processing unit 7, a watermark information storage unit 8, a superposition processing unit 9, and a data transmission processing unit 10. The image generation processing unit 5 is a unit that generates bitmap data from a graphic drawing command generated by the graphic device interface 2. This bitmap data is temporarily stored in the image buffer 6.

【0024】プロパティ設定処理部7は、印刷に使用す
る用紙サイズや印刷方向、その他の属性を設定する部分
である。なお、本発明では、このプロパティ設定処理部
7でウォーターマークの属性を同時に設定する。この具
体例では、ウォーターマークと任意の画像との重ね合わ
せについて説明するが、ウォーターマーク以外の、予め
用紙上に下敷きとして印刷される様々な地模様について
も、ここで設定を行うようにする。
The property setting processing section 7 is a section for setting a paper size, a printing direction, and other attributes used for printing. In the present invention, the attribute of the watermark is set simultaneously by the property setting processing unit 7. In this specific example, superimposition of a watermark and an arbitrary image will be described. However, other ground patterns other than the watermark, which are printed as an underlay on paper in advance, are also set here.

【0025】プロパティ設定処理部7は、ウォーターマ
ークのプロパティが設定された場合、図示しないフォン
トメモリや地模様生成のためのデータを蓄積したパタン
メモリから、必要なイメージ処理用のデータを取り出し
て、ビットマップデータを生成する。こうして生成され
たウォーターマークのビットマップデータは、ウォータ
ーマーク情報格納部8に一時格納される。
When the property of the watermark is set, the property setting processing unit 7 extracts necessary image processing data from a font memory (not shown) or a pattern memory storing data for generating a ground pattern. Generate bitmap data. The watermark bitmap data thus generated is temporarily stored in the watermark information storage unit 8.

【0026】重ね合わせ処理部9は、イメージバッファ
6から読み出した印刷するべき画像のビットマップデー
タと、ウォーターマーク情報格納部8から読み出したウ
ォーターマークのビットマップデータとを重ね合わせて
データ送信処理部10に送信する処理を行う部分であ
る。データ送信処理部10は、プリンタ4へデータを送
信するインタフェースである。
The superimposition processing section 9 superimposes the bitmap data of the image to be printed read out from the image buffer 6 and the bitmap data of the watermark read out from the watermark information storage section 8 and superimposes the data transmission processing section. 10 is a part for performing processing for transmitting to the. The data transmission processing unit 10 is an interface that transmits data to the printer 4.

【0027】この具体例では、ウォーターマークを、プ
リンタの内蔵フォントを使用しないで印刷する。このた
めに、コンピュータ上で、そのグラフィックシステムで
提供されるフォントからウォーターマークを生成する。
即ち、ウォーターマークのビットマップデータをプリン
タ側で印刷時に生成するのでなく、印刷開始前に予めプ
リンタドライバ3の側で生成しておく。更に、印刷すべ
き文書等のビットマップデータとウォーターマークとを
重ね合わせた状態で、そのデータをプリンタに供給す
る。
In this specific example, the watermark is printed without using the built-in font of the printer. For this purpose, a watermark is generated on a computer from the font provided by the graphics system.
That is, the bitmap data of the watermark is not generated by the printer at the time of printing, but is generated by the printer driver 3 before printing starts. Further, in a state where bitmap data such as a document to be printed and a watermark are superimposed, the data is supplied to a printer.

【0028】図2には、プロパティ設定処理部の動作フ
ローチャートを示す。図1に示したアプリケーション1
は、プリンタドライバ3のプロパティ設定処理部7を呼
び出すことによってウォーターマークの設定を行う。プ
リンタドライバ3は、例えばパーソナルコンピュータの
オペレーティングシステムとプリンタとの間のインタフ
ェースとして動作するプログラムである。即ち、アプリ
ケーション1がプリンタドライバ3に印刷を要求する場
合には、プリンタドライバ3に対してプロパティ設定処
理のためのメッセージを送り、プリンタドライバ3はこ
のメッセージを受けて起動する。ここで、プリンタドラ
イバ3は図2に示すような処理を実行する。
FIG. 2 shows an operation flowchart of the property setting processing section. Application 1 shown in FIG.
Sets the watermark by calling the property setting processing unit 7 of the printer driver 3. The printer driver 3 is, for example, a program that operates as an interface between an operating system of a personal computer and a printer. That is, when the application 1 requests the printer driver 3 to perform printing, a message for property setting processing is sent to the printer driver 3, and the printer driver 3 starts upon receiving this message. Here, the printer driver 3 executes a process as shown in FIG.

【0029】まず、ステップS1において、プロパティ
設定処理を開始すると、例えばパーソナルコンピュータ
の画面上にプリンタドライバ制御用のウインドウが表示
される。ここで、ウォーターマークの設定を指定すると
ステップS2に進み、ウォーターマーク指定画面の表示
が行われる。ウォーターマーク指定画面は、この図2の
右側に示すような内容となる。
First, in step S1, when the property setting process is started, a window for controlling a printer driver is displayed on a screen of a personal computer, for example. Here, when the setting of the watermark is designated, the process proceeds to step S2, and a watermark designation screen is displayed. The watermark designation screen has the contents as shown on the right side of FIG.

【0030】このプロパティ入力画面16は、例えばウ
ォーターマークのビットマップデータの解像度や、ウォ
ーターマークとして表示する文字列や、用紙に印刷され
た際のウォーターマークの回転角、濃度等の入力を可能
とする。ここにデフォルトで表示された解像度がプリン
タの実際の解像度と異なる場合には、プリンタの解像度
に合わせてこの部分を変更する。なお、用紙サイズに対
応させて、この解像度の設定を変更することによりウォ
ーターマークを伸縮させることもできる。この点は具体
例2において更に詳しく説明する。
The property input screen 16 enables input of, for example, the resolution of watermark bitmap data, a character string to be displayed as a watermark, the rotation angle of the watermark when printed on paper, the density, and the like. I do. If the resolution displayed by default here is different from the actual resolution of the printer, this part is changed according to the resolution of the printer. The watermark can be expanded or contracted by changing the setting of the resolution in accordance with the paper size. This will be described in more detail in Example 2.

【0031】文字列としては、ウォーターマークを校正
する「社外秘」といった文字を指定する。図2(b)に
は回転角の説明図を示す。図に示すように、用紙上に一
定の角αの傾きを持ってウォーターマーク13が印刷さ
れる場合、この回転角αを指定する。なお、破線は用紙
の主走査方向に平行に引いてあるものとする。
As the character string, a character such as "confidential" for calibrating the watermark is specified. FIG. 2B is an explanatory diagram of the rotation angle. As shown in the figure, when the watermark 13 is printed on the paper with a fixed angle α, the rotation angle α is designated. The broken line is drawn in parallel with the main scanning direction of the sheet.

【0032】また、(c)には、濃度の例を示す。ウォ
ーターマークを印刷する場合に、そのビットマップデー
タを構成する各ドットを、例えばこの図に示すように、
4×4のマトリクスで表現する場合に、マトリクスM1
は全面的にこれらのドットを黒に塗りつぶす。この場合
を100パーセントの濃度とする。そして、4×4のマ
トリクス中、半分のドットだけを塗りつぶすマトリクス
M2を50パーセントの濃度とする。こうした塗りつぶ
し面積の比によってウォーターマークの全体的な濃度を
調整し、これと重ね合わせて印刷される文字やその他の
データとの混同を防ぐ。
FIG. 3C shows an example of the density. When printing a watermark, each dot constituting the bitmap data is, for example, as shown in FIG.
In the case of expressing by a 4 × 4 matrix, the matrix M1
Paints all these dots black. In this case, the density is set to 100%. Then, the matrix M2 in which only half of the dots in the 4 × 4 matrix are filled has a density of 50%. The overall density of the watermark is adjusted by such a ratio of the filled area, and the watermark is prevented from being confused with characters or other data to be printed.

【0033】図2のステップS3では、このような操作
によってウォーターマークの形式を指定する。そして、
ステップS4で、指定エラーがないと判断されると、ス
テップS5に進み、図1に示したプロパティ設定処理部
7がウォーターマークのビットマップデータを作成し、
ウォーターマーク情報格納部8に格納する。
In step S3 of FIG. 2, the format of the watermark is designated by such an operation. And
If it is determined in step S4 that there is no designation error, the process proceeds to step S5, where the property setting processing unit 7 shown in FIG. 1 creates watermark bitmap data,
It is stored in the watermark information storage unit 8.

【0034】図3には、具体例1のプリンタドライバ動
作フローチャートを示す。この図を用いて、図1に示す
プリンタドライバ3の全体的な動作を説明する。まず、
ステップS1において、グラフィックデバイスインタフ
ェース2からグラフィック描画コマンドを受け取ると、
イメージ生成処理部5はそのグラフィック描画コマンド
からビットマップデータを生成してイメージバッファ6
に格納する。
FIG. 3 is a flowchart showing the operation of the printer driver according to the first embodiment. The overall operation of the printer driver 3 shown in FIG. 1 will be described with reference to FIG. First,
In step S1, when a graphic drawing command is received from the graphic device interface 2,
The image generation processing unit 5 generates bitmap data from the graphic drawing command and generates an image buffer 6.
To be stored.

【0035】次に、ステップS2において、ウォーター
マークを付加するかどうかの判断をする。ウォーターマ
ークを付加する必要がなければステップS5にジャンプ
する。また、ウォーターマークを付加すると判断した場
合にはステップS3に進み、実際にウォーターマーク情
報格納部8にウォーターマークイメージが存在するかど
うかを判断する。存在すればステップS4に進み、ウォ
ーターマークのビットマップデータをウォーターマーク
情報格納部8から読み出す。
Next, in step S2, it is determined whether to add a watermark. If there is no need to add a watermark, the process jumps to step S5. If it is determined that a watermark is to be added, the process proceeds to step S3, and it is determined whether a watermark image actually exists in the watermark information storage unit 8. If there is, the process proceeds to step S4, and the bitmap data of the watermark is read from the watermark information storage unit 8.

【0036】そして、イメージバッファ6から印刷すべ
き画像のビットマップデータを読み出し、重ね合わせ処
理部9において、重ね合わせ処理を実行する。重ね合わ
せ処理部9の動作は、具体的には2つのイメージの論理
和演算による重ね合わせ処理による。その後、ステップ
S5に進み、データ送信処理部10がプリンタ4の印刷
部11に対しそのデータを送信する。なお、ステップS
3において、ウォーターマークのイメージがないと判断
されると、ウォーターマークを付加しない扱いとしてそ
のままステップS5に進み、通常の印刷が実行される。
ウォーターマークを生成しようとしても該当するフォン
ト等が無い場合はこれに該当する。
Then, the bitmap data of the image to be printed is read out from the image buffer 6, and the superposition processing section 9 executes the superposition processing. Specifically, the operation of the superposition processing unit 9 is based on superposition processing by a logical sum operation of two images. Thereafter, the process proceeds to step S5, where the data transmission processing unit 10 transmits the data to the printing unit 11 of the printer 4. Step S
If it is determined in step 3 that there is no watermark image, the process proceeds to step S5 without adding a watermark, and normal printing is performed.
If there is no corresponding font or the like even when an attempt is made to create a watermark, this corresponds to this.

【0037】〈具体例1の効果〉以上のように、プリン
タドライバにおいて、印刷すべきイメージとウォーター
マークを重ね合わせた後、プリンタの印刷部に供給する
ようにしたので、プリンタが印刷直前にウォーターマー
ク用のフォントを展開するといった処理が不要になり、
印刷速度が向上する。また、プリンタ側にフォントが存
在しないような場合にもウォーターマークを含む印刷が
可能になる。
<Effects of Specific Example 1> As described above, the printer driver superimposes the image to be printed on the watermark and then supplies the watermark to the printing unit of the printer. There is no need to expand the mark font,
Printing speed is improved. Further, even when the font is not present on the printer side, printing including the watermark can be performed.

【0038】〈具体例2〉文書を印刷すべき用紙のサイ
ズが常に一定ではなく、一部に異なるサイズの用紙が含
まれているような文書を印刷することがある。こうした
場合、既に説明したような処理を行うと、常に一定の大
きさのウォーターマークが用紙の上に印刷され、例えば
用紙サイズが半分になった場合に、ウォーターマークの
一部がはみ出して正常な印刷ができなくなるといった問
題も生じる。この具体例は、用紙サイズがまちまちの場
合においても、ウォーターマークを良好に印刷できる例
を説明する。
<Specific Example 2> In some cases, the size of a sheet on which a document is to be printed is not constant, and a document in which a part of a sheet of a different size is included is printed. In such a case, if the processing described above is performed, a watermark of a fixed size is always printed on the paper.For example, when the paper size is reduced to half, a part of the watermark protrudes and the normal There is also a problem that printing cannot be performed. In this specific example, an example will be described in which a watermark can be satisfactorily printed even when the paper size varies.

【0039】図4に、具体例2のプリンタドライバ動作
フローチャートを示す。この図のステップS1からステ
ップS3までの処理は、具体例1による図3の動作と同
一である。図のステップS4において、ウォーターマー
ク自体の基準用紙サイズと現在の用紙サイズとが同じか
どうかの判断を行う。これは、ウォーターマークがもと
もとどのサイズの用紙に適するように調整されているか
という点と、アプリケーションで実際の印刷のために指
定した用紙サイズやプリンタ側で準備している用紙サイ
ズ等を考慮して判断される。
FIG. 4 is a flowchart showing the operation of the printer driver according to the second embodiment. The processing from step S1 to step S3 in this figure is the same as the operation in FIG. In step S4 in the figure, it is determined whether the reference paper size of the watermark itself and the current paper size are the same. This is based on the paper size that the watermark is originally adjusted for, the paper size specified for the actual printing in the application, and the paper size prepared by the printer. Is determined.

【0040】また、ウォーターマークの基準用紙サイズ
と実際の用紙サイズとが一致しない場合にはステップS
4からステップS7に進み、ウォーターマークのビット
マップデータを基準用紙サイズと現在の用紙サイズとの
比率で、拡大あるいは縮小させて、印刷文書のビットマ
ップデータに重ね合わせる。
If the reference paper size of the watermark does not match the actual paper size, step S
From step 4, the process proceeds to step S7, in which the bitmap data of the watermark is enlarged or reduced by the ratio between the reference paper size and the current paper size, and is superimposed on the bitmap data of the print document.

【0041】例えば、図2に示したように、ウォーター
マークの解像度を72dpiとする。即ち、A4判の用
紙に72dpiの解像度で印刷すると丁度良い大きさに
なるようなウォーターマークのビットマップデータが用
意されているものとする。これを300dpiでA4判
に印刷するとすれば、ドット数が足りないため、縮小さ
れて印刷されてしまう。そこで、実際には5倍にビット
マップデータを拡大し、ほぼ300dpiの大きさのウ
ォーターマークを印刷できるようにする。
For example, as shown in FIG. 2, the resolution of the watermark is set to 72 dpi. That is, it is assumed that the bitmap data of the watermark is prepared such that the size becomes exactly the right size when printed at a resolution of 72 dpi on A4 size paper. If this is printed in A4 size at 300 dpi, the number of dots is not enough, so that the image is printed in a reduced size. Therefore, the bitmap data is actually enlarged five times so that a watermark having a size of approximately 300 dpi can be printed.

【0042】ウォーターマーク基準用紙サイズと現在の
用紙サイズとが同じ場合、ステップS5に進み、その後
ステップS6に進む。このステップS5、S6の処理
は、具体例1の場合と同様であり、重複する説明を省略
する。
If the watermark reference paper size is the same as the current paper size, the flow advances to step S5, and then to step S6. The processes in steps S5 and S6 are the same as those in the specific example 1, and duplicate description will be omitted.

【0043】図5には、ウォーターマークの伸縮処理動
作説明図を示す。この図を用いてウォーターマークの別
の伸縮処理について説明を行う。図5(a)は、例えば
基準用紙サイズが横方向にX1、縦方向にY1である用
紙12であるとする。ここにウォーターマーク13が所
定の大きさで印刷される。ところが、例えば図5(b)
に示すように、印刷をしようとする現在の用紙サイズが
横X2、縦Y2であるとする。これに、もし(a)と同
一の大きさでウォーターマーク13が印刷されるとすれ
ば現在の用紙からはみ出してしまう。
FIG. 5 is a diagram for explaining the operation of expanding and contracting the watermark. Another expansion / contraction processing of the watermark will be described with reference to FIG. In FIG. 5A, for example, it is assumed that the reference sheet size is the sheet 12 having the horizontal size X1 and the vertical size Y1. Here, the watermark 13 is printed in a predetermined size. However, for example, FIG.
Suppose that the current paper size to be printed is horizontal X2 and vertical Y2 as shown in FIG. On the other hand, if the watermark 13 is printed in the same size as in FIG.

【0044】そこで、(c)に示すような縮小処理を実
行する。実際には、(c)に示す左側の元の大きさのウ
ォーターマーク13に対しX2/X1の縮小倍率を掛け
る。これによって、大きさを変更して現在の用紙サイズ
に整合させる。
Therefore, a reduction process as shown in FIG. Actually, the reduction factor of X2 / X1 is multiplied to the watermark 13 of the original size on the left side shown in (c). As a result, the size is changed to match the current paper size.

【0045】なお、例えば元のウォーターマーク13の
フォントサイズP1、Q1と、実際に印刷される用紙を
考慮したフォントサイズP2、Q2がわかっているよう
な場合に、これらの比を考慮して縮小することも可能で
ある。なお、この場合に、ウォーターマークの文書中の
傾き等を考慮した縮小計算を行うと、より正確な縮小が
可能となる。
For example, when the font sizes P1 and Q1 of the original watermark 13 and the font sizes P2 and Q2 in consideration of the paper to be actually printed are known, the ratio is reduced in consideration of these ratios. It is also possible. In this case, more accurate reduction can be performed by performing reduction calculation in consideration of the inclination of the watermark in the document and the like.

【0046】更に、ウォーターマークを印刷することが
できる領域が指定されていることがある。これは、用紙
上の一部の領域である場合もあるし、例えば用紙の余白
部分を除外した中央部分であることもある。このような
場合、そうした印刷領域のサイズを、例えば図2に示す
ウォーターマークのプロパティ設定用画面で設定できれ
ば、ウォーターマークの拡大縮小処理が確実にできる。
Further, an area where a watermark can be printed may be designated. This may be a partial area on the paper, or may be, for example, a central portion excluding a blank portion of the paper. In such a case, if the size of the print area can be set on the watermark property setting screen shown in FIG. 2, for example, the watermark enlargement / reduction processing can be performed reliably.

【0047】〈具体例2の効果〉上記のように、プリン
タドライバ側で用紙サイズとウォーターマークのサイズ
とを考慮して、用紙サイズに対応させたり、あるいは印
刷領域のサイズに対応させたウォーターマークのビット
マップデータを生成し処理するので、用紙の大きさが切
り替わったり、様々な状況の変化があっても、それに応
じて適切な大きさのウォーターマークの印刷が可能とな
る。
<Effect of Specific Example 2> As described above, in consideration of the paper size and the size of the watermark on the printer driver side, the watermark corresponding to the paper size or the size of the print area is used. Since the bitmap data is generated and processed, it is possible to print a watermark of an appropriate size in response to a change in the size of the sheet or a change in various situations.

【0048】〈具体例3〉ウォーターマークの上には直
接印刷すべき文書の文字等が重ね合わされる。従って、
場合によっては、両方のイメージが干渉し合って印刷結
果を見にくくしてしまうことがある。この具体例では、
こうした干渉を除く例を説明する。具体的には、図1に
示した重ね合わせ処理部9が、ウォーターマークのビッ
トマップデータ中の、その上に重なる画像のビットマッ
プデータの輪郭部分を白抜き処理する。即ち、ウォータ
ーマーク上に文字や図形が重なる場合、文字や図形の輪
郭に相当する部分について、ウォーターマークを白抜き
処理する。従って、文字とウォーターマークとの境界が
明らかになり、文字等が読みやすくなる。
<Example 3> Characters of a document to be printed directly are superimposed on the watermark. Therefore,
In some cases, both images may interfere with each other and make it difficult to see the print result. In this specific example,
An example excluding such interference will be described. Specifically, the superimposition processing unit 9 shown in FIG. 1 performs a blanking process on the outline portion of the bitmap data of the image that is overlaid on the bitmap data of the watermark. That is, when a character or a figure is superimposed on the watermark, the watermark is blanked for a portion corresponding to the outline of the character or the figure. Therefore, the boundary between the character and the watermark becomes clear, and the character or the like becomes easy to read.

【0049】図6には、こうした白抜き処理の動作説明
図を示す。まず、図6において、印刷すべき画像中の文
字パタン、例えば「の」という字が地模様となるウォー
ターマーク上に重なるものとする。このとき、図の
(b)に示すように、この文字パタンをX方向とY方向
とに2ビットずつシフトさせて、「の」を表示するため
のドットがトレースした領域を求める。
FIG. 6 is a diagram for explaining the operation of such whitening processing. First, in FIG. 6, it is assumed that a character pattern in an image to be printed, for example, the character "", overlaps a watermark serving as a ground pattern. At this time, as shown in (b) of the figure, the character pattern is shifted in the X direction and the Y direction by two bits at a time, and an area traced by dots for displaying “no” is obtained.

【0050】これは、図の(b)中の白ドットと黒ドッ
トとを含めたほぼ菱形の領域となる。そして、この領域
をカバーするマスクパタンを図の(c)に示すように生
成する。図の(b)に示した全てのドットの部分を黒ド
ットとし、その周りに存在し、一定の四角形の領域に含
まれる部分を白ドットとしたものをマスクパタンとし
た。
This is a substantially rhombic area including the white dots and the black dots in FIG. Then, a mask pattern covering this area is generated as shown in FIG. All the dots shown in FIG. 6B are black dots, and those surrounding the black dots and the portions included in a certain rectangular area are white dots.

【0051】次に、地模様であるウォーターマークを取
り出し、図の(d)に示すように地模様パタンとする。
そして、(c)に示すマスクパタンと(d)で示すマス
クパタンとのNAND(論理積の否定)をとる。これに
よって、図の(e)に示すような白抜きパタンが形成さ
れる。この白抜きパタンと(a)に示す文字パタンとの
論理和をとると、図の(f)に示すような出力が得られ
る。
Next, a watermark, which is a ground pattern, is taken out, and is made into a ground pattern as shown in FIG.
Then, NAND (negation of logical product) of the mask pattern shown in (c) and the mask pattern shown in (d) is performed. As a result, a white pattern as shown in FIG. When the logical sum of the outline pattern and the character pattern shown in FIG. 11A is calculated, an output as shown in FIG.

【0052】〈具体例3の効果〉以上によって、「の」
という文字の輪郭部分が白抜きされるため、ウォーター
マークの上に重ね合わされる文字が読みづらくなるとい
ったことを防止できる。なお、上記のプロパティ設定処
理部7は、ウォーターマークのプロパティが設定される
と、必要に応じて適当なフォントデータその他を用い
て、ウォーターマークのビットマップデータを生成し
た。しかしながら、例えば予めウォーターマークが一般
のフォントデータと同様にウォーターマークを表示する
イメージデータのみから成り、ビットマップデータに展
開する場合には、予め指定された印刷位置にそのデータ
を配置するだけでよいようにすれば、プロパティ設定処
理部7の負荷が充分に軽減される。
<Effect of Specific Example 3> From the above, "no"
Since the outline portion of the character is blanked, it is possible to prevent the character superimposed on the watermark from being difficult to read. When the property of the watermark is set, the property setting processing unit 7 generates the bitmap data of the watermark by using appropriate font data and the like as needed. However, for example, when a watermark is composed of only image data for displaying a watermark in the same manner as general font data, and is developed into bitmap data, it is only necessary to arrange the data at a predetermined printing position. By doing so, the load on the property setting processing unit 7 is sufficiently reduced.

【0053】また、ウォーターマークをフォントデータ
のようにして保存すると、用紙全体をカバーするような
ウォーターマークのイメージを保存しておく場合よりも
十分に少ないメモリ容量でこれが実現できるため、資源
の有効利用が図られる。更に、プロパティ設定処理部7
によるウォーターマークの生成処理が高速化され、印刷
開始前のプリンタドライバ3によるデータの重ね合わせ
処理等も高速化される。
When a watermark is stored as font data, this can be realized with a sufficiently smaller memory capacity than when a watermark image that covers the entire paper is stored. Use is planned. Further, the property setting processing unit 7
, The speed of the watermark generation process by the printer driver 3 and the speed of the data superimposition process by the printer driver 3 before the start of printing are also increased.

【0054】なお、プロパティ設定処理部と、イメージ
生成処理部と、重ね合わせ処理部とを、上記各具体例で
は上位装置側のプリンタドライバに設けた例を説明し
た。しかしながら、これらは、画データを供給する上位
装置からプリンタまでの間のどの部分に設けてもよい。
また、重ね合わせ処理部のみプリンタ側に設けるといっ
た構成も可能である。本発明は、ウォーターマークのよ
うなフォントを持たないプリンタにより上記のような文
書の印刷を行うのに適するが、フォントを内蔵するプリ
ンタの制御に使用しても構わない。
In the above specific examples, the property setting processing unit, the image generation processing unit, and the superimposition processing unit are provided in the printer driver of the host device. However, they may be provided in any part between the host device that supplies the image data and the printer.
Further, a configuration in which only the overlay processing unit is provided on the printer side is also possible. The present invention is suitable for printing a document as described above by a printer having no font such as a watermark, but may be used for controlling a printer having a built-in font.

【0055】さらに、上記の各具体例では、全てウォー
ターマークを例にとって説明したが、ウォーターマーク
以外に、用紙上に予め印刷されるべき様々な地模様につ
いても同様の処理を行うことができる。
Further, in each of the above specific examples, the description has been made by taking the watermark as an example. However, the same processing can be performed on various ground patterns to be printed in advance on a sheet in addition to the watermark.

【0056】〈具体例4〉上記のようなウォーターマー
クの処理をマイクロソフト社によるオペレーティングシ
ステム(WindowsNT4.0)のGDI(Graphics Device In
terface)に実行させる場合には次のような問題があ
る。マイクロソフト社によるオペレーティングシステム
(Windows3.1)のプリンタドライバに相当するものは、
WindowsNT4.0ではGDIとプリンタグラフィックドライ
バである。このWindowsNT4.0では、GDIとプリンタグ
ラフィックドライバはカーネルモードで動作する。
<Specific Example 4> The watermark processing described above is performed by Microsoft's GDI (Graphics Device In) operating system (Windows NT 4.0).
terface) has the following problems. The equivalent of Microsoft's operating system (Windows 3.1) printer driver is:
In WindowsNT4.0, it is a GDI and a printer graphic driver. In this Windows NT 4.0, the GDI and the printer graphic driver operate in the kernel mode.

【0057】従って、GDIに対してウォーターマーク
のような描画データを作成する機能を実装するのは難し
い。同様に、プリンタグラフィックドライバ自身が描画
データを作成するような機能を実装するのも難しい。ユ
ーザーが自由にアプリケーションを組むことができるの
は、ユーザーモード部分に限られるからである。また、
文書データとウォーターマークとを共にユーザーモード
で生成して、これらをファイルに保存して印刷データを
作成する方法も考えられる。ところが、カーネルモード
で動作するプリンタグラフィックドライバは、ファイル
を開く機能を持たないので、これも実現不可能である。
そこで、以下の具体例のような構成にする。
Therefore, it is difficult to implement a function of creating drawing data such as a watermark for the GDI. Similarly, it is also difficult to implement a function such that the printer graphic driver itself creates drawing data. The reason that the user can freely compose the application is limited to the user mode portion. Also,
A method of generating both the document data and the watermark in the user mode and storing them in a file to create print data is also conceivable. However, a printer graphic driver operating in the kernel mode does not have a function of opening a file, so that this cannot be realized.
Therefore, a configuration as in the following specific example is adopted.

【0058】図7に、具体例4の印刷システムブロック
図を示す。図の太線20の上に示したブロックはユーザ
ーモードで動作する部分である。アプリケーション1は
任意の文書を作成して印刷要求を行うためのプログラム
である。プリンタユーザーインタフェースドライバ21
は、オペレーティングシステムがユーザーに提供してい
る、プリンタの印刷条件や印刷文書設定のためのダイヤ
ログ表示等を実行するドライバである。
FIG. 7 is a block diagram showing a printing system according to the fourth embodiment. The block shown above the thick line 20 in the figure is a part that operates in the user mode. The application 1 is a program for creating an arbitrary document and issuing a print request. Printer user interface driver 21
Is a driver provided by the operating system to the user for executing a print condition of a printer, a dialog display for setting a print document, and the like.

【0059】ここには、用紙の種類、印刷ページ、フォ
ント等、様々な印刷条件を設定するプロパティ設定処理
部22と、この発明で必要なウォーターマークのビット
マップデータを作成するウォーターマーク作成処理部2
3が設けられている。アプリケーション1が作成した印
刷文書データは、印刷文書メモリ24に一時格納され
る。
Here, a property setting processing unit 22 for setting various printing conditions such as a paper type, a print page, a font, and the like, and a watermark creation processing unit for creating bitmap data of a watermark required in the present invention. 2
3 are provided. The print document data created by the application 1 is temporarily stored in the print document memory 24.

【0060】また、プリンタユーザーインタフェースド
ライバ21が、その印刷文書データの印刷要求に伴って
設定したドライバプロパティに基づいて、印刷文書デー
タと重ね合わせて印刷されるウォーターマーク等の地模
様を描画するデータは、デバイス情報としてデバイス情
報メモリ25に一時格納される。このデバイス情報は、
ウォーターマークのビットマップデータを生成するため
に必要なコードデータ群等により構成される。
The printer user interface driver 21 draws a ground pattern such as a watermark to be printed by being superimposed on the print document data based on the driver property set in accordance with the print request of the print document data. Are temporarily stored in the device information memory 25 as device information. This device information
It is composed of a group of code data necessary to generate bitmap data of the watermark.

【0061】GDI32.DLL,WinSpool.DLLモジュール26
は、アプリケーションが印刷文書を印刷するために呼び
出すプログラムモジュールである。このモジュールは、
出力デバイスに依存しないグラフィック描画関数を提供
する。カーネルモードで動作する部分には、グラフィッ
クデバイスインタフェース30、プリンタグラフィック
ドライバ31が設けられ、これによって生成された印刷
データがプリンタ4に供給される構成になっている。
GDI32.DLL, WinSpool.DLL module 26
Is a program module called by an application to print a print document. This module is
Provides graphics rendering functions independent of output device. A portion that operates in the kernel mode is provided with a graphic device interface 30 and a printer graphic driver 31, and print data generated by the graphic device interface 30 is supplied to the printer 4.

【0062】グラフィックデバイスインタフェース30
は、スプーラ26から入力した描画関数を受け入れて、
出力デバイスに依存した印刷データを生成する部分であ
る。プリンタグラフィックドライバ31は、イメージ生
成処理部32と、イメージバッファ33と、ウォーター
マーク重ね合わせ処理部34と、データ送信処理部35
とを備えている。
Graphic device interface 30
Accepts the drawing function input from the spooler 26,
This part generates print data depending on the output device. The printer graphic driver 31 includes an image generation processing unit 32, an image buffer 33, a watermark superimposition processing unit 34, a data transmission processing unit 35
And

【0063】イメージ生成処理部32は、グラフィック
デバイスインタフェース30から入力する印刷データに
基づいて、ビットマップデータを生成する部分である。
イメージバッファ33は、後で説明するようにしてプリ
ンタユーザーインタフェースドライバ21から転送され
たウォーターマークのビットマップデータを一時格納す
る部分である。
The image generation processing section 32 is a section for generating bitmap data based on print data input from the graphic device interface 30.
The image buffer 33 is a portion for temporarily storing the watermark bitmap data transferred from the printer user interface driver 21 as described later.

【0064】ウォーターマーク重ね合わせ処理部34
は、イメージ生成処理部32の出力とイメージバッファ
33に格納されたウォーターマークとを重ね合わせ処理
する部分である。データ送信処理部35は、ウォーター
マーク重ね合わせ処理部34の出力をプリンタ4に向け
て転送する動作を行う部分である。
The watermark superposition processing section 34
Is a part for superimposing the output of the image generation processing unit 32 and the watermark stored in the image buffer 33. The data transmission processing unit 35 is a part that performs an operation of transferring the output of the watermark superimposition processing unit 34 to the printer 4.

【0065】上記のような構成の印刷システムも、具体
例1の場合と同様、ウォーターマークのような地模様
を、プリンタの内蔵フォントを使用しないで、上位装置
であるコンピュータ上で生成する。このウォーターマー
クの生成は、カーネルモードで動作するプリンタグラフ
ィックドライバ31ではなく、ユーザーモードで動作す
るプリンタユーザーインタフェースドライバ21で行
う。以下、図1に示すシステムの動作を順に説明する。
In the printing system having the above-described configuration, similarly to the first embodiment, a ground pattern such as a watermark is generated on a computer as a higher-level device without using a built-in font of a printer. The generation of the watermark is performed not by the printer graphic driver 31 operating in the kernel mode but by the printer user interface driver 21 operating in the user mode. Hereinafter, the operation of the system shown in FIG. 1 will be described in order.

【0066】まず、アプリケーション1は、任意の文書
から成る印刷文書データを作成する。この印刷文書デー
タは、既に説明したように、印刷文書メモリ24にファ
イル形式で格納される。次に、アプリケーション1を操
作して印刷要求を行うと、プリンタユーザーインタフェ
ースドライバ21は、所定の印刷条件設定用のダイヤロ
グを表示する。ここで、ユーザーはそのダイヤログを見
ながら、印刷ページ数、その他のプロパティを入力す
る。この処理はプロパティ設定処理部22によって周知
の方法により行われる。
First, the application 1 creates print document data including an arbitrary document. This print document data is stored in the print document memory 24 in a file format as described above. Next, when the user issues a print request by operating the application 1, the printer user interface driver 21 displays a dialog for setting predetermined print conditions. Here, the user inputs the number of pages to be printed and other properties while viewing the dialog. This process is performed by the property setting processing unit 22 by a known method.

【0067】次に、ウォーターマークの重ね合わせ印刷
を行おうとする場合、同様の画面中で、具体例1で説明
したと同じように、ウォーターマークの指定を行う。図
8には、プリンタユーザーインタフェースドライバのウ
ォーターマーク指定のための動作フローチャートを示
す。まず、ステップS1において、ウォーターマーク指
定画面の表示を行う。ウォーターマークの文字の種類や
大きさ等を選択するメニュー画面がここで表示される。
これは具体例1の場合と同様である。ユーザーは画面に
従いウォーターマークの形式を指定する(ステップS
2)。
Next, when overlay printing of a watermark is to be performed, a watermark is designated on a similar screen in the same manner as described in the first embodiment. FIG. 8 shows an operation flowchart for specifying a watermark by the printer user interface driver. First, in step S1, a watermark designation screen is displayed. A menu screen for selecting the type and size of the character of the watermark is displayed here.
This is the same as in the first embodiment. The user specifies the format of the watermark according to the screen (step S
2).

【0068】指定内容は自動的にチェックされ、指定エ
ラーがあればステップS3からステップS2に戻り、形
式指定を完了させる。形式指定が完了すると、ステップ
S3からステップS4に進み、ウォーターマーク情報を
デバイス情報として保存する。即ち、ウォーターマーク
の具体的なプロパティに相当する情報をデバイス情報と
して、図1に示したデバイス情報メモリ25に格納す
る。具体的には、ウォーターマーク印刷データを作成す
るために必要な設定情報であるフォントやフォントサイ
ズ等が、デバイス情報メモリ25中に格納される。
The specified contents are automatically checked. If there is a specified error, the process returns from step S3 to step S2 to complete the format specification. When the format designation is completed, the process proceeds from step S3 to step S4, where the watermark information is stored as device information. That is, information corresponding to specific properties of the watermark is stored in the device information memory 25 shown in FIG. 1 as device information. Specifically, fonts, font sizes, and the like, which are setting information necessary for creating watermark print data, are stored in the device information memory 25.

【0069】印刷要求に伴うプロパティの設定が終了す
ると、アプリケーション1は印刷開始を要求する。印刷
開始によって、プリンタユーザーインタフェースドライ
バ21は、印刷文書メモリ24の印刷文書データファイ
ルを開き、アプリケーション1を通じてスプーラ26に
ユーザーモードで動作する関数群を出力する。
When the setting of the properties according to the print request is completed, the application 1 requests the start of printing. Upon start of printing, the printer user interface driver 21 opens the print document data file in the print document memory 24, and outputs a group of functions operating in the user mode to the spooler 26 through the application 1.

【0070】図9に、以後の印刷データ生成動作のフロ
ーチャートを図示した。先ずステップS1において、ア
プリケーションで印刷実行プログラムを開始させる。関
数群は、グラフィックデバイスインタフェース30に入
力し、図9ステップS2,S3,S4に示したような関
数を処理する。これらの処理は、デバイスコンテキスト
作成処理のための予備処理である。次に、グラフィック
デバイスインタフェース30は、スプーラ26から入力
したデバイスに依存しないデータを、出力デバイスに依
存するデータに変換する(ステップS5)。即ち、これ
から制御しようとするプリンタに適したコマンド群に変
換する。
FIG. 9 shows a flowchart of the subsequent print data generation operation. First, in step S1, a print execution program is started by an application. The function group is input to the graphic device interface 30, and processes the functions as shown in steps S2, S3, and S4 in FIG. These processes are preliminary processes for the device context creation process. Next, the graphic device interface 30 converts the device-independent data input from the spooler 26 into data that depends on the output device (step S5). That is, the command is converted into a command group suitable for the printer to be controlled.

【0071】次に、ステップS6において、印刷イベン
トのフックが行われる。即ち、通常は印刷動作が開始さ
れると、グラフィックデバイスインタフェース30によ
り作成された印刷データを、プリンタグラフィックドラ
イバがビットマップデータに変換し、順にプリンタに転
送するという動作を連続して行う。
Next, in step S6, a print event is hooked. That is, normally, when the printing operation is started, the printer graphic driver converts print data created by the graphic device interface 30 into bitmap data, and sequentially transfers the bitmap data to the printer in order.

【0072】しかしながら、ここでオプションとされた
DrvDocumentEvent()関数をプログラム中に定義しておく
と、印刷イベントを一時的に停止し、ユーザーの指定し
た処理を挟むことができる。ここでは、グラフィックデ
バイスインタフェース30が、プリンタユーザーインタ
フェースドライバ21を呼び出し、プリンタユーザーイ
ンタフェースドライバ21に対しウォーターマークの生
成処理を依頼する。即ち、ここで図1に示したウォータ
ーマーク作成処理部23が呼び出され、動作を開始す
る。
However, it was made optional here.
If the DrvDocumentEvent () function is defined in the program, the print event can be temporarily stopped and the process specified by the user can be inserted. Here, the graphic device interface 30 calls the printer user interface driver 21 and requests the printer user interface driver 21 to perform a watermark generation process. That is, here, the watermark creation processing unit 23 shown in FIG. 1 is called and the operation is started.

【0073】ユーザーモードにおいては、Win32API(ア
プリケーションプログラムインタフェース)が利用でき
る。このWin32APIは、オペレーティングシステムに対し
様々な処理を要求するコマンドで、このコマンドでウォ
ーターマーク作成のためのプログラムを組み立てる。そ
のプログラムをプリンタユーザーインタフェースドライ
バ21のウォーターマーク作成処理部23で実行するよ
うにしている。
In the user mode, a Win32 API (application program interface) can be used. This Win32 API is a command that requests the operating system to perform various processes. This command assembles a program for creating a watermark. The program is executed by the watermark creation processing unit 23 of the printer user interface driver 21.

【0074】図9のステップS7で、これからウォータ
ーマークを付加する処理が必要になると判断すると、ス
テップS8に進む。プリンタユーザーインタフェースド
ライバ21は、デバイス情報メモリ25からデバイス情
報を読み出して、その内容に合うウォーターマークのビ
ットマップデータを作成する。即ち、プリンタグラフィ
ックドライバ31が、ファイルを読み出す機能を持たな
いため、プリンタユーザーインタフェースドライバ21
が、デバイス情報メモリ25からデバイス情報を読み出
し、その内容を利用してウォーターマークのビットマッ
プデータを作成する。
If it is determined in step S7 in FIG. 9 that processing for adding a watermark is necessary, the process proceeds to step S8. The printer user interface driver 21 reads the device information from the device information memory 25 and creates bitmap data of a watermark that matches the content. That is, since the printer graphic driver 31 does not have a function of reading a file, the printer user interface driver 21
Reads the device information from the device information memory 25 and creates the watermark bitmap data using the content.

【0075】次に、プリンタユーザーインタフェースド
ライバ21は、カスタムエスケープ関数をコールする
(ステップS9)。この関数によって、プリンタグラフ
ィックドライバ31が呼び出される。プリンタグラフィ
ックドライバ31は、カスタムエスケープ関数を受け
て、ステップS10において、ウォーターマーク用のバ
ッファを用意する。なお、ステップS10とステップS
13に付けた*印は、プリンタユーザーインタフェース
ドライバ21でなくプリンタグラフィックドライバが実
行する処理であることを明確にするための印である。図
の右側のフローチャートに示すその他の処理は、プリン
タユーザーインタフェースドライバ側で実行する。
Next, the printer user interface driver 21 calls a custom escape function (step S9). With this function, the printer graphic driver 31 is called. Upon receiving the custom escape function, the printer graphic driver 31 prepares a watermark buffer in step S10. Step S10 and step S10
The mark * attached to 13 is a mark for clarifying that the processing is executed by the printer graphic driver instead of the printer user interface driver 21. Other processes shown in the flowchart on the right side of the figure are executed on the printer user interface driver side.

【0076】このステップS10の処理によって、図1
に示したプリンタグラフィックドライバ31に所定のイ
メージバッファ33が設定される。そして、プリンタユ
ーザーインタフェースドライバ21のウォーターマーク
作成処理部23は、このイメージバッファ33に対しウ
ォーターマークのビットマップデータを転送する(ステ
ップS11)。次に、ステップS12において、再びカ
スタムエスケープ関数をコールする。
By the process in step S10, the process shown in FIG.
A predetermined image buffer 33 is set in the printer graphic driver 31 shown in FIG. Then, the watermark creation processing unit 23 of the printer user interface driver 21 transfers the watermark bitmap data to the image buffer 33 (step S11). Next, in step S12, the custom escape function is called again.

【0077】ここまでで、実質的にプリンタユーザーイ
ンタフェースドライバ21におけるウォーターマーク作
成処理部23の処理は終了する。後はプリンタグラフィ
ックドライバ31に処理が渡され、図9ステップS13
のウォーターマーク印刷データと元データの論理和をと
る処理が行われる。
Up to this point, the processing of the watermark creation processing section 23 in the printer user interface driver 21 is substantially completed. Thereafter, the process is passed to the printer graphic driver 31, and the process proceeds to step S13 in FIG.
Of the watermark print data and the original data.

【0078】即ち、図1に示したウォーターマーク重ね
合わせ処理部34が起動し、イメージ生成処理部32で
生成した印刷文書データのビットマップデータと、イメ
ージバッファ33に格納したウォーターマークのビット
マップデータとを重ね合わせて、これをデータ送信処理
部35に転送する。なお、ウォーターマークは、ウォー
ターマークに相当する部分以外の部分は、透明になるよ
うなデータとして処理される。両者を論理和演算するこ
とによって、ウォーターマークの上に印刷文書データが
重ね合わされたイメージが得られる。
That is, the watermark superposition processing section 34 shown in FIG. 1 is activated, and the bitmap data of the print document data generated by the image generation processing section 32 and the bitmap data of the watermark stored in the image buffer 33 are stored. Are transferred to the data transmission processing unit 35. It should be noted that the watermark is processed as data that makes the portion other than the portion corresponding to the watermark transparent. By performing a logical OR operation on the two, an image is obtained in which the print document data is superimposed on the watermark.

【0079】こうして、ステップS14,S15,S1
6の関数処理を行う。これらの処理は、デバイスコンテ
キストを作成するための後処理である。その後、デバイ
ス送信処理部35の動作によって、作成されたビットマ
ップデータが図示しないプリンタに転送され印刷され
る。
Thus, steps S14, S15, S1
6 is performed. These processes are post-processes for creating a device context. Thereafter, by the operation of the device transmission processing section 35, the created bitmap data is transferred to a printer (not shown) and printed.

【0080】〈ウォーターマークの回転〉上記のような
処理において、ウォーターマークに適当な傾斜を与えた
い場合がある。これも、図1に示したプリンタユーザー
インタフェースドライバ21のプロパティ設定処理22
への設定により実行することができる。
<Rotation of Watermark> In the above-described processing, there is a case where it is desired to give a proper inclination to the watermark. This is also a property setting process 22 of the printer user interface driver 21 shown in FIG.
It can be executed by setting to.

【0081】図10には、回転させた文字をウォーター
マークにするための処理フローチャートを示す。この処
理は、図9のステップS8で実行する処理である。従っ
て回転したウォーターマークのビットマップデータは、
生成後そのままプリンタグラフィックドライバ31のイ
メージバッファ33に転送される。まず、ステップS1
において、プリンタユーザーインタフェースドライバ2
1は、既にウォーターマーク設定処理によって作成され
たデバイス情報を再びデバイス情報メモリ25から呼び
出す。なお、このデバイス情報は、一般的な印刷のため
のプロパティも含むデータである。ここからウォーター
マーク情報を取り出す。そして、ステップS2におい
て、フォントオブジェクトを作成する。即ち、ウォータ
ーマークのための文字コードやフォントサイズ等の情報
に基づいて、実際のフォントデータを作成する演算処理
を行う。この演算処理は、ウォーターマークの実際のサ
イズを求めて、回転後のサイズ等を予測するためであ
る。
FIG. 10 shows a processing flowchart for turning a rotated character into a watermark. This process is a process executed in step S8 in FIG. Therefore, the bitmap data of the rotated watermark is
After the generation, it is transferred to the image buffer 33 of the printer graphic driver 31 as it is. First, step S1
In the printer user interface driver 2
1 recalls the device information already created by the watermark setting process from the device information memory 25. Note that this device information is data including properties for general printing. The watermark information is extracted from here. Then, in step S2, a font object is created. That is, arithmetic processing for creating actual font data is performed based on information such as a character code and a font size for a watermark. This calculation process is for obtaining the actual size of the watermark and predicting the size after rotation and the like.

【0082】ステップS3では、文字列の大きさを算出
する。ステップS4では、設定した回転角度で文字を回
転させたときの描画領域を算出する。そして、ステップ
S5で、描画開始位置の算出を行う。ステップS3,S
4,S5の処理について、これを具体的に図解したもの
を図11に示す。
In step S3, the size of the character string is calculated. In step S4, a drawing area when the character is rotated at the set rotation angle is calculated. Then, in step S5, a drawing start position is calculated. Step S3, S
FIG. 11 specifically illustrates the processing of Steps S4 and S5.

【0083】図11には、ウォーターマーク文字列の回
転による描画始点の算出説明図を示す。図には、用紙1
2のイメージとウォーターマーク13のイメージとが表
示されている。この図に示すように、「文字列」という
ウォーターマークは、角度θで傾斜している。このよう
なウォーターマークの印刷を指定する場合には、予めウ
ォーターマーク13のフォントを指定すると共に、その
傾斜をプロパティ設定画面で指定する。
FIG. 11 is a diagram for explaining the calculation of the drawing start point by rotating the watermark character string. In the figure, paper 1
2 and the image of the watermark 13 are displayed. As shown in this figure, the watermark “character string” is inclined at an angle θ. When designating the printing of such a watermark, the font of the watermark 13 is designated in advance, and the inclination of the watermark 13 is designated on the property setting screen.

【0084】図10のステップS2で説明したフォント
オブジェクトの作成処理では、この図面に示すように、
ウォーターマーク13の実際のイメージを演算処理によ
って求める。その文字列の大きさは、図に示すように、
高さがLL、幅がLWといった内容となる。このウォー
ターマーク13の描画範囲は、高さDL、幅DWの領域
になる。DW,DL,LL,LWの関係は、簡単な三角
関数によって図の式1、式2により求めることができ
る。また、描画開始点SP(X,Y)は、図の式3、式
4によって求めることができる。
In the process of creating the font object described in step S2 of FIG. 10, as shown in FIG.
An actual image of the watermark 13 is obtained by arithmetic processing. The size of the character string, as shown in the figure,
The height is LL and the width is LW. The drawing range of the watermark 13 is a region having a height DL and a width DW. The relationship among DW, DL, LL, and LW can be obtained by a simple trigonometric function using Equations 1 and 2 in the figure. Further, the drawing start point SP (X, Y) can be obtained by Expressions 3 and 4 in the drawing.

【0085】即ち、デバイスプロパティによってウォー
ターマークの傾きが設定されている場合、デバイス情報
メモリ25からデバイス情報を読み出しながら、図11
に示した演算処理を行うことによって、そのままウォー
ターマークを所定の傾きで描画することができる。こう
して、描画したビットマップデータを、そのままスプー
ラ26を介してグラフィックデバイスインタフェース3
0に転送する。
That is, when the inclination of the watermark is set by the device property, the device information is read out from the device information memory 25 while FIG.
By performing the arithmetic processing shown in (1), the watermark can be drawn with a predetermined inclination as it is. The bitmap data thus drawn is sent to the graphic device interface 3 via the spooler 26 as it is.
Transfer to 0.

【0086】〈具体例4の効果〉以上により、WindowsN
T4.0の場合であっても、ユーザーモードでウォーターマ
ークのビットマップデータを自由に加工し、DrvDocumen
tEvent()関数によってプリンタグラフィックドライバ3
1とプリンタユーザーインタフェースドライバ21とが
協調して、ウォーターマークのような地模様を印刷文書
データに重ね合わせて、プリンタに供給することができ
る。
<Effect of Specific Example 4> As described above, WindowsN
Even in the case of T4.0, the bitmap data of the watermark can be freely processed in the user mode, and DrvDocumen
Printer graphic driver 3 by tEvent () function
1 and the printer user interface driver 21 can cooperate with each other to superimpose a ground pattern such as a watermark on print document data and supply the print document data to the printer.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明による印刷システムのブロック図であ
る。
FIG. 1 is a block diagram of a printing system according to the present invention.

【図2】プロパティ設定処理部の動作フローチャートで
ある。
FIG. 2 is an operation flowchart of a property setting processing unit.

【図3】具体例1のプリンタドライバの動作フローチャ
ートである。
FIG. 3 is an operation flowchart of the printer driver according to the first embodiment.

【図4】具体例2のプリンタドライバの動作フローチャ
ートである。
FIG. 4 is an operation flowchart of the printer driver according to the second embodiment.

【図5】ウォーターマークの伸縮処理動作説明図であ
る。
FIG. 5 is an explanatory diagram of an expansion / contraction processing operation of a watermark.

【図6】白抜き処理の動作説明図である。FIG. 6 is an explanatory diagram of an operation of a blanking process.

【図7】具体例4の印刷システムブロック図である。FIG. 7 is a block diagram of a printing system according to a fourth embodiment.

【図8】プリンタユーザーインタフェースドライバの動
作フローチャートである。
FIG. 8 is an operation flowchart of the printer user interface driver.

【図9】印刷データ生成動作のフローチャートである。FIG. 9 is a flowchart of a print data generation operation.

【図10】回転させた文字をウォーターマークにするた
めの処理フローチャートである。
FIG. 10 is a processing flowchart for turning a rotated character into a watermark.

【図11】ウォーターマーク文字列の回転による描画始
点の算出動作説明図である。
FIG. 11 is an explanatory diagram of an operation of calculating a drawing start point by rotating a watermark character string.

【符号の説明】 1 アプリケーション 2 グラフィックデバイスインタフェース 3 プリンタドライバ 4 プリンタ 5 イメージ生成処理部 7 プロパティ設定処理部 9 重ね合わせ処理部 10 データ送信処理部 12 用紙 13 ウォーターマーク 14 印刷される画像[Description of Signs] 1 application 2 graphic device interface 3 printer driver 4 printer 5 image generation processing unit 7 property setting processing unit 9 superposition processing unit 10 data transmission processing unit 12 paper 13 watermark 14 image to be printed

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 用紙上に予め印刷されるべき地模様のビ
ットマップデータを指定する地模様設定処理部と、 前記地模様の印刷された用紙上に、前記地模様に重ねて
印刷されるべき任意の画像のビットマップデータを生成
するイメージ生成処理部と、 前記地模様設定処理部の出力する地模様のビットマップ
データと、前記イメージ生成処理部の出力する画像のビ
ットマップデータとを重ね合わせて印刷部に供給する重
ね合わせ処理部とを備えたことを特徴とする印刷システ
ム。
1. A ground pattern setting processing unit for designating bitmap data of a ground pattern to be printed on paper in advance, and a ground pattern is to be printed on the ground pattern printed paper on the paper. An image generation processing unit that generates bitmap data of an arbitrary image; a bitmap data of the ground pattern output by the ground pattern setting processing unit; and a bitmap data of an image output by the image generation processing unit. And a superposition processing section for supplying the printing section to the printing section.
【請求項2】 プリンタに印刷用データを供給するプリ
ンタドライバ中に、 用紙上に予め印刷されるべき地模様のビットマップデー
タを指定する地模様設定処理部と、 前記地模様の印刷された用紙上に、前記地模様に重ねて
印刷されるべき任意の画像のビットマップデータを生成
するイメージ生成処理部と、 前記地模様設定処理部の出力する地模様のビットマップ
データと、前記イメージ生成処理部の出力する画像のビ
ットマップデータとを重ね合わせてプリンタに供給する
重ね合わせ処理部とを備えたことを特徴とする印刷シス
テム。
2. A ground pattern setting processing unit for designating bitmap data of a ground pattern to be printed on paper in a printer driver for supplying printing data to a printer, and a paper on which the ground pattern is printed. An image generation processing unit that generates bitmap data of an arbitrary image to be printed on the ground pattern, a bitmap data of the ground pattern output from the ground pattern setting processing unit, and the image generation processing A superimposition processing unit that superimposes bitmap data of an image output from the unit and supplies the superimposed image data to a printer.
【請求項3】 請求項2に記載の印刷システムにおい
て、 地模様設定処理部における地模様の指定は、プリンタド
ライバのプロパティ設定により行われることを特徴とす
る印刷システム。
3. The printing system according to claim 2, wherein the designation of the ground pattern in the ground pattern setting processing section is performed by property setting of a printer driver.
【請求項4】 請求項2に記載の印刷システムにおい
て、 地模様設定処理部は、 用紙サイズに対応させて前記地模様のビットマップデー
タを伸縮処理することを特徴とする印刷システム。
4. The printing system according to claim 2, wherein the ground pattern setting processing unit expands and contracts the bitmap data of the ground pattern in correspondence with a paper size.
【請求項5】 請求項2に記載の印刷システムにおい
て、 地模様設定処理部は、 用紙の指定された印刷領域のサイズに対応させて前記地
模様のビットマップデータを伸縮処理することを特徴と
する印刷システム。
5. The printing system according to claim 2, wherein the ground pattern setting processing unit expands and contracts the bitmap data of the ground pattern in accordance with the size of the designated print area of the paper. Printing system.
【請求項6】 請求項2に記載の印刷システムにおい
て、 重ね合わせ処理部は、 地模様のビットマップデータ中の、その上に重なる画像
のビットマップデータの輪郭部分を白抜き処理すること
を特徴とする印刷システム。
6. The printing system according to claim 2, wherein the superimposition processing unit performs a whitening process on an outline portion of bitmap data of an image superimposed thereon in the bitmap data of the ground pattern. And printing system.
【請求項7】 プリンタに印刷用データを供給するプリ
ンタドライバであって、 用紙上に予め印刷されるべき地模様のビットマップデー
タを指定する地模様設定処理機能と、 前記地模様の印刷された用紙上に、前記地模様に重ねて
印刷されるべき任意の画像のビットマップデータを生成
するイメージ生成処理機能と、 前記地模様設定処理部の出力する地模様のビットマップ
データと、前記イメージ生成処理部の出力する画像のビ
ットマップデータとを重ね合わせてプリンタに供給する
重ね合わせ処理機能とを備えたコンピュータプログラム
を記録した、 コンピュータ読み取り可能な記録媒体。
7. A printer driver for supplying print data to a printer, comprising: a ground pattern setting processing function for designating bit map data of a ground pattern to be printed on paper in advance; An image generation processing function for generating bitmap data of an arbitrary image to be printed over the ground pattern on paper; a bitmap data of the ground pattern output by the ground pattern setting processing unit; A computer-readable recording medium which records a computer program having a superposition processing function of superimposing bitmap data of an image output by a processing unit and supplying the superimposed bitmap data to a printer.
【請求項8】 ユーザーモードで動作するアプリケーシ
ョンと、 このアプリケーションにより起動されてユーザーモード
で動作するプリンタユーザーインタフェースドライバ
と、 カーネルモードで動作するプリンタグラフィックドライ
バとを備え、 前記アプリケーションは、任意の文書から成る印刷文書
データを作成し、 前記プリンタユーザーインタフェースドライバは、前記
印刷文書データの印刷要求に伴って設定されたドライバ
プロパティに基づいて、前記印刷文書データと重ね合わ
せて印刷をされる地模様を描画するためのデバイス情報
を作成し、 前記プリンタグラフィックドライバは、 前記アプリケーションの印刷要求に伴って入力する関数
群を解釈して前記印刷文書データに対応する文書用ビッ
トマップデータを生成するとともに、 前記関数群に含まれる所定の呼び出し処理関数により、
前記ユーザーインタフェースドライバが前記デバイス情
報に基づいて生成した地模様に対応するビットマップデ
ータをバッファに受け入れて格納し、さらに、このバッ
ファに格納したビットマップデータと前記文書用ビット
マップデータとを重ね合わせ処理してプリンタに供給す
ることを特徴とする印刷システム。
8. An application which operates in a user mode, a printer user interface driver which is activated by the application and operates in a user mode, and a printer graphic driver which operates in a kernel mode. The printer user interface driver draws a ground pattern to be printed by being superimposed on the print document data based on a driver property set according to a print request of the print document data. The printer graphic driver interprets a function group input in response to a print request of the application to generate document bitmap data corresponding to the print document data. By a predetermined call processing function included in the function group,
The user interface driver receives and stores bitmap data corresponding to the ground pattern generated based on the device information in the buffer, and further superimposes the bitmap data stored in the buffer and the bitmap data for the document. A printing system for processing and supplying the processed data to a printer.
【請求項9】 請求項8に記載の印刷システムにおい
て、 プリンタグラフィックドライバは、アプリケーションの
印刷要求に伴って入力する関数群に含まれる、印刷イベ
ントをフックする関数により、ユーザーインタフェース
ドライバを呼び出し、 ユーザーインタフェースドライバは、アプリケーション
プログラムインタフェースによりデバイス情報から地模
様のビットマップデータを生成し、 プリンタグラフィックドライバは、ユーザーインタフェ
ースドライバからの要求に従って、前記地模様に対応す
るビットマップデータを格納するバッファを用意し、 ユーザーインタフェースドライバは、前記地模様のビッ
トマップデータを前記バッファへ出力し、 前記プリンタグラフィックドライバは、前記ユーザーイ
ンタフェースドライバの要求により、前記地模様のビッ
トマップデータと前記文書用ビットマップデータとを論
理和処理により重ね合わせて、プリンタに供給すること
を特徴とする印刷システム。
9. The printing system according to claim 8, wherein the printer graphic driver calls a user interface driver by a function for hooking a print event included in a function group input in response to a print request from the application. The interface driver generates bitmap data of the ground pattern from the device information by the application program interface. The printer graphic driver prepares a buffer for storing the bitmap data corresponding to the ground pattern according to a request from the user interface driver. A user interface driver that outputs the bitmap data of the ground pattern to the buffer; Accordingly, the bit map data and the document bit map data of the background pattern superimposed by ORing, printing system and supplying to the printer.
【請求項10】 請求項8に記載の印刷システムにおい
て、 ユーザーインタフェースドライバは、地模様を描画する
場合にその回転角が指定されたとき、デバイス情報か
ら、前記回転角に応じた自模様の描画領域と描画開始位
置とを算出して、生成したビットマップデータを順次プ
リンタグラフィックドライバに向けて出力することを特
徴とする印刷システム。
10. The printing system according to claim 8, wherein the user interface driver draws a self-pattern corresponding to the rotation angle from device information when the rotation angle is designated when the ground pattern is drawn. A printing system which calculates an area and a drawing start position, and sequentially outputs the generated bitmap data to a printer graphic driver.
【請求項11】 ユーザーモードで動作するアプリケー
ションと、 このアプリケーションにより起動されてユーザーモード
で動作するプリンタユーザーインタフェースドライバ
と、 カーネルモードで動作するプリンタグラフィックドライ
バとを備え、 前記アプリケーションは、任意の文書から成る印刷文書
データを作成し、 前記プリンタユーザーインタフェースドライバは、前記
印刷文書データの印刷要求に伴って設定されたドライバ
プロパティに基づいて、前記印刷文書データと重ね合わ
せて印刷をされる地模様を描画するためのデバイス情報
を作成し、 前記プリンタグラフィックドライバは、 前記アプリケーションの印刷要求に伴って入力する関数
群を解釈して前記印刷文書データに対応する文書用ビッ
トマップデータを生成するとともに、 前記関数群に含まれる所定の呼び出し処理関数により、
前記ユーザーインタフェースドライバが前記デバイス情
報に基づいて生成した地模様に対応するビットマップデ
ータをバッファに受け入れて格納し、さらに、このバッ
ファに格納したビットマップデータと前記文書用ビット
マップデータとを重ね合わせ処理してプリンタに供給す
る機能を持つコンピュータプログラムを記録した、 コンピュータ読み取り可能な記録媒体。
11. An application which operates in a user mode, a printer user interface driver which is activated by the application and operates in a user mode, and a printer graphic driver which operates in a kernel mode, wherein the application is provided from an arbitrary document. The printer user interface driver draws a ground pattern to be printed by being superimposed on the print document data based on a driver property set according to a print request of the print document data. The printer graphic driver interprets a function group input in response to a print request of the application and generates document bitmap data corresponding to the print document data. In addition, by a predetermined call processing function included in the function group,
The user interface driver receives and stores bitmap data corresponding to the ground pattern generated based on the device information in the buffer, and further superimposes the bitmap data stored in the buffer and the bitmap data for the document. A computer-readable recording medium that records a computer program having a function of processing and supplying the processed program to a printer.
JP11785198A 1998-04-13 1998-04-13 Printing system Expired - Lifetime JP3680109B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11785198A JP3680109B2 (en) 1998-04-13 1998-04-13 Printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11785198A JP3680109B2 (en) 1998-04-13 1998-04-13 Printing system

Publications (2)

Publication Number Publication Date
JPH11298717A true JPH11298717A (en) 1999-10-29
JP3680109B2 JP3680109B2 (en) 2005-08-10

Family

ID=14721865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11785198A Expired - Lifetime JP3680109B2 (en) 1998-04-13 1998-04-13 Printing system

Country Status (1)

Country Link
JP (1) JP3680109B2 (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293339A (en) * 1999-04-02 2000-10-20 Seiko Epson Corp Method and device for controlling printing and recording medium
GB2360893A (en) * 2000-03-28 2001-10-03 Software 2000 Ltd Incorporating a fingerprint in a document at the printer driver
JP2003530652A (en) * 2000-04-11 2003-10-14 オーセ プリンティング システムズ ゲゼルシャフト ミットベシュレンクテル ハフツング Method for creating and outputting at least one printed page
JP2005182755A (en) * 2003-11-27 2005-07-07 Canon Inc Printing system, print data generating method and program
JP2005284933A (en) * 2004-03-30 2005-10-13 Brother Ind Ltd Printer
JP2007048159A (en) * 2005-08-11 2007-02-22 Brother Ind Ltd Information processing device and program
JP2007048160A (en) * 2005-08-11 2007-02-22 Brother Ind Ltd Information processing device and program
WO2007049337A1 (en) * 2005-10-25 2007-05-03 Fujitsu Limited Printed image producing program, recording medium thereof, and printed image producing method
JP2008158736A (en) * 2006-12-22 2008-07-10 Brother Ind Ltd Print control device, program and recording medium
US7493491B2 (en) 2002-12-27 2009-02-17 Panasonic Communications Co., Ltd. Server, a terminal apparatus and an image management method
JP2009253804A (en) * 2008-04-09 2009-10-29 Brother Ind Ltd Image processing device, image forming device, and image processing program
US7751080B2 (en) 2000-03-03 2010-07-06 Brother Kogyo Kabushiki Kaisha Data generating device capable of appending different watermarks to corresponding pages
US7791762B2 (en) 2006-03-24 2010-09-07 Oki Data Corporation Image forming apparatus and image forming system
US7869097B2 (en) 2005-06-27 2011-01-11 Brother Kogyo Kabushiki Kaisha Print controlling program and print system for transparent-printing second print data in superposition on first print data
US8041693B2 (en) 2006-08-25 2011-10-18 Brother Kogyo Kabushiki Kaisha Storing image data in and retrieving image data from memory in print controlling system
JP2012023749A (en) * 2003-10-10 2012-02-02 Canon Inc Processing apparatus and processing method
US8374520B2 (en) 2009-01-23 2013-02-12 Brother Kogyo Kabushiki Kaisha Image forming apparatus
JP2013196372A (en) * 2012-03-19 2013-09-30 Ricoh Co Ltd Program, information processing device, and storage medium
JP2015041268A (en) * 2013-08-22 2015-03-02 株式会社リコー Program, information processor, and image processing system
JP2019137042A (en) * 2018-02-06 2019-08-22 独立行政法人 国立印刷局 Variable information printed matter and method for creating variable information printed matter data

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293339A (en) * 1999-04-02 2000-10-20 Seiko Epson Corp Method and device for controlling printing and recording medium
US7751080B2 (en) 2000-03-03 2010-07-06 Brother Kogyo Kabushiki Kaisha Data generating device capable of appending different watermarks to corresponding pages
GB2360893A (en) * 2000-03-28 2001-10-03 Software 2000 Ltd Incorporating a fingerprint in a document at the printer driver
GB2379119B (en) * 2000-03-28 2004-12-08 Software 2000 Ltd Document marking
JP2003530652A (en) * 2000-04-11 2003-10-14 オーセ プリンティング システムズ ゲゼルシャフト ミットベシュレンクテル ハフツング Method for creating and outputting at least one printed page
US7493491B2 (en) 2002-12-27 2009-02-17 Panasonic Communications Co., Ltd. Server, a terminal apparatus and an image management method
JP2012023749A (en) * 2003-10-10 2012-02-02 Canon Inc Processing apparatus and processing method
JP4481779B2 (en) * 2003-11-27 2010-06-16 キヤノン株式会社 Printing system, printing data generation method, and program
JP2005182755A (en) * 2003-11-27 2005-07-07 Canon Inc Printing system, print data generating method and program
JP2005284933A (en) * 2004-03-30 2005-10-13 Brother Ind Ltd Printer
US7869097B2 (en) 2005-06-27 2011-01-11 Brother Kogyo Kabushiki Kaisha Print controlling program and print system for transparent-printing second print data in superposition on first print data
US7676057B2 (en) 2005-08-11 2010-03-09 Brother Kogyo Kabushiki Kaisha Information processing device
US7643651B2 (en) 2005-08-11 2010-01-05 Brother Kogyo Kabushiki Kaisha Information processing device
JP2007048159A (en) * 2005-08-11 2007-02-22 Brother Ind Ltd Information processing device and program
JP4596156B2 (en) * 2005-08-11 2010-12-08 ブラザー工業株式会社 Information processing apparatus and program
JP2007048160A (en) * 2005-08-11 2007-02-22 Brother Ind Ltd Information processing device and program
JPWO2007049337A1 (en) * 2005-10-25 2009-04-30 富士通株式会社 Print image generation program, recording medium thereof, and print image generation method
WO2007049337A1 (en) * 2005-10-25 2007-05-03 Fujitsu Limited Printed image producing program, recording medium thereof, and printed image producing method
JP4620741B2 (en) * 2005-10-25 2011-01-26 富士通株式会社 Print image generation program, recording medium thereof, and print image generation method
US7894092B2 (en) 2005-10-25 2011-02-22 Fujitsu Limited Computer-readable recording medium storing print image generating program and print image generating method
US7791762B2 (en) 2006-03-24 2010-09-07 Oki Data Corporation Image forming apparatus and image forming system
US8041693B2 (en) 2006-08-25 2011-10-18 Brother Kogyo Kabushiki Kaisha Storing image data in and retrieving image data from memory in print controlling system
JP4492608B2 (en) * 2006-12-22 2010-06-30 ブラザー工業株式会社 Print control apparatus, program, and recording medium
JP2008158736A (en) * 2006-12-22 2008-07-10 Brother Ind Ltd Print control device, program and recording medium
US8159723B2 (en) 2006-12-22 2012-04-17 Brother Kogyo Kabushiki Kaisha Print control device and recording medium containing program for controlling printing device
JP4618316B2 (en) * 2008-04-09 2011-01-26 ブラザー工業株式会社 Image processing apparatus, image forming apparatus, and image processing program
JP2009253804A (en) * 2008-04-09 2009-10-29 Brother Ind Ltd Image processing device, image forming device, and image processing program
US8405881B2 (en) 2008-04-09 2013-03-26 Brother Kogyo Kabushiki Kaisha Image processing device with an additional image overlaying function
US8374520B2 (en) 2009-01-23 2013-02-12 Brother Kogyo Kabushiki Kaisha Image forming apparatus
JP2013196372A (en) * 2012-03-19 2013-09-30 Ricoh Co Ltd Program, information processing device, and storage medium
JP2015041268A (en) * 2013-08-22 2015-03-02 株式会社リコー Program, information processor, and image processing system
JP2019137042A (en) * 2018-02-06 2019-08-22 独立行政法人 国立印刷局 Variable information printed matter and method for creating variable information printed matter data

Also Published As

Publication number Publication date
JP3680109B2 (en) 2005-08-10

Similar Documents

Publication Publication Date Title
JP3680109B2 (en) Printing system
US7298510B2 (en) Image enlargement through poster printing by combining pattern data with image data
US20120105873A1 (en) Information processing apparatus, information processing method and printing control method
JP3492068B2 (en) Print control method and apparatus
JP2009188816A (en) Printer driver and image forming apparatus
JP2001063155A (en) Printer host, print command generator and medium storing program
JP3175498B2 (en) Black area identification method for ink jet color printing
JPH04128970A (en) Document processing system
JP4709317B2 (en) Information processing apparatus, information processing method, and print control program
JPS59180678A (en) Method for controlling page printer
JP4109836B2 (en) Print data generation method, print data generation apparatus, computer program, and storage medium
JP3897539B2 (en) Print data generation method and apparatus
JP3636891B2 (en) Color image output method
JP3209859B2 (en) Printing equipment
JP4997924B2 (en) Print data generation apparatus and print data generation method
JP3862460B2 (en) Information processing method and apparatus, and storage medium
JP2005038084A (en) Method and device for converting drawing data
JP2000293339A (en) Method and device for controlling printing and recording medium
JP3220437B2 (en) Output control device and method
JPH0844513A (en) Print control device and method therefor
JP2974638B2 (en) Document processing apparatus and method
JP2005182267A (en) Print controller
JP3695093B2 (en) PRINT PROCESSING SYSTEM, PRINT PROCESSING METHOD, COMPUTER-READABLE RECORDING MEDIUM CONTAINING PRINT PROCESSING CONTROL PROGRAM, AND DATA CONVERSION DEVICE USED FOR PRINT PROCESSING SYSTEM
JPH1075352A (en) Print control method and its device, and print system including the device
JP2009145979A (en) Data processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040810

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20041026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041118

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041221

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050414

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080527

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090527

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100527

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100527

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110527

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120527

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130527

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140527

Year of fee payment: 9

EXPY Cancellation because of completion of term