JP2017182597A - Control device and computer program - Google Patents

Control device and computer program Download PDF

Info

Publication number
JP2017182597A
JP2017182597A JP2016071326A JP2016071326A JP2017182597A JP 2017182597 A JP2017182597 A JP 2017182597A JP 2016071326 A JP2016071326 A JP 2016071326A JP 2016071326 A JP2016071326 A JP 2016071326A JP 2017182597 A JP2017182597 A JP 2017182597A
Authority
JP
Japan
Prior art keywords
image
printing
control device
transport direction
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.)
Pending
Application number
JP2016071326A
Other languages
Japanese (ja)
Inventor
良平 小澤
Ryohei Ozawa
良平 小澤
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 JP2016071326A priority Critical patent/JP2017182597A/en
Priority to US15/469,621 priority patent/US10315436B2/en
Publication of JP2017182597A publication Critical patent/JP2017182597A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/21Ink jet for multi-colour printing
    • B41J2/2132Print quality control characterised by dot disposition, e.g. for reducing white stripes or banding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1867Post-processing of the composed and rasterized print image
    • G06K15/1868Post-processing of the composed and rasterized print image for fitting to an output condition, e.g. paper colour or format
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/007Conveyor belts or like feeding devices
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/008Controlling printhead for accurately positioning print image on printing material, e.g. with the intention to control the width of margins
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/015Ink jet characterised by the jet generation process
    • B41J2/04Ink jet characterised by the jet generation process generating single droplets or particles on demand
    • B41J2/045Ink jet characterised by the jet generation process generating single droplets or particles on demand by pressure, e.g. electromechanical transducers
    • B41J2/04501Control methods or devices therefor, e.g. driver circuits, control circuits
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42DBOOKS; BOOK COVERS; LOOSE LEAVES; PRINTED MATTER CHARACTERISED BY IDENTIFICATION OR SECURITY FEATURES; PRINTED MATTER OF SPECIAL FORMAT OR STYLE NOT OTHERWISE PROVIDED FOR; DEVICES FOR USE THEREWITH AND NOT OTHERWISE PROVIDED FOR; MOVABLE-STRIP WRITING OR READING APPARATUS
    • B42D25/00Information-bearing cards or sheet-like structures characterised by identification or security features; Manufacture thereof
    • B42D25/30Identification or security features, e.g. for preventing forgery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1867Post-processing of the composed and rasterized print image
    • G06K15/1889Merging with other data

Abstract

PROBLEM TO BE SOLVED: To suppress a printing time for printing an image that includes a first image and a second time from being extended, as compared with the case of printing an arrangement image in which the second image is arranged irrespective of the first image.SOLUTION: The control device of a printing execution unit comprises: a first determination unit for determining, about multiple sessions of partial printing to print a first image, a plurality of head positions which respectively are relative positions in the direction of conveyance of printing heads for the first image; and a second determination unit for determining, on the basis of the plurality of head positions, the relative position of a second image for the first image, which, when partial printing to print the second image needs to be added to the multiple sessions of partial printing to print the first image, determines the relative position of the second image so as to minimize the sessions of the partial printing to be added.SELECTED DRAWING: Figure 3

Description

本明細書は、第1画像と第2画像とを含む画像を印刷する技術に関する。   The present specification relates to a technique for printing an image including a first image and a second image.

特許文献1には、複数ページを一部とする複数部の印刷を行う際に、各部のページ群ごとに異なるマークが付加されたマーク付きページを印刷する技術が開示されている。   Patent Document 1 discloses a technique for printing a marked page to which a different mark is added for each page group of each part when printing a plurality of copies including a plurality of pages as a part.

特開2006−344106号公報JP 2006-344106 A 特開2000−168183号公報JP 2000-168183 A 特開2005−088387号公報JP 2005-088387 A 特開2009−023214号公報JP 2009-023214 A 特開2013−065955号公報JP2013-065955A

しかしながら、上記技術では、マークが配置される位置について、十分な工夫がなされているとは言えなかった。このために、マーク付きページを印刷する印刷時間が過度に長くなる可能性があった。このような課題は、マーク付きページの印刷に限らず、第1画像と第2画像とを含む画像を印刷する際に、共通する課題であった。   However, in the above technique, it cannot be said that a sufficient contrivance has been made for the position where the mark is arranged. For this reason, the printing time for printing a marked page may be excessively long. Such a problem is not limited to printing a marked page, but is a common problem when printing an image including a first image and a second image.

本明細書は、第1画像に関わらず第2画像を配置した配置画像を印刷する場合に比べて、第1画像と第2画像とを含む画像を印刷する印刷時間が長くなることを抑制できる技術を開示する。   In this specification, it is possible to suppress an increase in printing time for printing an image including the first image and the second image, as compared with the case of printing the arrangement image in which the second image is arranged regardless of the first image. Disclose technology.

本明細書に開示された技術は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の適用例として実現することが可能である。   The technology disclosed in the present specification has been made to solve at least a part of the above-described problems, and can be realized as the following application examples.

[適用例1]インクを吐出する複数個のノズルを有する印刷ヘッドと、シートを搬送方向に搬送する搬送機構と、を備える印刷実行部であって、前記印刷ヘッドによって画像の一部分を前記シートに印刷する部分印刷と、前記搬送機構によって前記シートを搬送するシート搬送と、を交互に複数回実行することによって、前記シートに前記画像を印刷する印刷処理を実行する、前記印刷実行部のための制御装置であって、印刷すべき第1画像を示す第1画像データと、前記第1画像とともに印刷すべき第2画像を示す第2画像データと、を取得する画像取得部と、前記第1画像の印刷のための複数回の前記部分印刷について、複数個のヘッド位置を決定する第1決定部であって、前記複数個のヘッド位置のそれぞれは、前記第1画像に対する、前記印刷ヘッドの前記搬送方向の相対的な位置であり、前記複数個のヘッド位置のそれぞれは、前記第1画像データを用い、前記第1画像の内容に応じて決定される、前記第1決定部と、前記複数個のヘッド位置に基づいて、前記第1画像に対する前記第2画像の相対的な位置を決定する第2決定部であって、前記第1画像の印刷のための前記複数回の部分印刷に対して前記第2画像の印刷のために前記部分印刷を追加すべき場合に、追加すべき前記部分印刷の回数が最も少なくなるように、前記第1画像に対する前記第2画像の相対的な位置を決定する、前記第2決定部と、前記第1画像データと前記第2画像データとを用いて、前記第1画像に対して、前記第2決定部によって決定済みの相対的な位置に前記第2画像を配置することによって、前記第1画像と前記第2画像とを含む配置画像を示す配置画像データを生成する生成部と、前記配置画像データを用いて生成される印刷画像データを、前記印刷実行部に対して供給する供給部と、を備える、制御装置。 Application Example 1 A print execution unit including a print head having a plurality of nozzles that eject ink and a transport mechanism that transports a sheet in the transport direction, and a part of an image is applied to the sheet by the print head. For the print execution unit, executing a print process for printing the image on the sheet by alternately executing partial printing for printing and sheet conveyance for conveying the sheet by the conveyance mechanism a plurality of times. An image acquisition unit which is a control device and acquires first image data indicating a first image to be printed and second image data indicating a second image to be printed together with the first image, and the first A first determination unit that determines a plurality of head positions for a plurality of partial printings for printing an image, wherein each of the plurality of head positions corresponds to the first image. The first determination is a relative position of the print head in the transport direction, and each of the plurality of head positions is determined according to the content of the first image using the first image data. And a second determination unit that determines a relative position of the second image with respect to the first image based on the plurality of head positions and the plurality of times for printing the first image. When the partial printing is to be added for printing the second image with respect to the partial printing of the second image, the second image of the first image is reduced so that the number of partial printings to be added is minimized. Relative position determined by the second determination unit with respect to the first image using the second determination unit, the first image data, and the second image data for determining a relative position To arrange the second image at a certain position. Thus, a generation unit that generates arrangement image data indicating an arrangement image including the first image and the second image, and print image data generated using the arrangement image data are sent to the print execution unit. A control unit.

上記構成によれば、第1画像の印刷のための複数回の部分印刷に対して第2画像の印刷のために部分印刷を追加すべき場合に、配置画像において、第2画像は、第1画像の印刷のために行われる複数回の部分印刷に対して第2画像の印刷のために追加される部分印刷の回数が最も少なくなるように、配置される。この結果、第1画像に関わらず第2画像を配置した配置画像を印刷する場合に比べて、第1画像と第2画像とを含む配置画像を印刷する印刷時間が長くなることを抑制できる。   According to the above configuration, when partial printing is to be added for printing the second image to multiple partial printings for printing the first image, the second image is the first in the arrangement image. It arrange | positions so that the frequency | count of the partial printing added for printing of a 2nd image may become the least with respect to the partial printing performed for printing of an image multiple times. As a result, it is possible to suppress an increase in the printing time for printing the arrangement image including the first image and the second image, compared to the case of printing the arrangement image in which the second image is arranged regardless of the first image.

なお、本明細書に開示される技術は、種々の形態で実現することが可能であり、例えば、印刷装置、印刷方法、これら装置の機能または上記方法を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、等の形態で実現することができる。   The technology disclosed in the present specification can be realized in various forms. For example, a printing apparatus, a printing method, a function of these apparatuses, a computer program for realizing the above method, or a computer program therefor Can be realized in the form of a recording medium on which is recorded.

端末装置とプリンタとの構成を示すブロック図である。It is a block diagram which shows the structure of a terminal device and a printer. 印刷機構の説明図である。It is explanatory drawing of a printing mechanism. 対象画像とウォーターマークとヘッド位置との関係を示す第1の図である。It is a 1st figure which shows the relationship between a target image, a watermark, and a head position. 印刷処理のフローチャートである。It is a flowchart of a printing process. UI画面の一例を示す図である。It is a figure which shows an example of UI screen. マーク配置処理のフローチャートである。It is a flowchart of a mark arrangement process. 対象画像とウォーターマークとヘッド位置との関係を示す第2の図である。It is a 2nd figure which shows the relationship between a target image, a watermark, and a head position. 比較例の配置画像を示す図である。It is a figure which shows the arrangement | positioning image of a comparative example. 変形例の第1の説明図である。It is the 1st explanatory view of a modification. 変形例の第2の説明図である。It is the 2nd explanatory view of a modification.

A.実施例:
A−1:端末装置200の構成
次に、実施の形態を実施例に基づき説明する。図1は、実施例における制御装置としての端末装置200と、印刷実行部としてのプリンタ10と、の構成を示すブロック図である。
A. Example:
A-1: Configuration of Terminal Device 200 Next, an embodiment will be described based on examples. FIG. 1 is a block diagram illustrating a configuration of a terminal device 200 as a control device and a printer 10 as a print execution unit in the embodiment.

端末装置200は、例えば、パーソナルコンピュータであり、端末装置200のコントローラとしてのCPU210と、ハードディスクドライブなどの不揮発性記憶装置220と、RAMなどの揮発性記憶装置230と、マウスやキーボードなどの操作部260と、液晶ディスプレイなどの表示部270と、通信部280と、を備えている。端末装置200は、通信部280を介して、プリンタ10などの外部装置と通信可能に接続される。   The terminal device 200 is, for example, a personal computer, and includes a CPU 210 as a controller of the terminal device 200, a non-volatile storage device 220 such as a hard disk drive, a volatile storage device 230 such as a RAM, and an operation unit such as a mouse and a keyboard. 260, a display unit 270 such as a liquid crystal display, and a communication unit 280. The terminal device 200 is communicably connected to an external device such as the printer 10 via the communication unit 280.

揮発性記憶装置230は、CPU210が処理を行う際に生成される種々の中間データを一時的に格納するバッファ領域231を提供する。不揮発性記憶装置220には、コンピュータプログラムCPが格納されている。コンピュータプログラムCPは、本実施例では、プリンタ10を制御するためのプリンタドライバプログラムであり、サーバからダウンロードされる形態で提供される。これに代えて、コンピュータプログラムCPは、DVD−ROMなどに格納される形態で提供されてもよい。CPU210は、コンピュータプログラムCPを実行することにより、後述する印刷処理を実行する。   The volatile storage device 230 provides a buffer area 231 that temporarily stores various intermediate data generated when the CPU 210 performs processing. The nonvolatile storage device 220 stores a computer program CP. In this embodiment, the computer program CP is a printer driver program for controlling the printer 10 and is provided in a form downloaded from a server. Instead, the computer program CP may be provided in a form stored on a DVD-ROM or the like. The CPU 210 executes a printing process to be described later by executing the computer program CP.

プリンタ10は、シートに画像を印刷するインクジェット式の印刷機構100と、印刷機構100を制御するCPUとメモリとを含む制御部15と、を備えている。   The printer 10 includes an inkjet printing mechanism 100 that prints an image on a sheet, and a control unit 15 that includes a CPU and a memory that control the printing mechanism 100.

印刷機構100は、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の各インク(液滴)を吐出して印刷を行う。印刷機構100は、印刷ヘッド110とヘッドドライバ120と主走査機構130と搬送機構140とを備えている。   The printing mechanism 100 performs printing by discharging each ink (droplet) of cyan (C), magenta (M), yellow (Y), and black (K). The printing mechanism 100 includes a print head 110, a head driver 120, a main scanning mechanism 130, and a transport mechanism 140.

図2は、印刷機構100の説明図である。図2(A)は、印刷機構100の概略を示し、図2(B)は、図2(A)における下側から見た印刷ヘッド110の構成を示している。図2(A)、(B)の搬送方向ARは、印刷ヘッド110とプラテン141との間におけるシートの搬送方向(+Y方向)である。以下では、搬送方向ARの下流側(+Y側)を、単に「下流側」とも呼び、搬送方向ARの上流側(−Y側)を、単に「上流側」とも呼ぶ。例えば、搬送機構140は、印刷ヘッド110より上流側に配置された上流側ローラ対143と、印刷ヘッド110より下流側に配置された下流側ローラ対144と、を含む複数個のシート保持部を備えている。搬送機構140は、図示しない搬送モータによってシート保持部を駆動して、図示しない給紙トレイから、プラテン141と印刷ヘッド110との間を通り、図示しない排紙トレイに至る搬送経路TRに沿って、シートを搬送方向ARに搬送する。   FIG. 2 is an explanatory diagram of the printing mechanism 100. FIG. 2A shows an outline of the printing mechanism 100, and FIG. 2B shows a configuration of the print head 110 viewed from the lower side in FIG. 2A. The conveyance direction AR in FIGS. 2A and 2B is the sheet conveyance direction (+ Y direction) between the print head 110 and the platen 141. Hereinafter, the downstream side (+ Y side) in the transport direction AR is also simply referred to as “downstream side”, and the upstream side (−Y side) in the transport direction AR is also simply referred to as “upstream side”. For example, the transport mechanism 140 includes a plurality of sheet holding units including an upstream roller pair 143 disposed upstream from the print head 110 and a downstream roller pair 144 disposed downstream from the print head 110. I have. The transport mechanism 140 drives a sheet holding unit by a transport motor (not shown), and passes along a transport path TR that passes between a platen 141 and the print head 110 from a paper feed tray (not shown) to a paper discharge tray (not shown). The sheet is conveyed in the conveyance direction AR.

主走査機構130は、印刷ヘッド110を搭載するキャリッジ133と、キャリッジ133を主走査方向(X軸方向)に沿って往復動可能に保持する摺動軸134と、を備えている。主走査機構130は、図示しない主走査モータの動力を用いて、キャリッジ133を摺動軸134に沿って往復動させる。これによって、印刷ヘッド110を主走査方向に往復動させる主走査が実現される。   The main scanning mechanism 130 includes a carriage 133 on which the print head 110 is mounted, and a sliding shaft 134 that holds the carriage 133 so as to reciprocate along the main scanning direction (X-axis direction). The main scanning mechanism 130 reciprocates the carriage 133 along the sliding shaft 134 using the power of a main scanning motor (not shown). As a result, main scanning is performed in which the print head 110 is reciprocated in the main scanning direction.

図2(B)に示すように、印刷ヘッド110のプラテン141と対向するノズル形成面111には、複数のノズルからなる複数のノズル列、すなわち、上述したC、M、Y、Kの各インクを吐出するノズル列NC、NM、NY、NKが形成されている。各ノズル列は、複数個のノズルNZを含んでいる。複数個のノズルNZは、搬送方向の位置が互いに異なり、搬送方向に沿って所定のノズル間隔NTで並ぶ。ノズル間隔NTは、複数のノズルNZの中で搬送方向に隣り合う2個のノズルNZ間の搬送方向の長さである。これらのノズル列を構成するノズルのうち、最も上流側(−Y側)に位置するノズルNZを、最上流ノズルNZuとも呼ぶ。また、これらのノズルのうち、最も下流側(+Y側)に位置するノズルNZを、最下流ノズルNZdと呼ぶ。最上流ノズルNZuから最下流ノズルNZdまでの搬送方向の長さに、さらに、ノズル間隔NTを加えた長さを、ノズル長Dとも呼ぶ。   As shown in FIG. 2B, the nozzle forming surface 111 facing the platen 141 of the print head 110 has a plurality of nozzle rows composed of a plurality of nozzles, that is, the above-described C, M, Y, and K inks. Nozzle rows NC, NM, NY, and NK are formed. Each nozzle row includes a plurality of nozzles NZ. The plurality of nozzles NZ have different positions in the transport direction and are arranged at a predetermined nozzle interval NT along the transport direction. The nozzle interval NT is the length in the transport direction between two nozzles NZ adjacent in the transport direction among the plurality of nozzles NZ. Of the nozzles constituting these nozzle rows, the nozzle NZ located on the most upstream side (−Y side) is also referred to as the most upstream nozzle NZu. Of these nozzles, the nozzle NZ located on the most downstream side (+ Y side) is referred to as the most downstream nozzle NZd. A length obtained by adding a nozzle interval NT to the length in the transport direction from the most upstream nozzle NZu to the most downstream nozzle NZd is also referred to as a nozzle length D.

ヘッドドライバ120は、搬送機構140によって搬送されるシートS上において、主走査機構130によって往復動する印刷ヘッド110を駆動する。これによって、印刷ヘッド110の複数個のノズルNZからインクがシートS上に吐出されて、シートS上に画像が印刷される。   The head driver 120 drives the print head 110 that reciprocates by the main scanning mechanism 130 on the sheet S conveyed by the conveyance mechanism 140. Thus, ink is ejected from the plurality of nozzles NZ of the print head 110 onto the sheet S, and an image is printed on the sheet S.

制御部15(図1)は、ヘッドドライバ120と、主走査機構130と、搬送機構140と、を制御して、部分印刷SPとシート搬送Tとを、交互に繰り返し複数回に亘って実行することによって印刷を行う。1回の部分印刷SPでは、シートSをプラテン141上に停止した状態で、1回の主走査を行いつつ、印刷ヘッド110のノズルNZからシートS上にインクを吐出することによって、印刷すべき画像の一部分がシートSに印刷される。1回のシート搬送Tは、所定の搬送量だけシートSを搬送方向ARに移動させる搬送である。   The control unit 15 (FIG. 1) controls the head driver 120, the main scanning mechanism 130, and the conveyance mechanism 140, and executes the partial printing SP and the sheet conveyance T alternately and repeatedly over a plurality of times. Printing. In one partial printing SP, printing should be performed by ejecting ink onto the sheet S from the nozzles NZ of the print head 110 while performing one main scanning while the sheet S is stopped on the platen 141. A part of the image is printed on the sheet S. One sheet conveyance T is conveyance in which the sheet S is moved in the conveyance direction AR by a predetermined conveyance amount.

図3は、対象画像OI1とウォーターマークWMとヘッド位置Pとの関係を示す第1の図である。図3(A)には、ヘッド位置P、すなわち、対象画像OI1に対する印刷ヘッド110の搬送方向の相対的な位置が、部分印刷SPごと(すなわち、主走査ごと)に図示されている。図3(A)には、14回の部分印刷SPに対応する14個のヘッド位置P1〜P14が図示されている。14回の部分印刷SPに対して、実行順に、パス番号n(nは、1≦n≦14の整数)を付し、n回目の部分印刷SPを、部分印刷SPnとも呼ぶ。そして、部分印刷SPnを行う際のヘッド位置Pを、ヘッド位置Pnと呼ぶ。そして、n回目の部分印刷SPnと、(n+1)回目の部分印刷SP(n+1)と、の間に行われるシート搬送Tを、n回目のシート搬送T(n)とも呼ぶ。   FIG. 3 is a first diagram illustrating a relationship among the target image OI1, the watermark WM, and the head position P. FIG. 3A illustrates the head position P, that is, the relative position of the print head 110 in the transport direction with respect to the target image OI1 for each partial print SP (that is, for each main scan). FIG. 3A shows 14 head positions P1 to P14 corresponding to 14 partial printing SPs. A pass number n (n is an integer satisfying 1 ≦ n ≦ 14) is assigned to the 14 partial print SPs in the execution order, and the nth partial print SP is also referred to as a partial print SPn. The head position P when performing partial printing SPn is referred to as a head position Pn. The sheet conveyance T performed between the nth partial printing SPn and the (n + 1) th partial printing SP (n + 1) is also referred to as an nth sheet conveyance T (n).

本実施例の印刷は、1個の領域を4回の部分印刷SPを用いて印刷する4パス印刷である。本実施例の4パス印刷では、全てのシート搬送T(1)〜T(13)の搬送量TVが、ノズル長Dの1/4である(TV=(1/4)D)。   Printing in this embodiment is 4-pass printing in which one area is printed using four partial printing SPs. In the 4-pass printing of this embodiment, the transport amount TV of all the sheet transports T (1) to T (13) is 1/4 of the nozzle length D (TV = (1/4) D).

A−2.印刷処理
図4は、印刷処理のフローチャートである。端末装置200のCPU210は、プリンタドライバとして、図4の印刷処理を実行する。図4の印刷処理は、例えば、文書作成プログラムや描画作成プログラムなどのアプリケーションプログラムに対して、ユーザが印刷指示を入力して、該アプリケーションプログラムから、プリンタドライバが呼び出された場合に実行される。
A-2. Printing Process FIG. 4 is a flowchart of the printing process. The CPU 210 of the terminal device 200 executes the printing process of FIG. 4 as a printer driver. The print processing in FIG. 4 is executed when, for example, a user inputs a print instruction to an application program such as a document creation program or a drawing creation program, and the printer driver is called from the application program.

S10では、CPU210は、印刷すべき対象画像OIを示す対象画像データを取得する。この対象画像データは、プリンタドライバを呼び出したアプリ−ションプログラムから取得される。対象画像データは、例えば、mページ(mは1以上の整数)分のm個の対象画像OIを示す対象画像データである。対象画像データは、例えば、端末装置200のオペレーティングシステム(以下、OSと略す)によって提供される記述方式を用いて、対象画像OIを記述するデータである。例えば、OSがマイクロソフト社のWindows(登録商標)である場合には、対象画像データの記述方式は、Windows(登録商標)のGDI(Graphics Device Interfaceの略)の仕様に従う方式が用いられる。これに代えて、対象画像データは、PCL(Printer Control Languageの略)や、PostScriptなどのページ記述言語を用いて記述されても良い。   In S10, the CPU 210 acquires target image data indicating the target image OI to be printed. This target image data is acquired from the application program that called the printer driver. The target image data is, for example, target image data indicating m target images OI for m pages (m is an integer of 1 or more). The target image data is data that describes the target image OI using a description method provided by an operating system (hereinafter abbreviated as OS) of the terminal device 200, for example. For example, when the OS is Windows (registered trademark) of Microsoft Corporation, a method according to the specification of GDI (abbreviation of Graphics Device Interface) of Windows (registered trademark) is used as the description method of the target image data. Instead, the target image data may be described using a page description language such as PCL (abbreviation of Printer Control Language) or PostScript.

図3(B)には、対象画像OIの一例として、1個の対象画像OI1が図示されている。この対象画像OI1は、背景BGと、オブジェクトとしての文字Ob1、Ob2と、を含んでいる。対象画像OI1の背景BGの色は、白である。このために、対象画像OI1をシートSに印刷する際には、文字Ob1、Ob2がシートSに印刷され、背景BGの印刷は行われない。   FIG. 3B shows one target image OI1 as an example of the target image OI. The target image OI1 includes a background BG and characters Ob1 and Ob2 as objects. The color of the background BG of the target image OI1 is white. For this reason, when the target image OI1 is printed on the sheet S, the characters Ob1 and Ob2 are printed on the sheet S, and the background BG is not printed.

S20では、CPU210は、ユーザインタフェース画面(以下、UI画面とも呼ぶ)を、表示部270に表示して、UI画面を介して、印刷設定を取得する。   In S20, the CPU 210 displays a user interface screen (hereinafter also referred to as a UI screen) on the display unit 270, and acquires print settings via the UI screen.

図5は、UI画面W1、W2の一例を示す図である。図5(A)のメイン画面W1は、プルダウンメニューPM1、PM2と、ラジオボタンRB1、RB2と、フィールドF1と、印刷ボタンBT1と、キャンセルボタンBT2と、詳細設定ボタンBT3と、を含んでいる。プルダウンメニューPM1、PM2、ラジオボタンRB1、フィールドF1は、一般的な印刷設定、例えば、シートSのサイズ、シートSに対する画像の方向、色の設定、印刷部数を入力するための入力要素である。ラジオボタンRB2は、ウォーターマークWM(後述)の印刷の有無の指示を入力するための入力要素である。なお、本実施例では、ラジオボタンRB2を介して、ウォーターマークの印刷が指示されたものとして、説明を行う。   FIG. 5 is a diagram illustrating an example of the UI screens W1 and W2. The main screen W1 in FIG. 5A includes pull-down menus PM1 and PM2, radio buttons RB1 and RB2, a field F1, a print button BT1, a cancel button BT2, and a detail setting button BT3. The pull-down menus PM1, PM2, radio button RB1, and field F1 are input elements for inputting general print settings, for example, the size of the sheet S, the image direction with respect to the sheet S, the color setting, and the number of copies. The radio button RB2 is an input element for inputting an instruction on whether or not to print a watermark WM (described later). In the present embodiment, description will be made assuming that watermark printing is instructed via the radio button RB2.

ウォーターマークWMは、ユーザの指示に基づいて、印刷すべき対象画像OIとともに印刷すべき画像である。ウォーターマークWMは、印刷すべき画像において、対象画像OIに付加される付加画像の一種である、と言うこともできる。ウォーターマークWMは、例えば、グレーなどの薄い色で、対象画像OIに付加される文字や模様などの画像(透かし画像、地紋画像とも呼ぶ)である。例えば、図3(B)には、一例として、対象画像OI1に重ねられたウォーターマークWMが図示されている。ウォーターマークWMは、例えば、情報の種類(秘密情報など)の表示や、不正コピーの防止などのために、付加される。   The watermark WM is an image to be printed together with the target image OI to be printed based on a user instruction. It can also be said that the watermark WM is a kind of additional image added to the target image OI in the image to be printed. The watermark WM is an image (also referred to as a watermark image or a copy-forgery-inhibited pattern image) such as a character or pattern added to the target image OI in a light color such as gray. For example, FIG. 3B illustrates a watermark WM that is superimposed on the target image OI1 as an example. The watermark WM is added, for example, for displaying information types (such as secret information) and preventing unauthorized copying.

図5(A)のメイン画面W1の詳細設定ボタンBT3が押下されると、CPU210は、図5(A)のメイン画面W1を表示し続けた状態で、図5(B)の詳細設定画面W2を表示部270に表示する。詳細設定画面W2は、プルダウンメニューPM3〜PM5と、フィールドF2と、ボタンBT4、BT5と、ウォーターマークWMのプレビュー画面PVと、を含んでいる。プルダウンメニューPM3〜PM5と、フィールドF2とは、印刷すべきウォーターマークWMの内容に関する設定を入力するための入力要素である。例えば、フィールドF2は、ウォーターマークWMとしての文字を入力するための入力要素である。プルダウンメニューPM3〜PM5は、それぞれ、ウォーターマークWMとしての文字のフォント、色、サイズを入力するための入力要素である。プレビュー画面PVには、現時点で、これらの入力要素PM3〜PM5、F2に入力済みの情報に基ずくウォーターマークWMが表示される。ユーザは、マウスなどのポインティングデバイスを操作することによって、プレビュー画面PV上で、ウォーターマークWMを移動させることができる。これによって、ユーザは、印刷すべき画像上におけるウォーターマークWMの基準位置を指定する指示を入力することができる。   When the detailed setting button BT3 on the main screen W1 in FIG. 5A is pressed, the CPU 210 continues to display the main screen W1 in FIG. 5A, and the detailed setting screen W2 in FIG. 5B. Is displayed on the display unit 270. The detailed setting screen W2 includes pull-down menus PM3 to PM5, a field F2, buttons BT4 and BT5, and a watermark WM preview screen PV. The pull-down menus PM3 to PM5 and the field F2 are input elements for inputting settings relating to the contents of the watermark WM to be printed. For example, the field F2 is an input element for inputting characters as the watermark WM. The pull-down menus PM3 to PM5 are input elements for inputting the font, color, and size of characters as the watermark WM, respectively. On the preview screen PV, a watermark WM is displayed based on the information already input to these input elements PM3 to PM5, F2. The user can move the watermark WM on the preview screen PV by operating a pointing device such as a mouse. Thus, the user can input an instruction for designating the reference position of the watermark WM on the image to be printed.

詳細設定画面W2のOKボタンBT4が押下されると、CPU210は、詳細設定画面W2を介して入力された設定を有効にして、詳細設定画面W2を閉じる。詳細設定画面W2のキャンセルボタンBT5が押下されると、CPU210は、詳細設定画面W2を介して入力された設定を無効にして、詳細設定画面W2を閉じる。   When the OK button BT4 on the detailed setting screen W2 is pressed, the CPU 210 validates the setting input via the detailed setting screen W2 and closes the detailed setting screen W2. When the cancel button BT5 on the detailed setting screen W2 is pressed, the CPU 210 invalidates the setting input via the detailed setting screen W2 and closes the detailed setting screen W2.

ユーザは、UI画面W1、W2にて必要な設定を入力して、印刷ボタンBT1を押下する。CPU210は、印刷ボタンBT1が押下されると、印刷ボタンBT1が押下された時点で、UI画面W1、W2に入力されている印刷設定を取得して、S25に処理を進める。キャンセルボタンBT2が押下されると、CPU210は、印刷処理を中断する。   The user inputs necessary settings on the UI screens W1 and W2, and presses the print button BT1. When the print button BT1 is pressed, the CPU 210 acquires the print settings input to the UI screens W1 and W2 when the print button BT1 is pressed, and advances the process to S25. When the cancel button BT2 is pressed, the CPU 210 interrupts the printing process.

S25では、mページ分の対象画像OIから、1ページ分の注目画像を選択する。S30では、CPU210は、対象画像データのうち、注目画像を示す注目画像データに対してラスタライズ処理を実行する。ラスタライズ処理は、ビットマップ形式とは異なる形式の画像データをビットマップデータに変換する処理である。本実施例のビットマップデータは、例えば、RGB値で画素ごとの色を示すRGB画像データである。なお、対象画像データが、RGB画像データである場合には、ラスタライズ処理は省略される。   In S25, the target image for one page is selected from the target images OI for m pages. In S30, the CPU 210 executes rasterization processing on the target image data indicating the target image among the target image data. The rasterization process is a process for converting image data in a format different from the bitmap format into bitmap data. The bitmap data of this embodiment is, for example, RGB image data that indicates the color of each pixel with RGB values. Note that when the target image data is RGB image data, the rasterizing process is omitted.

S40では、CPU210は、ラスタライズ処理済みの注目画像データに対して、色変換処理を実行する。色変換処理は、印刷に用いられる1種以上のインクに対応しない第1表色系(本実施例では、RGB表色系)で画素毎の色を示す画像データを、印刷に用いられる1種以上のインクに対応する第2表色系(本実施例では、CMYK表色系)で画素毎の色を表すデータに変換する処理である。色変換処理は、RGB表色系の画素の値(RGB値)と、CMYK表色系の画素の値(CMYK値)と、の対応関係を規定した公知のカラープロファイル(例えば、ルックアップテーブル)を用いて、実行される。   In S40, the CPU 210 executes color conversion processing on the focused image data that has been rasterized. In the color conversion process, image data indicating colors for each pixel in the first color system (in this embodiment, the RGB color system) that does not correspond to one or more types of ink used for printing is used for printing. This is a process of converting into data representing the color of each pixel in the second color system (in this embodiment, the CMYK color system) corresponding to the above ink. The color conversion process is a known color profile (for example, a look-up table) that defines the correspondence between RGB color system pixel values (RGB values) and CMYK color system pixel values (CMYK values). It is executed using

S50では、CPU210は、色変換済みの注目画像データを用いて、マーク配置処理を実行する。マーク配置処理は、注目画像に対して、ウォーターマークWMを配置することによって、注目画像(1個の対象画像OI)と、ウォーターマークWMと、を含む配置画像AIを示す配置画像データを生成する処理である。図3(C)には、一例として、対象画像OI1と、ウォーターマークWMと、を含む配置画像AI1が示されている。マーク配置処理の詳細は後述する。生成される配置画像データは、CMYK値で画素ごとの色を示すCMYK画像データである。   In S <b> 50, the CPU 210 executes mark arrangement processing using the color-converted target image data. The mark arrangement process generates arrangement image data indicating the arrangement image AI including the attention image (one target image OI) and the watermark WM by arranging the watermark WM with respect to the attention image. It is processing. FIG. 3C shows an arrangement image AI1 including the target image OI1 and the watermark WM as an example. Details of the mark arrangement processing will be described later. The generated arrangement image data is CMYK image data indicating a color for each pixel with a CMYK value.

S60では、CPU210は、配置画像データに対して、ハーフトーン処理を実行して、ドットデータを生成する。ドットデータは、CMYKの各成分について、画素ごとにドットの形成状態(本実施例では、ドットの有無)を示すデータである。ハーフトーン処理では、本実施例では、濃度補正処理を含んでいる。   In S60, the CPU 210 performs halftone processing on the arrangement image data to generate dot data. The dot data is data indicating the dot formation state (in the present embodiment, the presence or absence of a dot) for each pixel for each component of CMYK. In the halftone process, the present embodiment includes a density correction process.

本実施例では、ハーフトーン処理のために、不揮発性記憶装置220には、印刷ヘッド110の複数個のノズルNZのそれぞれについて決定された濃度データが、予め格納されている。1個のノズルについての濃度データは、例えば、該ノズルを用いて形成される画像の濃度を示しており、例えば、該ノズルのみを用いて形成されたパッチ画像の濃度を測定することによって、生成される。   In the present embodiment, the density data determined for each of the plurality of nozzles NZ of the print head 110 is stored in advance in the nonvolatile storage device 220 for the halftone process. The density data for one nozzle indicates, for example, the density of an image formed using the nozzle, and is generated, for example, by measuring the density of a patch image formed using only the nozzle. Is done.

本実施例のハーフトーン処理では、誤差拡散法に基づく処理が、濃度データを用いた濃度補正処理を行いながら実行される。具体的には、誤差拡散法では、注目画素についてドットを形成すると判断する場合に、当該注目画素の値Vから、形成すると判断されたドットの濃度を示す濃度値DVを減じた値(V−DV)が、誤差ΔEとして算出される。そして、当該誤差ΔEは、注目画素の周辺の未処理の画素に拡散される。濃度補正処理が行われないハーフトーン処理では、濃度値DVは、注目画素に対応するノズルNZに関わらずに一定の値(例えば、255)に決定される。本実施例では、濃度値DVの値は、注目画素に対応するノズルNZの濃度データに基づいて、対応するノズルNZごとに異なる値に決定される。注目画素に対応するノズルNZは、例えば、印刷において、注目画素の位置にドットを形成する場合に、当該ドットの形成に用いられるノズルNZを含む。注目画素に対応するノズルNZは、さらに、印刷において、注目画素の周辺の画素の位置にドットを形成する場合に、当該ドットの形成に用いられるノズルNZを含んでも良い。このような濃度補正処理を行うことによって、印刷される画像において、ノズルNZの特性に起因して発生する濃度のムラの発生を抑制することができる。なお、これに代えて、濃度補正処理は、注目画素の値Vを、注目画素に対応するノズルNZの濃度データに基づいて補正し、補正後の注目画素の値SVを用いて、誤差拡散処理を行うことによって、実現されても良い。これらの濃度補正処理については、例えば、特開2013−63538号公報に開示されている。   In the halftone processing of this embodiment, processing based on the error diffusion method is executed while performing density correction processing using density data. Specifically, in the error diffusion method, when it is determined that a dot is to be formed for a target pixel, a value (V−) obtained by subtracting a density value DV indicating the density of the dot determined to be formed from the value V of the target pixel. DV) is calculated as the error ΔE. Then, the error ΔE is diffused to unprocessed pixels around the target pixel. In the halftone process in which the density correction process is not performed, the density value DV is determined to be a constant value (for example, 255) regardless of the nozzle NZ corresponding to the target pixel. In the present embodiment, the density value DV is determined to be different for each corresponding nozzle NZ based on the density data of the nozzle NZ corresponding to the target pixel. The nozzle NZ corresponding to the target pixel includes, for example, the nozzle NZ used for forming the dot when a dot is formed at the position of the target pixel in printing. The nozzle NZ corresponding to the target pixel may further include the nozzle NZ used for forming the dot when the dot is formed at the position of the pixel around the target pixel in printing. By performing such density correction processing, it is possible to suppress the occurrence of density unevenness caused by the characteristics of the nozzles NZ in the printed image. Instead of this, the density correction processing corrects the value V of the target pixel based on the density data of the nozzle NZ corresponding to the target pixel, and uses the corrected target pixel value SV to perform error diffusion processing. It may be realized by performing. These density correction processes are disclosed in, for example, Japanese Patent Laid-Open No. 2013-63538.

これらの濃度補正処理を行うためには、S60のハーフトーン処理の前に、対象画像OIの各画素と、ノズルNZと、の対応関係、すなわち、対象画像OIに対するヘッド位置Pが、決定されている必要がある。本実施例では、詳細は後述するS50のマーク配置処理において、対象画像OIに対するヘッド位置Pが決定されている。   In order to perform these density correction processes, the correspondence between each pixel of the target image OI and the nozzle NZ, that is, the head position P with respect to the target image OI is determined before the halftone process of S60. Need to be. In the present embodiment, the head position P with respect to the target image OI is determined in the mark placement process of S50 described later in detail.

なお、変形例としては、ハーフトーン処理では、濃度補正処理が行われなくても良い。この場合には、S60のハーフトーン処理の前に、対象画像OIに対するヘッド位置Pが、決定されている必要はない。したがって、この場合には、マーク配置処理は、ハーフトーン処理後に、ドットデータを用いて実行されても良い。   As a modification, the density correction process may not be performed in the halftone process. In this case, the head position P with respect to the target image OI does not need to be determined before the halftone process of S60. Therefore, in this case, the mark arrangement process may be executed using dot data after the halftone process.

S70では、CPU210は、ドットデータに、各種の印刷コマンドを付加して印刷画像データを生成する。S80では、印刷画像データをプリンタ10に対して供給する。プリンタ10は、供給された印刷画像データに従って、シートSに、注目画像とウォーターマークWMとを含む配置画像AIを印刷する。   In S70, the CPU 210 generates print image data by adding various print commands to the dot data. In S80, the print image data is supplied to the printer 10. The printer 10 prints the arrangement image AI including the target image and the watermark WM on the sheet S according to the supplied print image data.

S90では、CPU210は、全てのページが処理されたか否かを判断する。未処理のページがある場合には(S90:NO)、CPU210は、S25に戻る。全てのページの処理が完了した場合には(S90:YES)、CPU210は、印刷処理を終了する。   In S90, the CPU 210 determines whether all pages have been processed. If there is an unprocessed page (S90: NO), the CPU 210 returns to S25. If all pages have been processed (S90: YES), the CPU 210 ends the printing process.

この結果、対象画像データによって示されるmページ分のm個の対象画像のそれぞれにウォーターマークWMが付加されて、m個の対象画像のそれぞれがシートSに印刷される。   As a result, the watermark WM is added to each of the m target images for m pages indicated by the target image data, and each of the m target images is printed on the sheet S.

A−3.マーク配置処理
図6は、マーク配置処理のフローチャートである。S100では、最初の、すなわち、1回目の部分印刷SP1のヘッド位置P1を決定する。
A-3. Mark Arrangement Process FIG. 6 is a flowchart of the mark arrangement process. In S100, the head position P1 of the first partial print SP1 is determined.

具体的には、先ず、CPU210は、シートSに対する注目画像の配置位置を決定する。以下では、図3(B)の対象画像OI1が、注目画像であるとして説明する。シートSに対する対象画像OI1の位置は、例えば、アプリケーションプログラムによって規定された位置や、プリンタドライバによって規定された位置である。   Specifically, first, the CPU 210 determines an arrangement position of the target image with respect to the sheet S. In the following description, it is assumed that the target image OI1 in FIG. The position of the target image OI1 with respect to the sheet S is, for example, a position specified by an application program or a position specified by a printer driver.

CPU210は、対象画像データを用いて、対象画像OI1内の印刷対象の下流端(+Y側の端)を特定する。ここで、印刷対象は、対象画像OI1のうち、印刷時に、インクのドットで表現される部分を意味する。印刷対象の下流端を含む部分は、印刷時に、最初に印刷される部分である。対象画像OI1の背景BGが、白とは異なる色を有する場合には、当該背景BGの下流端が、印刷対象の下流端である。図3(B)の例では、背景BGは、白であるので、白とは異なる色を有するオブジェクトである文字Ob1、Ob2のうち、最も下流側に位置するオブジェクトである文字Ob1の下流端が、印刷対象の下流端である。図3(A)〜(C)の破線L1は、対象画像OI1の印刷対象の下流端の搬送方向ARの位置(Y軸上の位置)を示す。   The CPU 210 identifies the downstream end (+ Y side end) of the print target in the target image OI1 using the target image data. Here, the print target means a portion of the target image OI1 that is expressed by ink dots at the time of printing. The portion including the downstream end to be printed is a portion that is printed first at the time of printing. When the background BG of the target image OI1 has a color different from white, the downstream end of the background BG is the downstream end of the print target. In the example of FIG. 3B, since the background BG is white, the downstream end of the character Ob1 that is the object located on the most downstream side among the characters Ob1 and Ob2 that are objects having a color different from white is The downstream end of the print target. A broken line L1 in FIGS. 3A to 3C indicates the position (position on the Y axis) in the transport direction AR of the downstream end of the print target of the target image OI1.

CPU210は、特定済みの印刷対象の下流端の搬送方向ARの位置と、特定ノズルNZxの搬送方向ARの位置と、が一致するヘッド位置Pを、最初の部分印刷SP1のヘッド位置P1として、決定する。特定ノズルNZxは、印刷ヘッド110の複数個のノズルNZのうち、最上流ノズルNZuから、ノズル長Dの(1/4)の位置にあるノズルである(図3(A))。このように、対象画像OIに応じて、ヘッド位置P1を決定することによって、なるべく多数のノズルを使用して、印刷対象の下流端を含む部分を印刷できるので、印刷の効率を向上できる。   The CPU 210 determines, as the head position P1 of the first partial printing SP1, the head position P at which the position in the transport direction AR at the downstream end of the specified print target matches the position in the transport direction AR of the specific nozzle NZx. To do. The specific nozzle NZx is a nozzle located at (1/4) of the nozzle length D from the most upstream nozzle NZu among the plurality of nozzles NZ of the print head 110 (FIG. 3A). In this manner, by determining the head position P1 according to the target image OI, it is possible to print a portion including the downstream end of the print target using as many nozzles as possible, so that the printing efficiency can be improved.

S105では、CPU210は、決定済みのヘッド位置P1に基づいて、注目画像のための使用ヘッド位置を全て決定する。使用ヘッド位置は、注目画像の印刷のために実行されるべき複数回の部分印刷SPのヘッド位置Pである。図3(B)の対象画像OI1が注目画像である場合を例に説明する。先ず、CPU210は、決定済みのヘッド位置P1に基づいて、2〜14回目の部分印刷SP2〜SP14のヘッド位置P2〜P14をそれぞれ決定する。ここで、使用ヘッド位置を全て決定するのは、上述したように、S60のハーフトーン処理において、濃度補正処理を行うので、S60のハーフトーン処理の前に、対象画像OIの各画素と、ノズルNZと、の対応関係、すなわち、対象画像OIに対するヘッド位置が、決定されている必要があるためである。具体的には、k回目(kは、2≦k≦14の整数)のヘッド位置Pkは、(k−1)回目のヘッド位置P(k−1)より(1/4)Dだけ上流側(−Y側)にずれた位置に決定される。次に、CPU210は、対象画像データを用いて、決定済みの1〜14回目の部分印刷SP2〜SP14のヘッド位置P2〜P14から、使用ヘッド位置を選択する。図3(B)の対象画像OI1では、背景BGは印刷されないので、文字Ob1、Ob2のみが印刷される。このために、図3(A)、(B)に示すように、搬送方向ARの位置が、印刷対象の文字Ob1、Ob2と少なくとも一部において重なるヘッド位置P1〜P4、P8〜P12が、使用ヘッド位置として選択される。搬送方向ARの位置が、印刷対象の文字Ob1、Ob2と重ならないヘッド位置P5〜P7、P13、P14は、使用ヘッド位置として選択されない。このように選択された9個のヘッド位置P1〜P4、P8〜P12が、使用ヘッド位置として決定される。   In S105, the CPU 210 determines all the used head positions for the target image based on the determined head position P1. The used head position is the head position P of a plurality of partial print SPs to be executed for printing the image of interest. A case where the target image OI1 in FIG. 3B is a target image will be described as an example. First, the CPU 210 determines the head positions P2 to P14 for the second to fourteenth partial prints SP2 to SP14 based on the determined head position P1. Here, as described above, since the density correction process is performed in the halftone process of S60, all the head positions to be used are determined. Therefore, before the halftone process of S60, each pixel and nozzle of the target image OI are determined. This is because the correspondence relationship with NZ, that is, the head position with respect to the target image OI needs to be determined. Specifically, the k-th head position Pk (k is an integer satisfying 2 ≦ k ≦ 14) is upstream by (1/4) D from the (k−1) -th head position P (k−1). The position is shifted to (−Y side). Next, using the target image data, the CPU 210 selects a head position to be used from the determined head positions P2 to P14 of the first to fourteenth partial prints SP2 to SP14. In the target image OI1 in FIG. 3B, since the background BG is not printed, only the characters Ob1 and Ob2 are printed. For this reason, as shown in FIGS. 3A and 3B, the head positions P1 to P4 and P8 to P12 where the position in the transport direction AR overlaps at least partly with the characters Ob1 and Ob2 to be printed are used. Selected as the head position. Head positions P5 to P7, P13, and P14 in which the position in the transport direction AR does not overlap with the characters Ob1 and Ob2 to be printed are not selected as the use head positions. The nine head positions P1 to P4 and P8 to P12 thus selected are determined as the use head positions.

対象画像OI1に対する使用ヘッド位置が決定されることは、対象画像OI1を印刷する際に、対象画像OIを表現する複数個のドットのそれぞれについて、印刷ヘッド110の複数個のノズルNZのうち、当該ドットを形成すべきノズルが決定されること、に等しい。   The use head position with respect to the target image OI1 is determined when the target image OI1 is printed, for each of a plurality of dots representing the target image OI, among the plurality of nozzles NZ of the print head 110. This is equivalent to determining the nozzles to form dots.

S110では、CPU210は、決定済みの複数個の使用ヘッド位置に基づいて、1個以上の印刷可能領域AAを特定する。1個の印刷可能領域AAは、決定済みの複数個の使用ヘッド位置での複数回の部分印刷SPにて印刷可能な領域であって、搬送方向ARに連続する領域である。図3(B)の対象画像OI1が注目画像である場合には、ヘッド位置P1〜P4にて印刷可能な第1の印刷可能領域AA1と、ヘッド位置P8〜P12にて印刷可能な第2の印刷可能領域AA2と、が特定される。印刷可能領域AA1、AA2の搬送方向ARの長さ(以下、単に「幅」と呼ぶ)H1、H2は、対応する文字Ob1、Ob2の搬送方向ARの幅h1、h2よりそれぞれ大きい。   In S110, the CPU 210 specifies one or more printable areas AA based on the determined plurality of used head positions. One printable area AA is an area that can be printed by a plurality of partial printing SPs at a plurality of determined use head positions and is continuous in the transport direction AR. When the target image OI1 in FIG. 3B is a target image, the first printable area AA1 that can be printed at the head positions P1 to P4 and the second printable area that can be printed at the head positions P8 to P12. The printable area AA2 is specified. The lengths (hereinafter simply referred to as “width”) H1 and H2 of the printable areas AA1 and AA2 in the transport direction AR are larger than the widths h1 and h2 of the corresponding characters Ob1 and Ob2 in the transport direction AR, respectively.

S112では、CPU210は、ウォーターマークWMを示す画像データを生成する。具体的には、CPU210は、図5(B)の詳細設定画面W2を介して取得したウォーターマークWMの内容に関する設定に基づいて、ウォーターマークWMを示す画像データを生成する。例えば、図3(B)に示す「CONFIDENTIAL」の文字のウォーターマークWMを示す画像データが生成される。   In S112, the CPU 210 generates image data indicating the watermark WM. Specifically, the CPU 210 generates image data indicating the watermark WM based on the setting regarding the content of the watermark WM acquired via the detailed setting screen W2 of FIG. For example, image data indicating the watermark WM of the characters “CONFIDENTIAL” shown in FIG. 3B is generated.

S115では、CPU210は、生成済みの画像データに基づいて、ウォーターマークWMの搬送方向ARの幅Hwを特定する(図3(B))。   In S115, the CPU 210 identifies the width Hw of the watermark WM in the transport direction AR based on the generated image data (FIG. 3B).

S120では、CPU210は、ウォーターマークWM以上の幅を有する印刷可能領域AAがあるか否かを判断する。図3(B)の例では、印刷可能領域AA1、AA2の幅H1、H2は、いずれもウォーターマークWMの幅Hwより小さい。したがって、この場合には、ウォーターマークWM以上の幅を有する印刷可能領域AAがないと判断される。   In S120, the CPU 210 determines whether there is a printable area AA having a width equal to or larger than the watermark WM. In the example of FIG. 3B, the widths H1 and H2 of the printable areas AA1 and AA2 are both smaller than the width Hw of the watermark WM. Therefore, in this case, it is determined that there is no printable area AA having a width equal to or larger than the watermark WM.

ウォーターマークWM以上の幅を有する印刷可能領域AAがある場合には(S120:YES)、S130にて、CPU210は、ウォーターマークWM以上の幅を有する1個以上の印刷可能領域AAの中から、ウォーターマークWMの基準位置に搬送方向ARの位置が最も近い1個の印刷可能領域AAを選択する。ウォーターマークWMの基準位置は、上述した詳細設定画面W2(図5(B))を介して、ユーザによって指定された位置である。変形例としては、基準位置は、予め定められた位置であっても良く、例えば、対象画像OI1の重心と、ウォーターマークWMの重心と、が一致する位置であっても良い。図3(B)において、ウォーターマークWMは、対象画像OI1に対して、基準位置に配置されているものとする。   When there is a printable area AA having a width equal to or larger than the watermark WM (S120: YES), in S130, the CPU 210 selects one of the one or more printable areas AA having a width equal to or larger than the watermark WM. One printable area AA whose position in the transport direction AR is closest to the reference position of the watermark WM is selected. The reference position of the watermark WM is a position designated by the user via the above-described detailed setting screen W2 (FIG. 5B). As a modification, the reference position may be a predetermined position, for example, a position where the center of gravity of the target image OI1 and the center of gravity of the watermark WM coincide. In FIG. 3B, it is assumed that the watermark WM is arranged at the reference position with respect to the target image OI1.

ウォーターマークWM以上の幅を有する印刷可能領域AAがない場合には(S120:NO)、S125にて、CPU210は、1個以上の印刷可能領域AAの中から、幅が最大の1個の印刷可能領域AAを選択する。図3(B)の例では、印刷可能領域AA1、AA2のうち、幅が大きい方の第2の印刷可能領域AA2が選択される。   If there is no printable area AA having a width equal to or greater than the watermark WM (S120: NO), in S125, the CPU 210 prints one print having the maximum width from one or more printable areas AA. A possible area AA is selected. In the example of FIG. 3B, the second printable area AA2 having the larger width among the printable areas AA1 and AA2 is selected.

S135では、CPU210は、ウォーターマークWMの基準位置に基づいて、選択済みの印刷可能領域AAの上流端と下流端のいずれかを選択する。具体的には、ウォーターマークWMの上流端と、選択済みの印刷可能領域AAの上流端と、の搬送方向ARの位置を一致させるように、対象画像OI1に対して、ウォーターマークWMを配置する場合を、第1の場合とする。ウォーターマークWMの下流端と、選択済みの印刷可能領域AAの下流端と、の搬送方向ARの位置を一致させるように、対象画像OI1に対して、ウォーターマークWMを配置する場合を、第2の場合とする。第1の場合と第2の場合のうち、ウォーターマークWMの基準位置からの移動量が小さい方を採用する。第1の場合を採用する場合には、印刷可能領域AAの上流端が選択され、第2の場合を採用する場合には、印刷可能領域AAの下流端が選択される。図3(B)におけるウォーターマークWMの位置が基準位置である場合には、ウォーターマークWMの上流端と第2の印刷可能領域AA2の上流端とを一致させる第2の場合のほうが、第1の場合より、ウォーターマークWMの基準位置からの移動量が小さい。したがって、図3(B)の例では、第2の印刷可能領域AA2の上流端が選択される。さらに、本ステップでは、移動量の条件に加えて、ウォーターマークWMの一部が、シートS上の印刷範囲より外側にはみ出ることがないことを条件として、選択済みの印刷可能領域AAの上流端と下流端のいずれかが選択される。   In S135, the CPU 210 selects either the upstream end or the downstream end of the selected printable area AA based on the reference position of the watermark WM. Specifically, the watermark WM is arranged on the target image OI1 so that the upstream end of the watermark WM matches the upstream end of the selected printable area AA in the transport direction AR. The case is the first case. A second case where the watermark WM is arranged on the target image OI1 so that the downstream end of the watermark WM and the downstream end of the selected printable area AA coincide with each other in the transport direction AR. In the case of Of the first case and the second case, the one with the smaller movement amount of the watermark WM from the reference position is adopted. When the first case is adopted, the upstream end of the printable area AA is selected, and when the second case is adopted, the downstream end of the printable area AA is selected. When the position of the watermark WM in FIG. 3B is the reference position, the second case where the upstream end of the watermark WM matches the upstream end of the second printable area AA2 is the first. In this case, the amount of movement of the watermark WM from the reference position is smaller. Therefore, in the example of FIG. 3B, the upstream end of the second printable area AA2 is selected. Further, in this step, in addition to the movement amount condition, on the condition that a part of the watermark WM does not protrude outside the printing range on the sheet S, the upstream end of the selected printable area AA. And either of the downstream ends is selected.

S140では、CPU210は、選択済みの印刷可能領域AAの選択済みの端を基準に、対象画像OI1に対して、ウォーターマークWMの配置位置を決定する。例えば、S130にて、第2の印刷可能領域AA2が選択され、S135にて、第2の印刷可能領域AA2の上流端が選択される図3(B)の場合には、第2の印刷可能領域AA2の上流端と、ウォーターマークWMの上流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの配置位置が決定される。   In S140, the CPU 210 determines an arrangement position of the watermark WM with respect to the target image OI1 based on the selected end of the selected printable area AA. For example, in the case of FIG. 3B in which the second printable area AA2 is selected in S130 and the upstream end of the second printable area AA2 is selected in S135, the second printable area is available. The arrangement position of the watermark WM is determined so that the positions of the upstream end of the area AA2 and the upstream end of the watermark WM coincide with each other in the transport direction AR.

S145では、CPU210は、対象画像OI1に対して、決定された配置位置に、ウォーターマークWMを配置することによって、配置画像AI1を示す配置画像データを生成する。例えば、図3(C)に示すように、ウォーターマークWMの位置が、基準位置から調整された配置画像AI1を示す配置画像データが生成される。   In S145, the CPU 210 generates arrangement image data indicating the arrangement image AI1 by arranging the watermark WM at the decided arrangement position with respect to the target image OI1. For example, as illustrated in FIG. 3C, arrangement image data indicating the arrangement image AI1 in which the position of the watermark WM is adjusted from the reference position is generated.

図7は、対象画像OI1とウォーターマークWMとヘッド位置Pとの関係を示す第2の図である。理解のために、図3(B)の対象画像OI1とは、別の図7(B)対象画像OI2を例として、マーク配置処理について説明する。   FIG. 7 is a second diagram illustrating the relationship among the target image OI1, the watermark WM, and the head position P. For the sake of understanding, the mark arrangement process will be described by taking, as an example, the target image OI2 in FIG. 7B different from the target image OI1 in FIG.

図7(A)のヘッド位置P1〜P14は、図3(A)と同じである。図7(B)の対象画像OI2は、対象画像OI1の文字Ob2に代えて、描画Ob3を含んでいる。注目画像が、対象画像OI2である場合には、S105にて、文字Ob1を印刷するためのヘッド位置P1〜P4と、描画Ob3を印刷するためのヘッド位置P6〜P12と、が使用ヘッド位置として決定される(図7(A))。そして、S110では、ヘッド位置P1〜P4にて印刷可能な印刷可能領域AA1と、ヘッド位置P6〜P12にて印刷可能な第3の印刷可能領域AA3と、が特定される(図7(B))。   The head positions P1 to P14 in FIG. 7A are the same as those in FIG. The target image OI2 of FIG. 7B includes a drawing Ob3 instead of the character Ob2 of the target image OI1. If the target image is the target image OI2, the head positions P1 to P4 for printing the character Ob1 and the head positions P6 to P12 for printing the drawing Ob3 are used head positions in S105. It is determined (FIG. 7A). In S110, the printable area AA1 that can be printed at the head positions P1 to P4 and the third printable area AA3 that can be printed at the head positions P6 to P12 are specified (FIG. 7B). ).

図7(B)の例では、第1の印刷可能領域AA1の幅H1は、ウォーターマークWMの幅Hwより小さいが、第3の印刷可能領域AA3の幅H3は、ウォーターマークWMの幅Hwより大きい。したがって、S120では、ウォーターマークWM以上の幅を有する印刷可能領域AAがあると判断される。そして、S130では、ウォーターマークWM以上の幅を有する第3の印刷可能領域AA3が選択される。   In the example of FIG. 7B, the width H1 of the first printable area AA1 is smaller than the width Hw of the watermark WM, but the width H3 of the third printable area AA3 is larger than the width Hw of the watermark WM. large. Therefore, in S120, it is determined that there is a printable area AA having a width equal to or larger than the watermark WM. In S130, the third printable area AA3 having a width equal to or larger than the watermark WM is selected.

図7(B)の例では、ウォーターマークWMの下流端と第3の印刷可能領域AA3の下流端とを一致させる場合のほうが、ウォーターマークWMの上流端と第3の印刷可能領域AA3の上流端とを一致させる場合より、ウォーターマークWMの基準位置からの移動量が小さい。したがって、図7(B)の例では、S135では、第3の印刷可能領域AA3の下流端が選択される。そして、S140では、第3の印刷可能領域AA3の下流端と、ウォーターマークWMの下流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの配置位置が決定される。その結果、S145では、図7(C)に示すように、ウォーターマークWMの位置が、基準位置から調整された配置画像AI2を示す配置画像データが生成される。   In the example of FIG. 7B, when the downstream end of the watermark WM and the downstream end of the third printable area AA3 are made to coincide, the upstream end of the watermark WM and the upstream of the third printable area AA3. The amount of movement of the watermark WM from the reference position is smaller than when the edges are matched. Accordingly, in the example of FIG. 7B, the downstream end of the third printable area AA3 is selected in S135. In S140, the arrangement position of the watermark WM is determined such that the downstream end of the third printable area AA3 and the downstream end of the watermark WM are aligned in the transport direction AR. As a result, in S145, as shown in FIG. 7C, arrangement image data indicating the arrangement image AI2 in which the position of the watermark WM is adjusted from the reference position is generated.

以上説明した実施例によれば、図6のマーク配置処理において、対象画像OI(例えば、図3(B)の対象画像OI1や、図7(B)の対象画像OI2)の印刷のための複数回の部分印刷SPについて、複数個のヘッド位置Pが決定される(S100、S105)。そして、複数個のヘッド位置Pに基づいて、対象画像OIに対するウォーターマークWMの相対的な位置が決定される(S115〜S140)。この際には、対象画像OIのための複数回の部分印刷SPに対してウォーターマークWMの印刷のために部分印刷SPを追加すべき場合に、追加すべき部分印刷SPの回数が最も少なくなるように、ウォーターマークWMの位置が決定される。この結果、対象画像OIとウォーターマークWMとを含む配置画像AIを印刷する印刷時間が長くなることを抑制できる。   According to the embodiment described above, in the mark arrangement process of FIG. 6, a plurality of images for printing the target image OI (for example, the target image OI1 of FIG. 3B and the target image OI2 of FIG. 7B) are printed. A plurality of head positions P are determined for each partial printing SP (S100, S105). Based on the plurality of head positions P, the relative position of the watermark WM with respect to the target image OI is determined (S115 to S140). In this case, when the partial print SP is to be added for printing the watermark WM with respect to the multiple partial print SP for the target image OI, the number of partial print SPs to be added is the smallest. In this way, the position of the watermark WM is determined. As a result, it is possible to suppress an increase in the printing time for printing the layout image AI including the target image OI and the watermark WM.

詳しく説明する。例えば、図3(B)に示すように、ウォーターマークWMを基準位置に配置したままで印刷するとする。この場合には、ウォーターマークWMの下流端(+Y側の端)は、部分印刷SP3のヘッド位置P3の上流端(図3(B)の破線L2より下流側に位置している。したがって、この場合には、ウォーターマークWMの印刷のためには、文字Ob2の印刷のためのヘッド位置P8〜P12に対応する部分印刷SP8〜SP12に加えて、ヘッド位置P3〜P7に対応する5回の部分印刷SP3〜SP7を追加する必要がある。   explain in detail. For example, as shown in FIG. 3B, it is assumed that printing is performed with the watermark WM being placed at the reference position. In this case, the downstream end (+ Y side end) of the watermark WM is located downstream from the upstream end (the broken line L2 in FIG. 3B) of the head position P3 of the partial printing SP3. In this case, in order to print the watermark WM, in addition to the partial prints SP8 to SP12 corresponding to the head positions P8 to P12 for printing the character Ob2, the five times corresponding to the head positions P3 to P7 are used. It is necessary to add printing SP3 to SP7.

さらに、比較例を示す。図8は、比較例の配置画像AI1Xを示す図である。この配置画像AI1Xでは、文字Ob2の上流端(−Y側の端)と、ウォーターマークWMの上流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMが配置されている。この例では、ウォーターマークWMの下流端(+Y側の端)は、部分印刷SP5のヘッド位置P5の上流端(図8(B)の破線L3)より下流側に位置している。したがって、配置画像AI1XのウォーターマークWMの印刷のためには、部分印刷SP8〜SP12に加えて、ヘッド位置P5〜P7に対応する3回の部分印刷SP5〜SP7を追加する必要がある。   Furthermore, a comparative example is shown. FIG. 8 is a diagram illustrating the arrangement image AI1X of the comparative example. In this arrangement image AI1X, the watermark WM is arranged such that the upstream end (−Y side end) of the character Ob2 and the upstream end of the watermark WM are aligned in the transport direction AR. In this example, the downstream end (+ Y side end) of the watermark WM is located downstream from the upstream end (broken line L3 in FIG. 8B) of the head position P5 of the partial printing SP5. Therefore, in order to print the watermark WM of the arrangement image AI1X, it is necessary to add three partial prints SP5 to SP7 corresponding to the head positions P5 to P7 in addition to the partial prints SP8 to SP12.

これに対して、本実施例では、対象画像OIの印刷のための複数回の部分印刷SPにて印刷可能な1個以上の印刷可能領域AAが特定され(S110)、該印刷可能領域AAに基づいて、ウォーターマークWMの相対的な位置が決定される(S120〜S140)。より具体的には、1個以上の印刷可能領域AAのうちの特定の領域の上流端および下流端のうちの一方の端と、ウォーターマークWMの上流端および下流端のうちの対応する端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの相対的な位置が決定される(S135、S140)。図3(C)の例では、上述したように、第2の印刷可能領域AA2の上流端と、ウォーターマークWMの上流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの相対的な位置が決定されている。この結果、例えば、図3(C)の例では、ウォーターマークWMの下流端(+Y側の端)は、部分印刷SP5のヘッド位置P5の上流端(図3(C)の破線L3)より上流側に位置する。したがって、本実施例の配置画像AI1では、ウォーターマークWMの印刷のために追加される部分印刷は、ヘッド位置P6、P7に対応する2回の部分印刷SP6、SP7だけで良い。このように、図3(B)や比較例と異なり、追加すべき部分印刷SPの回数を最も少なくすることができる。したがって、対象画像OIのオブジェクトの位置や大きさに関わらずに、ウォーターマークWMを配置した配置画像を印刷する場合に比べて、配置画像AIを印刷する印刷時間が長くなることを抑制できる。   On the other hand, in this embodiment, one or more printable areas AA that can be printed by a plurality of partial printing SPs for printing the target image OI are specified (S110), and the printable areas AA are specified in the printable areas AA. Based on this, the relative position of the watermark WM is determined (S120 to S140). More specifically, one end of the upstream end and the downstream end of the specific region in the one or more printable regions AA, and the corresponding end of the upstream end and the downstream end of the watermark WM, The relative positions of the watermarks WM are determined so that the positions in the transport direction AR coincide with each other (S135, S140). In the example of FIG. 3C, as described above, the watermark WM is positioned so that the upstream end of the second printable area AA2 and the upstream end of the watermark WM coincide with each other in the transport direction AR. The relative position has been determined. As a result, for example, in the example of FIG. 3C, the downstream end (+ Y side end) of the watermark WM is upstream of the upstream end of the head position P5 of the partial printing SP5 (broken line L3 in FIG. 3C). Located on the side. Therefore, in the arrangement image AI1 of the present embodiment, the partial printing added for printing the watermark WM may be only the two partial printings SP6 and SP7 corresponding to the head positions P6 and P7. Thus, unlike FIG. 3B and the comparative example, the number of partial print SPs to be added can be minimized. Therefore, regardless of the position and size of the object of the target image OI, it is possible to suppress an increase in the printing time for printing the arrangement image AI compared to the case where the arrangement image in which the watermark WM is arranged is printed.

さらに説明すると、本実施例では、上述したように、第2の印刷可能領域AA2の上流端と、ウォーターマークWMの上流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの相対的な位置が決定されている。これによって、ウォーターマークWMのうち、ウォーターマークWMの印刷を行う最後の部分印刷SP12、すなわち、ヘッド位置P12の部分印刷SP12によって印刷される部分の幅Hu(図3(C))が、(1/4)Dになる。これによって、追加すべき部分印刷SPの回数を最も少なくすることができる。例えば、図8(B)の比較例では、ウォーターマークWMの印刷を行う最後の部分印刷SP12によって印刷される部分の幅Hux(図8(B))が、(1/4)D未満になっている。また、ウォーターマークWMの印刷を行う最初の部分印刷SP5によって印刷される部分の幅Hdx(図8(B))も、(1/4)D未満になっている。これによって、追加すべき部分印刷SPの回数を最も少なくすることができない可能性が高くなる。この基準となる値(1/4)Dは、一般的に言えば、均等送りのMパス印刷(本実施例では、M=4)が行われる場合には、ノズル長Dの(1/M)の値である。   More specifically, in this embodiment, as described above, the upstream end of the second printable area AA2 and the upstream end of the watermark WM are aligned with each other in the transport direction AR. The relative position has been determined. As a result, the width Hu (FIG. 3C) of the portion printed by the last partial print SP12 for printing the watermark WM, that is, the partial print SP12 at the head position P12, of the watermark WM is (1). / 4) Becomes D. As a result, the number of partial print SPs to be added can be minimized. For example, in the comparative example of FIG. 8B, the width Hux (FIG. 8B) of the portion printed by the last partial printing SP12 that prints the watermark WM is less than (1/4) D. ing. Further, the width Hdx (FIG. 8B) of the portion printed by the first partial printing SP5 for printing the watermark WM is also less than (1/4) D. This increases the possibility that the number of partial print SPs to be added cannot be minimized. Generally speaking, the reference value (1/4) D is equal to (1 / M) of the nozzle length D when uniform feed M-pass printing (in this embodiment, M = 4) is performed. ) Value.

なお、図7(C)の例のように、第3の印刷可能領域AA3の下流端と、ウォーターマークWMの下流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの相対的な位置が決定される場合もある。この場合には、ウォーターマークWMのうち、ウォーターマークWMの印刷を行う最初の部分印刷SP6、すなわち、ヘッド位置P6の部分印刷SP6によって印刷される部分の幅Hdが、(1/4)Dになる。この場合であっても追加すべき部分印刷SPの回数を最も少なくすることができる。一般的に言えば、ウォーターマークWMの印刷を行う最初の部分印刷SPおよび最後の部分印刷SPの少なくとも一方によって印刷される一部分の幅が、基準(例えば、(1/4)D)以上になるように、ウォーターマークWMの相対的な位置が決定されれば良い。   As in the example of FIG. 7C, the relative positions of the watermarks WM so that the downstream end of the third printable area AA3 and the downstream end of the watermark WM coincide with each other in the transport direction AR. In some cases, a specific position is determined. In this case, of the watermark WM, the width Hd of the first partial print SP6 for printing the watermark WM, that is, the portion printed by the partial print SP6 at the head position P6 is (1/4) D. Become. Even in this case, the number of partial print SPs to be added can be minimized. Generally speaking, the width of a portion printed by at least one of the first partial print SP and the last partial print SP for printing the watermark WM is equal to or greater than a reference (for example, (1/4) D). In this way, the relative position of the watermark WM may be determined.

さらに、上記実施例では、ウォーターマークWMの幅が、1個以上の印刷可能領域AAのうちの特定領域の幅より大きい場合には、ウォーターマークWMの印刷のための複数回の部分印刷にて印刷可能な領域が、当該特定領域を含むように、ウォーターマークWMの相対的な位置が決定される。例えば、図3(C)の例では、ウォーターマークWMの幅Hwが、第2の印刷可能領域AA2の幅H2より大きい。そして、ウォーターマークWMの印刷のための複数回の部分印刷SP6〜SP12は、文字Ob2を印刷するためのSP8〜SP12を含んでいる。したがって、ウォーターマークWMの印刷のための複数回の部分印刷SP6〜SP12にて印刷可能な領域は、第2の印刷可能領域AA2を含んでいることが解る。こうすることによって、ウォーターマークWMの幅Hwが、特定領域の幅より大きい場合に、ウォーターマークWMの相対的な位置を適切に決定することができる。   Further, in the above embodiment, when the width of the watermark WM is larger than the width of the specific area of the one or more printable areas AA, the partial printing is performed a plurality of times for printing the watermark WM. The relative position of the watermark WM is determined so that the printable area includes the specific area. For example, in the example of FIG. 3C, the width Hw of the watermark WM is larger than the width H2 of the second printable area AA2. The partial printing SP6 to SP12 for multiple times for printing the watermark WM includes SP8 to SP12 for printing the character Ob2. Therefore, it can be seen that the area that can be printed by the multiple partial printing SP6 to SP12 for printing the watermark WM includes the second printable area AA2. In this way, when the width Hw of the watermark WM is larger than the width of the specific area, the relative position of the watermark WM can be appropriately determined.

さらに、上記実施例では、ウォーターマークWMの幅が、1個以上の印刷可能領域AAのうちの特定領域の幅より小さい場合には、ウォーターマークWMの印刷のための複数回の部分印刷にて印刷可能な領域が、特定領域に含まれるように、ウォーターマークWMの相対的な位置が決定される。例えば、図7(C)の例では、ウォーターマークWMの幅Hwが、第3の印刷可能領域AA3の幅H3より小さい。そして、ウォーターマークWMの印刷のための複数回の部分印刷SP6〜SP12は、描画Ob3を印刷するためのSP6〜SP12に含まれている。したがって、ウォーターマークWMの印刷のための複数回の部分印刷SP6〜SP12にて印刷可能な領域は、第3の印刷可能領域AA3に含まれていることが解る。こうすることによって、ウォーターマークWMの幅Hwが、特定領域の幅より小さい場合に、ウォーターマークWMの相対的な位置を適切に決定することができる。   Further, in the above embodiment, when the width of the watermark WM is smaller than the width of the specific area of the one or more printable areas AA, the partial printing is performed a plurality of times for printing the watermark WM. The relative position of the watermark WM is determined so that the printable area is included in the specific area. For example, in the example of FIG. 7C, the width Hw of the watermark WM is smaller than the width H3 of the third printable area AA3. A plurality of partial prints SP6 to SP12 for printing the watermark WM are included in SP6 to SP12 for printing the drawing Ob3. Therefore, it can be seen that the area that can be printed by the multiple partial printing SP6 to SP12 for printing the watermark WM is included in the third printable area AA3. In this way, when the width Hw of the watermark WM is smaller than the width of the specific area, the relative position of the watermark WM can be appropriately determined.

さらに、上記実施例では、複数個の印刷可能領域AA1、AA2のそれぞれの幅H1、H2と、ウォーターマークWMの幅Hwと、が特定され、複数個の印刷可能領域AA1、AA2のそれぞれの幅H1、H2と、ウォーターマークWMの幅Hwと、を用いて、ウォーターマークWMの相対的な位置が決定される(S120〜S140)。これによって、ウォーターマークWMの相対的な位置を適切に決定することができる。例えば、ウォーターマークWMの幅Hwより大きな幅を有する印刷可能領域AAがあれば、その印刷可能領域AA内にウォーターマークWMが配置される(S130)ので、部分印刷SP12を追加する必要がない場合には、部分印刷SP12の追加を抑制できる。また、ウォーターマークWMの幅Hwより大きな幅を有する印刷可能領域AAがなければ、最大の幅を有する印刷可能領域AAと重なるようにウォーターマークWMが配置される(S125)ので、追加すべき部分印刷SPの回数を最も少なくすることができる。   Further, in the above embodiment, the widths H1 and H2 of the plurality of printable areas AA1 and AA2 and the width Hw of the watermark WM are specified, and the widths of the plurality of printable areas AA1 and AA2 are specified. The relative position of the watermark WM is determined using H1 and H2 and the width Hw of the watermark WM (S120 to S140). Thereby, the relative position of the watermark WM can be appropriately determined. For example, if there is a printable area AA having a width larger than the width Hw of the watermark WM, the watermark WM is arranged in the printable area AA (S130), so there is no need to add the partial print SP12. Therefore, the addition of the partial printing SP12 can be suppressed. If there is no printable area AA having a width larger than the width Hw of the watermark WM, the watermark WM is arranged so as to overlap the printable area AA having the maximum width (S125). The number of printing SPs can be minimized.

さらに、上記実施例では、対象画像OIの下流端の位置に基づいて、対象画像OIを印刷するための複数回の部分印刷のヘッド位置Pが決定される(S100、S105)。この結果、対象画像OIを印刷するための部分印刷の回数の増加を抑制するように、ヘッド位置を適切に決定できる。   Furthermore, in the above-described embodiment, the head position P for a plurality of partial printings for printing the target image OI is determined based on the position of the downstream end of the target image OI (S100, S105). As a result, the head position can be appropriately determined so as to suppress an increase in the number of times of partial printing for printing the target image OI.

さらに、上記実施例では、図4のS40の色変換処理によって変換済みの対象画像データを用いて、S50のマーク配置処理にて、ヘッド位置が決定される。この結果、適切なタイミングで、ヘッド位置を決定できる。例えば、本実施例のように、S60のハーフトーン処理にて、濃度補正処理を行う場合には、上述したように、S60より前にヘッド位置が決定されている必要があるが、このような場合であっても問題のないタイミングで、ヘッド位置を決定できる。なお、変形例としては、ラスタライズ処理の後であって、色変換処理の前に、RGB画像データである対象画像データを用いて、マーク配置処理が実行されても良い。   Further, in the above-described embodiment, the head position is determined in the mark placement process in S50 using the target image data converted by the color conversion process in S40 of FIG. As a result, the head position can be determined at an appropriate timing. For example, as in the present embodiment, when the density correction process is performed in the halftone process of S60, as described above, the head position needs to be determined before S60. Even in such a case, the head position can be determined with no problem. As a modification, mark arrangement processing may be performed using target image data that is RGB image data after rasterization processing and before color conversion processing.

さらに、上記実施例では、対象画像OIに対するヘッド位置と、ウォーターマークWMの基準位置と、に基づいて、ウォーターマークWMの相対的な位置が決定される(S135、S140)。この結果、基準位置を用いて、ウォーターマークWMの相対的な位置を適切に決定できる。例えば、基準位置は、表示部270を介して、ユーザから取得される指示に基づいて決定されるので、ウォーターマークWMの相対的な位置を、ユーザの意図に沿った位置に適切に決定できる。   Further, in the above embodiment, the relative position of the watermark WM is determined based on the head position with respect to the target image OI and the reference position of the watermark WM (S135, S140). As a result, the relative position of the watermark WM can be appropriately determined using the reference position. For example, since the reference position is determined based on an instruction acquired from the user via the display unit 270, the relative position of the watermark WM can be appropriately determined as a position in accordance with the user's intention.

さらに、上記実施例では、図4のS25、S90から解るように、対象画像データが、複数のページ分の複数の対象画像を示す場合には、ページごとに、対象画像OIに対するヘッド位置Pが決定され、ページごとに決定されるヘッド位置Pに基づいて、ページごとにウォーターマークWMの相対的な位置が決定される。したがって、複数のページ分の配置画像AIを印刷する印刷時間が長くなることを適切に抑制できる。   Further, in the above embodiment, as can be understood from S25 and S90 in FIG. 4, when the target image data indicates a plurality of target images for a plurality of pages, the head position P with respect to the target image OI is set for each page. Based on the determined head position P for each page, the relative position of the watermark WM is determined for each page. Accordingly, it is possible to appropriately suppress an increase in the printing time for printing the arrangement images AI for a plurality of pages.

B.変形例:
(1)図9では、対象画像OIに対して付加される付加画像は、ウォーターマークWMであるが、これに限られない。図9は、変形例の第1の説明図である。この変形例では、図3(B)の対象画像OIに対して、ウォーターマークWMに代えて、タグTGが、付加画像として付加される。このタグTGは、シートSの主走査方向の一方の側の端(+X側の端)に沿った位置に付加される。このために、特定のシートS上に別の1枚以上のシートが重ねられている場合においても、ユーザは、特定のシートSに印刷されたタグTGを認識することができる。タグTGは、例えば、矩形を有し、単色で全体が塗りつぶされた画像である。したがって、タグTGを示す画像データは、例えば、タグTGの色を示す色値と、タグTGの矩形のサイズを示す情報と、を含むデータである。
B. Variations:
(1) In FIG. 9, the additional image added to the target image OI is the watermark WM, but is not limited thereto. FIG. 9 is a first explanatory diagram of a modified example. In this modification, a tag TG is added as an additional image instead of the watermark WM to the target image OI in FIG. The tag TG is added at a position along one end (+ X side end) of the sheet S in the main scanning direction. For this reason, even when another one or more sheets are stacked on the specific sheet S, the user can recognize the tag TG printed on the specific sheet S. The tag TG is, for example, an image that has a rectangle and is entirely filled with a single color. Therefore, the image data indicating the tag TG is data including, for example, a color value indicating the color of the tag TG and information indicating the size of the tag TG rectangle.

タグTGは、ユーザによる、印刷済みの複数枚のシートの分類作業を効率化するために、付加される。例えば、1部あたりのページ数がM(Mは2以上の整数)である画像を、N部(Nは2以上の整数)だけ印刷することによって、(M×N)枚分の印刷を行う場合に、N部のそれぞれの先頭ページを示す画像に、タグTGが付加される。これによって、ユーザは、(M×N)枚のシートを、一部ずつに分類する作業が容易になる。タグTGは、一部あたりのページ数Mが比較的少ない場合などには、複数部の間で、色や位置が異なるように、付加されても良い。また、タグTGは、一部あたりのページ数Mが比較的多いために、分類作業の負荷が比較的高いと考えられる場合にのみ付加されても良い。また、印刷ジョブごと、印刷を指示するユーザごと、あるいは、印刷ジョブの送信元の端末(たとえば、端末装置200)ごと、に色や位置が異なるタグTGが、付加されても良い。こうすれば、複数枚のシートを、印刷ジョブ、ユーザ、あるいは、端末に応じて分類する作業が容易になる。   The tag TG is added in order to improve the efficiency of sorting the plurality of printed sheets by the user. For example, printing of (M × N) sheets is performed by printing only N copies (N is an integer equal to or greater than 2) of images having M pages (M is an integer equal to or greater than 2). In this case, a tag TG is added to the image indicating the first page of each of the N parts. This facilitates the user's task of classifying (M × N) sheets into parts. The tag TG may be added so that the colors and positions are different among a plurality of copies when the number of pages M per portion is relatively small. The tag TG may be added only when the load of the classification work is considered to be relatively high because the number of pages M per part is relatively large. A tag TG having a different color and position may be added for each print job, for each user instructing printing, or for each terminal (for example, the terminal device 200) that transmitted the print job. This makes it easy to classify a plurality of sheets according to a print job, a user, or a terminal.

例えば、図9(B)に示すような基準位置に、タグTGを付加すれば、タグTGを印刷するために追加される部分印刷SPの回数が過度に多くなる可能性がある。図9(B)の例では、タグTGの幅Htは、印刷可能領域AA1、AA2の幅H1、H2より長い。本変形例によれば、図9(C)に示すように、最大幅を有する印刷可能領域AAである第2の印刷可能領域AA2の上流端と、タグTGの上流端と、の搬送方向ARの位置が、一致するように、タグTGの相対的な位置が決定される。この結果、対象画像OI1とタグTGとを含む配置画像AI1bを印刷する印刷時間が長くなることを抑制できる。   For example, if the tag TG is added to the reference position as shown in FIG. 9B, the number of partial print SPs added to print the tag TG may be excessively increased. In the example of FIG. 9B, the width Ht of the tag TG is longer than the widths H1 and H2 of the printable areas AA1 and AA2. According to this modification, as shown in FIG. 9C, the conveyance direction AR between the upstream end of the second printable area AA2, which is the printable area AA having the maximum width, and the upstream end of the tag TG. The relative positions of the tags TG are determined such that the positions of the tags TG match. As a result, it is possible to suppress an increase in the printing time for printing the arrangement image AI1b including the target image OI1 and the tag TG.

なお、付加画像は、追跡パターンであっても良い。追跡パターンは、紙幣や切手等の有価証券を印刷した装置を追跡できるようにするための特定のパターンである。   Note that the additional image may be a tracking pattern. The tracking pattern is a specific pattern for enabling tracking of a device on which securities such as banknotes and stamps are printed.

(2)なお、上記実施例では、対象画像OIに対してヘッド位置を決定し、該ヘッド位置に基づいて、対象画像OIに対する付加画像の相対的な位置を決定している。これに限らず、例えば、2ページ分の2個の画像PI1、PI2を、1枚のシートSに印刷する場合に、1ページ目の画像PI1に対してヘッド位置を決定し、該ヘッド位置に基づいて、1ページ目の画像PI1に対する2ページ目の画像PI2の相対的な位置を決定しても良い。 (2) In the above embodiment, the head position is determined with respect to the target image OI, and the relative position of the additional image with respect to the target image OI is determined based on the head position. For example, when printing two images PI1 and PI2 for two pages on one sheet S, the head position is determined with respect to the image PI1 of the first page, and the head position is set to the head position. Based on this, the relative position of the image PI2 of the second page with respect to the image PI1 of the first page may be determined.

図10は、変形例の第2の説明図である。この例では、1個の領域を1回の部分印刷SPを用いて印刷するいわゆる1パス印刷が行われる。図10(A)のヘッド位置P1〜P5は、1ページ目の画像PI1に基づいて、画像PI1の下流端と、1回目の部分印刷SP1のヘッド位置P1の下流端と、の搬送方向ARの位置が、一致するように決定されている。   FIG. 10 is a second explanatory diagram of the modified example. In this example, so-called one-pass printing is performed in which one area is printed using one partial printing SP. The head positions P1 to P5 in FIG. 10A are based on the image PI1 of the first page in the transport direction AR between the downstream end of the image PI1 and the downstream end of the head position P1 of the first partial printing SP1. The positions are determined to match.

この場合に、例えば、図10(B)の配置画像AI3のように、予め定められた基準位置に、2ページ目の画像PI2が配置されると、2ページ目の画像PI2を印刷するために、ヘッド位置P3〜P5に対応する3回の部分印刷SP3〜SP5が追加される必要がある。本変形例では、図10(C)の配置画像AI4のように、1ページ目の画像PI1に対して決定されたヘッド位置P1〜P5に基づいて、ヘッド位置P4による印刷可能領域の上流端(−Y側の端)と、2ページ目の画像PI2の上流端と、の搬送方向ARの位置が一致するように、1ページ目の画像PI1に対して2ページ目の画像PI2の相対的な位置が決定される。これによって、2ページ目の画像PI2を印刷するために、追加される部分印刷SPを、ヘッド位置P3、P4に対応する2回の部分印刷SP3、SP4だけにすることができる。   In this case, for example, when the image PI2 of the second page is arranged at a predetermined reference position like the arrangement image AI3 of FIG. 10B, the image PI2 of the second page is printed. Further, it is necessary to add three partial prints SP3 to SP5 corresponding to the head positions P3 to P5. In the present modification, based on the head positions P1 to P5 determined with respect to the image PI1 of the first page, like the layout image AI4 in FIG. 10C, the upstream end of the printable area by the head position P4 ( −Y side end) and the upstream end of the second page image PI2 are positioned relative to the first page image PI1 relative to the first page image PI1 so that the positions in the transport direction AR coincide with each other. The position is determined. Thereby, in order to print the image PI2 of the second page, the partial print SP added can be only the two partial prints SP3 and SP4 corresponding to the head positions P3 and P4.

一般的には、第1画像に対してヘッド位置が決定され、該ヘッド位置に基づいて、第1画像に対する第2画像の相対的な位置が決定されれば良い。この場合に、上記実施例の対象画像OI1とウォーターマークWMのように、第1画像と第2画像とは、搬送方向ARの位置が互いに重なるように配置されることが許容される画像であっても良い。また、本変形例の2ページ分の画像PI1、PI2のように、第1画像と第2画像とは、搬送方向ARの位置が互いに重なるように配置されることが許容されない画像であっても良い。対象画像と、搬送方向ARの位置が互いに重なることが許容されない画像には、例えば、ヘッダやフッタが含まれる。   Generally, the head position is determined with respect to the first image, and the relative position of the second image with respect to the first image may be determined based on the head position. In this case, like the target image OI1 and the watermark WM in the above embodiment, the first image and the second image are images that are allowed to be arranged so that the positions in the transport direction AR overlap each other. May be. Further, like the images PI1 and PI2 for two pages in the present modification, the first image and the second image may be images that are not allowed to be arranged so that the positions in the transport direction AR overlap each other. good. An image in which the target image and the position in the transport direction AR are not allowed to overlap each other includes, for example, a header and a footer.

(3)上記実施例では、最大の幅を有する印刷可能領域AAの上流端および下流端と、ウォーターマークWMの対応する端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの相対的な位置を決定している。これに代えて、例えば、CPU210は、最大の幅を有する印刷可能領域AAの上流端および下流端と、ウォーターマークWMの対応する端と、の搬送方向ARの位置が一致させた状態で、追加される部分印刷SPの回数の最小値が特定する。そして、追加される部分印刷SPの回数が、最小値から増加しない範囲内で、ウォーターマークWMの搬送方向ARの位置を調整しても良い。例えば、ウォーターマークWMによって、対象画像OI1のオブジェクトが見づらくなることを抑制するために、ウォーターマークWMと、対象画像OI1のオブジェクトと、が重なる量を減少させるために、ウォーターマークWMの搬送方向ARの位置を調整しても良い。 (3) In the above embodiment, the watermark WM is positioned so that the upstream end and the downstream end of the printable area AA having the maximum width coincide with the corresponding end of the watermark WM in the transport direction AR. The relative position is determined. Instead of this, for example, the CPU 210 adds the upstream end and the downstream end of the printable area AA having the maximum width and the position corresponding to the watermark WM in the transport direction AR. The minimum value of the number of partial printing SPs to be performed is specified. Then, the position of the watermark WM in the transport direction AR may be adjusted within a range in which the number of added partial print SPs does not increase from the minimum value. For example, in order to suppress the object of the target image OI1 from becoming difficult to see due to the watermark WM, the transport direction AR of the watermark WM is reduced to reduce the amount of overlap between the watermark WM and the object of the target image OI1. You may adjust the position.

(4)上記実施例では、基準位置に基づいて、ウォーターマークWMの相対的な位置を決定している。これに代えて、基準位置を用いることなく、単に、最大の幅を有する印刷可能領域AAの上流端と、ウォーターマークWMの上流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの相対的な位置を決定しても良い。 (4) In the above embodiment, the relative position of the watermark WM is determined based on the reference position. Instead, without using the reference position, the watermark is simply set so that the upstream end of the printable area AA having the maximum width and the upstream end of the watermark WM coincide with each other in the transport direction AR. The relative position of the WM may be determined.

(5)印刷可能領域AAの個数が1つである場合には、印刷可能領域AAの幅や、ウォーターマークWMの幅の特定は省略することができる。この場合には、例えば、単に、1個の印刷可能領域AAの上流端と、ウォーターマークWMの上流端と、の搬送方向ARの位置が一致するように、ウォーターマークWMの相対的な位置を決定すれば良い。 (5) When the number of printable areas AA is one, the specification of the width of the printable area AA and the width of the watermark WM can be omitted. In this case, for example, the relative position of the watermark WM is simply set so that the upstream end of one printable area AA matches the upstream end of the watermark WM in the transport direction AR. Just decide.

(6)上記実施例では、対象画像OI1の印刷対象の下流端、すなわち、文字Ob1の下流端を基準として、対象画像OI1全体のヘッド位置Pが決定されている(S100、S105)。これに代えて、対象画像OI1内の搬送方向ARに所定間隔以上離れた複数個のオブジェクトについては、それぞれ独立して、ヘッド位置Pが決定されても良い。例えば、文字Ob1の下流端を基準として、文字Ob1を印刷するためのヘッド位置Pが決定され、文字Ob2の下流端を基準として、文字Ob2を印刷するためのヘッド位置Pが決定されても良い。 (6) In the above embodiment, the head position P of the entire target image OI1 is determined with reference to the downstream end of the print target of the target image OI1, that is, the downstream end of the character Ob1 (S100, S105). Instead, the head position P may be determined independently for each of a plurality of objects separated by a predetermined interval or more in the transport direction AR in the target image OI1. For example, the head position P for printing the character Ob1 may be determined using the downstream end of the character Ob1 as a reference, and the head position P for printing the character Ob2 may be determined using the downstream end of the character Ob2. .

(7)シートS全体を印刷するための標準の複数個のヘッド位置は、例えば、図3(A)の14個のヘッド位置P1〜P14は、対象画像OI1に関わらずに予め定められていても良い。この場合には、CPU210は、予め定められた14個のヘッド位置P1〜P14の中から、対象画像OI1内の印刷対象、例えば、文字Ob1、Ob2に応じて、使用ヘッド位置を選択することによって、対象画像OI1に応じて、使用ヘッド位置を決定しても良い。 (7) The standard plural head positions for printing the entire sheet S are, for example, the 14 head positions P1 to P14 in FIG. 3A are determined in advance regardless of the target image OI1. Also good. In this case, the CPU 210 selects the head position to be used from among the 14 predetermined head positions P1 to P14 according to the print target in the target image OI1, for example, the characters Ob1 and Ob2. The use head position may be determined according to the target image OI1.

(8)図4の印刷処理を実行する制御装置としての端末装置200は、パーソナルコンピュータとは異なる種類の装置、例えば、プリンタ10、デジタルカメラ、スキャナ、スマートフォンであってもよい。プリンタ10が図4の印刷処理を実行する場合には、プリンタ10の制御部15が、図4の印刷処理を実行して、プリンタ10の印刷機構100に、配置画像AIを印刷させる。また、図2の印刷処理を実行する制御装置は、例えば、インターネットを介して、端末装置200やプリンタ10と通信可能なサーバであっても良い。この場合には、サーバは、例えば、端末装置200またはプリンタ10から対象画像データを取得して、図4の印刷処理を実行し、生成した印刷データを、端末装置200またはプリンタ10に供給すれば良い。このようなサーバは、ネットワークを介して互いに通信可能な複数個の計算機であっても良い。この場合には、ネットワークを介して互いに通信可能な複数個の計算機の全体が、制御装置に対応する。 (8) The terminal device 200 as a control device that executes the printing process of FIG. 4 may be a device of a different type from a personal computer, for example, a printer 10, a digital camera, a scanner, or a smartphone. When the printer 10 executes the printing process of FIG. 4, the control unit 15 of the printer 10 executes the printing process of FIG. 4 and causes the printing mechanism 100 of the printer 10 to print the arrangement image AI. 2 may be a server that can communicate with the terminal device 200 and the printer 10 via the Internet, for example. In this case, for example, the server acquires the target image data from the terminal device 200 or the printer 10, executes the printing process of FIG. 4, and supplies the generated print data to the terminal device 200 or the printer 10. good. Such a server may be a plurality of computers that can communicate with each other via a network. In this case, the whole of a plurality of computers that can communicate with each other via a network corresponds to the control device.

(9)上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。例えば、図1の端末装置200のCPU210が実行している処理の一部は、専用のハードウェア回路によって実現されてもよい。 (9) In each of the above embodiments, a part of the configuration realized by hardware may be replaced with software, and conversely, part or all of the configuration realized by software is replaced with hardware. You may do it. For example, a part of the processing executed by the CPU 210 of the terminal device 200 in FIG. 1 may be realized by a dedicated hardware circuit.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As mentioned above, although this invention was demonstrated based on the Example and the modification, Embodiment mentioned above is for making an understanding of this invention easy, and does not limit this invention. The present invention can be changed and improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention.

10...プリンタ、15...制御部、100...印刷機構、110...印刷ヘッド、111...ノズル形成面、120...ヘッドドライバ、130...主走査機構、133...キャリッジ、134...摺動軸、140...搬送機構、141...プラテン、143...上流側ローラ対、144...下流側ローラ対、200...端末装置、210...CPU、220...不揮発性記憶装置、230...揮発性記憶装置、231...バッファ領域、260...操作部、270...表示部、280...通信部、D...ノズル長、T...シート搬送、S...シート、P...ヘッド位置、n...パス番号、AI...配置画像、SP...部分印刷、P...ヘッド位置、W1...メイン画面、W2...詳細設定画面、AA...印刷可能領域、OI...対象画像、WM...ウォーターマーク、CP...コンピュータプログラム、AR...搬送方向、NZ...ノズル、Ob1、Ob2...文字、Ob3...描画   DESCRIPTION OF SYMBOLS 10 ... Printer, 15 ... Control part, 100 ... Printing mechanism, 110 ... Print head, 111 ... Nozzle formation surface, 120 ... Head driver, 130 ... Main scanning mechanism, 133 ... carriage 134 ... sliding shaft 140 ... conveying mechanism 141 ... platen 143 ... upstream roller pair 144 ... downstream roller pair 200 ... terminal Device 210 ... CPU 220 ... nonvolatile storage device 230 ... volatile storage device 231 ... buffer area 260 ... operation unit 270 ... display unit 280 .. Communication part, D ... Nozzle length, T ... Sheet conveyance, S ... Sheet, P ... Head position, n ... Pass number, AI ... Arranged image, SP ... part Print, P ... Head position, W1 ... Main screen, W2 ... Detail setting screen, AA ... Printable area, OI ... Target image, WM ... Watermark, CP ... Computer program, AR ... transport Direction, NZ ... nozzle, Ob1, Ob2 ... character, Ob3 ... drawing

Claims (14)

インクを吐出する複数個のノズルを有する印刷ヘッドと、シートを搬送方向に搬送する搬送機構と、を備える印刷実行部であって、前記印刷ヘッドによって画像の一部分を前記シートに印刷する部分印刷と、前記搬送機構によって前記シートを搬送するシート搬送と、を交互に複数回実行することによって、前記シートに前記画像を印刷する印刷処理を実行する、前記印刷実行部のための制御装置であって、
印刷すべき第1画像を示す第1画像データと、前記第1画像とともに印刷すべき第2画像を示す第2画像データと、を取得する画像取得部と、
前記第1画像の印刷のための複数回の前記部分印刷について、複数個のヘッド位置を決定する第1決定部であって、前記複数個のヘッド位置のそれぞれは、前記第1画像に対する、前記印刷ヘッドの前記搬送方向の相対的な位置であり、前記複数個のヘッド位置のそれぞれは、前記第1画像データを用い、前記第1画像の内容に応じて決定される、前記第1決定部と、
前記複数個のヘッド位置に基づいて、前記第1画像に対する前記第2画像の相対的な位置を決定する第2決定部であって、前記第1画像の印刷のための前記複数回の部分印刷に対して前記第2画像の印刷のために前記部分印刷を追加すべき場合に、追加すべき前記部分印刷の回数が最も少なくなるように、前記第1画像に対する前記第2画像の相対的な位置を決定する、前記第2決定部と、
前記第1画像データと前記第2画像データとを用いて、前記第1画像に対して、前記第2決定部によって決定済みの相対的な位置に前記第2画像を配置することによって、前記第1画像と前記第2画像とを含む配置画像を示す配置画像データを生成する生成部と、
前記配置画像データを用いて生成される印刷画像データを、前記印刷実行部に対して供給する供給部と、
を備える、制御装置。
A print execution unit comprising: a print head having a plurality of nozzles that eject ink; and a transport mechanism that transports a sheet in a transport direction, wherein the print head prints a part of an image on the sheet. And a control device for the print execution unit that executes a printing process for printing the image on the sheet by alternately performing a plurality of times of sheet conveyance for conveying the sheet by the conveyance mechanism. ,
An image acquisition unit for acquiring first image data indicating a first image to be printed and second image data indicating a second image to be printed together with the first image;
A first determination unit that determines a plurality of head positions for a plurality of partial printings for printing the first image, wherein each of the plurality of head positions corresponds to the first image. The relative position of the print head in the transport direction, and each of the plurality of head positions is determined according to the content of the first image using the first image data. When,
A second determination unit configured to determine a relative position of the second image with respect to the first image based on the plurality of head positions, the plurality of partial printings for printing the first image; When the partial printing is to be added for printing the second image, the relative number of the second image to the first image is minimized so that the number of partial printings to be added is minimized. Said second determining unit for determining a position;
By using the first image data and the second image data, the second image is arranged at a relative position determined by the second determination unit with respect to the first image. A generating unit that generates layout image data indicating a layout image including one image and the second image;
A supply unit that supplies print image data generated using the layout image data to the print execution unit;
A control device comprising:
請求項1に記載の制御装置であって、
前記第2画像は、ユーザの指示に基づいて、前記第1画像に対して付加される付加画像である、制御装置。
The control device according to claim 1,
The control device, wherein the second image is an additional image added to the first image based on a user instruction.
請求項1または2に記載の制御装置であって、
前記第2決定部は、前記第2画像の印刷を行う最初の前記部分印刷および最後の前記部分印刷の少なくとも一方によって印刷される前記第2画像の一部分の前記搬送方向の長さが、基準以上になるように、前記第1画像に対する前記第2画像の相対的な位置を決定する、制御装置。
The control device according to claim 1 or 2,
In the second determination unit, a length in the transport direction of a part of the second image printed by at least one of the first partial printing and the last partial printing for printing the second image is greater than a reference. A control device for determining a relative position of the second image with respect to the first image.
請求項1〜3のいずれかに記載の制御装置であって、
前記第2決定部は、
前記第1画像の印刷のための前記複数回の部分印刷にて印刷可能な1個以上の印刷可能領域であって、それぞれが前記搬送方向に連続する領域である、前記1個以上の印刷可能領域を特定し、
前記1個以上の印刷可能領域に基づいて、前記第2画像の相対的な位置を決定する、制御装置。
The control device according to any one of claims 1 to 3,
The second determination unit includes
The one or more printable areas that can be printed by the multiple partial printings for printing the first image, each of which is a continuous area in the transport direction. Identify the area,
A control device that determines a relative position of the second image based on the one or more printable areas.
請求項4に記載の制御装置であって、
前記第2決定部は、前記第2画像の前記搬送方向の長さが、前記1個以上の印刷可能領域のうちの特定領域の前記搬送方向の長さより大きい場合には、前記第2画像の印刷のための複数回の前記部分印刷にて印刷可能な領域が、前記特定領域を含むように、前記第1画像に対する前記第2画像の相対的な位置を決定する、制御装置。
The control device according to claim 4,
When the length of the second image in the transport direction is greater than the length of the specific region of the one or more printable regions in the transport direction, the second determination unit The control apparatus which determines the relative position of the said 2nd image with respect to a said 1st image so that the area | region which can be printed by the said partial printing for printing in multiple times includes the said specific area | region.
請求項4に記載の制御装置であって、
前記第2決定部は、前記第2画像の前記搬送方向の長さが、前記1個以上の印刷可能領域のうちの特定領域の前記搬送方向の長さより小さい場合には、前記第2画像の印刷のための複数回の前記部分印刷にて印刷可能な領域が、前記特定領域に含まれるように、前記第1画像に対する前記第2画像の相対的な位置を決定する、制御装置。
The control device according to claim 4,
When the length of the second image in the transport direction is smaller than the length of the specific region of the one or more printable regions in the transport direction, the second determination unit The control apparatus which determines the relative position of the said 2nd image with respect to a said 1st image so that the area | region printable by the said partial printing for printing in multiple times is contained in the said specific area | region.
請求項4〜6のいずれかに記載の制御装置であって、
前記第2決定部は、
複数個の前記印刷可能領域のそれぞれの前記搬送方向の長さと、前記第2画像の前記搬送方向の長さと、を特定し、
前記複数個の印刷可能領域のそれぞれの前記搬送方向の長さと、前記第2画像の前記搬送方向の長さと、を用いて、前記第1画像に対する前記第2画像の相対的な位置を決定する、制御装置。
The control device according to any one of claims 4 to 6,
The second determination unit includes
Identifying the length in the transport direction of each of the plurality of printable areas and the length in the transport direction of the second image;
The relative position of the second image with respect to the first image is determined using the length in the transport direction of each of the plurality of printable areas and the length in the transport direction of the second image. ,Control device.
請求項4〜7のいずれかに記載の制御装置であって、
前記第2決定部は、
前記1個以上の印刷可能領域のうちの特定領域の前記搬送方向の上流端および下流端のうちの一方の端と、前記第2画像の前記搬送方向の上流端および下流端のうちの対応する端と、の前記搬送方向の位置が一致するように、前記第1画像に対する前記第2画像の相対的な位置を決定する、制御装置。
The control device according to any one of claims 4 to 7,
The second determination unit includes
One of the upstream end and the downstream end in the transport direction of the specific region of the one or more printable regions corresponds to the upstream end and the downstream end in the transport direction of the second image. A control device that determines a relative position of the second image with respect to the first image such that an end and a position in the transport direction coincide with each other.
請求項1〜8のいずれかに記載の制御装置であって、
前記第1決定部は、前記第1画像の内容の前記搬送方向の下流端の位置に基づいて、前記複数個のヘッド位置を決定する、制御装置。
A control device according to any one of claims 1 to 8,
The first determining unit determines the plurality of head positions based on a position of a downstream end of the content of the first image in the transport direction.
請求項1〜9のいずれかに記載の制御装置であって、さらに、
ビットマップ形式とは異なる形式の前記第1画像データをビットマップ形式に変換するラスタライズ処理と、印刷に用いられる1種以上のインクに対応しない第1表色系で画素毎の色を示す前記第1画像データを、印刷に用いられる1種以上のインクに対応する第2表色系で画素毎の色を表すデータに変換する色変換処理と、の少なくとも一方を実行する処理部を備え、
前記第1決定部は、前記ラスタライズ処理および前記色変換処理の少なくとも一方によって変換済みの前記第1画像データを用いて、前記複数個のヘッド位置を決定する、制御装置。
The control device according to any one of claims 1 to 9, further comprising:
The rasterizing process for converting the first image data in a format different from the bitmap format into the bitmap format and the first color system that does not correspond to one or more types of ink used for printing indicate the color for each pixel. A processing unit that executes at least one of color conversion processing for converting one image data into data representing a color for each pixel in a second color system corresponding to one or more types of ink used for printing;
The first determining unit determines the plurality of head positions by using the first image data that has been converted by at least one of the rasterizing process and the color conversion process.
請求項1〜10のいずれかに記載の制御装置であって、
前記第2決定部は、前記複数個のヘッド位置と、前記第2画像の基準位置と、に基づいて、前記第1画像に対する前記第2画像の相対的な位置を決定する、制御装置。
The control device according to any one of claims 1 to 10,
The control device, wherein the second determination unit determines a relative position of the second image with respect to the first image based on the plurality of head positions and a reference position of the second image.
請求項11に記載の制御装置であって、さらに、
表示部を介して、前記第2画像の前記基準位置を指定する指示を取得する指示取得部と、
前記指示に基づいて、前記第2画像の前記基準位置を決定する第3決定部と、
を備える、制御装置。
The control device according to claim 11, further comprising:
An instruction acquisition unit for acquiring an instruction to specify the reference position of the second image via the display unit;
A third determining unit that determines the reference position of the second image based on the instruction;
A control device comprising:
請求項1〜12のいずれかに記載の制御装置であって、
前記画像取得部は、複数のページ分の複数の前記第1画像を示す前記第1画像データを取得し、
前記第1決定部は、ページごとに、前記複数個のヘッド位置を決定し、
前記第2決定部は、ページごとに決定される前記複数個のヘッド位置に基づいて、ページごとに前記第1画像に対する前記第2画像の相対的な位置を決定する、制御装置。
The control device according to any one of claims 1 to 12,
The image acquisition unit acquires the first image data indicating the plurality of first images for a plurality of pages,
The first determination unit determines the plurality of head positions for each page,
The second determining unit determines a relative position of the second image with respect to the first image for each page based on the plurality of head positions determined for each page.
インクを吐出する複数個のノズルを有する印刷ヘッドと、シートを搬送方向に搬送する搬送機構と、を備える印刷実行部であって、前記印刷ヘッドによって画像の一部分を前記シートに印刷する部分印刷と、前記搬送機構によって前記シートを搬送するシート搬送と、を交互に複数回実行することによって、前記シートに前記画像を印刷する印刷処理を実行する、前記印刷実行部のためのコンピュータプログラムであって、
印刷すべき第1画像を示す第1画像データと、前記第1画像とともに印刷すべき第2画像を示す第2画像データと、を取得する画像取得機能と、
前記第1画像の印刷のための複数回の前記部分印刷について、複数個のヘッド位置を決定する第1決定機能であって、前記複数個のヘッド位置のそれぞれは、前記第1画像に対する、前記印刷ヘッドの前記搬送方向の相対的な位置であり、前記複数個のヘッド位置のそれぞれは、前記第1画像データを用い、前記第1画像の内容に応じて決定される、前記第1決定機能と、
前記複数個のヘッド位置に基づいて、前記第1画像に対する前記第2画像の相対的な位置を決定する第2決定機能であって、前記第1画像の印刷のための前記複数回の部分印刷に対して前記第2画像の印刷のために前記部分印刷を追加すべき場合に、追加すべき前記部分印刷の回数が最も少なくなるように、前記第1画像に対する前記第2画像の相対的な位置を決定する、前記第2決定機能と、
前記第1画像データと前記第2画像データとを用いて、前記第1画像に対して、前記第2決定機能によって決定済みの相対的な位置に前記第2画像を配置することによって、前記第1画像と前記第2画像とを含む配置画像を示す配置画像データを生成する生成機能と、
前記配置画像データを用いて生成される印刷画像データを、前記印刷実行部に対して供給する供給機能と、
をコンピュータに実現させるコンピュータプログラム。
A print execution unit comprising: a print head having a plurality of nozzles that eject ink; and a transport mechanism that transports a sheet in a transport direction, wherein the print head prints a part of an image on the sheet. A computer program for the print execution unit that executes a printing process for printing the image on the sheet by alternately executing a plurality of sheet conveyances for conveying the sheet by the conveyance mechanism. ,
An image acquisition function for acquiring first image data indicating a first image to be printed and second image data indicating a second image to be printed together with the first image;
A first determination function for determining a plurality of head positions for the partial printing for a plurality of times for printing the first image, wherein each of the plurality of head positions corresponds to the first image. The first determination function, which is a relative position of the print head in the transport direction, and each of the plurality of head positions is determined according to the content of the first image using the first image data. When,
A second determination function for determining a relative position of the second image with respect to the first image based on the plurality of head positions, wherein the plurality of partial printings for printing the first image When the partial printing is to be added for printing the second image, the relative number of the second image to the first image is minimized so that the number of partial printings to be added is minimized. Said second determining function for determining a position;
By using the first image data and the second image data, the second image is arranged at a relative position determined by the second determination function with respect to the first image. A generation function for generating layout image data indicating a layout image including one image and the second image;
A supply function for supplying print image data generated using the arrangement image data to the print execution unit;
A computer program that causes a computer to realize
JP2016071326A 2016-03-31 2016-03-31 Control device and computer program Pending JP2017182597A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016071326A JP2017182597A (en) 2016-03-31 2016-03-31 Control device and computer program
US15/469,621 US10315436B2 (en) 2016-03-31 2017-03-27 Control device and method for printing first image and second image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016071326A JP2017182597A (en) 2016-03-31 2016-03-31 Control device and computer program

Publications (1)

Publication Number Publication Date
JP2017182597A true JP2017182597A (en) 2017-10-05

Family

ID=59959082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016071326A Pending JP2017182597A (en) 2016-03-31 2016-03-31 Control device and computer program

Country Status (2)

Country Link
US (1) US10315436B2 (en)
JP (1) JP2017182597A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019177512A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Control device and computer program
JP2019177511A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Control device and computer program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9188571B2 (en) * 2011-08-26 2015-11-17 Waters Technologies Corporation Chromatography apparatus having diffusion bonded coupler
JP6781399B2 (en) * 2016-09-30 2020-11-04 ブラザー工業株式会社 Control device and computer program
JP2022040751A (en) * 2020-08-31 2022-03-11 ブラザー工業株式会社 Liquid discharge device, control method of the same and program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3565251B2 (en) 1998-12-07 2004-09-15 セイコーエプソン株式会社 Image forming device
US6721439B1 (en) 2000-08-18 2004-04-13 Hewlett-Packard Development Company, L.P. Method and system of watermarking digital data using scaled bin encoding and maximum likelihood decoding
JP2005088387A (en) 2003-09-18 2005-04-07 Ricoh Co Ltd Color image forming apparatus
JP2006344106A (en) 2005-06-10 2006-12-21 Fujifilm Holdings Corp Page output controller and page output control program
JP2007045133A (en) 2005-08-12 2007-02-22 Seiko Epson Corp Printer and printing method
US20070171459A1 (en) * 2006-01-20 2007-07-26 Dawson Christopher J Method and system to allow printing compression of documents
JP2009023214A (en) 2007-07-19 2009-02-05 Canon Inc Image forming apparatus, and control method and program thereof
JP2013065955A (en) 2011-09-15 2013-04-11 Ricoh Co Ltd Image forming apparatus
JP5866905B2 (en) 2011-09-16 2016-02-24 ブラザー工業株式会社 Control device for causing printing execution unit to execute printing
JP2017177684A (en) * 2016-03-31 2017-10-05 ブラザー工業株式会社 Control apparatus and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019177512A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Control device and computer program
JP2019177511A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Control device and computer program
JP7193773B2 (en) 2018-03-30 2022-12-21 ブラザー工業株式会社 controller and computer program

Also Published As

Publication number Publication date
US20170282590A1 (en) 2017-10-05
US10315436B2 (en) 2019-06-11

Similar Documents

Publication Publication Date Title
US10611172B2 (en) Control device and method for printing object image and additional image
US10315436B2 (en) Control device and method for printing first image and second image
US7333239B2 (en) Method for controlling a plurality of printing apparatuses
US8081342B2 (en) Information processing apparatus, information processing method, and print control program
US9582226B2 (en) System and method for producing clear colorant on imposed multi-pass pages
JP7193773B2 (en) controller and computer program
US11479051B2 (en) Image processing apparatus controlling printing according to unidirectional printing method or bidirectional printing method
US9602694B2 (en) Image rotation to optimize rip and print performance time
EP2290941A2 (en) Image processing apparatus and printing system
JP7219417B2 (en) Controller, printer and computer program
US10647109B2 (en) Printing apparatus and printing control apparatus
JP6978728B2 (en) Control device and computer program
US9144994B2 (en) Printing device and printing method
JP2017030149A (en) Printing control device and printing control method
US8184304B2 (en) System and method of operating a raster image processor
US10095448B2 (en) Image data generating apparatus, an image data generating method, and a printing system
US9325880B2 (en) Image processing apparatus adjusting image data including a plurality of sets of component image data
US8789906B2 (en) Controlling device for causing print performing unit to perform print
JP2020157586A (en) Image processor, and computer program
US7306310B2 (en) Technique for creating print data utilized by an ink jet printer
JP5786394B2 (en) Printing apparatus, printing system, printing method, and program
US11201987B2 (en) Image processing method, image processing device, and recording device
US11917115B1 (en) Shift compensation mechanism
JP2022072457A (en) Control device and computer program
JP2021053828A (en) Image processing device