JP6186926B2 - Program and information processing apparatus - Google Patents

Program and information processing apparatus Download PDF

Info

Publication number
JP6186926B2
JP6186926B2 JP2013128638A JP2013128638A JP6186926B2 JP 6186926 B2 JP6186926 B2 JP 6186926B2 JP 2013128638 A JP2013128638 A JP 2013128638A JP 2013128638 A JP2013128638 A JP 2013128638A JP 6186926 B2 JP6186926 B2 JP 6186926B2
Authority
JP
Japan
Prior art keywords
log data
print data
drawing area
image
excluded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013128638A
Other languages
Japanese (ja)
Other versions
JP2015005040A (en
Inventor
良 安井
良 安井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2013128638A priority Critical patent/JP6186926B2/en
Publication of JP2015005040A publication Critical patent/JP2015005040A/en
Application granted granted Critical
Publication of JP6186926B2 publication Critical patent/JP6186926B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は,プログラムおよび情報処理装置に関する。さらに詳細には,情報処理装置が,印刷装置に画像を印刷させる印刷ジョブに関する情報を記録するログデータを生成する技術に関するものである。   The present invention relates to a program and an information processing apparatus. More specifically, the present invention relates to a technique for generating log data in which an information processing apparatus records information about a print job that causes a printing apparatus to print an image.

従来から,パーソナルコンピュータ(PC)等の情報処理装置から印刷装置に印刷データを送信し,印刷装置に当該印刷データに基づく印刷を行わせる際,情報処理装置にてその印刷に関する情報をログデータとして生成し,そのログデータを含むファイルを記憶装置に保存する技術が知られている。   Conventionally, when print data is transmitted from an information processing apparatus such as a personal computer (PC) to a printing apparatus, and the printing apparatus performs printing based on the print data, information related to the printing is used as log data in the information processing apparatus. A technique for generating and storing a file including the log data in a storage device is known.

上述の技術を開示した文献としては,例えば特許文献1がある。特許文献1では,プリンタ(印刷装置)と,ホスト(情報処理装置)と,サーバとを備えるシステムであって,ホストが印刷データとその印刷データに対応するログデータとを生成し,プリンタが印刷データに基づく印刷を行い,サーバがログデータを管理する技術が開示されている。   As a document disclosing the above technique, for example, there is Patent Document 1. In Patent Document 1, a system including a printer (printing device), a host (information processing device), and a server, the host generates print data and log data corresponding to the print data, and the printer prints A technique for performing printing based on data and managing log data by a server is disclosed.

特開2009−110268号公報JP 2009-110268 A

しかしながら,前記した従来の技術には,次のような問題があった。すなわち,ログデータに残す情報と残さない情報とを選ぶことができない。例えば,メモリ領域が少ない装置では,画像情報のようなデータサイズが大きい情報をログデータに残さない方が好ましい場合もある。また,例えば,個人情報が含まれるテキスト情報をログデータに残さない方が好ましい場合もある。   However, the conventional technique described above has the following problems. That is, it is not possible to select information that remains in log data and information that does not remain. For example, in an apparatus having a small memory area, it may be preferable not to leave large information such as image information in log data. For example, it may be preferable not to leave text information including personal information in log data.

本発明は,前記した従来の技術が有する問題点を解決するためになされたものである。すなわちその課題とするところは,印刷に関するログデータを保存する場合に,ログデータに記憶する情報を選択できるプログラムおよび情報処理装置を提供することにある。   The present invention has been made to solve the above-described problems of the prior art. That is, an object of the present invention is to provide a program and an information processing apparatus capable of selecting information stored in log data when storing log data related to printing.

この課題の解決を目的としてなされたプログラムは,情報処理装置に,印刷対象の画像に基づくオブジェクトの描画命令を受け付ける受付処理と,前記受付処理にて受け付けられた描画命令に基づいて,印刷データを生成する印刷データ生成処理と,前記印刷データ生成処理にて生成された印刷データを,印刷装置に出力する出力処理と,ログデータに残さないオブジェクトである特定オブジェクトの設定を取得する取得処理と,前記受付処理にて受け付けられた描画命令に基づいて,前記特定オブジェクトの存在が残らない,前記印刷データに対応するログデータを生成するログデータ生成処理と,前記ログデータ生成処理にて生成されたログデータを,記憶装置に記憶させる記憶処理とを実行させることを特徴としている。   A program designed to solve this problem includes a receiving process for receiving an object drawing command based on an image to be printed, and print data based on the drawing command received in the receiving process. A print data generation process to be generated; an output process for outputting the print data generated in the print data generation process to a printing device; an acquisition process for acquiring a setting of a specific object that is an object not to be left in log data; Based on the drawing command received in the receiving process, the specific object does not remain, log data generating process for generating log data corresponding to the print data, and the log data generating process It is characterized by executing a storage process for storing log data in a storage device.

本明細書に開示されるプログラムによって,情報処理装置は,オブジェクトの描画命令に基づいて,印刷データおよび当該印刷データに対応する画像を記憶するログデータを生成する。そして,情報処理装置は,ログデータを記憶装置に記憶し,印刷データを印刷装置に送信する。記憶装置は,自装置に内蔵されるメモリであってもよいし,サーバ,外部ストレージ等の他装置であってもよい。さらに,本明細書に開示されるプログラムによって,情報処理装置は,ログデータについて,テキストや画像等の,特定オブジェクトの存在が残らないログデータを生成する。特定オブジェクトの設定は,あらかじめ装置(プログラム)に設定された固定情報であってもよいし,ユーザによって設定される情報であってもよい。   With the program disclosed in this specification, the information processing apparatus generates log data that stores print data and an image corresponding to the print data based on an object drawing command. Then, the information processing apparatus stores log data in the storage device and transmits print data to the printing device. The storage device may be a memory built in the device itself, or may be another device such as a server or an external storage. Further, according to the program disclosed in this specification, the information processing apparatus generates log data such as text or image that does not leave the presence of a specific object. The setting of the specific object may be fixed information set in advance in the device (program) or information set by the user.

すなわち,本明細書に開示されるプログラムでは,オブジェクトの描画命令に基づいて生成されるログデータを,情報処理装置に,特定オブジェクトの存在が残らないように生成させる。これにより,本明細書に開示されるプログラムでは,ログデータに記憶する情報を選択できるようになる。   In other words, the program disclosed in this specification causes the information processing apparatus to generate log data generated based on an object drawing command so that no particular object remains. As a result, the program disclosed in this specification can select information to be stored in the log data.

例えば,前記ログデータ生成処理では,前記受付処理にて受け付けられた描画命令に,前記特定オブジェクトを描画する命令が含まれるか否かを判断し,前記特定オブジェクトを描画する命令が含まれる場合には,当該命令に対応する描画処理を実行しないことで,前記特定オブジェクトの存在を残さないようにできる。あるいは,前記ログデータ生成処理では,前記受付処理にて受け付けられた描画命令に,前記特定オブジェクトを描画する命令が含まれるか否かを判断し,前記特定オブジェクトを描画する命令が含まれる場合には,当該命令に対応する描画処理を実行した後,当該特定オブジェクトが描画された場所を背景色にすることで,前記特定オブジェクトの存在を残さないようにできる。   For example, in the log data generation process, it is determined whether or not the drawing command received in the receiving process includes a command to draw the specific object, and when the command to draw the specific object is included Can not leave the existence of the specific object by not executing the drawing process corresponding to the command. Alternatively, in the log data generation process, it is determined whether or not the drawing command received in the receiving process includes a command to draw the specific object, and when the command to draw the specific object is included After the drawing process corresponding to the command is executed, the place where the specific object is drawn is set as a background color so that the existence of the specific object can be prevented.

また,本明細書に開示されるプログラムは,前記特定オブジェクトの設定を受け付ける設定受付処理を,前記情報処理装置に実行させ,前記取得処理では,前記設定受付処理にて受け付けられた設定を取得するとよい。特定オブジェクトの設定についてユーザによる設定を受け付けられることで,ログデータに記憶される情報の自由度が大きくなり,利便性が高まる。   Further, the program disclosed in the present specification causes the information processing apparatus to execute a setting reception process for receiving the setting of the specific object, and the acquisition process acquires the setting received in the setting reception process. Good. By accepting the setting by the user for the setting of the specific object, the degree of freedom of the information stored in the log data is increased and the convenience is improved.

また,前記取得処理では,例えば,前記特定オブジェクトとしてテキストオブジェクトの設定を取得するとよい。これにより,ログデータにテキスト情報を残さないようにできる。さらに前記取得処理では,前記特定オブジェクトとして特定のキーワードが含まれるテキストオブジェクトの設定を取得するとよい。文字列中のキーワードを特定できることで,テキストオブジェクトのうちキーワードを含む文字列を残さないようにでき,ログデータに記憶する情報の自由度がより大きくなり,利便性がさらに高まる。   In the acquisition process, for example, the setting of a text object may be acquired as the specific object. As a result, no text information is left in the log data. Furthermore, in the acquisition process, the setting of a text object including a specific keyword as the specific object may be acquired. Since the keyword in the character string can be specified, it is possible to prevent the character string including the keyword from being left in the text object, and the degree of freedom of information stored in the log data is further increased and the convenience is further enhanced.

また,前記取得処理では,例えば,前記特定オブジェクトとして画像オブジェクトの設定を取得するとよい。画像オブジェクトには,イメージもグラフィクスも含まれる。また,前記取得処理では,例えば,前記特定オブジェクトとして印刷対象の画像のうち特定の範囲内に位置するオブジェクトの設定を取得するとよい。これらにより,ログデータに画像情報や特定範囲内に描かれるオブジェクトの情報を残さないようにできる。   In the acquisition process, for example, the setting of an image object as the specific object may be acquired. Image objects include both images and graphics. In the acquisition process, for example, the setting of an object positioned within a specific range in the image to be printed may be acquired as the specific object. As a result, it is possible to prevent the log data from leaving image information or information on objects drawn within a specific range.

また,本明細書には,他装置との間で通信を行う通信部と,制御部とを備え,前記制御部は,印刷対象の画像に基づくオブジェクトの描画命令を受け付ける受付処理と,前記受付処理にて受け付けられた描画命令に基づいて,印刷データを生成する印刷データ生成処理と,前記印刷データ生成処理にて生成された印刷データを,前記通信部を介して印刷装置に出力する出力処理と,ログデータに残さないオブジェクトである特定オブジェクトの設定を取得する取得処理と,前記受付処理にて受け付けられた描画命令に基づいて,前記特定オブジェクトの存在が残らない,前記印刷データに対応するログデータを生成するログデータ生成処理と,前記ログデータ生成処理にて生成されたログデータを,記憶装置に記憶させる記憶処理とを実行することを特徴とする情報処理装置が開示されている。   The present specification further includes a communication unit that communicates with another device, and a control unit. The control unit receives a drawing command for an object based on an image to be printed, and the reception unit. Print data generation processing for generating print data based on the drawing command received in the processing, and output processing for outputting the print data generated in the print data generation processing to the printing apparatus via the communication unit Corresponding to the print data in which the existence of the specific object does not remain based on the acquisition process for acquiring the setting of the specific object which is an object not to be left in the log data and the drawing command received in the reception process A log data generation process for generating log data and a storage process for storing the log data generated in the log data generation process in a storage device are executed. The information processing apparatus according to claim is disclosed that.

本発明によれば,印刷に関するログデータを保存する場合に,印刷画像に含まれる特定の情報の漏洩リスクを軽減できるプログラムおよび情報処理装置が実現される。   According to the present invention, a program and an information processing apparatus that can reduce the risk of leakage of specific information included in a print image when storing log data related to printing are realized.

実施の形態に係るプリントシステムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a print system according to an embodiment. 実施の形態に係るプリントシステムの印刷手順を示すブロック図である。It is a block diagram which shows the printing procedure of the printing system which concerns on embodiment. ログ設定画面の構成を示す図である。It is a figure which shows the structure of a log setting screen. 第1の形態にかかるプリンタドライバの印刷処理の手順を示すフローチャートである。4 is a flowchart illustrating a print processing procedure of the printer driver according to the first embodiment. 第2の形態にかかるプリンタドライバの印刷処理の手順を示すフローチャートである。10 is a flowchart illustrating a print processing procedure of a printer driver according to a second embodiment.

以下,本発明にかかる装置を具体化した実施の形態について,添付図面を参照しつつ詳細に説明する。本形態は,プリンタと,そのプリンタ用のプリンタドライバが組み込まれたパーソナルコンピュータ(PC)とを有するプリントシステムに本発明を適用したものである。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments embodying an apparatus according to the present invention will be described below in detail with reference to the accompanying drawings. In this embodiment, the present invention is applied to a printing system having a printer and a personal computer (PC) in which a printer driver for the printer is incorporated.

[プリントシステムの構成]
本形態のプリントシステム100は,図1に示すように,プリンタ2(印刷装置の一例)と,プリンタ2を制御するPC1(情報処理装置の一例)とを備えている。プリントシステム100では,PC1とプリンタ2とがUSBケーブルを介して接続されている。
[Print system configuration]
As shown in FIG. 1, the printing system 100 of this embodiment includes a printer 2 (an example of a printing apparatus) and a PC 1 (an example of an information processing apparatus) that controls the printer 2. In the print system 100, the PC 1 and the printer 2 are connected via a USB cable.

なお,プリントシステム100を構成するプリンタおよびPCは各1台に限るものではなく,それぞれ複数台接続してもよい。また,PC1とプリンタ2との接続は,USBケーブルに限らず,その他のシリアル通信ケーブル,パラレル通信ケーブル,有線LANケーブル,さらには無線LAN等の無線通信であってもよい。   Note that the number of printers and PCs constituting the printing system 100 is not limited to one, and a plurality of printers and PCs may be connected. Further, the connection between the PC 1 and the printer 2 is not limited to the USB cable, but may be other serial communication cable, parallel communication cable, wired LAN cable, or wireless communication such as a wireless LAN.

PC1は,各種処理を実行するCPU11と,当該PC1の起動時にCPU11が行う起動処理のプログラム(BIOS)等を記憶したROM12と,CPU11が各種処理を行う際に一時的な記憶領域として利用されるRAM13と,各種のプログラムやデータを記憶したハードディスクドライブ(HDD)14(記憶装置の一例)とを有するコントローラ30を備えている。なお,図1中のコントローラ30は,CPU11等,プリンタの制御に利用されるハードウェアを纏めた総称であって,実際にプリンタに存在する単一のハードウェアと表すとは限らない。CPU11は,制御部の一例である。なお,コントローラ30が制御部であってもよい。   The PC 1 is used as a temporary storage area when the CPU 11 that executes various processes, a ROM 12 that stores a program (BIOS) of a startup process performed by the CPU 11 when the PC 1 is started, and the CPU 11 performs various processes. A controller 30 having a RAM 13 and a hard disk drive (HDD) 14 (an example of a storage device) storing various programs and data is provided. Note that the controller 30 in FIG. 1 is a collective term for hardware used for controlling the printer, such as the CPU 11, and is not necessarily represented as a single piece of hardware that actually exists in the printer. The CPU 11 is an example of a control unit. The controller 30 may be a control unit.

また,PC1は,キーボードやマウス等からなる操作部15と,液晶ディスプレイ等からなる表示部16と,USBインターフェース17と,ネットワークインターフェース18とを有し,これらがコントローラ30によって制御される。USBインターフェース17はUSBケーブルを介して接続された装置と通信を行うためのハードウェアである。ネットワークインターフェース18はLANケーブルを介して接続された装置と通信を行うためのハードウェアである。USBインターフェース17ないしネットワークインターフェース18は,通信部の一例である。   The PC 1 includes an operation unit 15 including a keyboard and a mouse, a display unit 16 including a liquid crystal display, a USB interface 17, and a network interface 18, which are controlled by the controller 30. The USB interface 17 is hardware for communicating with a device connected via a USB cable. The network interface 18 is hardware for communicating with a device connected via a LAN cable. The USB interface 17 or the network interface 18 is an example of a communication unit.

PC1には,オペレーティングシステム(OS)と,アプリケーションプログラム(文書作成ソフト,作図ソフト,表計算ソフト,写真データ編集ソフト等)と,プリンタ2を制御するプリンタドライバ(プログラムの一例)とが記憶されている。なお,各種プログラムはCD−ROMなどの記憶媒体に記憶されているものをインストールしてもよいし,ネットワーク上のサーバに記憶されているものをダウンロードしてインストールしてもよい。   The PC 1 stores an operating system (OS), application programs (document creation software, drawing software, spreadsheet software, photo data editing software, etc.), and a printer driver (an example of a program) that controls the printer 2. Yes. Various programs stored in a storage medium such as a CD-ROM may be installed, or programs stored in a server on the network may be downloaded and installed.

プリンタ2は,用紙に画像を形成する機能を有していればよく,その画像形成方式は,電子写真方式,インクジェット方式,その他の一般的な画像形成方式を採用していればよい。また,カラー画像及びモノクロ画像の画像形成が可能であっても,モノクロ画像のみの画像形成が可能であってもよい。   The printer 2 only needs to have a function of forming an image on a sheet, and the image forming method may be an electrophotographic method, an ink jet method, or another general image forming method. Further, even if a color image and a monochrome image can be formed, only a monochrome image may be formed.

[PCの動作]
続いて,本形態のプリントシステム100にて印刷を行う際の,PC1の動作について,図2のブロック図を参照しつつ説明する。なお,図2中,グラフィックエンジン51,スプーラ52は,OSの一部として提供される。
[PC operation]
Next, the operation of the PC 1 when printing is performed by the print system 100 of the present embodiment will be described with reference to the block diagram of FIG. In FIG. 2, the graphic engine 51 and the spooler 52 are provided as a part of the OS.

図2中,プリンタドライバ40は,印刷対象となる画像の加工処理や,加工処理が反映された画像に基づく印刷データ42の生成処理を行う。加工処理としては,例えば,ウォータマーク,ヘッダー,フッター等の合成,拡大,縮小等の倍率変更,画像回転,2in1,4in1等の集約が該当する。   In FIG. 2, the printer driver 40 performs processing of an image to be printed and generation processing of print data 42 based on an image reflecting the processing. Examples of the processing include synthesis of watermarks, headers, footers, and the like, magnification change such as enlargement and reduction, image rotation, and aggregation of 2in1, 4in1, and the like.

また,プリンタドライバ40は,印刷に関するログを残す機能であるログ機能を有している。すなわち,プリンタドライバ40は,印刷データ42の生成に伴って,その印刷画像を記憶するログデータ41を生成する。プリンタドライバ40は,アプリケーション61を介して印刷指示を受け付けると,印刷装置に印刷させる印刷条件に基づいて印刷データ42とログデータ41とを生成する。そして,プリンタドライバ40は,PC1に,印刷データ42をプリンタ2に送信させ,ログデータ41をHDD14の指定ディレクトリに保存させる。   The printer driver 40 also has a log function that is a function for leaving a log relating to printing. That is, the printer driver 40 generates log data 41 for storing the print image as the print data 42 is generated. When the printer driver 40 receives a print instruction via the application 61, the printer driver 40 generates print data 42 and log data 41 based on a print condition to be printed by the printing apparatus. Then, the printer driver 40 causes the PC 1 to send the print data 42 to the printer 2 and save the log data 41 in the designated directory of the HDD 14.

また,プリンタドライバ40は,図3に示すように,ログ機能に関する各種の設定をユーザに入力させるログ設定画面411を提供する。ログ設定画面411では,「特定オブジェクトを記録から除外」に対応するチェックボックスをオンにすることで,特定オブジェクトをログデータ41に記録しない記録除外機能が有効になり,オフにすることで当該機能が無効になる。記録除外機能が有効の場合には,特定オブジェクトに指定されているオブジェクトの存在を残さないログデータを生成する。   Further, as shown in FIG. 3, the printer driver 40 provides a log setting screen 411 that allows the user to input various settings regarding the log function. On the log setting screen 411, by turning on a check box corresponding to “exclude a specific object from recording”, a recording exclusion function that does not record the specific object in the log data 41 is enabled. Becomes invalid. When the record exclusion function is enabled, log data that does not leave the existence of the object specified as the specific object is generated.

さらにログ設定画面411では,特定オブジェクトを指定するための項目として,テキストを対象とするテキスト設定と,画像を対象とする画像設定と,印刷画像の範囲を対象とする範囲設定とがある。   Further, in the log setting screen 411, items for designating a specific object include a text setting for text, an image setting for an image, and a range setting for a print image range.

具体的に,ログ設定画面411では,「テキスト」に対応するチェックボックスをオンにすることで,テキストオブジェクトが特定オブジェクトに設定され,さらに全テキストを特定オブジェクトとするか,キーワードを指定してそのキーワードを含む文字列を特定オブジェクトとするかを選択できる。全テキストを特定オブジェクトとする場合,テキスト描画関数によって記録されるオブジェクトは全てログデータに記録しない。キーワードを特定オブジェクトとする場合,テキスト描画関数に引数として渡される文字列を解析し,その文字列にキーワードが含まれる場合にはそのテキストオブジェクトをログデータに記録せず,その文字列にキーワードが含まれない場合にはそのテキストオブジェクトをログデータに記録する。   Specifically, on the log setting screen 411, by checking the check box corresponding to “text”, the text object is set as the specific object, and all the text is set as the specific object, or a keyword is specified and the text object is set. It is possible to select whether a character string including a keyword is a specific object. When all text is a specific object, all objects recorded by the text drawing function are not recorded in the log data. When a keyword is a specific object, the character string passed as an argument to the text drawing function is analyzed. If the character string is included in the character string, the text object is not recorded in the log data. If not included, the text object is recorded in the log data.

また,ログ設定画面411では,「画像」に対応するチェックボックスをオンにすることで,イメージやグラフィクス等の画像に関する画像オブジェクトが特定オブジェクトに設定される。画像オブジェクトを特定オブジェクトとする場合,画像描画関数によって記録されるオブジェクトは全てログデータに記録しない。   In the log setting screen 411, an image object related to an image such as an image or graphics is set as a specific object by turning on a check box corresponding to “image”. When an image object is a specific object, all objects recorded by the image drawing function are not recorded in log data.

また,ログ設定画面411では,「範囲」に対応するチェックボックスをオンにすることで,印刷対象のデータ中の特定の範囲に含まれるオブジェクトが特定オブジェクトに設定される。範囲を特定オブジェクトとする場合,基準位置に指定された座標,縦方向の長さ,横方向の長さ,の各項目の入力を受け付ける。そして,描画関数によって描画されるオブジェクトのうち,入力された各項目によって特定される範囲内に描画されるオブジェクトは,ログデータに記録しない。この場合,オブジェクトの種類は不問であり,テキストオブジェクトであっても画像オブジェクトであっても,特定される範囲内に含まれればログデータに記憶しない。   In the log setting screen 411, by checking a check box corresponding to “range”, an object included in a specific range in the data to be printed is set as the specific object. When the range is a specific object, it accepts input of each item of the coordinates designated as the reference position, the length in the vertical direction, and the length in the horizontal direction. Of the objects drawn by the drawing function, objects drawn within the range specified by each input item are not recorded in the log data. In this case, the type of the object is unquestioned, and even if it is a text object or an image object, it is not stored in the log data if it falls within the specified range.

図2の説明に戻り,グラフィックエンジン51は,プリンタ2や表示部16の出力デバイスの制御を行うモジュールである。グラフィックエンジン51は,アプリケーションプログラム61からの命令を受け付け,その命令をデバイスドライバ(本形態ではプリンタドライバ40)に受け渡す。   Returning to the description of FIG. 2, the graphic engine 51 is a module that controls the output devices of the printer 2 and the display unit 16. The graphic engine 51 receives a command from the application program 61 and transfers the command to the device driver (the printer driver 40 in this embodiment).

スプーラ52は,プリンタドライバ40によって生成された印刷データ42を一時的に蓄積し,印刷データ42を順次にプリンタ2に出力する機能を有するモジュールである。すなわち,本明細書において「プリンタドライバ40が印刷データ42をプリンタ2に送信する」と記載した場合,それは「プリンタドライバ40が印刷データ42をスプーラ52に蓄積する」ことを意味し,実際にスプーラ52によってプリンタ2に印刷データ42が送信されたことまでは意味しない。   The spooler 52 is a module having a function of temporarily storing the print data 42 generated by the printer driver 40 and sequentially outputting the print data 42 to the printer 2. That is, in this specification, when “printer driver 40 transmits print data 42 to printer 2” is described, this means “printer driver 40 stores print data 42 in spooler 52”. It does not mean that the print data 42 is transmitted to the printer 2 by 52.

本形態のプリントシステム100にて印刷を行う際には,先ず,PC1に組み込まれているアプリケーションプログラム61がユーザからの印刷指示を受け付け,印刷開始通知を出力する。そして,OSの一部であるグラフィックエンジン51がアプリケーションプログラム61からその印刷開始通知を受け付け,アプリケーションプログラム61から印刷対象の画像データの取得を開始する。   When printing is performed by the printing system 100 according to the present embodiment, first, the application program 61 incorporated in the PC 1 receives a print instruction from the user and outputs a print start notification. Then, the graphic engine 51 which is a part of the OS receives the print start notification from the application program 61 and starts acquiring image data to be printed from the application program 61.

グラフィックエンジン51は,画像データの取得を開始すると,プリンタドライバ40に対して描画命令を行う。プリンタドライバ40は,描画命令を受け付けると,当該描画命令に基づいてビットマップ画像(BMP画像)を生成し,さらにそのBMP画像に基づいてPDL形式の印刷データ42を生成する。また,印刷データ42の生成の際,必要に応じて,画像反転等の加工処理を行う。また,上記のBMP画像に基づいて,ログデータ41の生成も行う。ログデータ41のファイル形式は,ユーザが閲覧可能なものであればよく,例えば,BMP,XML,JPEG,PDFが適用可能である。   When the graphic engine 51 starts acquiring image data, the graphic engine 51 issues a drawing command to the printer driver 40. Upon receiving the drawing command, the printer driver 40 generates a bitmap image (BMP image) based on the drawing command, and further generates print data 42 in PDL format based on the BMP image. Further, when the print data 42 is generated, processing such as image inversion is performed as necessary. Also, log data 41 is generated based on the BMP image. The file format of the log data 41 may be any file format that can be browsed by the user. For example, BMP, XML, JPEG, or PDF can be applied.

プリンタドライバ40は,印刷データ42の生成後,当該印刷データ42をスプーラ52に格納する。印刷データ42がスプーラ52に格納されると,スプーラ52は格納されている印刷データ42をプリンタ2に送信する。印刷データ42を受信したプリンタ2は,その印刷データ42に基づいて印刷を行う。   After generating the print data 42, the printer driver 40 stores the print data 42 in the spooler 52. When the print data 42 is stored in the spooler 52, the spooler 52 transmits the stored print data 42 to the printer 2. The printer 2 that has received the print data 42 performs printing based on the print data 42.

また,プリンタドライバ40は,1ページ分のログデータ41を生成するとHDD14の所定のフォルダに一時的に保存する。そして,プリンタドライバ40は,全ページ分の印刷データを送信した後,全ページ分のログデータ41を統合し,1つのPDFファイルを生成する。このPDFファイルは,HDD14の指定フォルダに記憶される。   Further, when the printer driver 40 generates the log data 41 for one page, the printer driver 40 temporarily stores it in a predetermined folder of the HDD 14. Then, after transmitting the print data for all pages, the printer driver 40 integrates the log data 41 for all pages and generates one PDF file. This PDF file is stored in a designated folder of the HDD 14.

[印刷処理]
[第1の形態]
続いて,前述した印刷手順を実現するPC1の印刷処理について,図4のフローチャートを参照しつつ説明する。図4は,プリンタドライバ40の手順を示しており,アプリケーションプログラム61からOSを介して印刷指示を受け付けたことを契機に,CPU11によって実行される。
[Print processing]
[First embodiment]
Next, the printing process of the PC 1 that realizes the above-described printing procedure will be described with reference to the flowchart of FIG. FIG. 4 shows the procedure of the printer driver 40, which is executed by the CPU 11 when a print instruction is received from the application program 61 via the OS.

印刷処理では,先ず,印刷データ用の仮想描画領域とログデータ用の仮想描画領域とをそれぞれRAM13に確保し,各仮想描画領域を初期化する(S101)。すなわち,何も描画されていない2つの仮想描画領域を用意する。その後,グラフィックエンジン51からのオブジェクトの描画命令を受け付ける(S102)。   In the printing process, first, a virtual drawing area for print data and a virtual drawing area for log data are respectively secured in the RAM 13, and each virtual drawing area is initialized (S101). That is, two virtual drawing areas where nothing is drawn are prepared. Thereafter, an object drawing command from the graphic engine 51 is received (S102).

描画命令を受け付けた後,ログデータについての記録除外機能が有効か否かを判断する(S103)。記録除外機能が無効の場合には(S103:NO),受け付けた描画命令に従って,ログデータ用の仮想描画領域と印刷データ用の仮想描画領域とのそれぞれに描画を行う(S104,S105)。すなわち,ログデータ用の仮想描画領域と印刷データ用の仮想描画領域とに同じ画像が描画される。その後,1ページ分の描画処理が完了したか否かを判断し(S106),1ページ分の描画処理が完了していなければ(S106:NO),S102に移行し,各仮想描画領域への描画を,1ページ分の描画処理が完了するまで繰り返す。   After receiving the drawing command, it is determined whether or not the recording exclusion function for log data is valid (S103). When the recording exclusion function is invalid (S103: NO), drawing is performed in each of the virtual drawing area for log data and the virtual drawing area for print data in accordance with the accepted drawing command (S104, S105). That is, the same image is drawn in the virtual drawing area for log data and the virtual drawing area for print data. Thereafter, it is determined whether or not the drawing process for one page is completed (S106). If the drawing process for one page is not completed (S106: NO), the process proceeds to S102, and each virtual drawing area is transferred to each virtual drawing area. Drawing is repeated until drawing processing for one page is completed.

一方,記録除外機能が有効の場合には(S103:YES),受け付けた描画命令ごとに特定オブジェクトの描画命令を受け付けたか否かを判断する(S111)。例えば,特定オブジェクトにテキストが設定され,さらに全テキストが設定されている場合には,文字描画関数を受け付けた際に,特定オブジェクトの描画命令を受け付けたと判断する。また,キーワードが設定されている場合には,文字描画関数を受け付け,さらにその文字描画関数で指定された描画対象の文字列にキーワードが含まれていれば,特定オブジェクトの描画命令を受け付けたと判断する。特定オブジェクトの描画命令を受け付けた場合には(S111:YES),ログデータ用の仮想描画領域には描画せず,ログデータ用の仮想描画領域にのみ描画する(S105)。特定オブジェクトの描画命令を受け付けていない場合には(S111:NO),ログデータ用の仮想描画領域と印刷データ用の仮想描画領域とのそれぞれに描画する(S104,S105)。   On the other hand, if the recording exclusion function is valid (S103: YES), it is determined whether a drawing command for a specific object is received for each received drawing command (S111). For example, when text is set for a specific object and all text is set, it is determined that a drawing command for the specific object is received when a character drawing function is received. If a keyword is set, a character drawing function is accepted, and if the keyword is included in the character string to be drawn specified by the character drawing function, it is determined that a drawing command for a specific object has been accepted. To do. When a drawing command for a specific object is received (S111: YES), drawing is not performed in the log data virtual drawing area, but only in the log data virtual drawing area (S105). If a drawing command for a specific object has not been received (S111: NO), drawing is performed in each of the virtual drawing area for log data and the virtual drawing area for print data (S104, S105).

すなわち,記録除外機能が有効の場合,特定オブジェクトの描画命令についてはログデータ用の仮想描画領域への描画処理を実行しない。そのため,ログデータ用の仮想描画領域には,印刷対象の画像から特定オブジェクトが除かれた画像が描画されることとなり,ログデータ用の仮想描画領域と印刷データ用の仮想描画領域とに必ずしも同じ画像が描画されるとは限らない。このオブジェクトの描画命令に応じた各仮想描画領域への描画を,1ページ分の描画処理が完了するまで繰り返す。   That is, when the recording exclusion function is enabled, the drawing process for the specific object drawing command is not executed in the log data virtual drawing area. For this reason, an image obtained by removing a specific object from an image to be printed is drawn in the virtual drawing area for log data, which is not necessarily the same as the virtual drawing area for log data and the virtual drawing area for print data. An image is not always drawn. The drawing in each virtual drawing area according to the drawing command of this object is repeated until the drawing process for one page is completed.

1ページ分の描画処理が完了した後(S106:YES),各仮想描画領域に基づいて,BMP画像を生成する(S107)。すなわち,ログデータ用のBMP画像と,印刷データ用のBMP画像とを生成する。BMP画像の生成は,プリンタドライバ40自身が行ってもよいし,グラフィックエンジン51がBMP画像の生成機能を有している場合には,グラフィックエンジン51にBMP画像の生成を行わせてもよい。   After the drawing process for one page is completed (S106: YES), a BMP image is generated based on each virtual drawing area (S107). That is, a BMP image for log data and a BMP image for print data are generated. Generation of the BMP image may be performed by the printer driver 40 itself, or when the graphic engine 51 has a function of generating a BMP image, the graphic engine 51 may generate the BMP image.

BMP画像の生成後は,ログデータ用のBMP画像に基づいてログデータを生成する(S108)。具体的にS108では,ログデータ用のBMP画像から間引きを行い,間引き後のBMP画像をJPEGデータに変換する。このJPEGデータがログデータとなる。なお,間引きは,データサイズを小さくする処理であり,例えばBMP画像について1ドットあるいは数ドット間隔でデータを省く処理である。また,印刷データ用のBMP画像に基づいて印刷データを生成する(S109)。すなわちS109では,印刷データ用のBMP画像をPDLデータに変換する。このPDLデータが印刷データとなる。なお,S108とS109とは逆順であってもよいし,並行して行ってもよい。生成されたログデータおよび印刷データは,一時フォルダに保存される。   After the generation of the BMP image, log data is generated based on the BMP image for log data (S108). Specifically, in S108, thinning is performed from the BMP image for log data, and the thinned BMP image is converted into JPEG data. This JPEG data becomes log data. Note that thinning is a process for reducing the data size, for example, a process for omitting data at intervals of one dot or several dots for a BMP image. Also, print data is generated based on the BMP image for print data (S109). That is, in S109, the BMP image for print data is converted into PDL data. This PDL data becomes print data. Note that S108 and S109 may be in reverse order or in parallel. The generated log data and print data are stored in a temporary folder.

ログデータおよび印刷データの生成後は,全ページ分の処理が完了したか否かを判断する(S110)。全ページ分の処理が完了していなければ(S110:NO),未処理分のページについてS101以降の処理を継続する。   After the log data and print data are generated, it is determined whether or not the processing for all pages has been completed (S110). If the processing for all pages is not completed (S110: NO), the processing after S101 is continued for the unprocessed pages.

一方,全ページ分の処理が完了している場合には(S110:YES),一時フォルダに保存した印刷データを読み出し,プリンタ2に送信する(S121)。S121の後は,一時フォルダに保存したログデータを読み出し,全ページ分のログデータを1つに纏めたPDFファイルを生成し,生成したPDFファイルをHDD14の指定フォルダに保存する(S122)。なお,S121とS122とは逆順であってもよいし,並行して行ってもよい。S122の後は,印刷処理を終了する。   On the other hand, if all pages have been processed (S110: YES), the print data stored in the temporary folder is read and transmitted to the printer 2 (S121). After S121, the log data stored in the temporary folder is read, a PDF file in which the log data for all the pages are combined into one is generated, and the generated PDF file is stored in the designated folder of the HDD 14 (S122). Note that S121 and S122 may be performed in reverse order or in parallel. After S122, the printing process is terminated.

前述したように第1の形態の印刷処理では,ログデータ用の仮想描画領域に描画する際に,特定オブジェクトの描画命令を受け付けた場合には,その特定オブジェクトを描画しない。そのため,ログデータ用の仮想描画領域から生成されるBMP画像,さらにそのBMP画像から生成されるログデータには,特定オブジェクトが描画されず,その存在が残らない。つまり,本形態では,ログ設定画面411の設定内容から得られる特定オブジェクトの設定に基づいて,ログデータに記憶しない情報が選択される。   As described above, in the printing process of the first embodiment, when a drawing command for a specific object is received when drawing in the virtual drawing area for log data, the specific object is not drawn. Therefore, a specific object is not drawn and does not remain in the BMP image generated from the virtual drawing area for log data and the log data generated from the BMP image. That is, in this embodiment, information that is not stored in the log data is selected based on the setting of the specific object obtained from the setting contents of the log setting screen 411.

[第2の形態]
続いて,印刷処理の別形態について,図5のフローチャートを参照しつつ説明する。第2の形態の印刷処理では,特定オブジェクトの存在が残らないログデータの生成手順が第1の形態と異なる。なお,第1の形態と同じ処理については同じ符号を付して説明を省略する。
[Second form]
Next, another form of the printing process will be described with reference to the flowchart of FIG. In the printing process of the second form, the log data generation procedure in which the existence of the specific object does not remain is different from the first form. Note that the same processes as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

第2の形態の印刷処理では,仮想描画領域を初期化する(S201)。S201では,印刷データ用の仮想描画領域と,特定オブジェクト用の仮想描画領域と,の2つの仮想描画領域をそれぞれ用意する。その後,グラフィックエンジン51からの描画命令を受け付ける(S102)。   In the printing process of the second form, the virtual drawing area is initialized (S201). In S201, two virtual drawing areas, a virtual drawing area for print data and a virtual drawing area for a specific object, are prepared. Thereafter, a drawing command from the graphic engine 51 is received (S102).

描画命令を受け付けた後,記録除外機能が有効か否かを判断し(S103),記録除外機能が有効の場合には(S103:YES),受け付けた描画命令ごとに特定オブジェクトの描画命令を受け付けたか否かを判断する(S111)。特定オブジェクトの描画命令を受け付けている場合には(S111:YES),印刷データ用の仮想描画領域には描画せず,特定オブジェクト用の仮想描画領域にのみ描画する(S211)。   After accepting the drawing command, it is determined whether or not the recording exclusion function is valid (S103). If the recording exclusion function is valid (S103: YES), a drawing command for a specific object is accepted for each accepted drawing command. It is determined whether or not (S111). If a drawing command for a specific object is received (S111: YES), drawing is not performed in the virtual drawing area for print data, but only in the virtual drawing area for the specific object (S211).

S211の後,あるいは特定オブジェクトの描画命令を受け付けていない場合(S111:NO),あるいは記録除外機能が無効の場合には(S103:NO),S102にて受け付けた描画命令に従って,印刷データ用の仮想描画領域に描画する(S105)。すなわち,記録除外機能が有効の際,印刷データ用の仮想描画領域には描画命令に従ったすべてのオブジェクトが描画され,特定オブジェクト用の仮想描画領域には特定オブジェクトのみが描画される。この仮想描画領域への描画を,1ページ分の画像を描き終えるまで繰り返す。   After S211, or when a drawing command for a specific object has not been received (S111: NO), or when the recording exclusion function is disabled (S103: NO), the print data can be printed according to the drawing command received at S102. Drawing in the virtual drawing area (S105). That is, when the recording exclusion function is enabled, all objects according to the drawing command are drawn in the virtual drawing area for print data, and only the specific object is drawn in the virtual drawing area for the specific object. This drawing in the virtual drawing area is repeated until the image for one page has been drawn.

1ページ分の描画処理が完了した後(S106:YES),各仮想描画領域に基づいて,BMP画像を生成する(S206)。すなわち,特定オブジェクト用のBMP画像と,印刷データ用のBMP画像とを生成する。   After the drawing process for one page is completed (S106: YES), a BMP image is generated based on each virtual drawing area (S206). That is, a BMP image for a specific object and a BMP image for print data are generated.

S206の後,印刷データ用のBMP画像と特定オブジェクト用のBMP画像とを照合し,重複箇所を特定する(S207)。そして,重複箇所の背景色を取得する(S208)。背景色は,例えば,印刷データ用のBMP画像のうち重複箇所の周辺箇所の色から判断する。その後,印刷データ用のBMP画像のうち重複箇所を背景色で書き換えた画像をログデータ用のBMP画像として生成する(S209)。なお,記録除外機能が無効の場合や特定オブジェクトの描画命令が無かった場合には,重複箇所が特定されないため,印刷データ用のBMP画像と同じBMP画像が生成される。   After S206, the BMP image for print data and the BMP image for the specific object are collated, and an overlapping portion is specified (S207). Then, the background color of the overlapping portion is acquired (S208). The background color is determined from, for example, the color around the overlapping portion of the print data BMP image. Thereafter, an image obtained by rewriting the overlapping portion with the background color in the BMP image for print data is generated as a BMP image for log data (S209). When the recording exclusion function is disabled or when there is no drawing command for a specific object, an overlapping portion is not specified, and the same BMP image as the BMP image for print data is generated.

S209の後,ログデータおよび印刷データを生成する(S108,S109)。ログデータおよび印刷データの生成後は,全ページ分の処理が完了したか否かを判断する(S110)。S110以降の処理は,第1の形態と同様である。   After S209, log data and print data are generated (S108, S109). After the log data and print data are generated, it is determined whether or not the processing for all pages has been completed (S110). The processing after S110 is the same as in the first embodiment.

前述したように第2の形態の印刷処理では,特定オブジェクト用の仮想描画領域を用意し,一旦,特定オブジェクトのみを特定オブジェクト用の仮想描画領域に描画した後,印刷データとして描画される画像と特定オブジェクトのみが描画された画像との重複箇所を背景色で描画する,すなわち印刷対象の画像のうち特定オブジェクトの画像を背景色で書き換えることで,特定オブジェクトを消去している。この手順によっても,特定オブジェクトの存在が残らないログデータを生成できる。   As described above, in the printing process of the second embodiment, a virtual drawing area for a specific object is prepared, and after only a specific object is drawn in the virtual drawing area for the specific object, an image drawn as print data An overlapping portion with an image in which only the specific object is drawn is drawn with the background color, that is, the specific object is erased by rewriting the image of the specific object with the background color in the image to be printed. This procedure can also generate log data that does not leave a specific object.

以上詳細に説明したように実施の形態では,オブジェクトの描画命令に基づいて生成されるログデータ41について,特定オブジェクトについてはログデータ41にその存在が残らないようにする。これにより,プリンタドライバ40では,ログデータ41に記憶する情報を選択できるようになる。   As described above in detail, in the embodiment, the log data 41 generated based on the object drawing command is not left in the log data 41 for the specific object. As a result, the printer driver 40 can select information stored in the log data 41.

その結果として,例えば,画像オブジェクトを記録しないようにすれば,ログデータ41の大サイズ化を抑制できる。また,特定オブジェクトの痕跡がログデータ41に残らないように調整でき,特定オブジェクトに記録される情報の漏洩リスクが軽減される。特に特定オブジェクトの内容については,黒塗りやモザイク等の加工処理によって隠すこともできるが,それらの処理を施しても特定オブジェクトの存在は残ってしまう。そのため,特定オブジェクトが印刷物に記録されていた痕跡が残ってしまい,印刷物の持ち去り等のリスクを伴う。実施の形態では,特定オブジェクトの存在がログデータに残らないように調整するため,前述のような情報漏洩のリスクが低い。   As a result, for example, if the image object is not recorded, an increase in the size of the log data 41 can be suppressed. Further, adjustment can be made so that no trace of the specific object remains in the log data 41, and the risk of leakage of information recorded in the specific object is reduced. In particular, the content of a specific object can be hidden by processing such as black painting or mosaic, but the existence of the specific object remains even if such processing is performed. For this reason, a trace in which the specific object is recorded on the printed matter remains, which involves a risk of taking away the printed matter. In the embodiment, adjustment is made so that the presence of the specific object does not remain in the log data, so the risk of information leakage as described above is low.

なお,本実施の形態は単なる例示にすぎず,本発明を何ら限定するものではない。したがって本発明は当然に,その要旨を逸脱しない範囲内で種々の改良,変形が可能である。例えば,印刷装置としてはプリンタに限るものではなく,コピー機,FAX,あるいは印刷機能を有する複合機等であってもよい。また,情報処理装置としてはPCに限るものではなく,ワークステーション,スマートフォン,PDA等であってもよい。   Note that this embodiment is merely an example, and does not limit the present invention. Therefore, the present invention can naturally be improved and modified in various ways without departing from the gist thereof. For example, the printing apparatus is not limited to a printer, and may be a copier, a FAX, or a multifunction machine having a printing function. Further, the information processing apparatus is not limited to a PC, and may be a workstation, a smartphone, a PDA, or the like.

また,実施の形態では,ログデータ41を自装置のHDD14に記憶しているが,これに限るものではない。例えば,ログデータ41をネットワークインターフェース18を介して接続するサーバ等の外部ストレージに記憶してもよい。   In the embodiment, the log data 41 is stored in the HDD 14 of the own apparatus, but the present invention is not limited to this. For example, the log data 41 may be stored in an external storage such as a server connected via the network interface 18.

また,実施の形態では,全ページ分の印刷データ42が揃ってからプリンタ2への送信を行っているが,印刷データ42のプリンタ2への送信タイミングはこれに限るものではない。例えば,1ページ分の印刷データ42が生成される度に印刷データ42をプリンタ2へ送信してもよいし,所定ページ数単位で送信してもよいし,メモリフルを条件として送信してもよい。   In the embodiment, transmission to the printer 2 is performed after the print data 42 for all the pages has been prepared, but the transmission timing of the print data 42 to the printer 2 is not limited to this. For example, the print data 42 may be transmitted to the printer 2 every time print data 42 for one page is generated, may be transmitted in units of a predetermined number of pages, or may be transmitted on the condition that the memory is full. Good.

また,実施の形態では,特定オブジェクトの設定についてログ設定画面411を介してユーザによる手動設定を受け付けているが,プログラムあるいはPC1にあらかじめ記憶された設定であってもよい。   In the embodiment, manual setting by the user is accepted via the log setting screen 411 for the setting of the specific object, but it may be a setting stored in advance in the program or the PC 1.

また,実施の形態では,ログデータ41の生成の際,保存対象の画像から間引きを行ってデータサイズを小さくしたログデータ41を生成しているが,間引きを行わなくてもよい。また,実施の形態では,ログデータ41について,BMP画像をJPEGデータに変換し,さらにPDFファイルに変換して保存しているが,JPEGデータを保存してもよいし,BMP画像を保存してもよい。   In the embodiment, when the log data 41 is generated, the log data 41 is generated by thinning the image to be saved to reduce the data size, but the thinning may not be performed. In the embodiment, the log data 41 is converted from a BMP image to JPEG data and further converted to a PDF file and stored. However, the JPEG data may be stored or the BMP image may be stored. Also good.

また,実施の形態では,記録除外機能の有効無効にかかわらず複数の仮想描画領域を確保しているが,始めに記録除外機能の有効無効を判断し,記録除外機能が無効の場合には,1つの仮想描画領域のみを確保し,その1つの仮想描画領域から1つのBMP画像を生成し,その1つのBMP画像からログデータ41と印刷データ42との両方を生成してもよい。   In the embodiment, a plurality of virtual drawing areas are secured regardless of whether the recording exclusion function is valid or invalid. First, when the recording exclusion function is invalid by determining whether the recording exclusion function is valid or not, Only one virtual drawing area may be secured, one BMP image may be generated from the one virtual drawing area, and both log data 41 and print data 42 may be generated from the one BMP image.

また,実施の形態では,設定された特定オブジェクトの存在が残らない1つのログデータ41を生成するため,例えば,特定オブジェクトとしてテキストと画像とが設定されている場合には,両方のオブジェクトの情報が記憶されないログデータ41が生成されるが,特定オブジェクトの項目ごとにログデータ41を生成してもよい。すなわち,設定されている特定オブジェクトの項目ごとに仮想描画領域を用意し,例えば,特定オブジェクトとしてテキストと画像とが設定されている場合には,印刷対象の画像から,テキストオブジェクトの情報が記憶されないログデータ41と,画像オブジェクトの情報が記憶されないログデータ41との2つのログデータ41を生成してもよい。   In the embodiment, in order to generate one log data 41 in which the existence of the set specific object does not remain, for example, when text and an image are set as the specific object, information on both objects is set. Is generated, but log data 41 may be generated for each item of a specific object. In other words, a virtual drawing area is prepared for each item of the set specific object. For example, when text and an image are set as the specific object, the text object information is not stored from the image to be printed. Two pieces of log data 41 may be generated: log data 41 and log data 41 in which image object information is not stored.

また,実施の形態に開示されている処理は,単一のCPU,複数のCPU,ASICなどのハードウェア,またはそれらの組み合わせで実行されてもよい。また,実施の形態に開示されている処理は,その処理を実行するためのプログラムを記録した記録媒体,または方法等の種々の態様で実現することができる。   The processing disclosed in the embodiments may be executed by a single CPU, a plurality of CPUs, hardware such as an ASIC, or a combination thereof. Further, the processing disclosed in the embodiment can be realized in various modes such as a recording medium or a method recording a program for executing the processing.

1 PC
2 プリンタ
40 プリンタドライバ
41 ログデータ
42 印刷データ
52 スプーラ
61 アプリケーションプログラム
100 プリントシステム
1 PC
2 Printer 40 Printer driver 41 Log data 42 Print data 52 Spooler 61 Application program 100 Print system

Claims (13)

情報処理装置に,
ログデータ用の描画領域を初期化する初期化処理と,
印刷対象の画像に基づくオブジェクトの描画命令を受け付けた場合に,除外対象のオブジェクト以外のオブジェクトの描画命令に従って,前記ログデータ用の描画領域に描画する描画処理と,
前記ログデータ用の描画領域に描画された画像を含むログデータを生成するログデータ生成処理と,
前記ログデータ生成処理にて生成されたログデータを,所定の記憶領域に記憶させる記憶処理と,
を実行させることを特徴とするプログラム。
In the information processing device,
An initialization process to initialize the drawing area for log data;
A drawing process for drawing in the drawing area for log data in accordance with a drawing command for an object other than an object to be excluded when an object drawing command based on an image to be printed is received;
Log data generation processing for generating log data including an image drawn in the drawing area for log data ;
A storage process for storing the log data generated in the log data generation process in a predetermined storage area ;
A program characterized by having executed.
請求項1に記載するプログラムにおいて,In the program according to claim 1,
前記初期化処理では,印刷データ用の描画領域も初期化し,In the initialization process, the drawing area for print data is also initialized,
前記描画処理では,印刷対象の画像に基づくオブジェクトの描画命令を受け付けた場合に,全てのオブジェクトの描画命令に従って,前記印刷データ用の描画領域に描画し,In the drawing process, when an object drawing command based on an image to be printed is received, drawing is performed in the drawing area for the print data in accordance with the drawing command for all objects,
さらに,前記情報処理装置に,Further, the information processing apparatus includes:
前記印刷データ用の描画領域に描画された画像を含む印刷データを生成する印刷データ生成処理と,Print data generation processing for generating print data including an image drawn in the drawing area for the print data;
前記印刷データ生成処理にて生成された印刷データを,印刷装置に出力する出力処理と,An output process for outputting the print data generated in the print data generation process to a printing apparatus;
を実行させることを特徴とするプログラム。A program characterized by having executed.
情報処理装置に,In the information processing device,
印刷データ用の描画領域と,除外対象のオブジェクト用の描画領域と,を初期化する初期化処理と,An initialization process for initializing the drawing area for print data and the drawing area for the object to be excluded;
印刷対象の画像に基づくオブジェクトの描画命令を受け付けた場合に,除外対象のオブジェクトの描画命令に従って,前記除外対象のオブジェクト用の描画領域に描画する第1の描画と,全てのオブジェクトの描画命令に従って,前記印刷データ用の描画領域に描画する第2の描画と,を行う描画処理と,When a drawing command for an object based on an image to be printed is received, according to a drawing command for the object to be excluded, according to a first drawing for drawing in the drawing area for the object to be excluded and a drawing command for all objects A drawing process for performing a second drawing for drawing in the drawing area for the print data;
前記印刷データ用の描画領域に描画された画像から,前記除外対象のオブジェクト用の描画領域に描画された画像を除去した画像を含むログデータを生成するログデータ生成処理と,Log data generation processing for generating log data including an image drawn in the drawing area for the object to be excluded from the image drawn in the drawing area for the print data;
前記ログデータ生成処理にて生成されたログデータを,所定の記憶領域に記憶させる記憶処理と,A storage process for storing the log data generated in the log data generation process in a predetermined storage area;
を実行させることを特徴とするプログラム。A program characterized by having executed.
請求項3に記載するプログラムにおいて,
前記ログデータ生成処理では,
前記印刷データ用の描画領域に描画された画像と,前記除外対象のオブジェクト用の描画領域に描画された画像と,の重複箇所を特定し,前記重複箇所の背景色を取得し,前記印刷データ用の描画領域に描画された画像のうち,前記重複箇所を前記背景色で書き換えることで,前記印刷データ用の描画領域に描画された画像から,前記除外対象のオブジェクト用の描画領域に描画された画像を除去する,
ことを特徴とするプログラム。
In the program according to claim 3 ,
In the log data generation process,
Identifying an overlapping portion between an image drawn in the drawing area for the print data and an image drawn in the drawing area for the object to be excluded, obtaining a background color of the overlapping portion, and obtaining the print data Of the images drawn in the drawing area for use, by rewriting the overlapping portion with the background color, the image drawn in the drawing area for the print data is drawn in the drawing area for the object to be excluded. Remove images,
A program characterized by that.
請求項3または請求項4に記載するプログラムにおいて,In the program according to claim 3 or claim 4,
さらに,前記情報処理装置に,Further, the information processing apparatus includes:
前記印刷データ用の描画領域に描画された画像を含む印刷データを生成する印刷データ生成処理と,Print data generation processing for generating print data including an image drawn in the drawing area for the print data;
前記印刷データ生成処理にて生成された印刷データを,印刷装置に出力する出力処理と,An output process for outputting the print data generated in the print data generation process to a printing apparatus;
を実行させることを特徴とするプログラム。A program characterized by having executed.
請求項1から請求項5のいずれか1つに記載するプログラムにおいて,
前記除外対象のオブジェクトの設定を受け付ける設定受付処理を,前記情報処理装置に実行させことを特徴とするプログラム。
In the program according to any one of claims 1 to 5 ,
A program characterized by the setting accepting process for accepting the setting of the excluded object, Ru is executed by the information processing apparatus.
請求項1から請求項6のいずれか1つに記載するプログラムにおいて,
前記除外対象のオブジェクトには,テキストオブジェクトが含まれる,
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 6 ,
The object to be excluded includes a text object ,
A program characterized by that.
請求項1から請求項6のいずれか1つに記載するプログラムにおいて,
前記除外対象のオブジェクトには,特定のキーワードを含むテキストオブジェクトが含まれる,
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 6 ,
The object to be excluded includes a text object including a specific keyword .
A program characterized by that.
請求項1から請求項8のいずれか1つに記載するプログラムにおいて,
前記除外対象のオブジェクトには,画像オブジェクトが含まれる,
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 8 ,
The object to be excluded includes an image object ,
A program characterized by that.
請求項1から請求項9のいずれか1つに記載するプログラムにおいて,
前記除外対象のオブジェクトには,印刷対象の画像のうち特定の範囲内に位置するオブジェクトが含まれる,
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 9 ,
The object to be excluded includes an object located within a specific range among images to be printed .
A program characterized by that.
請求項1から請求項10のいずれか一つに記載するプログラムにおいて,In the program according to any one of claims 1 to 10,
前記記憶処理では,前記ログデータを,ユーザが閲覧可能なファイル形式にして,前記所定の記憶領域に記憶させる,In the storage process, the log data is stored in the predetermined storage area in a file format that can be viewed by a user.
ことを特徴とするプログラム。A program characterized by that.
ログデータ用の描画領域と,
制御部と,
を備え,
前記制御部は,
前記ログデータ用の描画領域を初期化する初期化処理と,
印刷対象の画像に基づくオブジェクトの描画命令を受け付けた場合に,除外対象のオブジェクト以外のオブジェクトの描画命令に従って,前記ログデータ用の描画領域に描画する描画処理と,
前記ログデータ用の描画領域に描画された画像を含むログデータを生成するログデータ生成処理と,
前記ログデータ生成処理にて生成されたログデータを,所定の記憶領域に記憶させる記憶処理と,
を実行することを特徴とする情報処理装置。
A drawing area for log data ,
A control unit;
With
The controller is
An initialization process for initializing the drawing area for the log data;
A drawing process for drawing in the drawing area for log data in accordance with a drawing command for an object other than an object to be excluded when an object drawing command based on an image to be printed is received;
Log data generation processing for generating log data including an image drawn in the drawing area for log data ;
A storage process for storing the log data generated in the log data generation process in a predetermined storage area ;
An information processing apparatus characterized by executing
印刷データ用の描画領域と,A drawing area for print data,
除外対象のオブジェクト用の描画領域と,A drawing area for the object to be excluded,
制御部と,A control unit;
を備え,With
前記制御部は,The controller is
前記印刷データ用の描画領域と,前記除外対象のオブジェクト用の描画領域と,を初期化する初期化処理と,An initialization process for initializing the drawing area for the print data and the drawing area for the object to be excluded;
印刷対象の画像に基づくオブジェクトの描画命令を受け付けた場合に,除外対象のオブジェクトの描画命令に従って,前記除外対象のオブジェクト用の描画領域に描画する第1の描画と,全てのオブジェクトの描画命令に従って,前記印刷データ用の描画領域に描画する第2の描画と,を行う描画処理と,When a drawing command for an object based on an image to be printed is received, according to a drawing command for the object to be excluded, according to a first drawing for drawing in the drawing area for the object to be excluded and a drawing command for all objects A drawing process for performing a second drawing for drawing in the drawing area for the print data;
前記印刷データ用の描画領域に描画された画像から,前記除外対象のオブジェクト用の描画領域に描画された画像を除去した画像を含むログデータを生成するログデータ生成処理と,Log data generation processing for generating log data including an image drawn in the drawing area for the object to be excluded from the image drawn in the drawing area for the print data;
前記ログデータ生成処理にて生成されたログデータを,所定の記憶領域に記憶させる記憶処理と,A storage process for storing the log data generated in the log data generation process in a predetermined storage area;
を実行することを特徴とする情報処理装置。An information processing apparatus characterized by executing
JP2013128638A 2013-06-19 2013-06-19 Program and information processing apparatus Active JP6186926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013128638A JP6186926B2 (en) 2013-06-19 2013-06-19 Program and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013128638A JP6186926B2 (en) 2013-06-19 2013-06-19 Program and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2015005040A JP2015005040A (en) 2015-01-08
JP6186926B2 true JP6186926B2 (en) 2017-08-30

Family

ID=52300916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013128638A Active JP6186926B2 (en) 2013-06-19 2013-06-19 Program and information processing apparatus

Country Status (1)

Country Link
JP (1) JP6186926B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4435772B2 (en) * 2001-09-28 2010-03-24 株式会社リコー Key operation monitoring method, program for causing computer to execute this method, and image forming apparatus
JP4591888B2 (en) * 2004-12-28 2010-12-01 キヤノンマーケティングジャパン株式会社 Print log collection device, print log management system, print log collection device processing method, print log management system processing method and program
JP4623376B2 (en) * 2005-09-20 2011-02-02 セイコーエプソン株式会社 Printing instruction device, printing log output device, printing system
JP2009169504A (en) * 2008-01-11 2009-07-30 Fuji Xerox Co Ltd Information processing system, image processor ,and image processing program
JP2010000641A (en) * 2008-06-19 2010-01-07 Fuji Xerox Co Ltd Image forming apparatus and image forming program
JP5664007B2 (en) * 2010-08-09 2015-02-04 株式会社リコー Data relay apparatus, image forming apparatus, image forming system, print control method, print control program, and recording medium
JP5675254B2 (en) * 2010-10-08 2015-02-25 キヤノン株式会社 Image forming apparatus, image forming apparatus control method, and program
JP2012096405A (en) * 2010-10-29 2012-05-24 Ricoh Co Ltd Image processing system

Also Published As

Publication number Publication date
JP2015005040A (en) 2015-01-08

Similar Documents

Publication Publication Date Title
US8630010B2 (en) Printing system, printing method, print server, control method, and computer-readable medium for performing pull print control
EP2437157B1 (en) Printing system, printing method, print server, control method, and program
US20120081731A1 (en) Printing system, printing method, print server, control method and computer-readable medium
JP5719198B2 (en) Print system, information processing apparatus, control method, and program
US9361056B2 (en) Information processing apparatus and method for generating a conflict confirmation print job
JP2008210106A (en) Print processing execution device, history information processing method, program and recording medium
JP2013050935A (en) Printing control device, printing control program, and printing control method
JP2013037487A (en) Printing system, server device, information processing method and program
JP2012181694A (en) Information processor, print system, control method and program
US9619739B2 (en) Printer that sets sheet size for printing an XPS file
JP4396749B2 (en) Print control device and printer driver program
US8773692B2 (en) Printing control apparatus and printing control method for document layout processing
US9081530B2 (en) Control system for forming and outputting image, control apparatus for forming and outputting image, and recording medium storing a control program for forming and outputting image
US9165225B2 (en) Program and information processing apparatus
JP5929374B2 (en) Program and information processing apparatus
JP6186926B2 (en) Program and information processing apparatus
JP2021111229A (en) Information processing device, and generation method and program for image data
JP2012221198A (en) Print system
JP2010218325A (en) Printing controller and printing system
JP6123356B2 (en) Information processing apparatus, program, and log data generation method
JP2007026100A (en) Image processing system, image processing method, and image processing program
JP2014228878A (en) Program and information processing apparatus
JP2013041472A (en) Information processor, driver program and recording medium
JP2015069360A (en) Program and information processor
JP2009003724A (en) Print controller and program of printer driver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170424

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170704

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170717

R150 Certificate of patent or registration of utility model

Ref document number: 6186926

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150