Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5310153B2 - RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE - Google Patents
[go: Go Back, main page]

JP5310153B2 - RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE - Google Patents

RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE Download PDF

Info

Publication number
JP5310153B2
JP5310153B2 JP2009065730A JP2009065730A JP5310153B2 JP 5310153 B2 JP5310153 B2 JP 5310153B2 JP 2009065730 A JP2009065730 A JP 2009065730A JP 2009065730 A JP2009065730 A JP 2009065730A JP 5310153 B2 JP5310153 B2 JP 5310153B2
Authority
JP
Japan
Prior art keywords
recording
barcode
image
ink
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009065730A
Other languages
Japanese (ja)
Other versions
JP2010218356A (en
Inventor
悠介 樫本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009065730A priority Critical patent/JP5310153B2/en
Publication of JP2010218356A publication Critical patent/JP2010218356A/en
Application granted granted Critical
Publication of JP5310153B2 publication Critical patent/JP5310153B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Ink Jet (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To control a recording device for forming dots by discharging ink so as to record a barcode which is read by a barcode reader with high accuracy, on a recording medium. <P>SOLUTION: A host computer 5, which controls an inkjet printer 1 for discharging ink from a recording head 2 to form dots on a recording medium, includes a barcode record region detection part 30 for detecting a barcode record region on which a barcode is recorded by dots. In the host computer 5, each dot included in the barcode record region detected by the barcode record region detection part 30, is formed by repeatedly discharging the ink more than once by the recording head 2. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、インクを吐出して記録媒体にドットを形成する記録装置を制御する記録制御装置、記録装置の制御方法、及び記録装置を制御するため
の記録制御データを生成する記録制御データ生成装置に関する。
The present invention relates to a recording control apparatus that controls a recording apparatus that discharges ink to form dots on a recording medium, a control method for the recording apparatus , and a recording control data generation apparatus that generates recording control data for controlling the recording apparatus. About.

従来、シート等の記録媒体にバーコードを記録するバーコード印刷システムが知られている(例えば、特許文献1参照)。   Conventionally, a barcode printing system that records a barcode on a recording medium such as a sheet is known (see, for example, Patent Document 1).

特開特開2002−150211号公報JP-A-2002-150211

上述したようなバーコード印刷システムにおいて、記録媒体にインクを吐出してドットを形成するインクジェット式の記録装置を用いて記録媒体にバーコードを記録する場合、バーコードの画像を構成する各ドットの面積が小さいと、バーコードの線幅が細り、バーコードリーダーによる読み取り精度が低くなる可能性がある。
本発明は、上述した事情に鑑みてなされたものであり、バーコードリーダーによる読み取り精度が高いバーコードを記録媒体に記録可能な記録制御装置、記録制御装置の制御方法、プログラム及び記録制御データ生成装置を提供することを目的とする。
In a barcode printing system as described above, when a barcode is recorded on a recording medium using an ink jet recording apparatus that forms dots by ejecting ink onto the recording medium, each dot constituting the barcode image is recorded. If the area is small, the line width of the barcode may be narrowed and the reading accuracy by the barcode reader may be lowered.
The present invention has been made in view of the above-described circumstances, a recording control device capable of recording a barcode with high reading accuracy by a barcode reader on a recording medium, a control method for the recording control device, a program, and recording control data generation An object is to provide an apparatus.

上記目的を達成するために、本発明は、記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置を制御する記録制御装置において、前記記録媒体にバーコードが記録されるバーコード記録領域を検出するバーコード記録領域検出部と、前記バーコード記録領域検出部により検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させる記録制御部と、を備え、
前記バーコード記録領域検出部は、前記記録媒体に記録すべき画像のラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコード記録領域を検出することを特徴とする。
この構成によれば、バーコード記録領域に含まれる各ドット、つまりバーコードの画像を構成する各ドットについて、インクが複数回重ねて吐出されて形成される。これにより、各ドットにおいてインクのにじみが促され、1回インクを吐出する場合と比較して、ドットの面積を大きくすることができる。これにより、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
ここで、ドットを形成する際のインクの吐出量を大きくすることによってドットの面積を大きくすることを考えた場合、1回の吐出で大きなインクの吐出量を確保できるようなノズルを設計開発し、設けることが必要となるが、上記構成では、ノズルを設計開発し設けるためのコストを発生させることなく、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
また、上記構成では、バーコードの画像を構成するドットを、インクを複数回重ねて吐出して形成する。このため、記録媒体に記録される全ての画像又はバーコードに係る画像以外の画像を含む画像を構成するドットを、インクを複数回重ねて吐出して形成した場合と比較して、バーコードの線幅を確保した上で画像の記録に必要なインクの吐出量を低減することができると共に、画像の記録にかかる時間を短縮できる。
また、この構成によれば、バーコード記録領域検出部は、ラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコード記録領域を検出することによって、好適にバーコード記録領域の検出ができる。
In order to achieve the above object, the present invention provides a bar code recording in which a bar code is recorded on the recording medium in a recording control apparatus that controls a recording apparatus that discharges ink from a recording head to form dots on the recording medium. A bar code recording area detecting unit for detecting an area, and a recording in which each dot included in the bar code recording area detected by the bar code recording area detecting unit is formed by ejecting a plurality of inks by the recording head. A control unit ,
The barcode recording area detecting unit detects raster data related to the barcode image from raster data of the image to be recorded on the recording medium, and based on the detected raster data related to the barcode image, The bar code recording area is detected .
According to this configuration, each dot included in the barcode recording area, that is, each dot constituting the barcode image is formed by being ejected in a plurality of times. This promotes ink bleeding at each dot, and the area of the dot can be increased compared to the case where ink is ejected once. Thereby, the line width of the barcode can be ensured, and the reading accuracy by the barcode reader can be improved.
Here, when considering increasing the area of the dots by increasing the ink discharge amount when forming the dots, a nozzle that can secure a large ink discharge amount by one discharge is designed and developed. However, in the above configuration, the line width of the barcode can be secured without generating the cost for designing and developing the nozzle, and the reading accuracy by the barcode reader can be improved. Can do.
Further, in the above-described configuration, the dots constituting the barcode image are formed by discharging the ink a plurality of times. For this reason, compared to the case where the dots constituting the image including all images recorded on the recording medium or an image other than the image related to the barcode are formed by discharging the ink a plurality of times, the barcode In addition to ensuring the line width, it is possible to reduce the ink ejection amount necessary for image recording, and to shorten the time required for image recording.
Further, according to this configuration, the barcode recording area detection unit detects raster data related to the barcode image from the raster data, and based on the detected raster data related to the barcode image, By detecting the code recording area, the bar code recording area can be suitably detected.

また、上記目的を達成するために、本発明は、記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置を制御する記録制御装置において、前記記録媒体にバーコードが記録されるバーコード記録領域を検出するバーコード記録領域検出部と、前記バーコード記録領域検出部により検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させる記録制御部と、前記記録媒体において前記バーコードが記録される領域についてユーザーが指示入力を行うための領域指示部と、を備え、前記バーコード記録領域検出部は、ユーザーによる前記領域指示部への指示入力に基づいて、前記バーコード記録領域を検出することを特徴とする。
この構成によれば、バーコード記録領域に含まれる各ドット、つまりバーコードの画像を構成する各ドットについて、インクが複数回重ねて吐出されて形成される。これにより、各ドットにおいてインクのにじみが促され、1回インクを吐出する場合と比較して、ドットの面積を大きくすることができる。これにより、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
ここで、ドットを形成する際のインクの吐出量を大きくすることによってドットの面積を大きくすることを考えた場合、1回の吐出で大きなインクの吐出量を確保できるようなノズルを設計開発し、設けることが必要となるが、上記構成では、ノズルを設計開発し設けるためのコストを発生させることなく、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
また、上記構成では、バーコードの画像を構成するドットを、インクを複数回重ねて吐出して形成する。このため、記録媒体に記録される全ての画像又はバーコードに係る画像以外の画像を含む画像を構成するドットを、インクを複数回重ねて吐出して形成した場合と比較して、バーコードの線幅を確保した上で画像の記録に必要なインクの吐出量を低減することができると共に、画像の記録にかかる時間を短縮できる。
また、この構成によれば、ユーザーによる領域検出部への指示入力に基づいて、バーコード記録領域検出部は、確実かつ容易に、バーコード記録領域を検出することができる。
ここで、上記発明の記録制御装置において、前記記録装置は、前記記録媒体を搬送方向に搬送する送り動作を行うと共に、前記記録ヘッドを主走査方向に走査させて、前記記録媒体にドットを形成し、前記記録制御部は、前記記録ヘッドに前記バーコード記録領域上を複数回走査させて、前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させるようにしてもよい。
この構成によれば、記録媒体を搬送方向に搬送する送り動作を行うと共に、記録ヘッドを主走査方向に走査させて、記録媒体にドットを形成する記録装置によって、確実に、バーコードの線幅を確保し、バーコードリーダーによる読み取り精度を向上することができる。
In order to achieve the above object, the present invention provides a recording control apparatus for controlling a recording apparatus that discharges ink from a recording head to form dots on a recording medium, in which a bar code is recorded on the recording medium. A barcode recording area detecting unit for detecting a code recording area, and each dot included in the barcode recording area detected by the barcode recording area detecting unit is formed by ejecting the ink multiple times by the recording head. A recording control unit for causing the user to input an instruction for an area in which the barcode is recorded in the recording medium, and the barcode recording area detecting unit is configured so that the area instruction unit is set by the user. The bar code recording area is detected based on an instruction input to.
According to this configuration, each dot included in the barcode recording area, that is, each dot constituting the barcode image is formed by being ejected in a plurality of times. This promotes ink bleeding at each dot, and the area of the dot can be increased compared to the case where ink is ejected once. Thereby, the line width of the barcode can be ensured, and the reading accuracy by the barcode reader can be improved.
Here, when considering increasing the area of the dots by increasing the ink discharge amount when forming the dots, a nozzle that can secure a large ink discharge amount by one discharge is designed and developed. However, in the above configuration, the line width of the barcode can be secured without generating the cost for designing and developing the nozzle, and the reading accuracy by the barcode reader can be improved. Can do.
Further, in the above-described configuration, the dots constituting the barcode image are formed by discharging the ink a plurality of times. For this reason, compared to the case where the dots constituting the image including all images recorded on the recording medium or an image other than the image related to the barcode are formed by discharging the ink a plurality of times, the barcode In addition to ensuring the line width, it is possible to reduce the ink ejection amount necessary for image recording, and to shorten the time required for image recording.
Further, according to this configuration, the barcode recording area detection unit can reliably and easily detect the barcode recording area based on an instruction input by the user to the area detection unit.
Here, in the recording control apparatus according to the invention, the recording apparatus performs a feeding operation for transporting the recording medium in the transport direction, and scans the recording head in the main scanning direction to form dots on the recording medium. The recording control unit causes the recording head to scan the barcode recording area a plurality of times, and discharges each dot included in the barcode recording area by overlapping the ink a plurality of times by the recording head. You may make it form.
According to this configuration, the line width of the barcode is reliably ensured by the recording apparatus that performs the feeding operation for transporting the recording medium in the transport direction and scans the recording head in the main scanning direction to form dots on the recording medium. And the reading accuracy by the barcode reader can be improved.

また、上記目的を達成するために、本発明は、記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置を制御して、前記記録媒体に記録すべき画像のラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコードが記録されるバーコード記録領域を検出し、検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させる記録装置の制御方法を特徴とする。
この制御方法によれば、バーコード記録領域に含まれるドット、つまりバーコードの画像を構成する各ドットについて、インクが複数回重ねて吐出されて形成される。これにより、各ドットにおいてインクのにじみが促され、1回インクを吐出する場合と比較して、ドットの面積を大きくすることができる。これにより、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
また、この構成によれば、バーコード記録領域検出部は、ラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコード記録領域を検出することによって、好適にバーコード記録領域の検出ができる。
In order to achieve the above object, the present invention controls a recording apparatus that forms dots on a recording medium by ejecting ink from a recording head, and from the raster data of an image to be recorded on the recording medium, Raster data relating to a barcode image is detected, and based on the detected raster data relating to the barcode image, a barcode recording area where the barcode is recorded is detected, and the detected barcode recording area is detected. According to the present invention, there is provided a control method for a recording apparatus in which each dot included is formed by ejecting a plurality of inks by the recording head.
According to this control method, the dots are included in the barcode recording area, that is, the dots constituting the barcode image are formed by ejecting the ink a plurality of times. This promotes ink bleeding at each dot, and the area of the dot can be increased compared to the case where ink is ejected once. Thereby, the line width of the barcode can be ensured, and the reading accuracy by the barcode reader can be improved.
Further, according to this configuration, the barcode recording area detection unit detects raster data related to the barcode image from the raster data, and based on the detected raster data related to the barcode image, By detecting the code recording area, the bar code recording area can be suitably detected.

また、上記目的を達成するために、本発明は、記録制御データに基づき記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置によって使用される前記記録制御データを生成する記録制御データ生成装置において、前記記録媒体にバーコードが記録されるバーコード記録領域を検出するバーコード記録領域検出部と、前記バーコード記録領域検出部により検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させる前記記録制御データを生成する記録制御データ生成部と、を備え、前記バーコード記録領域検出部は、前記記録媒体に記録すべき画像のラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコード記録領域を検出することを特徴とする。
この構成によれば、バーコード記録領域に含まれるドット、つまりバーコードの画像を構成する各ドットについて、インクが複数回重ねて吐出されて形成される。これにより、各ドットにおいてインクのにじみが促され、1回インクを吐出する場合と比較して、ドットの面積を大きくすることができる。これにより、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
また、この構成によれば、バーコード記録領域検出部は、ラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコード記録領域を検出することによって、好適にバーコード記録領域の検出ができる。
In order to achieve the above object, the present invention provides recording control data for generating the recording control data used by a recording apparatus that forms dots on a recording medium by ejecting ink from a recording head based on the recording control data. In the generation device, a barcode recording area detection unit that detects a barcode recording area in which a barcode is recorded on the recording medium, and each dot included in the barcode recording area detected by the barcode recording area detection unit A recording control data generating unit that generates the recording control data to be formed by ejecting the ink multiple times by the recording head, and the barcode recording area detecting unit is configured to record an image to be recorded on the recording medium. From the raster data, the raster data related to the barcode image is detected, and the detected barcode image That on the basis of the raster data, and detects the barcode recording area.
According to this configuration, the dots are included in the barcode recording area, that is, the dots constituting the barcode image are formed by ejecting the ink a plurality of times. This promotes ink bleeding at each dot, and the area of the dot can be increased compared to the case where ink is ejected once. Thereby, the line width of the barcode can be ensured, and the reading accuracy by the barcode reader can be improved.
Further, according to this configuration, the barcode recording area detection unit detects raster data related to the barcode image from the raster data, and based on the detected raster data related to the barcode image, By detecting the code recording area, the bar code recording area can be suitably detected.

本発明によれば、バーコードの画像を構成する各ドットの面積を大きくし、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。   According to the present invention, the area of each dot constituting the barcode image can be increased, the line width of the barcode can be ensured, and the reading accuracy by the barcode reader can be improved.

インクジェットプリンターが備える記録ヘッドを模式的に示す図。FIG. 3 is a diagram schematically illustrating a recording head included in an ink jet printer. インクジェットプリンターが備える記録ヘッドを模式的に示す図。FIG. 3 is a diagram schematically illustrating a recording head included in an ink jet printer. インクジェットプリンター及びホストコンピューターのブロック図。The block diagram of an inkjet printer and a host computer. 画像が記録された状態の記録媒体の一例を示す図。The figure which shows an example of the recording medium of the state in which the image was recorded. 記録媒体のピクセルと、このピクセルに形成されるドットを示す図。The figure which shows the pixel of a recording medium, and the dot formed in this pixel. ホストコンピューターの動作を示すフローチャート。The flowchart which shows operation | movement of a host computer. 多重吐出用記録制御データの構成を模式的に示す図。The figure which shows typically the structure of the recording control data for multiple discharges. インクジェットプリンターの動作を示すフローチャート。The flowchart which shows operation | movement of an inkjet printer. 第2実施形態に係るインクジェットプリンターのブロック図。The block diagram of the inkjet printer which concerns on 2nd Embodiment. インクジェットプリンターの動作を示すフローチャート。The flowchart which shows operation | movement of an inkjet printer. 画像が記録された状態の記録媒体の一例を示す図。The figure which shows an example of the recording medium of the state in which the image was recorded. 第3実施形態に係るホストコンピューターの表示部を示す図。The figure which shows the display part of the host computer which concerns on 3rd Embodiment.

以下、図面を参照して本発明の実施形態について説明する。
<第1実施形態>
図1及び図2は、印刷装置であるインクジェットプリンター1の基本的な動作を説明するため、インクジェットプリンター1が備える記録ヘッド2を記録媒体3と共に模式的に示す図である。
インクジェットプリンター1は、記録媒体3を搬送方向(図1(A)の矢印Y1が示す方向)に搬送する送り動作を行うと共に、記録ヘッド2から記録媒体3にインクを吐出しつつ、記録ヘッド2を搬送方向と直交する主走査方向(図1(A)の矢印Y2が示す方向)に走査させて、記録媒体3に文字や図形、絵柄等の画像を記録するインクジェット式の記録装置である。
このインクジェットプリンター1は、ホストコンピューター5(図3)に接続されており、このホストコンピューター5から入力された記録制御データに基づいて記録媒体3に画像の記録を行う。記録制御データの内容については後述する。
記録媒体3としては、ロール状に巻かれたロール紙や、所定長さに切断されたカットシート、複数枚のシートが連接された連続シート等が挙げられる。これらの記録媒体3は、普通紙や、複写紙、厚紙等の紙類、合成樹脂製等のシートであり、これらのシートにコーティングや浸潤等の加工を施したものを用いることもできる。また、カットシートの形態としては、例えば、PPC用紙や葉書等の定形サイズのカット紙に加え、通帳等の複数のシートを綴じた冊子形態のものや、封筒等の袋状に成形されたものが挙げられる。また、連続シートの形態としては、例えば、幅方向両端にスプロケットホールが穿設され、所定長さ毎に折り畳まれた連続紙が挙げられる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<First Embodiment>
1 and 2 are diagrams schematically showing a recording head 2 provided in the ink jet printer 1 together with a recording medium 3 in order to explain the basic operation of the ink jet printer 1 as a printing apparatus.
The ink jet printer 1 performs a feeding operation for transporting the recording medium 3 in the transport direction (the direction indicated by the arrow Y1 in FIG. 1A) and discharges ink from the recording head 2 to the recording medium 3 while the recording head 2 Is an ink jet recording apparatus that records images such as characters, graphics, and patterns on the recording medium 3 by scanning in the main scanning direction (direction indicated by the arrow Y2 in FIG. 1A) perpendicular to the transport direction.
The inkjet printer 1 is connected to a host computer 5 (FIG. 3), and records an image on the recording medium 3 based on the recording control data input from the host computer 5. The contents of the recording control data will be described later.
Examples of the recording medium 3 include roll paper wound in a roll shape, a cut sheet cut into a predetermined length, and a continuous sheet in which a plurality of sheets are connected. These recording media 3 are plain papers, papers such as copy papers and cardboards, sheets made of synthetic resin, etc., and those sheets that have been processed such as coating or infiltration can also be used. Moreover, as a form of the cut sheet, for example, in addition to a standard size cut paper such as PPC paper or a postcard, a booklet form in which a plurality of sheets such as a passbook are bound, or a bag shape such as an envelope Is mentioned. Moreover, as a form of a continuous sheet, for example, continuous paper in which sprocket holes are formed at both ends in the width direction and folded at a predetermined length can be cited.

インクジェットプリンター1は、図1及び図2に示すように、主走査方向に往復走査可能なキャリッジ6を備えている。このキャリッジ6には、インクを貯留したインクカートリッジ(不図示)が複数搭載されている。本実施形態では、キャリッジ6には、C(シアン)、K(ブラック)、Y(イエロー)、M(マゼンタ)の4色のインクをそれぞれ貯留した4個のインクカートリッジが搭載されている。
キャリッジ6には、記録媒体3に向かってインクを吐出する記録ヘッド2が搭載されている。記録ヘッド2の先端面には、図1及び図2に示すように、インクを微細なインク粒として吐出するノズル穴7が多数開口している。記録ヘッド2は、例えばピエゾ素子を用いて構成されるアクチュエーターによって、インクカートリッジから供給されるインクを記録媒体3へ向かって押し出して、ノズル穴7から微細なインク粒を吐出する。
ノズル穴7は、4列のノズル列8−11をなして配置されている。各ノズル列8−11は、記録ヘッド2において搬送方向に延在して形成されると共に、各ノズル列8−11は、主走査方向に所定間隔をあけて並んで形成されている。これら4つのノズル列8−11は、それぞれ異なるインクカートリッジからインクが供給され、それぞれ異なる色のインクを吐出する構成となっている。本実施形態では、ノズル列8はC(シアン)のインクカートリッジから、ノズル列9はK(ブラック)のインクカートリッジから、ノズル列10はY(イエロー)のインクカートリッジから、ノズル列11はM(マゼンタ)のカートリッジから供給されたインクを吐出する構成となっている。
なお、図1及び図2では、説明の便宜のため、ノズル穴7を明示している。
As shown in FIGS. 1 and 2, the ink jet printer 1 includes a carriage 6 that can reciprocate in the main scanning direction. A plurality of ink cartridges (not shown) storing ink are mounted on the carriage 6. In the present embodiment, the carriage 6 is mounted with four ink cartridges that respectively store four color inks of C (cyan), K (black), Y (yellow), and M (magenta).
A recording head 2 that discharges ink toward the recording medium 3 is mounted on the carriage 6. As shown in FIGS. 1 and 2, a large number of nozzle holes 7 for discharging ink as fine ink particles are formed in the front end surface of the recording head 2. The recording head 2 ejects ink supplied from the ink cartridge toward the recording medium 3 by an actuator configured using, for example, a piezo element, and ejects fine ink particles from the nozzle holes 7.
The nozzle holes 7 are arranged in four rows of nozzle rows 8-11. Each nozzle row 8-11 is formed to extend in the transport direction in the recording head 2, and each nozzle row 8-11 is formed side by side with a predetermined interval in the main scanning direction. These four nozzle rows 8-11 are configured such that ink is supplied from different ink cartridges and discharges ink of different colors. In this embodiment, the nozzle row 8 is from a C (cyan) ink cartridge, the nozzle row 9 is from a K (black) ink cartridge, the nozzle row 10 is from a Y (yellow) ink cartridge, and the nozzle row 11 is from M ( The ink is supplied from a magenta cartridge.
In FIG. 1 and FIG. 2, the nozzle hole 7 is clearly shown for convenience of explanation.

図3は、インクジェットプリンター1及びこのインクジェットプリンター1を制御するホストコンピューター5の機能的構成を示すブロック図である。
図3に示すように、インクジェットプリンター1は、プリンター側制御部15と、モーター駆動回路16と、キャリッジ駆動モーター17と、媒体送りモーター18と、ヘッド駆動回路19と、入力部20と、表示部21と、インターフェイス部22と、を備えている。
プリンター側制御部15は、インクジェットプリンター1の各部を中枢的に制御するものであり、演算実行部としてのCPUや、このCPUに実行される基本制御プログラムや、この基本制御プログラムに係るデータ等を不揮発的に記憶するROM、CPUに実行されるプログラムやこのプログラムに係るデータ等を一時的に記憶するRAM、その他の周辺回路等を備えている。
FIG. 3 is a block diagram illustrating a functional configuration of the inkjet printer 1 and the host computer 5 that controls the inkjet printer 1.
As shown in FIG. 3, the ink jet printer 1 includes a printer-side control unit 15, a motor drive circuit 16, a carriage drive motor 17, a medium feed motor 18, a head drive circuit 19, an input unit 20, and a display unit. 21 and an interface unit 22.
The printer-side control unit 15 centrally controls each unit of the ink jet printer 1, and stores a CPU as a calculation execution unit, a basic control program executed by the CPU, data related to the basic control program, and the like. A ROM that stores data in a nonvolatile manner, a program that is executed by the CPU, a RAM that temporarily stores data related to the program, and other peripheral circuits are provided.

モーター駆動回路16は、キャリッジ駆動モーター17に接続され、プリンター側制御部15の制御の下、キャリッジ駆動モーター17に対して駆動電流や駆動パルスを出力し、キャリッジ駆動モーター17を回転させる。このキャリッジ駆動モーター17の回転に応じて、キャリッジ6が主走査方向を往復走査する。
また、モーター駆動回路16は、媒体送りモーター18に接続され、プリンター側制御部15の制御の下、媒体送りモーター18に対して駆動電流や駆動パルスを出力し、媒体送りモーター18を所定方向に所定量だけ回転させる。この媒体送りモーター18の回転に応じて、記録媒体3が搬送方向に搬送される。
ヘッド駆動回路19は、記録ヘッド2に接続され、プリンター側制御部15の制御の下、記録ヘッド2のアクチュエーターを動作させることにより、ノズル列8−11のノズル穴7から所定量のインクを吐出させる。
The motor drive circuit 16 is connected to the carriage drive motor 17 and outputs a drive current and a drive pulse to the carriage drive motor 17 under the control of the printer-side control unit 15 to rotate the carriage drive motor 17. In accordance with the rotation of the carriage drive motor 17, the carriage 6 reciprocates in the main scanning direction.
The motor drive circuit 16 is connected to the medium feed motor 18 and outputs a drive current and a drive pulse to the medium feed motor 18 under the control of the printer-side control unit 15 so that the medium feed motor 18 is moved in a predetermined direction. Rotate by a predetermined amount. The recording medium 3 is transported in the transport direction according to the rotation of the medium feed motor 18.
The head driving circuit 19 is connected to the recording head 2 and operates the actuator of the recording head 2 under the control of the printer-side control unit 15 to eject a predetermined amount of ink from the nozzle holes 7 of the nozzle row 8-11. Let

入力部20は、インクジェットプリンター1の筐体に設けられた操作スイッチ等に接続され、ユーザーによる操作スイッチ等の操作を検出し、検出した操作に対応する操作信号をプリンター側制御部15に出力する。
表示部21は、インクジェットプリンター1の筐体に設けられたLEDや液晶表示パネル等に接続され、プリンター側制御部15の制御の下、LEDや液晶表示パネル等に各種情報を表示する。
インターフェイス部22は、信号伝送ケーブル等を介してホストコンピューター5に接続され、プリンター側制御部15の制御の下、ホストコンピューター5との間で各種信号を送受信する。
The input unit 20 is connected to an operation switch or the like provided on the casing of the inkjet printer 1, detects an operation of the operation switch or the like by the user, and outputs an operation signal corresponding to the detected operation to the printer-side control unit 15. .
The display unit 21 is connected to an LED, a liquid crystal display panel, or the like provided in the casing of the inkjet printer 1, and displays various information on the LED, the liquid crystal display panel, or the like under the control of the printer-side control unit 15.
The interface unit 22 is connected to the host computer 5 via a signal transmission cable or the like, and transmits / receives various signals to / from the host computer 5 under the control of the printer-side control unit 15.

ホストコンピューター5は、ホスト側制御部25と、表示部26と、入力部27と、インターフェイス部28と、を備えている。
ホスト側制御部25は、ホストコンピューター5の各部を中枢的に制御するものであり、演算実行部としてのCPUや、このCPUに実行される基本制御プログラムや、この基本制御プログラムに係るデータ等を不揮発的に記憶するROM、CPUに実行されるプログラムやこのプログラムに係るデータ等を一時的に記憶するRAM、その他の周辺回路等を備えている。ホスト側制御部25は、バーコード記録領域検出部30を備えているが、これについては、後述する。
表示部26は、液晶表示パネルを備え、ホスト側制御部25の制御の下、ホスト側制御部25から入力される映像信号に係る画像を液晶表示パネルに表示する。なお、表示部26は、液晶表示パネルではなく、有機ELパネルやCRTを備えていてもよい。
入力部27は、マウスやキーボード等の入力デバイスに接続され、ユーザーによる入力デバイスの操作を検出し、検出した操作に対応する操作信号をホスト側制御部25に出力する。
インターフェイス部22は、信号電線ケーブル等を介してインクジェットプリンター1に接続され、ホスト側制御部25の制御の下、インクジェットプリンター1との間で各種信号を送受信する。
The host computer 5 includes a host side control unit 25, a display unit 26, an input unit 27, and an interface unit 28.
The host-side control unit 25 centrally controls each unit of the host computer 5, and controls a CPU as a calculation execution unit, a basic control program executed by the CPU, data related to the basic control program, and the like. A ROM that stores data in a nonvolatile manner, a program that is executed by the CPU, a RAM that temporarily stores data related to the program, and other peripheral circuits are provided. The host-side control unit 25 includes a barcode recording area detection unit 30, which will be described later.
The display unit 26 includes a liquid crystal display panel, and displays an image related to a video signal input from the host side control unit 25 on the liquid crystal display panel under the control of the host side control unit 25. The display unit 26 may include an organic EL panel or a CRT instead of the liquid crystal display panel.
The input unit 27 is connected to an input device such as a mouse or a keyboard, detects an operation of the input device by the user, and outputs an operation signal corresponding to the detected operation to the host-side control unit 25.
The interface unit 22 is connected to the inkjet printer 1 via a signal wire cable or the like, and transmits and receives various signals to and from the inkjet printer 1 under the control of the host-side control unit 25.

このホストコンピューター5には、プリンタードライバー等のインクジェットプリンター1を制御するためのプリンター制御用プログラムが記憶されており、ホストコンピューター5のホスト側制御部25は、プリンター制御用プログラムを読み出して、実行することにより、インクジェットプリンター1を制御する。つまり、ホストコンピューター5は、プリンター制御用プログラムに基づいてインクジェットプリンター1を制御する記録制御装置として機能する。
また、ホストコンピューター5は、記録制御データ生成部によりインクジェットプリンター1を制御するための記録制御データを生成し、当該記録制御データをインクジェットプリンター1に出力することによって、インクジェットプリンター1を制御する。つまり、ホストコンピューター5は、記録制御データを生成する記録制御データ生成装置として機能する。
The host computer 5 stores a printer control program for controlling the inkjet printer 1 such as a printer driver, and the host-side control unit 25 of the host computer 5 reads and executes the printer control program. Thus, the ink jet printer 1 is controlled. That is, the host computer 5 functions as a recording control device that controls the inkjet printer 1 based on the printer control program.
The host computer 5 controls the inkjet printer 1 by generating recording control data for controlling the inkjet printer 1 by the recording control data generation unit and outputting the recording control data to the inkjet printer 1. That is, the host computer 5 functions as a recording control data generation device that generates recording control data.

次いで、図1及び図2を用いて、ホストコンピューター5の制御の下、インクジェットプリンター1が、記録媒体3に画像を記録する際の基本的な動作について説明する。
ここで、ホストコンピューター5では、所定のアプリケーションプログラムが動作しているものとする。このアプリケーションプログラムは、記録媒体3に記録可能な画像を表示部26の液晶表示パネルに表示する機能を有すると共に、ユーザーが当該画像を参照しつつ、マウスやキーボード等の入力デバイスを操作して、記録媒体3への画像の記録の開始を指示した場合、当該画像の画像データを、プリンター制御用プログラムに出力する機能を有する。
Next, basic operations when the inkjet printer 1 records an image on the recording medium 3 under the control of the host computer 5 will be described with reference to FIGS. 1 and 2.
Here, it is assumed that a predetermined application program is running on the host computer 5. The application program has a function of displaying an image that can be recorded on the recording medium 3 on the liquid crystal display panel of the display unit 26, and the user operates an input device such as a mouse or a keyboard while referring to the image. When an instruction to start recording an image on the recording medium 3 is given, the image data of the image is output to a printer control program.

ユーザーによって画像の記録の開始が指示されると、プリンター側制御部15は、画像データに解像度変換処理、色補正処理、ハーフトーン処理、ラスタライズ処理の各処理を行い、記録媒体3に記録すべき画像全体のラスターデータを生成し、記録制御データを生成する。この記録制御データは、インクジェットプリンター1に画像の記録に係る動作を行わせるデータであり、記録開始コマンド、走査コマンド、記録用ラスターデータ、送りコマンド及び送り量データを含んでいる。
記録開始コマンドは、画像の記録の開始を指示するデータである。
走査コマンドは、記録ヘッド2を走査させることを指示するデータである。この走査コマンドが入力された場合、プリンター側制御部15は、モーター駆動回路16を制御して、キャリッジ駆動モーター17駆動し、図1(A)に示す位置P1から図1(B)に示す位置P2まで記録ヘッド2を走査した後、再び位置P2から位置P1へ記録ヘッド2を走査する。位置P1は、記録媒体3においてドットD(図5)を形成することが可能な最大の記録領域の左端にドットDを形成できる記録ヘッド2の位置よりも左側に位置し、位置P2は、当該記録領域の右端にドットDを形成できる記録ヘッド2の位置よりも右側に位置する。プリンター側制御部15は、位置P1から位置P2へ記録ヘッド2を走査する場合、記録用ラスターデータに基づいて、適宜ノズル穴7からインクを吐出し、ピクセルP(図5)ごとにドットDを形成する。
記録用ラスターデータは、記録ヘッド2が位置P1から位置P2に走査する際にドットDが形成されるピクセルP(図5)について、ピクセルPごとに、C(シアン)、K(ブラック)、Y(イエロー)、M(マゼンタ)の各インクの吐出量を階調データで示すものである。ここで、ピクセルPとは、画像を構成する最小単位の画素のことであり、本実施形態に係るインクジェットプリンター1は、1つのピクセルPに対し、記録ヘッド2の各色のノズル穴7からそれぞれ所定量のインクを吐出して、当該ピクセルP内に所望の色のドットDを形成する。インクの量は、例えば0−255の256段階の階調データで表される。階調データ「255」は、記録媒体3に対して吐出可能な最大のインクの量を示し、階調データ「0」は、インクを吐出しないことを示す。
送りコマンドとは、記録媒体3を搬送方向に所定量だけ送ることを指示するデータであり、送り量データとは、上述の所定量を示すデータである。送りコマンドデータ及び送り量データが入力された場合、プリンター側制御部15は、モーター駆動回路16を制御して、媒体送りモーター18を駆動し、送り量データが示す所定量だけ記録媒体3を搬送方向に搬送する。
When the start of image recording is instructed by the user, the printer-side control unit 15 should perform resolution conversion processing, color correction processing, halftone processing, and rasterization processing on the image data and record it on the recording medium 3. Raster data of the entire image is generated, and recording control data is generated. The recording control data is data for causing the inkjet printer 1 to perform an operation related to image recording, and includes a recording start command, a scanning command, recording raster data, a feed command, and feed amount data.
The recording start command is data for instructing the start of image recording.
The scan command is data that instructs the recording head 2 to scan. When this scanning command is input, the printer-side control unit 15 controls the motor drive circuit 16 to drive the carriage drive motor 17 from the position P1 shown in FIG. 1 (A) to the position shown in FIG. 1 (B). After scanning the recording head 2 to P2, the recording head 2 is scanned again from the position P2 to the position P1. The position P1 is located on the left side of the position of the recording head 2 where the dots D can be formed at the left end of the maximum recording area where the dots D (FIG. 5) can be formed on the recording medium 3, and the position P2 is It is located on the right side of the recording head 2 where the dot D can be formed at the right end of the recording area. When the recording head 2 scans the recording head 2 from the position P1 to the position P2, the printer-side control unit 15 appropriately ejects ink from the nozzle holes 7 based on the recording raster data, and creates a dot D for each pixel P (FIG. 5). Form.
The raster data for recording is C (cyan), K (black), Y for each pixel P with respect to the pixel P (FIG. 5) where the dot D is formed when the recording head 2 scans from the position P1 to the position P2. The discharge amount of each ink (yellow) and M (magenta) is indicated by gradation data. Here, the pixel P is a minimum unit pixel constituting an image, and the ink jet printer 1 according to the present embodiment is provided for each pixel P from the nozzle holes 7 of the respective colors of the recording head 2. A predetermined amount of ink is ejected to form dots D of a desired color in the pixel P. The amount of ink is represented by, for example, 256-level gradation data from 0 to 255. The gradation data “255” indicates the maximum amount of ink that can be ejected to the recording medium 3, and the gradation data “0” indicates that no ink is ejected.
The feed command is data instructing to send the recording medium 3 by a predetermined amount in the transport direction, and the feed amount data is data indicating the above-mentioned predetermined amount. When the feed command data and the feed amount data are input, the printer-side control unit 15 controls the motor drive circuit 16 to drive the medium feed motor 18 to transport the recording medium 3 by a predetermined amount indicated by the feed amount data. Transport in the direction.

ホスト側制御部25は、記録制御データを生成した後、当該記録制御データをプリンター側制御部15に出力する。
ホストコンピューター5から記録制御データが入力されると、プリンター側制御部15は、記録制御データに含まれる走査コマンド及び記録用ラスターデータに基づいて、ノズル穴7から所定量のインクを吐出しつつ、図1(A)の位置P1から図1(B)の位置P2へ記録ヘッド2を走査させ、再び、インクを吐出しない状態で位置P2から位置P1へ記録ヘッド2を走査させる。これにより、記録領域R1(図1(B))に含まれる各ピクセルPについて、記録媒体3に記録すべき画像に応じたドットDが形成される。この記録領域R1の搬送方向における長さは、各ノズル列8−11のノズル列長T1(図1(A))によって規定される。
なお、搬送方向に延在するノズル列8−11が形成された記録ヘッド2を主走査方向に走査して画像の記録を行うため、ノズル列8−11において搬送方向に形成されたノズル穴7のピッチが、記録媒体3において搬送方向にピクセルPが形成されるピッチとなる。
After generating the recording control data, the host-side control unit 25 outputs the recording control data to the printer-side control unit 15.
When recording control data is input from the host computer 5, the printer-side control unit 15 discharges a predetermined amount of ink from the nozzle hole 7 based on the scanning command and recording raster data included in the recording control data. The recording head 2 is scanned from the position P1 in FIG. 1A to the position P2 in FIG. 1B, and the recording head 2 is again scanned from the position P2 to the position P1 without ejecting ink. Thereby, the dot D according to the image which should be recorded on the recording medium 3 is formed about each pixel P contained in recording area | region R1 (FIG.1 (B)). The length of the recording region R1 in the transport direction is defined by the nozzle row length T1 (FIG. 1A) of each nozzle row 8-11.
In order to record an image by scanning the recording head 2 in which the nozzle row 8-11 extending in the transport direction is formed in the main scanning direction, the nozzle holes 7 formed in the transport direction in the nozzle row 8-11. Is the pitch at which the pixels P are formed in the transport direction in the recording medium 3.

次に、プリンター側制御部15は、記録制御データに含まれる送り量データに基づいて、搬送方向に記録媒体3を搬送する。ここで、通常の画像の記録の実行時においては、送り量は、ノズル列長T1と同一の値である。
次に、プリンター側制御部15は、再び、記録制御データに含まれる記録用ラスターデータに基づいて、各色のノズル穴7から所定量のインクを吐出しつつ、図2(A)の位置P1から図2(B)の位置P2へ記録ヘッド2を走査させた後、インクを吐出しない状態で位置P2から位置P1へ記録ヘッド2を走査させる。これにより、記録領域R1と連続する記録領域R2に含まれる各ピクセルPについて、画像に応じたドットDが形成される。
以上のように、プリンター側制御部15は、ホストコンピューター5から入力された記録制御データに基づいて、記録ヘッド2の主走査方向への走査とインクの吐出、記録媒体3の搬送方向への搬送を交互に繰り返すことによって、記録媒体3に画像に応じたドットDを形成する。
Next, the printer-side control unit 15 transports the recording medium 3 in the transport direction based on the feed amount data included in the recording control data. Here, during execution of normal image recording, the feed amount is the same value as the nozzle row length T1.
Next, the printer-side control unit 15 again ejects a predetermined amount of ink from the nozzle holes 7 of the respective colors based on the recording raster data included in the recording control data, from the position P1 in FIG. After the recording head 2 is scanned to the position P2 in FIG. 2B, the recording head 2 is scanned from the position P2 to the position P1 without ejecting ink. Thereby, the dot D according to an image is formed about each pixel P contained in the recording area R2 continuous with the recording area R1.
As described above, the printer-side control unit 15 scans the recording head 2 in the main scanning direction, ejects ink, and transports the recording medium 3 in the transport direction based on the recording control data input from the host computer 5. Are alternately repeated to form dots D corresponding to the image on the recording medium 3.

次いで、ホスト側制御部25が備えるバーコード記録領域検出部30について説明する。
なお、バーコード記録領域検出部30の機能は、ホスト側制御部25が備えるCPUが、プリンター制御用プログラムを読み出し、実行することにより実現される。
ここで、バーコードとは、記録媒体3に記録された後、バーコードリーダーによって光学的に読み取られる識別子のことである。バーコードの具体的な例としては、一方向に延びる複数の線分によって、黒と空白の2色の領域を形成し、情報を表示するバーコード(JANコード、EAN、UPC、ITFコード、CODE39、CODE128、NW-7等)、及び、水平方向と垂直方向に並ぶ黒領域と空白領域とにより情報を表示する2次元コード(QRコード(登録商標)、PDF417、CODE49等)等が挙げられる。
Next, the barcode recording area detection unit 30 provided in the host-side control unit 25 will be described.
Note that the function of the barcode recording area detection unit 30 is realized by a CPU provided in the host-side control unit 25 reading and executing a printer control program.
Here, the bar code is an identifier that is recorded on the recording medium 3 and optically read by a bar code reader. As a specific example of a bar code, a bar code (JAN code, EAN, UPC, ITF code, CODE39) that displays two colors of black and white by a plurality of line segments extending in one direction and displaying information , CODE128, NW-7, etc.), and two-dimensional codes (QR code (registered trademark), PDF417, CODE49, etc.) that display information in black and blank areas aligned in the horizontal and vertical directions.

図4は、バーコードの画像を含む画像が記録された状態の記録媒体3の一例を示す図である。以下、図4を用いて、本実施形態に係るバーコード記録領域検出部30の動作の一例について説明する。
なお、本実施形態では、一方向に延びる複数の線分を有するバーコードが記録媒体3に記録されるものとする。そして、バーコードは、図4に示すように、その線分が主走査方向に延びた状態で記録媒体3に記録されるものとする。また、図4において、A3は、記録媒体3に記録すべき画像の記録が開始される画像記録開始位置であり、A4は、当該画像の記録が終了する画像記録終了位置である。
バーコード記録領域検出部30は、記録媒体3に記録すべき画像にバーコードの画像が含まれる場合、記録媒体3の記録領域の中から、当該バーコードの画像を記録すべきバーコード記録領域B1を検出すると共に、バーコード記録開始位置A1と、バーコード記録終了位置A2とを検出する。バーコード記録開始位置A1とは、図4に示すように、記録媒体3においてバーコードの画像の記録を開始すべき搬送方向の位置であり、バーコード記録終了位置A2とは、記録媒体3においてバーコードの画像の記録を終了すべき搬送方向の位置である。本実施形態では、バーコード記録開始位置A1とバーコード記録終了位置A2とで挟まれた記録領域には、バーコードの画像以外の画像は記録されず、従って、バーコード記録開始位置A1とバーコード記録終了位置A2とで挟まれた記録領域がバーコード記録領域B1となる。
FIG. 4 is a diagram illustrating an example of the recording medium 3 in a state where an image including a barcode image is recorded. Hereinafter, an example of the operation of the barcode recording area detection unit 30 according to the present embodiment will be described with reference to FIG.
In the present embodiment, it is assumed that a barcode having a plurality of line segments extending in one direction is recorded on the recording medium 3. The bar code is recorded on the recording medium 3 with its line segment extending in the main scanning direction, as shown in FIG. In FIG. 4, A3 is an image recording start position at which recording of an image to be recorded on the recording medium 3 is started, and A4 is an image recording end position at which recording of the image ends.
When the barcode image is included in the image to be recorded on the recording medium 3, the barcode recording area detection unit 30 records the barcode image in the recording area of the recording medium 3. While detecting B1, the bar code recording start position A1 and the bar code recording end position A2 are detected. As shown in FIG. 4, the bar code recording start position A1 is a position in the transport direction at which recording of a bar code image should start on the recording medium 3, and the bar code recording end position A2 is on the recording medium 3. This is the position in the transport direction where recording of the barcode image should be terminated. In the present embodiment, no image other than the barcode image is recorded in the recording area sandwiched between the barcode recording start position A1 and the barcode recording end position A2. Therefore, the barcode recording start position A1 and the barcode recording position are not recorded. A recording area sandwiched between the code recording end position A2 is a bar code recording area B1.

バーコード記録領域検出部30は、記録媒体3に記録すべき画像全体のラスターデータを取得し、1行分のラスターデータを順次解析する。1行分のラスターデータとは、行方向(主走査方向)に延びるピクセルPの1行分のデータのことであり、各ピクセルPにおける各色の階調データを含んでいる。そして、バーコード記録領域検出部30は、バーコードの色に該当する色のドットDが形成されるピクセルPが、行方向(主走査方向)に所定の数以上連続して出現する1行分のラスターデータを取得する。なお、バーコードの色は、例えば黒色(K(ブラック)の階調データが「250」〜「255」であり、他の色の階調データが「0」)等、予め定められているものとする。
次いで、バーコード記録領域検出部30は、取得した全ての1行分のラスターデータに基づいて、記録媒体3の記録領域内に、バーコードに該当する色を有する線分であって、主走査方向に延びる線分が、搬送方向に間隔をあけた状態で複数連続して現れるような記録領域が存在するか否かを判別する。そして、このような領域が存在すると判別した場合、バーコード記録領域検出部30は、当該記録領域において、記録媒体3が搬送され送られる方向の一端のラスターデータの印字位置をバーコード記録開始位置A1とし、逆の方向の一端のラスターデータの印字位置をバーコード記録終了位置A2とする。
このように、本実施形態では、バーコード記録領域検出部30は、バーコードの特徴、具体的には、バーコードの色に係る特徴及び主走査方向に延びる線分が、搬送方向に間隔をあけた状態で複数連続して現れるという特徴に基づいて、記録媒体3に記録すべき画像からバーコードの画像を検出し、検出したバーコードの画像に基づいて、自動で、バーコード記録領域B1を検出する。
なお、バーコード記録領域検出部30によるバーコード記録領域B1の検出方法は、上述した方法に限らない。例えば、既知のパターンマッチング等の手法により、記録媒体3に記録すべき画像からバーコードの画像を検出し、バーコード記録領域B1を検出するようにしてもよい。
The barcode recording area detection unit 30 acquires raster data of the entire image to be recorded on the recording medium 3, and sequentially analyzes raster data for one line. The raster data for one row is data for one row of pixels P extending in the row direction (main scanning direction), and includes gradation data of each color in each pixel P. Then, the barcode recording area detection unit 30 corresponds to one row in which a predetermined number or more of pixels P in which the dots D of the color corresponding to the barcode color appear continuously appear in the row direction (main scanning direction). Get raster data for. Note that the barcode color is predetermined such as black (K (black) gradation data is “250” to “255” and gradation data of other colors is “0”). And
Next, the bar code recording area detecting unit 30 is a line segment having a color corresponding to the bar code in the recording area of the recording medium 3 based on all the acquired raster data for one line, and is used for main scanning. It is determined whether or not there is a recording region in which a plurality of line segments extending in the direction appear continuously with a gap in the transport direction. If it is determined that such an area exists, the barcode recording area detection unit 30 determines the printing position of raster data at one end in the direction in which the recording medium 3 is conveyed and sent in the recording area as the barcode recording start position. The printing position of raster data at one end in the opposite direction is A1 and the barcode recording end position A2.
As described above, in the present embodiment, the barcode recording area detection unit 30 detects the feature of the barcode, specifically, the feature relating to the color of the barcode and the line segment extending in the main scanning direction at intervals in the transport direction. A bar code image is detected from an image to be recorded on the recording medium 3 based on the feature that a plurality of images appear continuously in an open state, and the bar code recording area B1 is automatically detected based on the detected bar code image. Is detected.
Note that the method for detecting the barcode recording area B1 by the barcode recording area detection unit 30 is not limited to the method described above. For example, the barcode recording area B1 may be detected by detecting a barcode image from an image to be recorded on the recording medium 3 by a known method such as pattern matching.

図5は、記録媒体3のピクセルPと、このピクセルPに形成されたドットDとを模式的に示す図である。
ところで、記録媒体3に記録されたバーコードの画像は、バーコードリーダーによって読み取られる画像である。ここで、従来のインクジェット式のプリンターでは、図5(A)に示すように、バーコードの画像について、バーコードの画像に係るピクセルPの面積に比してドットDの面積が小さい場合、バーコードの線幅が細り、バーコードリーダーによる読み取り精度が低くなる可能性があった。特に、解像度が低くなればなるほど、相対的にピクセルPの面積がドットDの面積より大きくなり、バーコードリーダーによる読み取り精度が低くなる傾向がある。
これを踏まえ、本実施形態に係るホストコンピューター5は、以下の動作を実行することにより、読み取り精度の向上を図っている。
FIG. 5 is a diagram schematically showing the pixels P of the recording medium 3 and the dots D formed on the pixels P. As shown in FIG.
Incidentally, the barcode image recorded on the recording medium 3 is an image read by a barcode reader. Here, in the conventional ink jet printer, as shown in FIG. 5A, when the area of the dot D is smaller than the area of the pixel P related to the barcode image, The line width of the code was narrowed, and the reading accuracy with a barcode reader could be lowered. In particular, the lower the resolution, the relatively larger the area of the pixel P than the area of the dot D and the lower the reading accuracy by the barcode reader.
Based on this, the host computer 5 according to the present embodiment improves the reading accuracy by executing the following operations.

図6は、ホストコンピューター5の動作を示すフローチャートである。
このフローチャートが示す動作中、ホストコンピューター5のホスト側制御部25は、記録制御部として機能する。
まず、ホストコンピューター5のホスト側制御部25は、ユーザーによって記録媒体3への画像の記録が指示されたか否かを監視する(ステップSA1)。記録媒体3への画像の記録の開始が指示された場合(ステップSA1:YES)、ホスト側制御部25は、画像データに基づいて記録制御データの生成を開始する(ステップSA2)。
次に、ホスト側制御部25は、画像データに、解像度変換処理、色補正処理、ハーフトーン処理、ラスタライズ処理等の各処理を行い、記録媒体3に記録すべき画像全体のラスターデータを生成する(ステップSA3)。次に、バーコード記録領域検出部30は、ステップSA3で生成したラスターデータを用いて、バーコード記録開始位置A1及びバーコード記録終了位置A2を検出することにより、バーコード記録領域B1を検出する(ステップSA4)。
次に、ホスト側制御部25は、ステップSA3で生成したラスターデータ、及び、ステップSA4で検出したバーコード記録開始位置A1及びバーコード記録終了位置A2に基づいて、以下のような記録制御データを生成し(ステップSA5)、生成した記録制御データをインクジェットプリンター1に出力する(ステップSA6)。
FIG. 6 is a flowchart showing the operation of the host computer 5.
During the operation indicated by this flowchart, the host-side control unit 25 of the host computer 5 functions as a recording control unit.
First, the host-side control unit 25 of the host computer 5 monitors whether or not an instruction to record an image on the recording medium 3 is given by the user (step SA1). When the start of image recording on the recording medium 3 is instructed (step SA1: YES), the host-side control unit 25 starts generating recording control data based on the image data (step SA2).
Next, the host-side control unit 25 performs resolution conversion processing, color correction processing, halftone processing, rasterization processing, and the like on the image data, and generates raster data of the entire image to be recorded on the recording medium 3. (Step SA3). Next, the barcode recording area detecting unit 30 detects the barcode recording area B1 by detecting the barcode recording start position A1 and the barcode recording end position A2 using the raster data generated in step SA3. (Step SA4).
Next, the host-side control unit 25 obtains the following recording control data based on the raster data generated in step SA3 and the barcode recording start position A1 and barcode recording end position A2 detected in step SA4. Generate (step SA5), and output the generated recording control data to the inkjet printer 1 (step SA6).

すなわち、記録制御データは、インクジェットプリンター1を、バーコード記録開始位置A1とバーコード記録終了位置A2とで囲まれたバーコード記録領域B1以外の記録領域に含まれるピクセルPついては、当該ピクセルPに対して対応するノズル穴7から1回ずつインクを吐出してドットDを形成するように動作させる一方、バーコード記録開始位置A1とバーコード記録終了位置A2とで囲まれるバーコード記録領域B1に含まれるピクセルPについては、当該ピクセルPに対して、対応するノズル穴7から、複数回重ねてインクを吐出してドットDを形成するように動作させるデータである。
なお、複数回重ねてインクを吐出してドットDを形成するとは、1つのピクセルPについて、当該ピクセルPに形成すべきドットDを形成するためのインクの吐出を、複数回繰り返して行うことを意味し、当該ピクセルPに形成すべきドットDを形成するために、各色のノズル穴7からそれぞれ1回ずつインクの吐出を行い、吐出したインクを重ねることを含まない。
なお、以下の説明では、上述したような動作をインクジェットプリンター1にさせるデータを含む記録制御データを、通常の画像の記録に係る動作をさせる記録制御データと区別して、「多重吐出用記録制御データ」という。
In other words, the recording control data is obtained from the inkjet printer 1 for the pixel P included in the recording area other than the barcode recording area B1 surrounded by the barcode recording start position A1 and the barcode recording end position A2. On the other hand, ink is ejected from the corresponding nozzle hole 7 once to form a dot D, while the barcode recording area B1 surrounded by the barcode recording start position A1 and the barcode recording end position A2 is operated. The included pixel P is data that causes the pixel P to operate so as to form dots D by ejecting ink a plurality of times from the corresponding nozzle holes 7.
Note that forming the dots D by ejecting the ink a plurality of times repeatedly means that, for each pixel P, the ejection of the ink for forming the dots D to be formed on the pixel P is repeated a plurality of times. This means that in order to form the dots D to be formed in the pixels P, the ink is ejected once from the nozzle holes 7 of the respective colors and the ejected inks are not overlapped.
In the following description, recording control data including data for causing the inkjet printer 1 to perform the above-described operation is distinguished from recording control data for performing an operation related to normal image recording. "

図7は、ステップSA5において生成された多重吐出用記録制御データの一例を模式的に示す図である。なお、図7に示す多重吐出用記録制御データは、記録媒体3に図4に示す画像を記録することを前提としたデータである。
図7に示すように、多重吐出用記録制御データは、第1コマンド群C1、第2コマンド群C2及び第3コマンド群C3の3つのコマンド群を備えている。
第1コマンド群C1は、インクジェットプリンター1に、記録媒体3の記録領域の内、バーコード記録領域B1に至る前の記録領域、すなわち、画像記録開始位置A3及びバーコード記録開始位置A1で囲まれた記録領域B2(図4)にドットDを形成させるコマンド群であり、上述した走査コマンド、記録用ラスターデータ、送りコマンド及び送り量データを含んでいる。
インクジェットプリンター1は、第1コマンド群C1に従って、上述のインクジェットプリンター1の基本的な動作で説明した動作を実行させて、記録領域B2に含まれるピクセルPに対して、対応するノズル穴7から1回ずつインクを吐出してドットDを形成させる。なお、図7に示すように、第1コマンド群C1に含まれる送り量データが示す送り量の値は「X」であるが、この「X」は、ノズル列長T1と同一の値である。
FIG. 7 is a diagram schematically illustrating an example of the multiple discharge recording control data generated in step SA5. The multiple discharge recording control data shown in FIG. 7 is data on the premise that the image shown in FIG. 4 is recorded on the recording medium 3.
As shown in FIG. 7, the multiple discharge recording control data includes three command groups, a first command group C1, a second command group C2, and a third command group C3.
The first command group C1 is surrounded by the inkjet printer 1 in the recording area of the recording medium 3 before the barcode recording area B1, that is, the image recording start position A3 and the barcode recording start position A1. A command group for forming dots D in the recording area B2 (FIG. 4), which includes the above-described scanning command, recording raster data, feed command, and feed amount data.
The ink jet printer 1 executes the operation described in the basic operation of the ink jet printer 1 in accordance with the first command group C1, and the corresponding nozzle holes 7 to 1 are applied to the pixels P included in the recording area B2. Ink is ejected one by one to form dots D. As shown in FIG. 7, the value of the feed amount indicated by the feed amount data included in the first command group C1 is “X”, and this “X” is the same value as the nozzle row length T1. .

第2コマンド群C2は、インクジェットプリンター1に、バーコード記録開始位置A1とバーコード記録終了位置A2とで挟まれたバーコード記録領域B1に画像を記録させるコマンド群である。この第2コマンド群C2では、インクジェットプリンター1に、バーコード記録領域B1に含まれるピクセルPついて、各ピクセルPに対して、対応するノズル穴7から、複数回重ねてインクを吐出してドットDを形成するように動作させる。
ここで、当該動作の一例について図4を用いて説明する。なお、図4では、記録媒体3の左側に、記録媒体3に対するノズル列8−11の相対的な位置(位置P3〜位置P5)を模式的に示している。
ノズル列8−11が位置P3に対応する位置にあるとして、第2コマンド群C2は、記録領域D1に記録すべき画像に応じたドットDを形成するようインクを吐出させつつ、記録ヘッド2を走査させて、記録領域D1に画像に応じたドットDを形成させる。
The second command group C2 is a command group that causes the inkjet printer 1 to record an image in the barcode recording area B1 sandwiched between the barcode recording start position A1 and the barcode recording end position A2. In the second command group C2, for the pixels P included in the barcode recording area B1, the ink is ejected in a plurality of times from the corresponding nozzle holes 7 for the pixels P included in the barcode recording area B1 to form dots D. Operate to form.
Here, an example of the operation will be described with reference to FIG. In FIG. 4, the relative position (position P3 to position P5) of the nozzle row 8-11 with respect to the recording medium 3 is schematically shown on the left side of the recording medium 3.
Assuming that the nozzle row 8-11 is in a position corresponding to the position P3, the second command group C2 causes the recording head 2 to eject the ink so as to form dots D corresponding to the image to be recorded in the recording area D1. Scanning is performed to form dots D corresponding to the image in the recording area D1.

次に、第2コマンド群C2は、ノズル列8−11が位置P4に対応する位置にくるよう記録媒体3を搬送させ、記録領域D2に記録すべき画像に応じたドットDを形成するようインクを吐出させつつ、記録ヘッド2を走査方向へ走査させる。位置P4は、ノズル列8−11の記録媒体3を送る方向の端部が、バーコード記録開始位置A1と重なるような、ノズル列8−11の位置である。この動作によって、記録領域D1と記録領域D2とが重なる記録領域に含まれるピクセルPについては、2回重ねてインクが吐出されてドットDが形成される。
次に、第2コマンド群C2は、ノズル列8−11が位置P5に対応する位置にくるよう記録媒体3を搬送し、記録領域D3に記録すべき画像に応じたドットDを形成するようインクを吐出させつつ、記録ヘッド2を走査方向へ走査させる。位置P5は、記録媒体3との相対的な位置関係において、ノズル列長T1分だけ記録媒体3が送られる方向と逆の方向に位置P3をずらした位置である。この動作によって、記録領域D2と記録領域D3とが重なる記録領域に含まれるピクセルPについて、2回重ねてインクが吐出されてドットDが形成される。なお、記録領域D2と記録領域D3とが重なる記録領域であって、バーコード記録終了位置A2よりも、記録媒体3が送られる方向と逆の方向の記録領域である記録領域D4については、インクの吐出を行わない。これにより、バーコード記録領域B1以外の記録領域に含まれるピクセルPについて、インクが複数回重ねて吐出されてドットDが形成されることが防止されている。
第2コマンド群C2に含まれる送り量データが示す送り量の値(図7の例では、「Y」や「Z」)は、インクジェットプリンター1にさせる動作に応じて適宜定められる。
Next, the second command group C2 transports the recording medium 3 so that the nozzle row 8-11 is at a position corresponding to the position P4, and forms ink D so as to form dots D corresponding to the image to be recorded in the recording area D2. The recording head 2 is scanned in the scanning direction while discharging the ink. The position P4 is the position of the nozzle row 8-11 such that the end of the nozzle row 8-11 in the direction in which the recording medium 3 is fed overlaps the barcode recording start position A1. With this operation, for the pixels P included in the recording area where the recording area D1 and the recording area D2 overlap, ink is ejected twice to form dots D.
Next, the second command group C2 transports the recording medium 3 so that the nozzle row 8-11 is located at a position corresponding to the position P5, and forms ink D so as to form dots D corresponding to the image to be recorded in the recording area D3. The recording head 2 is scanned in the scanning direction while discharging the ink. The position P5 is a position in which the position P3 is shifted in the direction opposite to the direction in which the recording medium 3 is fed by the nozzle row length T1 in the relative positional relationship with the recording medium 3. By this operation, dots D are formed by ejecting ink twice for the pixels P included in the recording area where the recording area D2 and the recording area D3 overlap. The recording area D4 is an area where the recording area D2 and the recording area D3 overlap, and the recording area D4 is a recording area in a direction opposite to the direction in which the recording medium 3 is fed from the barcode recording end position A2. Do not discharge. Accordingly, it is possible to prevent dots D from being formed by ejecting the ink multiple times for the pixels P included in the recording area other than the barcode recording area B1.
The feed amount value (“Y” or “Z” in the example of FIG. 7) indicated by the feed amount data included in the second command group C2 is appropriately determined according to the operation to be performed by the inkjet printer 1.

第3コマンド群C3は、インクジェットプリンター1に、バーコード記録領域B1以降の記録領域、すなわち、バーコード記録終了位置A2及び画像記録終了位置A4で囲まれた記録領域B3にドットDを形成させるコマンド群である。この第3コマンド群C3は、第1コマンド群C1と同様のコマンド群であるため、その説明を省略する。   The third command group C3 is a command for causing the inkjet printer 1 to form dots D in the recording area after the barcode recording area B1, that is, the recording area B3 surrounded by the barcode recording end position A2 and the image recording end position A4. A group. Since the third command group C3 is a command group similar to the first command group C1, description thereof is omitted.

このように、バーコード記録領域B1に含まれるピクセルPについて、各ピクセルPにインクを複数回重ねて吐出してドットDを形成することにより、以下の効果を奏する。
すなわち、図5(B)に示すように、ピクセルP内においてインクのにじみが促され、1つのピクセルPに1回インクを吐出する場合と比較して、ピクセルPの面積に対するドットDの面積の相対的な大きさを大きくすることができる。これにより、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
ここで、ドットDを形成する際のインクの吐出量を大きくすることによってドットDの面積を大きくすることを考えた場合、1回の吐出で大きなインクの吐出量を確保できるようなノズルを設計開発し、設けるためのコストが必要となるが、本実施形態では、上記のようなコストを発生させることなく、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
また、本実施形態では、記録媒体3に記録される画像のうち、バーコードの画像に係るドットDのみを、インクを複数回重ねて吐出して形成する。このため、記録媒体3に記録される全ての画像、もしくは、バーコードに係る画像以外の画像を含む画像に係るドットDを、インクを複数回重ねて吐出して形成した場合と比較して、バーコードの線幅を確保した上で、画像の記録に必要なインクの吐出量を低減することができる。
As described above, by forming the dots D by ejecting the pixels P included in the barcode recording area B1 by overlapping and ejecting the ink on the pixels P a plurality of times, the following effects can be obtained.
That is, as shown in FIG. 5 (B), ink bleeding is promoted in the pixel P, and the area of the dot D with respect to the area of the pixel P is compared with the case where ink is ejected once to one pixel P. The relative size can be increased. Thereby, the line width of the barcode can be ensured, and the reading accuracy by the barcode reader can be improved.
Here, when the area of the dot D is increased by increasing the ink discharge amount when forming the dot D, a nozzle that can secure a large ink discharge amount by one discharge is designed. Although the cost for development and provision is required, in this embodiment, the line width of the barcode can be secured without causing the above-described cost, and the reading accuracy by the barcode reader is improved. be able to.
In the present embodiment, among the images recorded on the recording medium 3, only the dots D relating to the barcode image are formed by ejecting the ink a plurality of times. For this reason, as compared with the case where all the images recorded on the recording medium 3 or the dots D relating to the images including images other than the image relating to the barcode are formed by discharging the ink a plurality of times, The ink discharge amount necessary for image recording can be reduced while ensuring the line width of the barcode.

次いで、ホストコンピューター5から多重吐出用記録制御データを含む記録制御データが入力されたインクジェットプリンター1の動作について図8を用いて説明する。
図8は、インクジェットプリンター1の動作を示すフローチャートである。
まず、インクジェットプリンター1のプリンター側制御部15は、ホストコンピューター5から記録制御データが入力されたか否かを監視する(ステップSB1)。記録制御データが入力された場合(ステップSB1:YES)、プリンター側制御部15は、走査コマンドによって記録ヘッド2の走査に伴う画像の記録が指示されているか否かを判別する(ステップSB2)。走査コマンドによって画像の記録が指示されている場合(ステップSB2:YES)、プリンター側制御部15は、記録制御データに含まれる記録用ラスターデータに基づいて、適宜ノズル穴7からインクを吐出しつつ記録ヘッド2を走査し、記録媒体3に記録すべき画像に対応するドットDを形成して、記録媒体3に画像を記録する(ステップB3)。一方、走査コマンドによって画像の記録が指示されていない場合(ステップSB2:NO)、プリンター側制御部15は、処理手順をステップSB4へ移行する。
Next, the operation of the inkjet printer 1 to which the recording control data including the multiple discharge recording control data is input from the host computer 5 will be described with reference to FIG.
FIG. 8 is a flowchart showing the operation of the inkjet printer 1.
First, the printer-side control unit 15 of the inkjet printer 1 monitors whether or not recording control data is input from the host computer 5 (step SB1). When the recording control data is input (step SB1: YES), the printer-side control unit 15 determines whether or not an image recording accompanying scanning of the recording head 2 is instructed by the scanning command (step SB2). When an image recording is instructed by the scan command (step SB2: YES), the printer-side control unit 15 appropriately ejects ink from the nozzle holes 7 based on the recording raster data included in the recording control data. The recording head 2 is scanned to form dots D corresponding to the image to be recorded on the recording medium 3, and the image is recorded on the recording medium 3 (step B3). On the other hand, when the image recording is not instructed by the scan command (step SB2: NO), the printer-side control unit 15 shifts the processing procedure to step SB4.

ステップSB4では、プリンター側制御部15は、送りコマンドによって記録媒体3の搬送方向への搬送が指示されているか否かを判別する(ステップSB4)。送りコマンドによって記録媒体3の搬送方向への搬送が指示されている場合、プリンター側制御部15は、記録制御データに含まれる送り量データが示す送り量分、記録媒体3を搬送方向へ搬送する(ステップSB5)。一方、送りコマンドによって記録媒体3の搬送方向への搬送が指示されていない場合(ステップSB4:NO)、プリンター側制御部15は、処理手順をステップSB6へ移行する。
ステップSB6では、プリンター側制御部15は、画像の記録が終了したか否かを判別する。プリンター側制御部15は、さらに走査コマンドや送りコマンドによって画像の記録や送り動作の実行が指示されていれば、画像の記録が終了していないと判別し、そうでない場合は、画像の記録が終了していると判別する。画像の記録が終了していない場合(ステップSB6:NO)、プリンター側制御部15は、処理をステップSB2へ戻す。一方、画像の記録が終了している場合(ステップSB6:YES)、プリンター側制御部15は、処理を終了する。
ここで、ホストコンピューター5からインクジェットプリンター1に多重吐出用記録制御データが入力された場合、当該多重吐出用記録制御データに基づいて、図8のフローチャートに示す動作が実行されることにより、バーコード記録領域B1に含まれるピクセルPについて、各ピクセルPにインクを複数回重ねて吐出してドットDが形成される。
In step SB4, the printer-side control unit 15 determines whether or not conveyance of the recording medium 3 is instructed by the feed command (step SB4). When the transport command instructs the transport of the recording medium 3 in the transport direction, the printer-side control unit 15 transports the recording medium 3 in the transport direction by the transport amount indicated by the feed amount data included in the recording control data. (Step SB5). On the other hand, if the feed command does not instruct conveyance of the recording medium 3 in the conveyance direction (step SB4: NO), the printer-side control unit 15 proceeds to step SB6.
In step SB6, the printer-side control unit 15 determines whether or not image recording has ended. The printer-side control unit 15 determines that the image recording has not ended if the execution of the image recording or the feeding operation is further instructed by the scan command or the feed command, and otherwise the image recording is not performed. It is determined that it has ended. If the image recording has not ended (step SB6: NO), the printer-side control unit 15 returns the process to step SB2. On the other hand, if the image recording has ended (step SB6: YES), the printer-side control unit 15 ends the process.
Here, when the multiple discharge recording control data is input from the host computer 5 to the inkjet printer 1, the operation shown in the flowchart of FIG. 8 is executed based on the multiple discharge recording control data, whereby the barcode is displayed. With respect to the pixels P included in the recording area B1, the dots D are formed by discharging the ink over the pixels P a plurality of times.

以上説明したように、本実施形態に係るホストコンピューター5は、記録ヘッド2からインクを吐出して記録媒体3にドットDを形成するインクジェットプリンター1を制御する。そして、ホストコンピューター5は、記録媒体3においてドットDによってバーコードを記録するバーコード記録領域B1を検出するバーコード記録領域検出部30を備え、インクジェットプリンター1に、バーコード記録領域検出部30により検出したバーコード記録領域B1に含まれる各ドットDを、記録ヘッド2によってインクを複数回重ねて吐出して形成させるという動作を行わせるための制御データを生成し、当該制御データをインクジェットプリンター1に出力し、当該動作をインクジェットプリンター1に行わせる。
これによれば、1つのピクセルPにインクを複数回重ねて吐出することによって、ピクセルP内においてインクのにじみが促され、1つのピクセルPに1回インクを吐出する場合と比較して、ピクセルPの面積に対するドットDの面積の相対的な大きさを大きくすることができる。これにより、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
ここで、ドットDを形成する際のインクの吐出量を大きくすることによってドットDの面積を大きくすることを考えた場合、1回の吐出で大きなインクの吐出量を確保できるようなノズルを設計開発し、設けるためのコストが必要となるが、本実施形態では、上記のようなコストを発生させることなく、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができる。
また、本実施形態では、記録媒体3に記録される画像のうち、バーコードの画像に係るドットDを、インクを複数回重ねて吐出して形成する。このため、バーコードの線幅を確保した上で、記録媒体3に記録される全ての画像、もしくは、バーコードに係る画像以外の画像を含む画像に係るドットDを、インクを複数回重ねて吐出して形成した場合と比較して、画像の記録に必要なインクの吐出量を低減することができ、さらに、画像の記録にかかる時間を短縮化できる。
As described above, the host computer 5 according to this embodiment controls the ink jet printer 1 that forms the dots D on the recording medium 3 by ejecting ink from the recording head 2. The host computer 5 includes a barcode recording area detection unit 30 that detects a barcode recording area B1 that records a barcode with dots D on the recording medium 3, and the inkjet recording printer 1 includes the barcode recording area detection unit 30. Control data is generated to cause each dot D included in the detected bar code recording area B1 to be formed by ejecting the ink by overlapping the ink a plurality of times by the recording head 2, and the control data is generated by the inkjet printer 1. To cause the inkjet printer 1 to perform the operation.
According to this, by ejecting ink on one pixel P a plurality of times, ink bleeding is promoted in the pixel P, and compared with the case where ink is ejected once to one pixel P, the pixel The relative size of the area of the dot D with respect to the area of P can be increased. Thereby, the line width of the barcode can be ensured, and the reading accuracy by the barcode reader can be improved.
Here, when the area of the dot D is increased by increasing the ink discharge amount when forming the dot D, a nozzle that can secure a large ink discharge amount by one discharge is designed. Although the cost for development and provision is required, in this embodiment, the line width of the barcode can be secured without causing the above-described cost, and the reading accuracy by the barcode reader is improved. be able to.
In the present embodiment, among the images recorded on the recording medium 3, the dots D relating to the barcode image are formed by overlapping and discharging the ink a plurality of times. For this reason, after ensuring the line width of the barcode, the dot D relating to all images recorded on the recording medium 3 or an image including an image other than the image related to the barcode is overlapped with the ink a plurality of times. Compared with the case of forming by ejection, the amount of ink ejection necessary for image recording can be reduced, and the time required for image recording can be shortened.

また、本実施形態に係るインクジェットプリンター1は、記録媒体3を搬送方向に搬送する送り動作を行うと共に、記録ヘッド2を主走査方向に走査させて、記録媒体3にドットDを形成し、ホスト側制御部25は、記録ヘッド2にバーコード記録領域B1上を複数回走査させて、バーコード記録領域B1に含まれる各ドットDを、記録ヘッド2によってインクを複数回重ねて吐出して形成させる。
この構成によれば、上述した構成を有するインクジェットプリンター1によって、確実に、バーコードの線幅を確保し、バーコードリーダーによる読み取り精度を向上することができる。
In addition, the inkjet printer 1 according to the present embodiment performs a feeding operation for transporting the recording medium 3 in the transport direction, and scans the recording head 2 in the main scanning direction to form dots D on the recording medium 3. The side control unit 25 causes the recording head 2 to scan the barcode recording area B1 a plurality of times, and forms each dot D included in the barcode recording area B1 by ejecting the recording head 2 by overlapping the ink a plurality of times. Let
According to this configuration, the line width of the barcode can be surely ensured and the reading accuracy by the barcode reader can be improved by the inkjet printer 1 having the configuration described above.

また、本実施形態では、バーコード記録領域検出部30は、記録媒体3に記録すべき画像のラスターデータから、バーコードの画像に係るラスターデータを検出し、検出したバーコードの画像に係るラスターデータに基づいて、バーコード記録領域B1を検出する。具体的には、バーコード記録領域検出部30は、記録媒体3に記録すべき画像全体のラスターデータを取得し、1行分のラスターデータを順次解析する。そして、バーコード記録領域検出部30は、バーコードの色に該当する色のドットDが形成されるピクセルPが、行方向(主走査方向)に所定の数以上連続して出現する1行分のラスターデータを取得する。次に、バーコード記録領域検出部30は、取得した全ての1行分のラスターデータに基づいて、記録媒体3の記録領域内に、バーコードに該当する色を有する線分であって、主走査方向に延びる線分が、搬送方向に間隔をあけた状態で複数連続して現れるような記録領域が存在するか否かを判別する。そして、このような記録領域が存在すると判別した場合、バーコード記録領域検出部30は、当該記録領域において、記録媒体3が搬送され送られる方向の一端のラスターデータの印字位置をバーコード記録開始位置A1とし、逆の方向の一端のラスターデータの印字位置をバーコード記録終了位置A2とする。そして、このバーコード記録開始位置A1とバーコード記録終了位置A2とで挟まれた記録領域がバーコード記録領域B1である。
この構成によれば、バーコード記録領域検出部30は、好適にバーコード記録領域B1の検出ができる。
In the present embodiment, the barcode recording area detection unit 30 detects raster data related to the barcode image from the raster data of the image to be recorded on the recording medium 3, and the raster related to the detected barcode image. Based on the data, the barcode recording area B1 is detected. Specifically, the barcode recording area detection unit 30 acquires raster data of the entire image to be recorded on the recording medium 3, and sequentially analyzes raster data for one line. Then, the barcode recording area detection unit 30 corresponds to one row in which a predetermined number or more of pixels P in which the dots D of the color corresponding to the barcode color appear continuously appear in the row direction (main scanning direction). Get raster data for. Next, the bar code recording area detecting unit 30 is a line segment having a color corresponding to the bar code in the recording area of the recording medium 3 based on all the acquired raster data for one line. It is determined whether or not there is a recording region in which a plurality of line segments extending in the scanning direction appear continuously with a gap in the transport direction. If it is determined that such a recording area exists, the barcode recording area detection unit 30 starts barcode recording at the printing position of raster data at one end in the direction in which the recording medium 3 is transported and sent in the recording area. The printing position of raster data at one end in the opposite direction is defined as a position A1, and the barcode recording end position A2. A recording area sandwiched between the barcode recording start position A1 and the barcode recording end position A2 is a barcode recording area B1.
According to this configuration, the barcode recording area detection unit 30 can preferably detect the barcode recording area B1.

<第2実施形態>
図9は、第2実施形態に係るインクジェットプリンター1Bの機能的構成を示すブロック図である。なお、図9において、図3に示す構成要素と同じものについては同一の符号を付し、その説明を省略する。
本実施形態に係るインクジェットプリンター1Bのプリンター側制御部15は、バーコード記録領域検出部30を備えている。そして、インクジェットプリンター1Bには、例えば、インターフェイス部22を介して接続されたスキャナーやコンピューター等の外部機器から、直接、画像データが入力される。インクジェットプリンター1Bは、入力された画像データに対し、第1実施形態におけるホストコンピューター5と同様、解像度変換処理、色補正処理、ハーフトーン処理、ラスタライズ処理の各処理を行うと共に、バーコード記録領域B1を検出する。そして、インクジェットプリンター1Bのプリンター側制御部15は、インクジェットプリンター1Bの各部を制御して、第1実施形態と同様、バーコード記録領域B1に含まれるピクセルPについて、各ピクセルPにインクを複数回重ねて吐出してドットDを形成する。
このように、ホストコンピューター5の制御によることなく、インクジェットプリンター1B単独でバーコード記録領域B1に含まれるピクセルPについて、各ピクセルPにインクを複数回重ねて吐出してドットDを形成した場合であっても、第1実施形態で挙げた効果と同様の効果を奏することができる。
以下、図10及び図11を用いて、本実施形態に係るインクジェットプリンター1の動作の一例について説明する。
Second Embodiment
FIG. 9 is a block diagram illustrating a functional configuration of the inkjet printer 1B according to the second embodiment. In FIG. 9, the same components as those shown in FIG. 3 are denoted by the same reference numerals, and the description thereof is omitted.
The printer-side control unit 15 of the inkjet printer 1B according to the present embodiment includes a barcode recording area detection unit 30. Then, for example, image data is directly input to the inkjet printer 1B from an external device such as a scanner or a computer connected via the interface unit 22. The inkjet printer 1B performs resolution conversion processing, color correction processing, halftone processing, and rasterization processing on the input image data in the same manner as the host computer 5 in the first embodiment, and a barcode recording area B1. Is detected. Then, the printer-side control unit 15 of the ink jet printer 1B controls each part of the ink jet printer 1B, and in the same way as in the first embodiment, for each pixel P included in the barcode recording area B1, ink is applied to each pixel P a plurality of times. The dots D are formed by discharging in an overlapping manner.
As described above, the dots D are formed by ejecting the ink over the pixels P a plurality of times for the pixels P included in the barcode recording area B1 by the inkjet printer 1B alone without being controlled by the host computer 5. Even if it exists, there can exist an effect similar to the effect quoted in 1st Embodiment.
Hereinafter, an example of the operation of the inkjet printer 1 according to the present embodiment will be described with reference to FIGS. 10 and 11.

図10は、本実施形態に係るインクジェットプリンター1の動作を示すフローチャートである。図11は、図10のフローチャートが示す動作の説明に用いる図であり、画像が記録された状態の記録媒体3を示すと共に、記録媒体3の左側に、記録媒体3に対するノズル列8−11の相対的な位置を模式的に示している。
なお、図10のフローチャートの開始時点では、プリンター側制御部15に対し、画像データが入力され、当該画像データに対し、記録媒体3に画像を記録するための各種処理が実行され、当該画像に係るラスターデータが生成されているものとする。
FIG. 10 is a flowchart showing the operation of the inkjet printer 1 according to this embodiment. FIG. 11 is a diagram used for explaining the operation shown in the flowchart of FIG. 10, showing the recording medium 3 on which an image has been recorded, and the nozzle array 8-11 for the recording medium 3 on the left side of the recording medium 3. The relative position is shown schematically.
At the start of the flowchart of FIG. 10, image data is input to the printer-side control unit 15, and various processes for recording an image on the recording medium 3 are executed on the image data, It is assumed that such raster data has been generated.

まず、プリンター側制御部15は、変数Bstartに記録媒体3におけるバーコード記録開始位置A1を示す値を格納すると共に、変数dataLengthに、記録媒体3の画像の画像記録終了位置A4を示す値を格納する(ステップSC1)。
次に、プリンター側制御部15は、正の整数を格納する変数nに「1」を格納する(ステップSC2)。
次に、プリンター側制御部15は、ノズル列長T1に変数nを乗じたものが、変数Bstartを下回るか否かを判別する(ステップSC3)。ノズル列長T1に変数nを乗じたものが変数Bstartを下回る場合(ステップSC3:YES)、プリンター側制御部15は、ラスターデータに基づいてノズル穴7からインクを吐出しつつ、記録ヘッド2を走査させて、記録媒体3に記録すべき画像に対応するドットDを形成し(ステップSC4)、記録媒体3を搬送方向にノズル列長T1分搬送する(ステップSC5)。次に、プリンター側制御部15は、変数nに「1」を加算し(ステップSC6)、ステップSC3へ戻る。このステップSC3〜ステップSC6の一連の動作によって、記録ヘッド2がバーコードの画像を記録する位置に至る前に記録すべき画像について、通常の記録動作によって記録が行われる。図11の例では、ステップSC3〜ステップSC6の処理によって、記録領域D4及び記録領域D5の画像について記録媒体3への記録が行われる。
First, the printer-side control unit 15 stores a value indicating the barcode recording start position A1 on the recording medium 3 in the variable Bstart, and stores a value indicating the image recording end position A4 of the image on the recording medium 3 in the variable dataLength. (Step SC1).
Next, the printer-side control unit 15 stores “1” in a variable n that stores a positive integer (step SC2).
Next, the printer-side control unit 15 determines whether or not the value obtained by multiplying the nozzle row length T1 by the variable n is less than the variable Bstart (step SC3). When the value obtained by multiplying the nozzle row length T1 by the variable n falls below the variable Bstart (step SC3: YES), the printer-side control unit 15 moves the print head 2 while ejecting ink from the nozzle holes 7 based on the raster data. The scanning is performed to form dots D corresponding to the image to be recorded on the recording medium 3 (step SC4), and the recording medium 3 is conveyed in the conveying direction by the nozzle row length T1 (step SC5). Next, the printer-side control unit 15 adds “1” to the variable n (step SC6) and returns to step SC3. By the series of operations from step SC3 to step SC6, an image to be recorded before the recording head 2 reaches the position where the barcode image is recorded is recorded by a normal recording operation. In the example of FIG. 11, the images in the recording area D4 and the recording area D5 are recorded on the recording medium 3 by the processes in steps SC3 to SC6.

ステップSC3において、ノズル列長T1に変数nを乗じたものが、変数Bstartを上回る場合(ステップSC3:NO)、プリンター側制御部15は、ラスターデータに基づいてノズル穴7からインクを吐出しつつ、記録ヘッド2を走査させて、記録媒体3に記録すべき画像に対応するドットDを形成する(ステップSC7)。図11の例では、記録領域D6の画像について記録媒体3への記録が行われる。この記録領域D6の画像には、バーコードの画像の一部が含まれている。
次に、プリンター側制御部15は、式「ノズル列長T1×(変数n−「1」)−変数Bstart」によって得られる値分だけ、搬送方向に記録媒体3を搬送する(ステップSC8)。これにより、バーコード記録開始位置A1に、各ノズル列8−11の記録媒体3を送る方向の先端が位置する。図11の例では、位置P6に対応する位置に、ノズル列8−11が位置する。次に、プリンター側制御部15は、ラスターデータに基づいてインクを吐出しつつ記録ヘッド2を主走査方向に走査させて、記録媒体3に記録すべき画像に対応するドットDを形成する(ステップSC9)。図11の例では、記録領域D7の画像について記録媒体3への記録が行われる。
次に、プリンター側制御部15は、式「ノズル列長T1−{ノズル列長T1×(変数n−「1」)−変数Bstart}」によって得られる値分だけ、搬送方向に記録媒体3を搬送する(ステップSC10)。これにより、ステップSC7において、画像の記録を実行したときのノズル列8−11の位置からノズル列長T1分だけ移動した位置にノズル列8−11が位置する。図11の例では、位置P7に対応する位置に記録ヘッド2が位置する。
次に、プリンター側制御部15は、ラスターデータに基づいてノズル穴7からインクを吐出しつつ記録ヘッド2を走査させて、記録媒体3に記録すべき画像に対応するドットDを形成する(ステップSC11)。図11の例では、記録領域D8の画像について記録媒体3への記録が行われる。なお、プリンター側制御部15は、記録領域D7と記録領域D8とが重なる記録領域であって、バーコード記録終了位置A2よりも、記録媒体3が送られる方向と逆の方向の記録領域である記録領域D10については、インクの吐出を行わない。これにより、バーコード記録領域B1以外の記録領域に含まれるピクセルPについて、インクが複数回重ねて吐出されてドットDが形成されることが防止されている。
In step SC3, when the value obtained by multiplying the nozzle row length T1 by the variable n exceeds the variable Bstart (step SC3: NO), the printer-side control unit 15 is ejecting ink from the nozzle holes 7 based on the raster data. The recording head 2 is scanned to form dots D corresponding to the image to be recorded on the recording medium 3 (step SC7). In the example of FIG. 11, recording on the recording medium 3 is performed for the image in the recording area D6. The image of the recording area D6 includes a part of the barcode image.
Next, the printer-side controller 15 transports the recording medium 3 in the transport direction by the value obtained by the expression “nozzle row length T1 × (variable n−“ 1 ”) − variable Bstart” (step SC8). As a result, the leading end of each nozzle row 8-11 in the direction of feeding the recording medium 3 is positioned at the barcode recording start position A1. In the example of FIG. 11, the nozzle row 8-11 is located at a position corresponding to the position P6. Next, the printer-side control unit 15 scans the recording head 2 in the main scanning direction while ejecting ink based on the raster data, thereby forming dots D corresponding to the image to be recorded on the recording medium 3 (Step S1). SC9). In the example of FIG. 11, recording on the recording medium 3 is performed for the image in the recording area D7.
Next, the printer-side control unit 15 moves the recording medium 3 in the transport direction by the value obtained by the expression “nozzle row length T1− {nozzle row length T1 × (variable n−“ 1 ”) − variable Bstart}”. Transport (step SC10). Thereby, in step SC7, the nozzle row 8-11 is located at a position moved by the nozzle row length T1 from the position of the nozzle row 8-11 when the image recording is executed. In the example of FIG. 11, the recording head 2 is located at a position corresponding to the position P7.
Next, the printer-side control unit 15 scans the recording head 2 while ejecting ink from the nozzle holes 7 based on the raster data, thereby forming dots D corresponding to the image to be recorded on the recording medium 3 (Step S1). SC11). In the example of FIG. 11, recording on the recording medium 3 is performed for the image in the recording area D8. The printer-side control unit 15 is a recording area in which the recording area D7 and the recording area D8 overlap, and is a recording area in a direction opposite to the direction in which the recording medium 3 is fed from the barcode recording end position A2. For the recording area D10, ink is not ejected. Accordingly, it is possible to prevent dots D from being formed by ejecting the ink multiple times for the pixels P included in the recording area other than the barcode recording area B1.

次に、プリンター側制御部15は、記録媒体3を搬送方向にノズル列長T1分搬送する(ステップSC12)。図4の例では、位置P8に対応する位置にノズル列8−11が位置する。次に、プリンター側制御部15は、変数nに「1」を加算する(ステップSC13)。
次に、プリンター側制御部15は、ノズル列長T1に変数nを乗じたものが変数dataLengthを下回るか否かを判別する(ステップSC14)。ノズル列長T1に変数nを乗じたものが変数dataLengthを下回る場合(ステップSC14:YES)、プリンター側制御部15は、ラスターデータに基づいてノズル穴7からインクを吐出しつつ記録ヘッド2を走査させて、ラスターデータに対応するドットDを形成し(ステップSC15)、記録媒体3を搬送方向にノズル列長T1分搬送する(ステップSC16)。次に、プリンター側制御部15は、変数nに「1」を加算し(ステップSC17)、ステップSC14へ戻る。
このステップSC14〜ステップSC17の一連の動作によって、記録ヘッド2がバーコードの画像を記録する位置を通過した後に記録すべき画像について、通常の記録動作によって記録が行われる。図11の例では、ステップSC14〜ステップSC17の処理によって、記録領域D9の画像について記録媒体3への記録が行われる。
Next, the printer-side controller 15 transports the recording medium 3 in the transport direction by the nozzle row length T1 (step SC12). In the example of FIG. 4, the nozzle row 8-11 is located at a position corresponding to the position P8. Next, the printer-side control unit 15 adds “1” to the variable n (step SC13).
Next, the printer-side control unit 15 determines whether or not the value obtained by multiplying the nozzle row length T1 by the variable n is less than the variable dataLength (step SC14). When the value obtained by multiplying the nozzle row length T1 by the variable n falls below the variable dataLength (step SC14: YES), the printer-side control unit 15 scans the recording head 2 while ejecting ink from the nozzle holes 7 based on the raster data. Thus, dots D corresponding to the raster data are formed (step SC15), and the recording medium 3 is transported in the transport direction by the nozzle row length T1 (step SC16). Next, the printer-side control unit 15 adds “1” to the variable n (step SC17), and returns to step SC14.
By a series of operations from step SC14 to step SC17, an image to be recorded after the recording head 2 has passed the position for recording the barcode image is recorded by a normal recording operation. In the example of FIG. 11, the image in the recording area D9 is recorded on the recording medium 3 by the processing in steps SC14 to SC17.

以上のように、図10のフローチャートが示す動作を実行することによって、インクジェットプリンター1は、バーコード記録領域B1に含まれるピクセルPについて、記録ヘッド2からインクを複数回重ねて吐出してドットDを形成する。図11の例では、記録領域D6及び記録領域D7の重なった記録領域、及び、記録領域D7及び記録領域D8の重なった記録領域(記録領域D10を除く)に、バーコード記録領域B1が位置することとなり、バーコード記録領域B1に含まれる各ピクセルPについて、ドットDが、記録ヘッド2からインクが複数回重ねて吐出されて形成される。これにより、図5(B)を用いて上述したように、各ピクセルP内においてインクのにじみが促され、1つのピクセルPに1回インクを吐出する場合と比較して、ピクセルPの面積に対するドットDの面積の相対的な大きさを大きくすることができる。これにより、バーコードの線幅を確保することができ、バーコードリーダーによる読み取り精度を向上することができるほか、第1実施形態で挙げた効果と同様の効果を奏することができる。   As described above, by performing the operation shown in the flowchart of FIG. 10, the inkjet printer 1 ejects the ink from the recording head 2 by overlapping the pixel P included in the barcode recording region B1 a plurality of times to form the dot D. Form. In the example of FIG. 11, the barcode recording area B1 is located in the recording area where the recording area D6 and the recording area D7 overlap, and in the recording area where the recording area D7 and the recording area D8 overlap (except for the recording area D10). As a result, for each pixel P included in the barcode recording area B1, dots D are formed by ejecting ink from the recording head 2 in a plurality of times. As a result, as described above with reference to FIG. 5B, ink bleeding is promoted in each pixel P, and the area of the pixel P is compared with the case where ink is ejected once to one pixel P. The relative size of the area of the dot D can be increased. Thereby, the line width of the barcode can be ensured, the reading accuracy by the barcode reader can be improved, and the same effects as those described in the first embodiment can be obtained.

<第3実施形態>
次いで、上述した第3実施形態について説明する。
図12は、ホストコンピューター5の表示部21が備える液晶表示パネルに表示された情報の一例を示す図である。
上述した第1実施形態では、ホスト側制御部25のバーコード記録領域検出部30は、ラスターデータに基づいて、バーコード記録領域B1を検出していた。一方、本実施形態では、バーコード記録領域検出部30は、ユーザーの指示に基づいて、バーコード記録領域B1を検出する。
図12を用いて一例を挙げると、液晶表示パネルに記録媒体3に記録する画像のプレビューを表示すると共に、入力デバイスの操作によって、表示されたプレビューからバーコードの画像の領域を指定できるような機能(指示入力部としての機能)を、ホストコンピューター5に持たせる。図8の例では、プレビューが表示された画面上に、入力デバイスの操作に伴って画面上を移動するポインター40と、このポインター40によって位置、大きさを変更することができる指定枠41を表示し、ユーザーが入力デバイスを操作して、バーコードの画像の領域を指定枠41で囲むことによって、バーコードの画像の領域を指定できるようにする。そして、ホストコンピューター5のホスト側制御部25は、指定されたバーコードの画像の領域をバーコード記録領域B1として検出し、検出したバーコード記録領域B1に基づいて、上述した実施形態と同様、インクを複数回重ねて吐出して、バーコードの画像のドットDを形成する。
<Third Embodiment>
Next, the third embodiment described above will be described.
FIG. 12 is a diagram illustrating an example of information displayed on the liquid crystal display panel included in the display unit 21 of the host computer 5.
In the first embodiment described above, the barcode recording area detection unit 30 of the host-side control unit 25 detects the barcode recording area B1 based on raster data. On the other hand, in the present embodiment, the barcode recording area detection unit 30 detects the barcode recording area B1 based on a user instruction.
As an example using FIG. 12, a preview of an image to be recorded on the recording medium 3 is displayed on the liquid crystal display panel, and an area of a barcode image can be designated from the displayed preview by operating the input device. A function (function as an instruction input unit) is given to the host computer 5. In the example of FIG. 8, a pointer 40 that moves on the screen in accordance with the operation of the input device and a designation frame 41 that can be changed in position and size by the pointer 40 are displayed on the screen on which the preview is displayed. Then, the user operates the input device to surround the barcode image area with the designation frame 41 so that the barcode image area can be designated. Then, the host-side control unit 25 of the host computer 5 detects the designated barcode image area as the barcode recording area B1, and, based on the detected barcode recording area B1, as in the above-described embodiment. Ink is superimposed and ejected a plurality of times to form dot D of the barcode image.

本実施形態では、ホストコンピューター5は、記録媒体3においてバーコードの画像が記録される領域についてユーザーが指示入力を行うための機能を備え、バーコード記録領域検出部30は、ユーザーによるホストコンピューター5への指示入力に基づいて、バーコード記録領域B1を検出する。
これによれば、ホストコンピューター5への指示入力に基づいて、バーコード記録領域検出部30は、確実かつ容易に、バーコード記録領域B1を検出することができる。
In the present embodiment, the host computer 5 has a function for a user to input an instruction for an area in the recording medium 3 where a barcode image is recorded, and the barcode recording area detection unit 30 is provided by the user. The bar code recording area B1 is detected on the basis of the instruction input.
According to this, on the basis of an instruction input to the host computer 5, the barcode recording area detection unit 30 can detect the barcode recording area B1 reliably and easily.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、インクを2回重ねて吐出して、バーコードの画像を構成するドットDを形成していたが、インクを吐出する回数は2回に限らない。
また、上述した実施形態では、記録ヘッド2を、バーコード記録領域B1上を複数回走査させることによって、インクを複数回重ねて吐出して、バーコードの画像を構成するドットDを形成していたが、インクを複数回重ねて吐出する方法はこれに限らず、例えば、バーコード記録領域B1上で、記録ヘッド2を止めた後、記録媒体3に対してインクを複数回重ねて吐出するようにしてもよい。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
In the embodiment described above, the ink is overlapped and ejected twice to form the dot D constituting the barcode image. However, the number of times the ink is ejected is not limited to two.
Further, in the above-described embodiment, the recording head 2 scans the barcode recording area B1 a plurality of times, thereby ejecting ink in a plurality of times to form the dots D constituting the barcode image. However, the method of ejecting ink in a plurality of times is not limited to this. For example, after the recording head 2 is stopped on the barcode recording area B1, the ink is ejected in a plurality of times on the recording medium 3. You may do it.

1…インクジェットプリンター(記録装置)、2…記録ヘッド、3…記録媒体、5…ホストコンピューター(記録制御装置、記録制御データ生成装置)、25…ホスト側制御部(記録制御部)、30…バーコード記録領域検出部、D…ドット。   DESCRIPTION OF SYMBOLS 1 ... Inkjet printer (recording apparatus), 2 ... Recording head, 3 ... Recording medium, 5 ... Host computer (recording control apparatus, recording control data generation apparatus), 25 ... Host side control part (recording control part), 30 ... Bar Code recording area detector, D ... dots.

Claims (5)

記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置を制御する記録制御装置において、
前記記録媒体にバーコードが記録されるバーコード記録領域を検出するバーコード記録領域検出部と、
前記バーコード記録領域検出部により検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させる記録制御部と、を備え、
前記バーコード記録領域検出部は、前記記録媒体に記録すべき画像のラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコード記録領域を検出することを特徴とする記録制御装置。
In a recording control apparatus for controlling a recording apparatus that discharges ink from a recording head to form dots on a recording medium,
A barcode recording area detection unit for detecting a barcode recording area in which a barcode is recorded on the recording medium;
A recording control unit configured to form each dot included in the barcode recording area detected by the barcode recording area detection unit by discharging the ink a plurality of times by the recording head ; and
The barcode recording area detecting unit detects raster data related to the barcode image from raster data of the image to be recorded on the recording medium, and based on the detected raster data related to the barcode image, A recording control apparatus for detecting the bar code recording area .
記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置を制御する記録制御装置において、In a recording control apparatus for controlling a recording apparatus that discharges ink from a recording head to form dots on a recording medium,
前記記録媒体にバーコードが記録されるバーコード記録領域を検出するバーコード記録領域検出部と、A barcode recording area detection unit for detecting a barcode recording area in which a barcode is recorded on the recording medium;
前記バーコード記録領域検出部により検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させる記録制御部と、A recording control unit that forms each dot included in the barcode recording region detected by the barcode recording region detection unit by ejecting the ink a plurality of times by the recording head; and
前記記録媒体において前記バーコードが記録される領域についてユーザーが指示入力を行うための領域指示部と、を備え、  An area instruction unit for a user to input an instruction for an area in which the barcode is recorded in the recording medium,
前記バーコード記録領域検出部は、ユーザーによる前記領域指示部への指示入力に基づいて、前記バーコード記録領域を検出することを特徴とする記録制御装置。The bar code recording area detecting unit detects the bar code recording area based on an instruction input by the user to the area indicating unit.
前記記録装置は、前記記録媒体を搬送方向に搬送する送り動作を行うと共に、前記記録ヘッドを主走査方向に走査させて、前記記録媒体にドットを形成し、
前記記録制御部は、前記記録ヘッドに前記バーコード記録領域上を複数回走査させて、前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させること、を特徴とする請求項1または2に記載の記録制御装置。
The recording apparatus performs a feeding operation for transporting the recording medium in the transport direction, and scans the recording head in the main scanning direction to form dots on the recording medium,
The recording control unit causes the recording head to scan the barcode recording area a plurality of times, and to form each dot included in the barcode recording area by ejecting the ink by overlapping the recording head a plurality of times. it, recording control apparatus according to claim 1 or 2, characterized in.
記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置を制御して、
前記記録媒体に記録すべき画像のラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコードが記録されるバーコード記録領域を検出し、検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させることを特徴とする記録装置の制御方法。
Control the recording device that ejects ink from the recording head to form dots on the recording medium,
Bar code in which raster data related to the barcode image is detected from raster data of the image to be recorded on the recording medium, and the barcode is recorded based on the detected raster data related to the barcode image A method for controlling a recording apparatus, comprising: detecting a recording area, and forming each dot included in the detected barcode recording area by ejecting the ink a plurality of times by the recording head.
記録制御データに基づき記録ヘッドからインクを吐出して記録媒体にドットを形成する記録装置によって使用される前記記録制御データを生成する記録制御データ生成装置において、
前記記録媒体にバーコードが記録されるバーコード記録領域を検出するバーコード記録領域検出部と、
前記バーコード記録領域検出部により検出した前記バーコード記録領域に含まれる各ドットを、前記記録ヘッドによってインクを複数回重ねて吐出して形成させる前記記録制御データを生成する記録制御データ生成部と、を備え、
前記バーコード記録領域検出部は、前記記録媒体に記録すべき画像のラスターデータから、前記バーコードの画像に係るラスターデータを検出し、検出した前記バーコードの画像に係るラスターデータに基づいて、前記バーコード記録領域を検出することを特徴とする記録制御データ生成装置。
In a recording control data generating apparatus that generates the recording control data used by a recording apparatus that discharges ink from a recording head based on recording control data to form dots on a recording medium.
A barcode recording area detection unit for detecting a barcode recording area in which a barcode is recorded on the recording medium;
A recording control data generation unit that generates the recording control data for forming each dot included in the barcode recording region detected by the barcode recording region detection unit by discharging the ink a plurality of times by the recording head; , equipped with a,
The barcode recording area detecting unit detects raster data related to the barcode image from raster data of the image to be recorded on the recording medium, and based on the detected raster data related to the barcode image, A recording control data generating apparatus for detecting the bar code recording area .
JP2009065730A 2009-03-18 2009-03-18 RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE Expired - Fee Related JP5310153B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009065730A JP5310153B2 (en) 2009-03-18 2009-03-18 RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009065730A JP5310153B2 (en) 2009-03-18 2009-03-18 RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE

Publications (2)

Publication Number Publication Date
JP2010218356A JP2010218356A (en) 2010-09-30
JP5310153B2 true JP5310153B2 (en) 2013-10-09

Family

ID=42977114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009065730A Expired - Fee Related JP5310153B2 (en) 2009-03-18 2009-03-18 RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE

Country Status (1)

Country Link
JP (1) JP5310153B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5880386B2 (en) * 2012-10-16 2016-03-09 富士ゼロックス株式会社 Image processing apparatus, image forming system, and program
JP6145014B2 (en) * 2013-09-30 2017-06-07 理想科学工業株式会社 Inkjet printing device
JP6277771B2 (en) * 2014-02-25 2018-02-14 株式会社リコー Liquid ejection apparatus, liquid ejection program, and liquid ejection method
JP2023178649A (en) 2022-06-06 2023-12-18 キヤノン株式会社 Image processing device, control method for image processing device, and recording device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS637955A (en) * 1986-06-30 1988-01-13 Pfu Ltd Bar code printing system
JPH09174884A (en) * 1995-12-27 1997-07-08 Canon Inc Image forming apparatus and method
JP4720041B2 (en) * 2001-08-06 2011-07-13 セイコーエプソン株式会社 Printer, printing control method, and information recording medium
JP2003089199A (en) * 2001-09-19 2003-03-25 Ricoh Co Ltd Inkjet recording device
JP2003237059A (en) * 2002-02-20 2003-08-26 Canon Finetech Inc Inkjet recorder and method of inkjet recording
JP2007196490A (en) * 2006-01-25 2007-08-09 Seiko Epson Corp Printing system, program, and printing apparatus
JP2008183778A (en) * 2007-01-29 2008-08-14 Seiko Epson Corp Two-dimensional code printing method, program thereof, and inkjet printer

Also Published As

Publication number Publication date
JP2010218356A (en) 2010-09-30

Similar Documents

Publication Publication Date Title
US9242457B2 (en) Control apparatus, control method, and program
JP4281807B2 (en) Image processing apparatus, copying apparatus, image processing method and program thereof
US10230857B2 (en) Image forming apparatus having controlled conveyance speed, image forming method, and storage medium
JP5310153B2 (en) RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE
EP2346235A1 (en) Optical reading device, control method for an optical reading device, and program
CN102602168B (en) Recording method and recording apparatus
US8493635B2 (en) Optical reading device, control method for an optical reading device, and computer-readable recording medium storing a control program for an optical reading device
JP2011073158A (en) Recorder, method of controlling recorder, and program
JP2021041675A (en) Printing device, control method of printing device, and program
JP2011218696A (en) Print controller, method, and program
JP7073135B2 (en) Control device, image forming device, control method and program of image forming device
JP4957582B2 (en) Printer driver, preview method and printing method
JP2009078449A (en) Printing method of bar code and printer apparatus
JP7363243B2 (en) Printing device, printing control device, printing device control method, and program
US6863372B2 (en) Printer device and method
CN115712398B (en) Information processing device, display method, and recording medium
JP6124104B2 (en) Image recording device
JP2014046459A (en) Electronic apparatus, and control method for the electronic device
US8149425B2 (en) Image processing apparatus for designating reading conditions
JP4924623B2 (en) Image processing apparatus, copying apparatus, image processing method and program thereof
JP7238457B2 (en) printer
JP2001225460A (en) Printing that changes the number of nozzles used according to printing conditions
JP3424708B2 (en) Dot matrix printing system
JP2019185120A (en) Print control device, control method of printer, and program
JP2005117559A (en) Image reading apparatus, printing apparatus, and image data reading method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130312

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130507

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130604

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130617

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5310153

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees