JP2015090669A - Printer, print control method, and program - Google Patents
Printer, print control method, and program Download PDFInfo
- Publication number
- JP2015090669A JP2015090669A JP2013231282A JP2013231282A JP2015090669A JP 2015090669 A JP2015090669 A JP 2015090669A JP 2013231282 A JP2013231282 A JP 2013231282A JP 2013231282 A JP2013231282 A JP 2013231282A JP 2015090669 A JP2015090669 A JP 2015090669A
- Authority
- JP
- Japan
- Prior art keywords
- barcode
- printing
- unit
- barcodes
- printed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、印刷装置、印刷制御方法、及びプログラムに関する。 The present invention relates to a printing apparatus, a printing control method, and a program.
バーコードを印刷可能なプリンタを用いてバーコードを印刷する場合、リボンの劣化等に基づく印字品質の乱れから、バーコードの一部が薄くあるいは欠落して印刷される場合がある。このようなバーコードは、バーコードリーダーで読み取られた際に、誤りを生じ易いため、バーコード印刷時に、予め印刷の良否を判定する必要がある。 When printing a bar code using a printer capable of printing a bar code, a part of the bar code may be printed thinly or missing due to an irregular print quality due to deterioration of the ribbon or the like. Since such a barcode is likely to cause an error when it is read by a barcode reader, it is necessary to determine whether printing is good or bad at the time of barcode printing.
従来は、プリンタから排出された用紙上のバーコードを、オペレータが別のバーコードリーダーで読み取り、誤りの有無をチェックしていた。しかし、従来のバーコード印刷方式では、印刷されたバーコードのチェックを、プリンタから排出された用紙上で行うため、エラーが検出された場合には、その用紙を廃棄して、再印刷しなければならなかった。 Conventionally, an operator reads a bar code on paper discharged from a printer with another bar code reader and checks whether there is an error. However, with the conventional barcode printing method, the printed barcode is checked on the paper ejected from the printer. If an error is detected, the paper must be discarded and reprinted. I had to.
そのため、人手によるチェックや再印刷のためのプリンタ出力操作のために、余分な労力が必要となり、また時間がかかるという問題があった。 Therefore, there is a problem that extra labor is required and time is required for manual check and printer output operation for reprinting.
これらの問題に対し、プリンタの印字ヘッドにバーコードセンサを取り付け、バーコード印刷した直後にバーコードを読み取り、チェックできるようにしたバーコード印刷方式が特許文献1に開示されている。特許文献1に開示のバーコード印刷方式は、上記チェックの結果誤りが検出された場合には、自動的にそのバーコード上に重ね印刷して修正し、正しく印刷されたバーコードのみを出力するようにしている。
To solve these problems,
他方、インクジェットプリンタの印字部を印刷モジュールとしてモジュール化したユニバーサルインクジェット(UIJ)が知られている。印刷モジュールとして、印字ヘッド、キャリッジ、ヘッド維持部、インク供給部、キャリッジ駆動部等がある。 On the other hand, universal ink jet (UIJ) is known in which a printing unit of an ink jet printer is modularized as a printing module. Examples of the print module include a print head, a carriage, a head maintenance unit, an ink supply unit, and a carriage drive unit.
上記の各印刷モジュールと多様な印刷メディアに対応する搬送装置とを組み合わせることで構成された画像印刷システムが知られている。印刷メディアとして、例えば、洋服、Tシャツ、CD/DVD、クレジットカード、IDカード等が挙げられる。 2. Description of the Related Art An image printing system configured by combining each of the above printing modules and a conveying device that supports various printing media is known. Examples of print media include clothes, T-shirts, CD / DVDs, credit cards, ID cards, and the like.
そして、例えば、搬送装置にダンボールを搬送するベルトコンベアを適用することで、ベルトコンベア上を搬送するダンボールに対してバーコード等を印刷できるダンボールプリンタが既に知られている。 For example, a cardboard printer that can print a barcode or the like on a cardboard that is transported on the belt conveyor by applying a belt conveyor that transports the cardboard to the transport device is already known.
ここで、インクジェットプリンタにおける印刷システムでは、印刷精度を確保するため、印刷媒体の表面と印刷ヘッドとの間のギャップ(以下「ヘッド間ギャップ」という。)を、吐出波形に応じた一定の距離に保つことが重要である。 Here, in a printing system in an ink jet printer, in order to ensure printing accuracy, a gap between the surface of the printing medium and the print head (hereinafter referred to as an “inter-head gap”) is set to a certain distance according to the ejection waveform. It is important to keep.
しかし、例えば上述したダンボールプリンタにおいてダンボールに印刷する場合、ダンボール表面の凹凸が大きく、ヘッド間ギャップを一定に保つことが難しい。また、内容物が梱包されているダンボール箱に印刷する場合のように、内容物の影響によりダンボール表面が湾曲するような場合も、同様である。 However, for example, when printing on a cardboard in the above-described cardboard printer, the corrugated cardboard surface is large and it is difficult to keep the gap between the heads constant. The same applies to the case where the cardboard surface is curved due to the influence of the contents, such as when printing on a cardboard box in which the contents are packed.
また、例えば、上述したダンボールプリンタにおいてベルトコンベアによりダンボールを搬送する場合などに発生する振動の影響により、所望の位置に精度よくインクを着弾させることは困難である。 In addition, for example, it is difficult to land ink at a desired position with high accuracy due to the influence of vibration generated when the cardboard printer transports the cardboard using a belt conveyor.
以上のように、ダンボールなど記録媒体の状態によりヘッド間ギャップを一定に保つことが困難であり、また印刷時に発生する振動の影響により印刷精度が大きく低下することで、印刷画像にズレや滲みが発生する。このため、例えば上述のダンボールのような印刷媒体にバーコードを印刷した場合に、印刷されたバーコードにズレや滲みが発生すると、印刷されたバーコードをバーコードリーダーで読み取ることができないという問題が発生する。 As described above, it is difficult to keep the gap between the heads constant depending on the state of the recording medium such as corrugated cardboard, and the printing accuracy is greatly reduced due to the influence of vibration generated during printing, so that the printed image is not displaced or blurred. Occur. For this reason, for example, when a barcode is printed on a printing medium such as the above-mentioned cardboard, if the printed barcode is misaligned or blurred, the printed barcode cannot be read by a barcode reader. Will occur.
特許文献1に開示されたバーコード印刷方式によれば、自分が印刷したバーコードを自分でチェックし、正常であればそのまま終了するが誤りがあれば重ね印刷の方法で正常化を図るので、処理効率の向上を図ることはできる。
According to the barcode printing method disclosed in
しかし、特許文献1に開示されたバーコード印刷方式では、記録媒体の状態によりヘッド間ギャップが変動した場合、読み取ることができないバーコードが印刷されてしまう。
However, in the barcode printing method disclosed in
本発明は、このような実情に鑑みてなされたものであって、記録媒体の状態によりヘッド間ギャップが変動した場合において、読み取り不良を起こすバーコードの印刷を防止する印刷装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and provides a printing apparatus that prevents bar code printing that causes reading failure when the gap between the heads varies depending on the state of the recording medium. Objective.
上記の課題を解決するため、本発明の印刷装置は、バーコードデータを記憶するバーコードデータ記憶手段と、バーコードデータ記憶手段に記憶されたバーコードデータに対応するバーコードを記録媒体に2以上印刷する第1の印刷手段と、第1の印刷手段により印刷された2以上のバーコードを読み取る読取手段と、読取手段により読み取られた2以上のバーコードに対応するバーコードデータのうち、バーコードデータ記憶手段に記憶されたバーコードデータに一致しないバーコードデータに対応する第1の印刷手段により印刷されたバーコードを不正バーコードと判定する判定手段と、判定手段により不正バーコードと判定されたバーコードを塗り潰す第2の印刷手段と、を備えることを特徴とする。 In order to solve the above problems, a printing apparatus according to the present invention includes a barcode data storage unit for storing barcode data, and a barcode corresponding to the barcode data stored in the barcode data storage unit. Of the first printing means for printing above, the reading means for reading two or more barcodes printed by the first printing means, and the barcode data corresponding to the two or more barcodes read by the reading means, A determination unit that determines that the barcode printed by the first printing unit corresponding to the barcode data that does not match the barcode data stored in the barcode data storage unit is an unauthorized barcode; And a second printing means for painting the determined barcode.
本発明によれば、記録媒体の状態によりヘッド間ギャップが変動した場合において、読み取り不良を起こすバーコードの印刷を防止することができる。 According to the present invention, it is possible to prevent bar code printing that causes reading failure when the gap between the heads varies depending on the state of the recording medium.
本発明の実施形態の印刷装置に関し以下図面を用いて説明するが、本発明の趣旨を越えない限り、何ら本実施形態に限定されるものではない。なお、各図中、同一又は相当する部分には同一の符号を付しており、その重複説明は適宜に簡略化乃至省略する。 A printing apparatus according to an embodiment of the present invention will be described below with reference to the drawings. However, the present invention is not limited to the present embodiment as long as the gist of the present invention is not exceeded. In addition, in each figure, the same code | symbol is attached | subjected to the part which is the same or it corresponds, The duplication description is simplified thru | or abbreviate | omitted suitably.
本発明は、概略的には、印刷装置としてのダンボールプリンタにおいてバーコード印刷を行うに際し、2つの印刷ヘッドの間にバーコードリーダーを設けた構成である。そして、1つ目の印刷ヘッドで印刷した複数個のバーコードをバーコードリーダーで読み取り確認を行う。その後、読み取れたバーコード以外を2つ目の印刷ヘッドで塗り潰すことを概略的な特徴とするものである。 The present invention generally has a configuration in which a barcode reader is provided between two print heads when performing barcode printing in a cardboard printer as a printing apparatus. A plurality of barcodes printed by the first print head are read and confirmed by a barcode reader. After that, it is a general feature that a portion other than the read barcode is painted with the second print head.
なお、本実施形態では、ダンボールプリンタに本発明を適用した例を説明しているが、本発明は記録媒体としてダンボールに印刷する構成に限定して適用されるものでなく、厚紙や布など、記録媒体の状態によりヘッド間ギャップが変動するものに適用されるものであってよい。これに伴い、印刷装置としても、ダンボールプリンタに限定されず、上述の厚紙や布等に印刷する印刷装置であってよい。 In the present embodiment, an example in which the present invention is applied to a corrugated cardboard printer is described.However, the present invention is not limited to a configuration for printing on a corrugated cardboard as a recording medium. The present invention may be applied to a case where the gap between the heads varies depending on the state of the recording medium. Accordingly, the printing apparatus is not limited to a cardboard printer, and may be a printing apparatus that prints on the above-described cardboard or cloth.
まず、従来のダンボールプリンタの概略構成について図7を参照して説明する。図7(a)は、従来からのダンボールプリンタ1の概略斜視図である。ダンボールプリンタによりバーコードを印刷する場合、例えば図の矢印Aで示す左奥方向(以下「搬送方向A」とする)から基台2の上部に設けられたベルトコンベアにより印刷媒体としてのダンボール箱Bが搬送される。そして、基台2の手前側に設けられた印刷部10まで搬送されたダンボール箱Bに印刷部10によりバーコードが印刷される。
First, a schematic configuration of a conventional cardboard printer will be described with reference to FIG. FIG. 7A is a schematic perspective view of a
次に、上述したダンボールプリンタ1の上面図を示す図7(b)を参照して、ダンボールプリンタ1についてさらに説明する。上述したように矢印Aはダンボール箱Bの搬送方向を示している。ダンボールプリンタ1は、大きく印刷部10、加圧ローラー11、及びベルトコンベア12で構成される。
Next, the
印刷部10は、搬送ガイド13と、画像形成のための印刷ヘッドを内部に格納したキャリッジ14と、ヘッドクリーニングを行うメンテナンス部15と、印刷ヘッドに供給するインクを格納したインクカートリッジ16と、印刷部を制御するコントローラ17と、印刷部に電力を供給する電源供給部18で構成されている。
The
加圧ローラー11は、印刷するダンボール箱の側面を印刷ヘッドに対して平行にするために、搬送されるダンボール箱Bをキャリッジ14側に押し付ける。搬送ガイド13は、加圧ローラー11によりキャリッジ14側に押し付けられたダンボール箱Bとキャリッジ14の接触を防止する。
The
次に、本実施形態にも適用される読取手段としてのバーコードリーダーの概略構成について図8を参照して説明する。図8(a)に示すように、バーコードリーダー20は、バーコードに対して赤外光やレーザー光を射出する光源部21と、バーコードからの反射光を受光しその明度を検知する受光部22で構成されている。
Next, a schematic configuration of a barcode reader as a reading unit applied also to the present embodiment will be described with reference to FIG. As shown in FIG. 8A, the
例えば、ダンボールに印刷されたバーコードを、バーコードリーダー20で読み取る手法について図8(b)を参照して説明する。
For example, a method of reading a barcode printed on a cardboard with the
ダンボールに印刷されたバーコードに対して光源部21から光波Sを射出し、その反射光Rの明度を受光部22で検知する。検知した明度が閾値よりも低い場合はスリットと判定され、高い場合はバーと判定される。スリット、バーをそれぞれ0/1で変換することでデジタル変換を行い、これを文字コード等に従ってキャラクタデータにデコードする。このデコードしたデータを本実施形態ではバーコードデータと呼ぶ。
A light wave S is emitted from the
例えば、ダンボールに印刷されたバーコードは、バーコードデータをエンコードし、0/1をそれぞれバー/スリットとして図7で示した印刷部10により印刷される。よって、印刷部10により印刷する際に使用したバーコードデータと、バーコードリーダー20により取得したバーコードデータが一致しない場合、そのバーコードは印刷の不備による不正なバーコードと判断できる。
For example, the barcode printed on the cardboard is encoded by the barcode data and printed by the
以下において、印刷する際に使用したバーコードデータとバーコードリーダー20により取得したバーコードデータとが一致するものを正常バーコードとし、両者が一致しないものを不正バーコードとして説明する。
In the following, a case where the barcode data used for printing and the barcode data acquired by the
本発明の実施形態のダンボールプリンタの概略構成について図1を参照して説明する。本実施形態のダンボールプリンタ100は、2つの加圧ローラー110と、搬送手段としてのベルトコンベア120と、第1の印刷手段としての前印刷部130と、第2の印刷手段としての後印刷部140と、読取手段としてのバーコードリーダー20で構成される。
A schematic configuration of a cardboard printer according to an embodiment of the present invention will be described with reference to FIG. The
前印刷部130及び後印刷部140は、ベルトコンベア120を介して加圧ローラー110にそれぞれ対向して配置される。バーコードリーダー20は、前印刷部130と後印刷部140との間に配置される。
The
なお、本実施形態においては、ベルトコンベア120の図示における左側を上流とした場合、前印刷部130が上流側に配置され、後印刷部140が下流側に配置されることになっている。
In the present embodiment, when the left side in the drawing of the
そして、前印刷部130は、例えばバーコードデータ記憶手段としてのRAM(Random Access Memory)等に記憶されたバーコードデータに対応するバーコードを記録媒体に2以上印刷する。バーコードリーダー20は、前印刷部130により印刷された2以上のバーコードを読み取る。後印刷部140は、後述する判定手段により不正バーコードと判定されたバーコードを塗り潰す。
Then, the
本実施形態のダンボールプリンタ100においては、まず前印刷部130により、ベルトコンベア120上を搬送されてきたダンボール箱に対して複数個のバーコードを印刷する。バーコードリーダー20で読み取り確認後、正常バーコードを1つ残し、他のバーコード、つまり不正バーコードを後印刷部140で塗り潰す。前印刷部130は複数のバーコードを印刷する際、ヘッドから吐出させるインクの吐出波形を変える機能を有するが詳細については後述する。
In the
次に、本実施形態における印刷装置のシステム構成について図2の制御ブロックを参照して説明する。本実施形態の印刷装置は、システム構成として、表示部301と、操作部302と、制御部303と、ROM(Read Only Memory)304と、RAM305と、画像処理部306と、エラー情報出力部307と、前印刷部130と、後印刷部140と、バーコードリーダー20で構成される。
Next, the system configuration of the printing apparatus according to the present embodiment will be described with reference to the control block of FIG. The printing apparatus of the present embodiment has a
表示部301は、ユーザーに対して、例えば後述するエラーメッセージのような各種メッセージを表示する。操作部302は、例えばユーザーがダンボール箱の印刷面幅を入力するためのキーボードやマウス等の入力手段である。
The
制御部303は、例えばバーコードリーダー20により読み取られた2以上のバーコードに対応するバーコードデータのうち、RAM305に記憶されたバーコードデータに一致しないバーコードデータに対応する前印刷部130により印刷されたバーコードを不正バーコードと判定する判定手段として機能する。
The
また、制御部303は、ダンボール箱の印刷面のサイズに応じて前印刷部130により印刷するバーコード数を設定する印刷バーコード数設定手段として機能する。
In addition, the
その他に、制御部303は、上述した表示部301、操作部302、ROM304、RAM305、画像処理部306、エラー情報出力部307、前印刷部130及び後印刷部140を制御する。
In addition, the
本実施形態において、ROM304を、前印刷部130とダンボール箱の印刷面との間のギャップに応じて設定された前印刷部130からインクを吐出させる吐出波形データを2種以上記憶する吐出波形記憶手段とする。前印刷部130は、RAM305に記憶されたバーコードデータに対応するバーコードをROM304に記憶された2種以上の吐出波形によりインクを吐出させることで複数印刷する。
In the present embodiment, the
RAM305は、後述するヘッド間ギャップ設定値、ダンボール印刷面幅設定値、バーコードデータ、バーコード画像、バーコード印刷数、印刷したバーコードの読取確認結果を格納する。本実施形態では、RAM305を便宜的にバーコードデータ記憶手段とする。なおRAM305はワークメモリ等として使用される。
The
画像処理部306は、ダンボール箱に印刷する画像、例えば本実施形態ではバーコードデータからバーコード画像を形成する。
The
エラー情報出力部307は、判定手段としての制御部303により、前印刷部130により印刷された複数のバーコード全てが不正バーコードと判定されたときエラー情報を出力する。エラー情報は、スピーカ等から音声により出力しても、ディスプレイ等にエラー画像を表示することにより出力してもよい。
The error
次に、本実施形態において設定されるヘッド間ギャップに対応する吐出波形データについて図3を参照して説明する。 Next, ejection waveform data corresponding to the gap between the heads set in the present embodiment will be described with reference to FIG.
例えばインクジェット式プリンタでは印刷精度を保つために、印刷ヘッドと記録媒体との間のギャップに応じて、最適となるインク吐出波形を用いて印刷を行う必要がある。本実施形態におけるダンボールプリンタ1では、複数のヘッド間ギャップにおいて、それぞれで最適となる吐出波形を予めROM304に記憶しておく。吐出波形は対応するヘッド間ギャップと紐付けられており、ヘッド間ギャップについて昇順にソートした状態で記憶されている。
For example, in order to maintain printing accuracy in an ink jet printer, it is necessary to perform printing using an optimal ink ejection waveform according to the gap between the print head and the recording medium. In the
そして、ダンボール箱の印刷面に印刷を行う際は、ヘッド間ギャップ設定で設定されているヘッド間ギャップと対応した吐出波形を用いて印刷を行う。またこれに加えて、そのヘッド間ギャップ付近の異なるヘッド間ギャップに対応した吐出波形を用いて印刷を行う。 And when printing on the printing surface of a cardboard box, it prints using the discharge waveform corresponding to the gap between heads set by the gap setting between heads. In addition to this, printing is performed using ejection waveforms corresponding to different gaps between the heads in the vicinity of the gap between the heads.
本図では、例えば吐出波形[1]はヘッド間ギャップ0〜0.5mmに対応して設定される吐出波形である。また、吐出波形[2]はヘッド間ギャップ0.5〜1.0mmに対応して設定される吐出波形である。さらに吐出波形[3]はヘッド間ギャップ1.0〜1.5mmに対応して設定される吐出波形である。 In this figure, for example, the discharge waveform [1] is a discharge waveform set corresponding to the gap between heads of 0 to 0.5 mm. Further, the discharge waveform [2] is a discharge waveform set corresponding to the gap between heads of 0.5 to 1.0 mm. Further, the discharge waveform [3] is a discharge waveform set corresponding to the gap between heads of 1.0 to 1.5 mm.
ヘッド間ギャップに応じて吐出波形を設定しておくことで、例えばダンボール箱印刷面の凹凸によりヘッド間ギャップが変動しても、変動したヘッド間ギャップにおいて適切なバーコード画像を印刷することができる。 By setting the ejection waveform according to the gap between the heads, even if the gap between the heads fluctuates due to, for example, irregularities on the cardboard box printing surface, an appropriate barcode image can be printed in the fluctuating gap between the heads. .
次に、本実施形態においてバーコード読取確認結果をRAM305に記憶する処理について図4を参照して説明する。本実施形態では、RAM305において、前印刷部130により印刷された複数のバーコードの読取確認結果として、正常バーコード又は不正バーコードを記憶する読取確認結果バッファを生成する。
Next, a process of storing the barcode reading confirmation result in the
まず、前印刷部130により印刷完了後、全てのバーコードを不正バーコードとしてバッファを生成する。次に、生成されたバッファに対して、バーコードリーダー20による読取確認結果をセットする。そして、後印刷部140は、読取確認結果がセットされたバッファを確認し、正常バーコードがセットされているバーコード以外、つまり不正バーコードを塗り潰し、生成したバッファを削除する。
First, after completion of printing by the
次に、本実施形態におけるバーコード印刷処理について図5を参照して説明する。図5(a)は本実施形態における前印刷部130によってダンボール箱の印刷面に印刷される複数のバーコードを示している。
Next, barcode printing processing in the present embodiment will be described with reference to FIG. FIG. 5A shows a plurality of barcodes printed on the printing surface of the cardboard box by the
前印刷部130により、ヘッドからインクを吐出するときの吐出波形を変えてダンボール箱の印刷面Dに複数個のバーコードを印刷する。ここでは、吐出波形1、吐出波形2、吐出波形4、吐出波形5で印刷したバーコードが読取不可となり、吐出波形3で印刷したバーコードが読取可となっている。なお、本図における印刷面Dの長手方向の印刷面幅をD1とし、バーコードの横幅をB1とする。
The
図5(b)は本実施形態における後印刷部140によって不正バーコードが塗り潰された後のダンボール箱の印刷面Dを示している。
FIG. 5B shows the printing surface D of the cardboard box after the illegal barcode is filled by the
前印刷部130により印刷された複数のバーコードは、印刷された順にバーコードリーダー20により読取確認が行われる。このとき最初バーコードに正常と判断したバーコードをそのままに、他のバーコード、つまり不正バーコードを後印刷部140により塗り潰す。
A plurality of barcodes printed by the
上述したように、本実施形態においては、印刷面Dに対して複数のバーコードを印刷する。このとき印刷するバーコード数は、印刷された複数のバーコード群が印刷面Dの左右両端をはみ出ないことを要する。そのため、印刷面幅D1をバーコードの横幅B1で除算した値を最大として設定されたバーコード印刷数に応じた数が印刷されるものとする。 As described above, in the present embodiment, a plurality of barcodes are printed on the printing surface D. The number of barcodes to be printed at this time requires that a plurality of printed barcode groups do not protrude from the left and right ends of the printing surface D. For this reason, it is assumed that the number corresponding to the number of barcode printing set with the maximum value obtained by dividing the printing surface width D1 by the horizontal width B1 of the barcode is printed.
すなわち、本実施形態においては、印刷バーコード数設定手段としての制御部303においてダンボール箱の印刷面のサイズに応じて前印刷部130により印刷するバーコード数を設定する。
In other words, in the present embodiment, the number of barcodes to be printed by the
次に、本実施形態におけるバーコード印刷処理手順について図6のフローチャートを参照して説明する。 Next, the barcode printing processing procedure in this embodiment will be described with reference to the flowchart of FIG.
まず、ユーザーは印刷処理を実行する前に、操作部302よりダンボール印刷面幅D1及び印刷バーコード数を設定する(ステップS1)。そして、RAM305に印刷するバーコードデータを読み込ませる(ステップS2)。 First, before executing the printing process, the user sets the cardboard printing surface width D1 and the number of printing barcodes from the operation unit 302 (step S1). Then, the barcode data to be printed is read into the RAM 305 (step S2).
次に、画像処理部306により、バーコードデータに基づいてバーコード画像が形成され、RAM305に記憶される(ステップS3)。
Next, the
制御部303は、予めユーザーにより設定され、RAM305に記憶されているバーコード印刷数設定の設定値を取得する。制御部303は、バーコード印刷数の設定がされていない場合、ダンボール印刷面幅D1をバーコードの横幅B1で除算した値をバーコード印刷数として使用する(ステップS4)。
The
次に、前印刷部130は印刷時に使用するインクの吐出波形をROM304から取得する(ステップS5)。そして、前印刷部130により印刷面Dの所定の位置に、設定されたバーコード印刷数に達するまで、バーコード画像を印刷する(ステップS6)。バーコード画像の印刷は、取得した複数の吐出波形を切り換えて、それぞれの吐出波形によるインクの吐出により行う。バーコード印刷数に満たないときは(ステップS7、YES)、ステップS5からの処理を繰り返す。
Next, the
設定されたバーコード印刷数に達したとき(ステップS7、NO)、次に、前印刷部130により印刷したバーコードをバーコードリーダー20で1つずつ読み取る。(ステップS8)。
When the set barcode printing number is reached (step S7, NO), the barcode printed by the
そして、読み取ったバーコードの読取バーコードデータと前印刷部130により印刷したバーコードのバーコードデータが一致しなかった場合で(ステップS9、NO)、バーコードリーダー20で読み取ったバーコードが設定されたバーコード印刷数に満たないとき(ステップS11、YES)、ステップS8へ戻り、次のバーコードを読み取る。
If the read barcode data of the read barcode does not match the barcode data of the barcode printed by the pre-printing unit 130 (step S9, NO), the barcode read by the
一方、読み取ったバーコードの読取バーコードデータと前印刷部130により印刷したバーコードのバーコードデータが一致した場合で(ステップS9、YES)、一致したバーコードデータに対応するバーコードを正常バーコードとして設定する(ステップS10)。 On the other hand, when the read barcode data of the read barcode matches the barcode data of the barcode printed by the pre-printing unit 130 (step S9, YES), the barcode corresponding to the matched barcode data is displayed as a normal barcode. Set as a code (step S10).
その後、読取可能なバーコードがあるとき(ステップS12、YES)、後印刷部140で正常バーコード以外、つまり不正バーコードを塗り潰す(ステップS13)。他方、読取可能なバーコードがないとき(ステップS12、NO)、全ての不正バーコード塗り潰し、エラー情報出力部307によりエラー情報を出力する。例えば、表示部301にバーコード印刷失敗のエラーメッセージを表示する(ステップS14)。
Thereafter, when there is a readable barcode (step S12, YES), the
なお、上述する各実施の形態は、本発明の好適な実施の形態であり、本発明の要旨を逸脱しない範囲内において種々変更実施が可能である。例えば、上述した本実施形態の印刷装置における各処理を、ハードウェア、又は、ソフトウェア、あるいは、両者の複合構成を用いて実行することも可能である。 Each of the above-described embodiments is a preferred embodiment of the present invention, and various modifications can be made without departing from the scope of the present invention. For example, each process in the printing apparatus of the present embodiment described above can be executed using hardware, software, or a combined configuration of both.
また、ソフトウェアを用いて処理を実行する場合には、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれているコンピュータ内のメモリにインストールして実行させることが可能である。あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。 When executing processing using software, it is possible to install and execute a program in which a processing sequence is recorded in a memory in a computer incorporated in dedicated hardware. Alternatively, the program can be installed and executed on a general-purpose computer capable of executing various processes.
一方、本発明は、本実施形態のように前印刷部130と後印刷部140を、両者間の距離を空けて搬送手段に取り付け、バーコード印刷を行った後、バーコードリーダー20により印刷結果を読み取り、不正バーコードに対して塗り潰し印刷を行うことに限定されない。
On the other hand, according to the present invention, the
例えば、所定の駆動装置により前印刷部と後印刷部を時間順に入れ替える構成により、先に前印刷部でバーコード印刷を行い、バーコードリーダーで印刷結果を読み取った後、前印刷部と後印刷部を入れ替え、後印刷部により不正バーコードを塗り潰す処理を行ってもよい。また、前印刷部、後印刷部、バーコードリーダーを一体構成とし、所定の制御プログラムによってこれらを時間順に制御して同様の処理を行ってもよい。 For example, with a configuration in which the pre-printing unit and the post-printing unit are switched in time order by a predetermined driving device, barcode printing is first performed by the pre-printing unit, and the printing result is read by the barcode reader, and then the pre-printing unit and post-printing The parts may be replaced, and the post-printing unit may fill in the illegal barcode. Alternatively, the pre-printing unit, the post-printing unit, and the barcode reader may be integrated, and similar processing may be performed by controlling them in time order by a predetermined control program.
例えば、前印刷部と後印刷部を同じ印刷部とし、バーコード印刷によるインク吐出プログラムを実行してバーコード印刷を行わせ、バーコードリーダーで印刷結果を読み取った後、塗り潰しプログラムを実行して塗り潰し印刷を行わせることとしてもよい。 For example, the pre-printing part and the post-printing part are the same printing part, and the barcode printing is executed by executing an ink ejection program by barcode printing. After the printing result is read by the barcode reader, the filling program is executed. It is also possible to perform solid printing.
1、100 ダンボールプリンタ
11、110 加圧ローラー
12、120 ベルトコンベア
20 バーコードリーダー
21 光源部
22 受光部
130 前印刷部
140 後印刷部
301 表示部
302 操作部
303 制御部
304 ROM
305 RAM
306 画像処理部
307 エラー情報出力部
DESCRIPTION OF SYMBOLS 1,100 Corrugated cardboard printer 11,110 Pressure roller 12,120
305 RAM
306
Claims (6)
前記バーコードデータ記憶手段に記憶されたバーコードデータに対応するバーコードを記録媒体に2以上印刷する第1の印刷手段と、
前記第1の印刷手段により印刷された2以上のバーコードを読み取る読取手段と、
前記読取手段により読み取られた2以上のバーコードに対応するバーコードデータのうち、前記バーコードデータ記憶手段に記憶されたバーコードデータに一致しないバーコードデータに対応する前記第1の印刷手段により印刷されたバーコードを不正バーコードと判定する判定手段と、
前記判定手段により不正バーコードと判定されたバーコードを塗り潰す第2の印刷手段と、
を備えることを特徴とする印刷装置。 Barcode data storage means for storing barcode data;
First printing means for printing two or more barcodes corresponding to barcode data stored in the barcode data storage means on a recording medium;
Reading means for reading two or more barcodes printed by the first printing means;
Of the barcode data corresponding to two or more barcodes read by the reading means, the first printing means corresponding to the barcode data that does not match the barcode data stored in the barcode data storage means Determination means for determining the printed barcode as an unauthorized barcode;
Second printing means for painting a barcode determined to be an unauthorized barcode by the determination means;
A printing apparatus comprising:
前記第1の印刷手段は、前記バーコードデータ記憶手段に記憶されたバーコードデータに対応するバーコードを前記吐出波形記憶手段に記憶された2種以上の吐出波形によりインクを吐出させることで複数印刷することを特徴とする請求項1記載の印刷装置。 An ejection waveform storage means for storing two or more ejection waveforms for ejecting ink from the first printing means set according to the gap between the first printing means and the recording medium;
The first printing unit is configured to eject a plurality of barcodes corresponding to the barcode data stored in the barcode data storage unit using two or more types of ejection waveforms stored in the ejection waveform storage unit. The printing apparatus according to claim 1, wherein printing is performed.
前記記憶部に記憶されたバーコードデータに対応するバーコードを記録媒体に2以上印刷する工程と、
前記印刷された2以上のバーコードを読み取り、読取バーコードとして前記記憶部に記憶する工程と、
前記記憶部に記憶された2以上の読取バーコードに対応するバーコードデータのうち、前記記憶部に記憶された所期のバーコードデータに一致しないバーコードデータに対応する前記印刷されたバーコードを不正バーコードと判定する工程と、
前記不正バーコードと判定されたバーコードを塗り潰す工程と、
を備えることを特徴とする印刷制御方法。 Storing the desired barcode data in the storage unit;
Printing two or more barcodes corresponding to the barcode data stored in the storage unit on a recording medium;
Reading the two or more printed barcodes and storing them as read barcodes in the storage unit;
Of the barcode data corresponding to two or more read barcodes stored in the storage unit, the printed barcode corresponding to barcode data that does not match the intended barcode data stored in the storage unit Deciding that is an illegal barcode,
Painting the barcode determined to be the unauthorized barcode;
A printing control method comprising:
前記記憶部に記憶されたバーコードデータに対応するバーコードを記録媒体に2以上印刷させるよう印刷手段を制御する処理と、
前記印刷された2以上のバーコードを読取手段に読み取らせ、前記読取手段に読み取らせたバーコードを読取バーコードとして前記記憶部に記憶する処理と、
前記記憶部に記憶された2以上の読取バーコードに対応するバーコードデータのうち、前記記憶部に記憶された所期のバーコードデータに一致しないバーコードデータに対応する前記印刷されたバーコードを不正バーコードと判定する処理と、
前記不正バーコードと判定されたバーコードを塗り潰すよう前記印刷手段を制御する処理と、
をコンピュータに実行させることを特徴とするプログラム。 Processing to store the desired barcode data in the storage unit;
A process for controlling the printing means so that two or more barcodes corresponding to the barcode data stored in the storage unit are printed on a recording medium;
A process of causing the reading unit to read the two or more printed barcodes, and storing the barcode read by the reading unit in the storage unit as a reading barcode;
Of the barcode data corresponding to two or more read barcodes stored in the storage unit, the printed barcode corresponding to barcode data that does not match the intended barcode data stored in the storage unit The process of determining the
A process for controlling the printing means to fill the barcode determined to be the unauthorized barcode;
A program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013231282A JP2015090669A (en) | 2013-11-07 | 2013-11-07 | Printer, print control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013231282A JP2015090669A (en) | 2013-11-07 | 2013-11-07 | Printer, print control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015090669A true JP2015090669A (en) | 2015-05-11 |
Family
ID=53194142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013231282A Pending JP2015090669A (en) | 2013-11-07 | 2013-11-07 | Printer, print control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015090669A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111846458A (en) * | 2020-07-14 | 2020-10-30 | 欧力德(苏州)物流系统工程有限公司 | Full-automatic carton wrapping system and using method thereof |
-
2013
- 2013-11-07 JP JP2013231282A patent/JP2015090669A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111846458A (en) * | 2020-07-14 | 2020-10-30 | 欧力德(苏州)物流系统工程有限公司 | Full-automatic carton wrapping system and using method thereof |
CN111846458B (en) * | 2020-07-14 | 2021-09-28 | 欧力德(苏州)物流系统工程有限公司 | Full-automatic carton wrapping system and using method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8646866B2 (en) | Recording apparatus, recording method, program, and computer system | |
US9235784B2 (en) | Media processing device and method of controlling a media processing device | |
JP2011146837A (en) | Optical reading device, and control method and control program for the same | |
JP2008149650A (en) | Printer | |
JP2011146849A (en) | Optical reader, method of controlling the same, and program | |
US11077683B2 (en) | Image forming apparatus and storage medium | |
US20110242173A1 (en) | Method of printing a barcode using a line printhead, and a printing | |
JP2003145734A (en) | Bar code recorder | |
JP2015090669A (en) | Printer, print control method, and program | |
JP6540387B2 (en) | Printing apparatus control method and printing apparatus | |
JP6111901B2 (en) | Liquid ejection apparatus, liquid ejection method, and program used for the liquid ejection apparatus | |
JP2006198924A (en) | Inkjet recorder, control method, program, and recording medium | |
JP2018069603A (en) | Inkjet printing device | |
JP2014046459A (en) | Electronic apparatus, and control method for the electronic device | |
JP2019098719A (en) | Ink jet recording device and recording method | |
JP2019185590A (en) | Bar code generation device and bar code generation method | |
US11235569B2 (en) | Inkjet recording apparatus and recording method | |
JP7243293B2 (en) | Printer and program | |
JP2012035602A (en) | Recorder, recording system, and recording module | |
JP2006123238A (en) | Recorder | |
JP2018144263A (en) | Recording device and recording method | |
JP2009282692A (en) | Bar code generation system and bar code generation program | |
JP2014054791A (en) | Inkjet recording device and inkjet recording method | |
JP2014079979A (en) | Recorder and discharge failure detection method | |
JP2021066088A (en) | Recording apparatus |