Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4363453B2 - Image data processing apparatus and program - Google Patents
[go: Go Back, main page]

JP4363453B2 - Image data processing apparatus and program - Google Patents

Image data processing apparatus and program Download PDF

Info

Publication number
JP4363453B2
JP4363453B2 JP2007088587A JP2007088587A JP4363453B2 JP 4363453 B2 JP4363453 B2 JP 4363453B2 JP 2007088587 A JP2007088587 A JP 2007088587A JP 2007088587 A JP2007088587 A JP 2007088587A JP 4363453 B2 JP4363453 B2 JP 4363453B2
Authority
JP
Japan
Prior art keywords
image data
data
image
processing
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.)
Expired - Fee Related
Application number
JP2007088587A
Other languages
Japanese (ja)
Other versions
JP2008252288A (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 JP2007088587A priority Critical patent/JP4363453B2/en
Publication of JP2008252288A publication Critical patent/JP2008252288A/en
Application granted granted Critical
Publication of JP4363453B2 publication Critical patent/JP4363453B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Description

本発明は、画像データを処理する画像データ処理装置に関し、詳しくは、その画像データに対応する画像に他の画像を重ねて形成可能にする加工処理を施すことのできる画像データ処理装置、並びに、その画像データ処理装置を構成するためのプログラムに関する。   The present invention relates to an image data processing apparatus that processes image data, and more specifically, an image data processing apparatus capable of performing processing that enables another image to be superimposed on an image corresponding to the image data, and The present invention relates to a program for configuring the image data processing apparatus.

従来より、画像データに加工処理を施す画像データ加工手段(いわゆるフィルタ)を備えた画像データ処理装置が種々提案されている。例えば、1枚の用紙の片面に複数頁分の画像を形成可能にするいわゆるマルチページ処理や、画像データを加工することによりその画像データに対応する画像に文字列などの他の画像を重ねて形成可能にするいわゆるウォーターマーク処理を実行可能な画像データ処理装置が考えられている。   Conventionally, various image data processing apparatuses having image data processing means (so-called filters) for processing image data have been proposed. For example, so-called multi-page processing that makes it possible to form an image for a plurality of pages on one side of a sheet of paper, or by processing image data to overlay another image such as a character string on the image corresponding to the image data An image data processing apparatus capable of executing so-called watermark processing that enables formation is considered.

ところで、これらのフィルタは、配列順序によって画像データの印刷結果が変化する。例えば、マルチページ処理のフィルタの次にウォーターマーク処理のフィルタが配列された場合は、複数頁分の画像が配列された後の例えば用紙の中央に上記他の画像が形成されるが、配列順序が逆であると、用紙の片面に配列される複数頁分の画像のそれぞれに上記他の画像が形成される。そこで、使用者の所望に応じてフィルタの配列順序を変更可能にすることが提案されている(例えば、特許文献1参照)。
特開2006−48537号公報
By the way, in these filters, the print result of the image data changes depending on the arrangement order. For example, when the watermark processing filter is arranged next to the multi-page processing filter, the other image is formed at the center of the paper after the arrangement of the images for a plurality of pages, for example. If the reverse is true, the other image is formed on each of a plurality of pages of images arranged on one side of the paper. Therefore, it has been proposed that the arrangement order of the filters can be changed as desired by the user (see, for example, Patent Document 1).
JP 2006-48537 A

ところが、上記ウォーターマーク処理では、一般には、その処理を実行することによって上記他の画像に対応するデータの本体(例えばフォントデータ)が画像データに添付される。このような処理が実行された後で、マルチページ等のフィルタ処理が実行されると、上記フォントデータ等もフィルタ処理における送受信の対象となってしまう。フォントデータ等は描画命令等からなるページデータ等に比べて大きく、このようなデータが送受信の対象となると処理速度が低下し、延いては印刷に要する時間が長くなってしまう。   However, in the watermark process, generally, the body of data (for example, font data) corresponding to the other image is attached to the image data by executing the process. When filter processing such as multi-page is executed after such processing is executed, the font data and the like are also subjected to transmission / reception in the filter processing. Font data or the like is larger than page data or the like made up of drawing commands and the like, and when such data becomes a transmission / reception target, the processing speed is lowered, and the time required for printing becomes longer.

そこで、本発明は、画像データに対して、その画像データに対応する画像に他の画像を重ねて形成可能にする加工処理を施すことのできる画像データ処理装置において、その加工処理の後に更に他の加工処理が施される場合にも処理速度の低下を抑制することを目的としてなされた。   Therefore, the present invention provides an image data processing apparatus capable of performing processing on image data so that another image can be formed on the image corresponding to the image data. Even when the above processing is performed, it was made for the purpose of suppressing a decrease in processing speed.

上記目的を達するためになされた本発明の画像データ処理装置は、画像データを加工することにより、該画像データに対応する画像に他の画像を重ねて形成可能にする加工処理を、上記画像データに上記他の画像に対応するデータの本体を付加することなく施す第1の画像データ加工手段と、該第1の画像データ加工手段により加工された上記画像データに更に加工処理を施す第2の画像データ加工手段と、上記各画像データ加工手段により加工処理を施された画像データに、上記他の画像に対応するデータの本体を付加するデータ付加手段と、を備えたことを特徴としている。   The image data processing apparatus of the present invention, which has been made to achieve the above-mentioned object, processes the image data so that another image can be formed on the image corresponding to the image data. The first image data processing means to be applied without adding the main body of data corresponding to the other image, and the second image data processed by the first image data processing means to further process the image data The image data processing means and data addition means for adding the data body corresponding to the other image to the image data processed by the image data processing means.

このように構成された本発明の画像データ処理装置では、第1の画像データ加工手段は、画像データを加工することによりその画像データに対応する画像に他の画像を重ねて形成可能にする加工処理を、上記画像データに上記他の画像に対応するデータの本体を付加することなく施す。すると、第2の画像データ加工手段は、第1の画像データ加工手段に
より加工された上記画像データに更に加工処理を施し、データ付加手段は、上記各画像データ加工手段により加工処理を施された画像データに、上記他の画像に対応するデータの本体(例えばファイル)を付加する。
In the image data processing apparatus of the present invention configured as described above, the first image data processing means processes the image data so that another image can be formed on the image corresponding to the image data. The processing is performed without adding a data body corresponding to the other image to the image data. Then, the second image data processing means performs further processing on the image data processed by the first image data processing means, and the data addition means performs processing by the image data processing means. A data body (for example, a file) corresponding to the other image is added to the image data.

このように、本発明の画像データ処理装置では、上記画像データに対応する画像に他の画像を重ねて形成可能にする加工処理を、上記他の画像に対応するデータの本体を上記画像データに付加することなく施す。このため、上記他の画像に対応するデータの本体は、第2の画像データ加工手段による処理対象(単なる送受信の対象も含む)とならず、第2の画像データ加工処理の処理速度が低下するのを抑制できる。また、データ付加手段は、上記各画像データ加工手段により加工処理を施された画像データに、上記他の画像に対応するデータの本体を付加するので、最終的な加工後の画像データは従来の加工処理を施した場合と同様になる。このように、本発明の画像データ処理装置では、画像データに対応する画像に他の画像を重ねて形成可能にする加工処理の後に更に他の加工処理が施される場合にも、当該他の画像に対応するデータ本体が上記他の加工処理の対象とならず、処理速度の低下を良好に抑制することができる。   As described above, in the image data processing apparatus of the present invention, the processing that enables the formation of another image on the image corresponding to the image data, and the main body of the data corresponding to the other image as the image data. Apply without adding. For this reason, the main body of data corresponding to the other image is not a processing target (including a simple transmission / reception target) by the second image data processing means, and the processing speed of the second image data processing is reduced. Can be suppressed. Further, the data adding means adds the main body of the data corresponding to the other image to the image data processed by each of the image data processing means, so that the final processed image data is the conventional image data. This is the same as when processing is performed. As described above, in the image data processing device of the present invention, even when other processing is performed after the processing that enables another image to be superimposed on the image corresponding to the image data, The data body corresponding to the image is not an object of the other processing, and a decrease in processing speed can be satisfactorily suppressed.

なお、本発明は以下の構成に限定されるものではないが、上記第1の画像データ加工手段は、上記他の画像に対応するデータを指示する指示情報を上記加工処理後の画像データに付加し、上記データ付加手段は、上記指示情報が指示するデータの本体を、上記各画像データ加工手段により加工処理を施された画像データに付加してもよい。この場合、第1の画像データ加工手段も上記他の画像に対応するデータの本体を全く扱わず、そのデータを指示する指示情報を画像データに付加するだけなので、処理速度を一層向上させることができる。   Although the present invention is not limited to the following configuration, the first image data processing means adds instruction information indicating data corresponding to the other image to the processed image data. The data adding means may add the main body of the data indicated by the instruction information to the image data processed by the image data processing means. In this case, the first image data processing means does not handle the main body of the data corresponding to the other image, and only adds instruction information indicating the data to the image data, so that the processing speed can be further improved. it can.

また、上記第2の画像データ加工手段が施す加工処理としては、種々の形態が考えられる。例えば、上記第2の画像データ加工手段は、上記画像データを加工することにより、1枚の被記録媒体の片面に複数頁分の画像を形成可能にする加工処理、上記画像データを加工することにより、上記画像データに対応する画像の被記録媒体に形成される大きさを変更する加工処理、または、上記画像データを加工することにより、上記画像データに対応する画像の被記録媒体に形成される向きを変更する加工処理の、少なくともいずれか1つを実行してもよい。   In addition, various forms are conceivable as the processing performed by the second image data processing means. For example, the second image data processing means processes the image data, and processes the image data so that a plurality of pages of images can be formed on one side of one recording medium. Thus, the processing for changing the size of the image corresponding to the image data formed on the recording medium, or the image data corresponding to the image data is formed on the recording medium of the image by processing the image data. At least one of the processing processes for changing the direction to be performed may be executed.

また、上記他の画像及びその画像に対応するデータの本体としても、種々の形態が考えられるが、上記他の画像が文字である場合、上記他の画像に対応するデータはフォントデータであってもよい。   In addition, various forms are conceivable as the other image and the data body corresponding to the image. When the other image is a character, the data corresponding to the other image is font data. Also good.

また、本発明のプログラムは、コンピュータを、上記いずれかに記載の画像データ処理装置を構成する上記各手段として動作させることを特徴としている。このため、本発明のプログラムをコンピュータに実行させれば、上記いずれかに記載の画像データ処理装置を容易に構成することができる。   A program according to the present invention is characterized by causing a computer to operate as each of the above-described means constituting the image data processing apparatus described above. For this reason, if the computer executes the program of the present invention, the image data processing apparatus described in any of the above can be easily configured.

次に、本発明の実施の形態を、図面を参照して説明する。図1は、本発明が適用されたプリントシステムの構成を表す外観図である。図1に示すように、本実施の形態のプリントシステムは、カラーレーザプリンタ(以下、単にプリンタという)1と、そのプリンタ1にケーブル200を介して接続された画像データ処理装置の一例としてのパーソナルコンピュータ(以下、単にパソコンという)300とから構成されている。なお、プリンタ1とパソコン300とは、LANなどのネットワークや、赤外線通信などを介して接続されてもよい。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an external view showing the configuration of a printing system to which the present invention is applied. As shown in FIG. 1, a printing system according to the present embodiment includes a color laser printer (hereinafter simply referred to as a printer) 1 and a personal computer as an example of an image data processing apparatus connected to the printer 1 via a cable 200. A computer (hereinafter simply referred to as a personal computer) 300 is configured. The printer 1 and the personal computer 300 may be connected via a network such as a LAN or infrared communication.

プリンタ1は、イエロー,マゼンタ,シアン,及びブラックのトナーにて電子写真方式によって画像を形成する周知のプリンタエンジン2(図2参照)を内部に備え、このプリンタエンジン2は、収容トレイ3に収容された被記録媒体の一例としての用紙(図示省略)に、1枚ずつ画像を形成してスタッカ4へ排出する。また、プリンタ1の表面には、各種設定や指示を行うための操作パネル5が設けられている。   The printer 1 includes a known printer engine 2 (see FIG. 2) that forms an image by electrophotographic method using yellow, magenta, cyan, and black toners. The printer engine 2 is accommodated in an accommodation tray 3. Images are formed one by one on a sheet (not shown) as an example of the recorded medium, and are discharged to the stacker 4. An operation panel 5 for performing various settings and instructions is provided on the surface of the printer 1.

図2は、このプリントシステムにおける制御系の構成を表すブロック図である。図2に示すように、パソコン300のパソコン本体310は、CPU311、ROM312、RAM313、及び、記録媒体の一例としてのハードディスク装置(HDD)314を備えている。そして、このパソコン本体310には、CRT等のディスプレイ320、キーボード330、マウス340が接続されている(いずれも図1参照)。更に、パソコン本体310には、図示しないLANと接続するためのLANインタフェース(LANI/F)350、及び、ケーブル200を介してプリンタ1と接続するためのプリンタポートインタフェース(プリンタポートI/F)360も接続されている。   FIG. 2 is a block diagram showing the configuration of the control system in this printing system. As shown in FIG. 2, the personal computer main body 310 of the personal computer 300 includes a CPU 311, a ROM 312, a RAM 313, and a hard disk device (HDD) 314 as an example of a recording medium. A display 320 such as a CRT, a keyboard 330, and a mouse 340 are connected to the personal computer main body 310 (see FIG. 1 for all). Further, the personal computer main body 310 has a LAN interface (LAN I / F) 350 for connecting to a LAN (not shown) and a printer port interface (printer port I / F) 360 for connecting to the printer 1 via the cable 200. Is also connected.

プリンタ1には、前述のプリンタエンジン2等を制御する制御部10が設けられ、この制御部10は、CPU10A,ROM10B,RAM10Cを備えたマイクロコンピュータとして構成されている。また、制御部10は、電源スイッチが切られても記憶内容が消えないようにされたNVRAM10Dも備えている。更に、この制御部10には、前述のプリンタエンジン2,操作パネル5の他、ケーブル200を介してパソコン300と接続するためのプリンタポートインタフェース(プリンタポートI/F)11、及び、図示しないLANと接続するためのLANインタフェース(LANI/F)12などが接続されている。なお、プリンタ1とパソコン300とは、前述のように、LANインタフェース12,350を介してLANなどのネットワークによって接続されてもよい。   The printer 1 includes a control unit 10 that controls the printer engine 2 and the like. The control unit 10 is configured as a microcomputer including a CPU 10A, a ROM 10B, and a RAM 10C. The control unit 10 also includes an NVRAM 10D that prevents the stored contents from being erased even when the power switch is turned off. Further, the control unit 10 includes a printer port interface (printer port I / F) 11 for connecting to the personal computer 300 via the cable 200 in addition to the printer engine 2 and the operation panel 5, and a LAN (not shown). A LAN interface (LAN I / F) 12 and the like are connected. Note that the printer 1 and the personal computer 300 may be connected by a network such as a LAN via the LAN interfaces 12 and 350 as described above.

[実施の形態における制御]
次に、この制御系で実行される処理について説明する。パソコン300において各種アプリケーションで画像データとしての印刷データが作成され、印刷のためにプリンタドライバがコールされてそのプリンタドライバ上でその印刷が指示されると、パソコン300のCPU311は、ハードディスク装置314に記憶されたプログラムに基いて次のような印刷処理を実行する。
[Control in Embodiment]
Next, processing executed in this control system will be described. When print data as image data is created by various applications in the personal computer 300, the printer driver is called for printing and the printing is instructed on the printer driver, the CPU 311 of the personal computer 300 stores the data in the hard disk device 314. The following print processing is executed based on the programmed program.

図3は、CPU311が実行する上記印刷処理のメインルーチンを表すフローチャートである。図3に示すように、この処理では、先ず、第1の画像データ加工手段の一例としてのS1(Sはステップを表す:以下同様)にて、上記印刷データに対応する画像に他の画像の一例としてのウォーターマークを重ねて形成可能にするウォーターマーク処理が実行される。続く第2の画像データ加工手段の一例としてのS2,S3,S4では、用紙の片面に複数ページ分の画像を形成可能にするマルチページ処理、上記印刷データに対応する画像の用紙に形成される大きさを変更するスケーリング処理、及び、上記印刷データに対応する画像の用紙に形成される向きを変更する反転処理が、順次実行される。   FIG. 3 is a flowchart showing a main routine of the printing process executed by the CPU 311. As shown in FIG. 3, in this process, first, in S1 as an example of the first image data processing means (S represents a step: the same applies hereinafter), another image is added to the image corresponding to the print data. As an example, a watermark process is performed that enables the watermark to be formed in an overlapping manner. In S2, S3, and S4 as an example of subsequent second image data processing means, a multi-page process that enables an image for a plurality of pages to be formed on one side of the paper, an image corresponding to the print data is formed on the paper. A scaling process for changing the size and an inversion process for changing the orientation of the image corresponding to the print data formed on the paper are sequentially executed.

図4は、この印刷処理における印刷設定の一例を表す説明図である。このような印刷設定がなされている場合、用紙に形成される画像は図5に例示するように変化する。先ず、図5(A)に例示する3ページの画像に対してS1のウォーターマーク処理が実行されると、図5(B)に例示するように、各ページの画像に、上記印刷設定にあるように「社外秘」の文字列が、ゴシックのフォントで用紙の中央に角度0度で配設されるようにデータの加工がなされ、上記文字列のサイズは100、色は黒とされる。続いて、S2により、上記印刷設定にあるように4in1のマルチページ処理がなされると、図5(C)に例示するように、4ページ分の画像が1枚の用紙に配設されるようにデータの加工がなされる。更に、S3のスケーリング処理が、上記印刷設定にあるように倍率75%でなされると
、図5(D)に例示するように、上記画像が縮小されるようにデータの加工がなされる。そして、S4の反転処理により、上記印刷設定にあるように180度反転がなされると、図5(E)に例示するように、画像の向きが180度回転するようにデータの加工がなされる。
FIG. 4 is an explanatory diagram showing an example of print settings in this print processing. When such print settings are made, the image formed on the paper changes as illustrated in FIG. First, when the watermark processing of S1 is performed on the image of 3 pages illustrated in FIG. 5A, the image is in the above-described print setting as illustrated in FIG. 5B. In this way, data processing is performed so that the character string “confidential” is arranged in a Gothic font at an angle of 0 degrees in the center of the paper, and the size of the character string is 100 and the color is black. Subsequently, when 4-in-1 multi-page processing is performed in S2 as in the print setting, four pages of images are arranged on one sheet as illustrated in FIG. 5C. The data is processed. Further, when the scaling process of S3 is performed at a magnification of 75% as in the print setting, data is processed so that the image is reduced as illustrated in FIG. 5D. Then, when 180 degree inversion is performed as in the print setting by the inversion processing in S4, the data is processed so that the image orientation is rotated by 180 degrees as illustrated in FIG. 5E. .

ここで、上記S1〜S4の処理が従来と同様の処理であった場合、上記例に対応する印刷データDは次のように変化する。すなわち、先ず、加工前の状態では、図6(A)に例示するように、1ページ目,2ページ目,3ページ目に対応するページデータPD1,PD2,PD3がドキュメントデータDDに付加され、更に、各ページの画像(太陽及び雲,汽車,車)に対応するイメージデータID1,ID2,ID3が付加される。なお、ドキュメントデータDDには、そのドキュメントが何ページからなるかなどのドキュメントの構成や、作成者などの情報が書かれており、ページデータPD1,PD2,PD3には各ページのレイアウト情報や、画像が描画で作製されるものにおいては、その画像の描画命令が書かれており、イメージデータID1,ID2,ID3は各ページで使用されたJPGなどの画像データそのものである。更に、3ページ目には「車」の文字が入っているので、その文字に対応するフォントデータFD3も付加される。このフォントデータFD3は、文字描画に必要な文字の特徴を示したデータである。   Here, when the processes of S1 to S4 are the same as the conventional processes, the print data D corresponding to the above example changes as follows. That is, first, in the state before processing, as illustrated in FIG. 6A, page data PD1, PD2, and PD3 corresponding to the first page, the second page, and the third page are added to the document data DD, Furthermore, image data ID1, ID2 and ID3 corresponding to the images (sun and cloud, train, car) of each page are added. The document data DD contains information such as the document structure such as how many pages the document consists of and the creator. The page data PD1, PD2, and PD3 include layout information for each page, When an image is created by drawing, a drawing command for the image is written, and image data ID1, ID2, and ID3 are image data such as JPG used in each page. Further, since the character “car” is included in the third page, font data FD3 corresponding to the character is also added. The font data FD3 is data indicating character features necessary for character drawing.

そして、ウォーターマーク処理(S1)では、ページデータPD1,PD2,PD3にウォーターマークの描画命令等が付加されると共に、文字列「社外秘」に対応するウォーターマーク用フォントデータWD(図6(B)参照)のファイルが付加される。続くS2のマルチページ処理では、3ページ分のページデータPD1,PD2,PD3が1ページ分のページデータPD1にまとめられ、更に、スケーリング処理(S3),反転処理(S4)では、ページデータPD1に必要な改変がなされる。こうして、最終的な加工後の印刷データDは図6(B)に例示するようになる。   In the watermark process (S1), a watermark drawing command or the like is added to the page data PD1, PD2, and PD3, and the watermark font data WD corresponding to the character string “confidential” (FIG. 6B). File) is added. In the subsequent multi-page process of S2, page data PD1, PD2, and PD3 for three pages are grouped into page data PD1 for one page. Further, in the scaling process (S3) and the inversion process (S4), the page data PD1 Necessary modifications are made. Thus, the final processed print data D is illustrated in FIG. 6B.

ところが、上記のように、ウォーターマーク処理(S1)が最初に実行されて印刷データDにウォーターマーク用フォントデータWDのファイルが付加されてしまうと、そのファイルもS2〜S4の各種加工処理における送受信の対象となってしまう。そこで、本実施の形態では、S1のウォーターマーク処理を、次のように構成している。   However, as described above, when the watermark process (S1) is first executed and the file of watermark font data WD is added to the print data D, the file is also transmitted and received in various processing processes of S2 to S4. It becomes the target of. Therefore, in the present embodiment, the watermark processing of S1 is configured as follows.

図7は、S1のウォーターマーク処理を詳細に表すフローチャートである。図7に示すように、この処理では、先ず、S11にて、上記アプリケーションで作成されてRAM313の所定領域に記憶されている未処理の印刷データの1つがCPU311によって受信される。続くS13では、上記S11でデータが受信できたか否かが判断される。最初は、印刷データは全く処理されていないので、S11にてデータが受信される(S13:Y)。そこで、続くS14,S15では、そのデータが解析されることにより、ページデータであるか否か(S14)、ドキュメントデータであるか否か(S15)、が順次判断される。   FIG. 7 is a flowchart showing in detail the watermark processing in S1. As shown in FIG. 7, in this process, first, in S 11, one of the unprocessed print data created by the application and stored in a predetermined area of the RAM 313 is received by the CPU 311. In subsequent S13, it is determined whether or not data has been received in S11. At first, since the print data is not processed at all, the data is received in S11 (S13: Y). Therefore, in subsequent S14 and S15, the data is analyzed, and it is sequentially determined whether it is page data (S14) and whether it is document data (S15).

ページデータでもドキュメントデータでもないその他のデータである場合は(S14:N,S15:N)、S17にて当該その他のデータがそのままの形でRAM313に送信されて、処理は前述のS11へ移行する。また、上記読み出されたデータがドキュメントデータである場合は(S14:N,S15:Y)、S18にてそのドキュメントデータがそのままの形でRAM313に送信されて、処理は前述のS11へ移行する。更に、上記読み出されたデータがページデータである場合は(S14:Y)、次に述べるウォーターマーク付加・送信処理がS19にて実行されて、処理は前述のS11へ移行する。そして、上記各処理の繰返しにより印刷データが全て処理されると、データが受信できなくなり(S13:N)、処理は図3のS2へ移行する。   If the data is other data that is neither page data nor document data (S14: N, S15: N), the other data is transmitted as it is to the RAM 313 in S17, and the process proceeds to S11 described above. . If the read data is document data (S14: N, S15: Y), the document data is transmitted as it is to the RAM 313 in S18, and the process proceeds to S11 described above. . Furthermore, when the read data is page data (S14: Y), the watermark addition / transmission process described below is executed in S19, and the process proceeds to S11 described above. When all the print data is processed by repeating the above processes, the data cannot be received (S13: N), and the process proceeds to S2 in FIG.

図8は、S19のウォーターマーク付加・送信処理を詳細に表すフローチャートである。図8に示すように、この処理では、先ず、S190にて、上記印刷設定からウォーターマークの設定が取得される。続くS191では、上記印刷設定においてウォーターマークの設定がONになっていたか否か、すなわち、何らかのウォーターマークを付加する設定になっていたか否かが判断される。ウォーターマークの設定がONの場合は(S191:Y)、S192にて、上記受信されたページデータからページサイズが取得され、続くS193にて、そのページサイズからウォーターマークの描画位置が算出される。例えば、横4000ドット,縦6000ドットのページの中央に横2000ドット,縦600ドットのウォーターマークを付加する場合は、描画開始位置は1000ドット,2700ドットとなる。   FIG. 8 is a flowchart showing in detail the watermark addition / transmission process of S19. As shown in FIG. 8, in this process, first, in S190, the watermark setting is acquired from the print setting. In the subsequent S191, it is determined whether or not the watermark setting has been turned ON in the print setting, that is, whether or not any watermark has been set. If the watermark setting is ON (S191: Y), the page size is acquired from the received page data in S192, and the watermark drawing position is calculated from the page size in S193. . For example, when a watermark of 2000 dots wide and 600 dots high is added to the center of a page of 4000 dots wide and 6000 dots long, the drawing start position is 1000 dots and 2700 dots.

続くS194では、ページデータの最後にウォーターマークの描画命令が付加され、その描画命令を付加されたページデータが、S195にてRAM313に送信される。なお、ウォーターマークの描画命令には、S191にて取得された文字列の文字コードやフォント名,S193にて算出された描画位置等が含まれる。更に、続くS196では、フォント名を表す指示情報の一例としてのインデックス情報(この場合フォント名の「ゴシック」)が、上記印刷データの記憶領域とは異なるRAM313の所定領域に送信され、処理は図7のS11へ移行する。一方、ウォーターマークの設定がOFFの場合は(S191:N)、S199にてページデータがそのままの形でRAM313に送信されて、処理は図7のS11へ移行する。   In subsequent S194, a watermark drawing command is added to the end of the page data, and the page data to which the drawing command is added is transmitted to the RAM 313 in S195. The watermark drawing command includes the character code and font name of the character string acquired in S191, the drawing position calculated in S193, and the like. Further, in the subsequent S196, index information (in this case, the font name “Gothic”) as an example of instruction information indicating the font name is transmitted to a predetermined area of the RAM 313 different from the storage area of the print data, and the processing is shown in FIG. 7 to S11. On the other hand, if the watermark setting is OFF (S191: N), the page data is transmitted as it is to the RAM 313 in S199, and the process proceeds to S11 in FIG.

このように、本実施の形態のウォーターマーク処理では、他の画像に対応するデータの本体の一例としてのウォーターマーク用フォントデータのファイルを印刷データに添付することなく、代わりに上記インデックス情報をRAM313送信して処理が終了する。   As described above, in the watermark processing according to the present embodiment, the index information is replaced with the RAM 313 without attaching a watermark font data file as an example of a data body corresponding to another image to the print data. The transmission is completed.

図3へ戻って、このようなウォーターマーク処理(S1)の実行後、前述のように、従来と同様のマルチページ処理(S2),スケーリング処理(S3),反転処理(S4)が実行されると、処理はS5へ移行し、RAM313に上記インデックス情報が記憶されているか否かが判断される。そして、記憶されている場合は(S5:Y)、処理はデータ付加手段の一例としてのS6へ移行する。   Returning to FIG. 3, after executing such watermark processing (S1), as described above, the same multi-page processing (S2), scaling processing (S3), and inversion processing (S4) are executed. Then, the process proceeds to S5, and it is determined whether or not the index information is stored in the RAM 313. If it is stored (S5: Y), the process proceeds to S6 as an example of the data adding means.

S6では、そのインデックス情報に該当するデータ(上記の例ではゴシックのフォントファイル)が印刷データに付加され、続くS7にて、印刷データに対してPDL化処理が実行されて処理が終了する。なお、S7のPDL化処理とは、印刷データをビットマップに変換した後、色変換,2値化処理,圧縮処理を行い、必要なPJL(Printer Job Language)を付加することにより、プリンタ1へ送信可能なデータとする処理である。一方、RAM313に上記インデックス情報が記憶されていない場合は(S5:N)、処理はS5からS7へ直接移行して、PDL化処理が実行される。   In S6, data corresponding to the index information (Gothic font file in the above example) is added to the print data, and in S7, PDL processing is executed for the print data, and the process ends. Note that the PDL processing in S7 refers to the printer 1 by converting the print data into a bitmap, performing color conversion, binarization processing, and compression processing, and adding necessary PJL (Printer Job Language). This is a process for making the data transmittable. On the other hand, when the index information is not stored in the RAM 313 (S5: N), the process directly proceeds from S5 to S7, and the PDL processing is executed.

[実施の形態の効果及び変形例]
このように、本実施の形態では、ウォーターマーク処理(S1)において、ウォーターマーク用フォントデータのファイルを印刷データに添付することなく、代わりに上記インデックス情報をRAM313送信している。このため、ウォーターマーク用フォントデータのファイルがS2〜S4の各種加工処理における送受信の対象とならず、処理速度が低下するのを良好に抑制することができる。例えば、図6(C)に例示するように、ウォーターマーク用フォントデータWDのファイルが添付されない印刷データDがS2〜S4の処理対象となるため、処理を迅速化することができる。また、上記ウォーターマーク用フォントデータのファイルは、PDL化処理(S7)の前に印刷データに付加されるので(S6)、プリンタ1による印刷結果は従来と同様になる。
[Effects and Modifications of Embodiment]
As described above, in the present embodiment, in the watermark process (S1), the index font information is transmitted to the RAM 313 instead of attaching the watermark font data file to the print data. For this reason, the watermark font data file is not subject to transmission / reception in the various processing processes of S2 to S4, and it is possible to satisfactorily suppress a decrease in processing speed. For example, as illustrated in FIG. 6C, the print data D to which the watermark font data WD file is not attached becomes the processing target of S2 to S4, so that the processing can be speeded up. Since the watermark font data file is added to the print data before the PDL processing (S7) (S6), the print result by the printer 1 is the same as the conventional one.

なお、本発明は上記実施の形態になんら限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の形態で実施することができる。例えば、上記実施の形態では、ウォーターマークの文字列に対応するフォントデータをインデックス情報を利用して付加しているが、ウォーターマークがロゴ等の画像である場合はその画像に対するイメージデータをインデックス情報を利用して付加してもよい。また、第1の画像データ加工手段は、ウォーターマーク処理に限定されるものではなく、上記他の画像として日付等を付加する処理であってもよい。更に、第2の画像データ加工手段も上記S2〜S4以外の処理であってもよい。   In addition, this invention is not limited to the said embodiment at all, It can implement with a various form in the range which does not deviate from the summary of this invention. For example, in the above embodiment, font data corresponding to the character string of the watermark is added using the index information. If the watermark is an image such as a logo, the image data for the image is index information. You may add using. Further, the first image data processing means is not limited to the watermark process, and may be a process of adding a date or the like as the other image. Further, the second image data processing means may be a process other than S2 to S4.

また更に、ウォーターマーク用フォントデータ等の上記他の画像に対応するデータ本体は、必ずしもインデックス情報等の指示情報を用いて付加する必要はなく、例えば、予めRAM313に設定した添付ファイル用記憶領域に読み込んでおき、各加工処理後にその領域に記憶されたデータを付加するようにしてもよい。但し、上記実施の形態のように、インデックス情報等の指示情報を利用した場合、ウォーターマーク処理等で上記データ本体を全く扱う必要がなく、処理速度を一層向上させることができる。また、インデックス情報等の指示情報は、ページデータの中に格納しておいてもよい。但し、この場合、インデックス情報の有無を判断するためにフィルタ処理が必要となる。   Furthermore, the data body corresponding to the other image, such as watermark font data, does not necessarily have to be added using the instruction information such as index information. For example, it is stored in an attachment file storage area set in the RAM 313 in advance. It is possible to read the data and add the data stored in the area after each processing. However, when instruction information such as index information is used as in the above embodiment, it is not necessary to handle the data body at all in the watermark process or the like, and the processing speed can be further improved. In addition, instruction information such as index information may be stored in page data. However, in this case, a filtering process is required to determine the presence or absence of index information.

本発明が適用されたプリントシステムの構成を表す外観図である。1 is an external view illustrating a configuration of a printing system to which the present invention is applied. そのプリントシステムにおける制御系の構成を表すブロック図である。It is a block diagram showing the structure of the control system in the printing system. そのプリントシステムのパソコンで実行される印刷処理のメインルーチンを表すフローチャートである。4 is a flowchart showing a main routine of print processing executed by a personal computer of the print system. その印刷処理における印刷設定の一例を表す説明図である。It is explanatory drawing showing an example of the print setting in the printing process. その印刷処理による画像の変化を例示する説明図である。It is explanatory drawing which illustrates the change of the image by the printing process. その画像の変化に対応する印刷データの変化を従来例との比較により例示する説明図である。It is explanatory drawing which illustrates the change of the print data corresponding to the change of the image by comparison with a prior art example. 上記印刷データ加工処理のウォーターマーク処理を詳細に表すフローチャートである。It is a flowchart showing in detail the watermark processing of the print data processing. そのウォーターマーク処理のウォーターマーク付加・送信処理を詳細に表すフローチャートである。It is a flowchart showing in detail the watermark addition / transmission process of the watermark process.

符号の説明Explanation of symbols

1…カラーレーザプリンタ 2…プリンタエンジン 10…制御部
300…パソコン 310…パソコン本体 314…ハードディスク装置
320…ディスプレイ D…印刷データ WD…ウォーターマーク用フォントデータ
DESCRIPTION OF SYMBOLS 1 ... Color laser printer 2 ... Printer engine 10 ... Control part 300 ... Personal computer 310 ... Personal computer body 314 ... Hard disk apparatus 320 ... Display D ... Print data WD ... Watermark font data

Claims (5)

画像データを加工することにより、該画像データに対応する画像に他の画像を重ねて形成可能にする加工処理を、上記画像データに上記他の画像に対応するデータの本体を付加することなく施す第1の画像データ加工手段と、
該第1の画像データ加工手段により加工された上記画像データに更に加工処理を施す第2の画像データ加工手段と、
上記各画像データ加工手段により加工処理を施された画像データに、上記他の画像に対応するデータの本体を付加するデータ付加手段と、
を備えたことを特徴とする画像データ処理装置。
By processing the image data, the processing corresponding to the image corresponding to the image data can be formed on the image data without adding the main body of the data corresponding to the other image. First image data processing means;
Second image data processing means for further processing the image data processed by the first image data processing means;
Data adding means for adding a data body corresponding to the other image to the image data processed by each of the image data processing means;
An image data processing apparatus comprising:
上記第1の画像データ加工手段は、上記他の画像に対応するデータを指示する指示情報を上記加工処理後の画像データに付加し、
上記データ付加手段は、上記指示情報が指示するデータの本体を、上記各画像データ加工手段により加工処理を施された画像データに付加することを特徴とする請求項1記載の画像データ処理装置。
The first image data processing means adds instruction information indicating data corresponding to the other image to the image data after the processing,
2. The image data processing apparatus according to claim 1, wherein the data adding means adds the main body of the data indicated by the instruction information to the image data processed by each of the image data processing means.
上記第2の画像データ加工手段は、上記画像データを加工することにより、1枚の被記録媒体の片面に複数頁分の画像を形成可能にする加工処理、上記画像データを加工することにより、上記画像データに対応する画像の被記録媒体に形成される大きさを変更する加工処理、または、上記画像データを加工することにより、上記画像データに対応する画像の被記録媒体に形成される向きを変更する加工処理の、少なくともいずれか1つを実行することを特徴とする請求項1または2記載の画像データ処理装置。   The second image data processing means processes the image data so that a plurality of pages of images can be formed on one side of one recording medium, and the image data is processed. The processing for changing the size of the image corresponding to the image data formed on the recording medium, or the direction in which the image corresponding to the image data is formed on the recording medium by processing the image data The image data processing apparatus according to claim 1, wherein at least one of the processing processes for changing the image data is executed. 上記他の画像が文字である場合、上記他の画像に対応するデータはフォントデータであることを特徴とする請求項1〜3のいずれかに記載の画像データ処理装置。   4. The image data processing apparatus according to claim 1, wherein when the other image is a character, the data corresponding to the other image is font data. コンピュータを、請求項1〜4のいずれかに記載の画像データ処理装置を構成する上記各手段として動作させることを特徴とするプログラム。   A program for causing a computer to operate as each of the means constituting the image data processing apparatus according to any one of claims 1 to 4.
JP2007088587A 2007-03-29 2007-03-29 Image data processing apparatus and program Expired - Fee Related JP4363453B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007088587A JP4363453B2 (en) 2007-03-29 2007-03-29 Image data processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007088587A JP4363453B2 (en) 2007-03-29 2007-03-29 Image data processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2008252288A JP2008252288A (en) 2008-10-16
JP4363453B2 true JP4363453B2 (en) 2009-11-11

Family

ID=39976761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007088587A Expired - Fee Related JP4363453B2 (en) 2007-03-29 2007-03-29 Image data processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4363453B2 (en)

Also Published As

Publication number Publication date
JP2008252288A (en) 2008-10-16

Similar Documents

Publication Publication Date Title
JP3873427B2 (en) Intermediate file processing apparatus in printer control system and recording medium recorded with control program thereof
US7298511B2 (en) Document print history
JP2008201045A (en) Image forming apparatus
JP7243335B2 (en) Image forming apparatus, program and image forming system
JP2005084898A (en) Print data processing system and program for the system
JP2011243004A (en) Information processor, print control program, recording medium, print control system and image-forming apparatus
JP2007331390A (en) Image forming apparatus and control method thereof
JP4363453B2 (en) Image data processing apparatus and program
US8330977B2 (en) Method of creating decompressed data
US10140558B2 (en) Print control system, print control apparatus, and program
JP2012155415A (en) Printing system
JP2008052552A (en) Printer control device, program, and recording medium
JP4407579B2 (en) Image forming apparatus, image forming method, and program
JP2006263969A (en) Image processing apparatus, print job generation apparatus, and image processing system
JP2008299634A (en) Print control apparatus and program
JP4940912B2 (en) Image data processing apparatus, program, and recording medium
JP2009260614A (en) Image forming system, image forming apparatus, image processor, and program
JP2017189968A (en) Image processing apparatus and image processing method
JP4661685B2 (en) Image processing apparatus, image processing method, and image processing program
JP2007026054A (en) Information processing apparatus, program for controlling information processing apparatus, and storage medium
JP2008165467A (en) Printing system, printing method, program and computer-readable recording medium
JP4725471B2 (en) Image data processing apparatus, program, and recording medium
JP2006235933A (en) Image processing apparatus and print job generation apparatus
JP2007011515A (en) Printing system, printing system control method and program
JP4062355B1 (en) Print system, printer, print program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090708

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090810

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4363453

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130828

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees