JP7173534B2 - printer - Google Patents

printer Download PDF

Info

Publication number
JP7173534B2
JP7173534B2 JP2018169204A JP2018169204A JP7173534B2 JP 7173534 B2 JP7173534 B2 JP 7173534B2 JP 2018169204 A JP2018169204 A JP 2018169204A JP 2018169204 A JP2018169204 A JP 2018169204A JP 7173534 B2 JP7173534 B2 JP 7173534B2
Authority
JP
Japan
Prior art keywords
printing
label
print
information
verification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018169204A
Other languages
Japanese (ja)
Other versions
JP2020040283A (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.)
Teraoka Seiko Co Ltd
Original Assignee
Teraoka Seiko Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Teraoka Seiko Co Ltd filed Critical Teraoka Seiko Co Ltd
Priority to JP2018169204A priority Critical patent/JP7173534B2/en
Publication of JP2020040283A publication Critical patent/JP2020040283A/en
Application granted granted Critical
Publication of JP7173534B2 publication Critical patent/JP7173534B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Feeding Of Articles By Means Other Than Belts Or Rollers (AREA)

Description

本発明は、印刷装置に関する。 The present invention relates to printing devices.

ラベルプリンタは、ラベルロールにおけるラベル部分に印刷を行い、ラベル部分を切り離したり剥がしたりして使用する。ラベルプリンタでは、印刷不良等が生じて印字がかすれたり消えたりして読めなくなると、不具合が生じる。従来、ラベル画像を印刷して印刷不良を検出する検査装置がある(例えば、特許文献1参照)。 A label printer prints on a label portion of a label roll, and is used by separating or peeling off the label portion. In label printers, problems occur when printing is faint or disappears due to poor printing or the like, making it unreadable. 2. Description of the Related Art Conventionally, there is an inspection device that prints a label image and detects printing defects (see, for example, Patent Document 1).

特開2013-151129号公報JP 2013-151129 A

従来の装置では、ラベル画像を検査する検査部が設けられているが、読取環境について考慮されておらず、安定した読取環境の下で精度のよい検証を行うことが難しかった。 Conventional apparatuses are provided with an inspection unit for inspecting label images, but the reading environment is not taken into consideration, making it difficult to perform accurate verification under a stable reading environment.

本発明が解決しようとする課題は、精度のよい検証を行うことができる印刷装置を提供することである。 A problem to be solved by the present invention is to provide a printing apparatus capable of performing accurate verification.

上述した課題を解決するために、本発明の一態様である印刷装置は、媒体に印刷する印刷手段と、印刷された媒体の印刷結果を読み取る読取手段と、前記読取手段と対向する位置で前記媒体が搬送される搬送路と、前記読取手段が前記搬送路に近接する際に前記搬送路と前記読取手段との距離が一定となるように、前記搬送路を変位可能に支持する支持手段と、を備えることを特徴とする。 In order to solve the above-described problems, a printing apparatus according to one aspect of the present invention includes: printing means for printing on a medium; reading means for reading a print result of the printed medium; a transport path along which a medium is transported; and support means for displaceably supporting the transport path so that the distance between the transport path and the reading means is constant when the reading means approaches the transport path . , is provided.

上記構成によれば、精度のよい検証を行うことができる。 According to the above configuration, accurate verification can be performed.

上記構成において、前記読取手段と同側面に備えられ、前記搬送路の二点以上を押圧した場合に、前記搬送路と前記読取手段との距離を一定にする固定手段を備えるようにしてもよい。 In the above-described configuration, fixing means may be provided on the same side as the reading means and set to keep the distance between the conveying path and the reading means constant when two or more points on the conveying path are pressed. .

上記構成によれば、精度のよい検証を行うことができる。 According to the above configuration, accurate verification can be performed.

上記構成において、前記読取手段の読取面よりも前記搬送路側かつ前記搬送路の接触面よりも前記読取手段側に、前記媒体の搬送を規制する規制手段を備えるようにしてもよい。 In the above configuration, a regulating means for regulating conveyance of the medium may be provided on the transport path side of the reading surface of the reading means and on the reading means side of the contact surface of the transport path.

上記構成によれば、精度のよい検証を行うことができる。 According to the above configuration, accurate verification can be performed.

上記構成において、前記読取手段は、四方を前記固定手段及び前記規制手段によって囲まれているようにしてもよい。 In the above configuration, the reading means may be surrounded on all sides by the fixing means and the restricting means.

上記構成によれば、読取手段に対する光の入射や読取手段からの光の漏れを抑制できる。 According to the above configuration, it is possible to suppress the incidence of light on the reading means and the leakage of light from the reading means.

上記構成において、前記読取手段が読み取った印刷結果と、前記印刷結果と比較するための印刷基準と、を比較する比較手段と、を備え、前記読取手段は、前記印刷手段による印刷中の媒体の印刷結果を読み取るようにしてもよい。 In the above configuration, there is provided a comparison means for comparing the print result read by the reading means with a printing reference for comparison with the print result, wherein the reading means compares the medium being printed by the printing means. The printed result may be read.

上記構成によれば、柔軟な設定に基づく印刷不良の検証を行うことができる。 According to the above configuration, printing defects can be verified based on flexible settings.

上記構成において、前記比較手段による比較結果を出力する出力手段を備え、前記出力手段は、前記比較結果が基準を満たさない結果である場合に、比較結果が基準を満たさない印刷結果を出力するようにしてもよい。 In the above configuration, output means for outputting a comparison result by the comparison means is provided, and the output means outputs a print result in which the comparison result does not satisfy the criteria when the comparison result does not satisfy the criteria. can be

上記構成によれば、印刷不良の内容を分かりやすくできる。 According to the above configuration, it is possible to easily understand the content of the printing failure.

上記印刷装置において、前記比較手段による比較結果が基準を満たさない結果である場合に、印刷を停止する停止設定と、印刷を継続し、比較結果が基準を満たさない結果となった媒体の情報を記憶する記憶設定と、を切り替える設定切替手段を備えるようにしてもよい。 In the above printing apparatus, when the comparison result by the comparison means does not satisfy the standard, the stop setting for stopping printing, and the information of the medium whose comparison result does not satisfy the standard after continuing printing. A setting switching means for switching between the stored settings and the stored settings may be provided.

上記構成によれば、柔軟な設定に基づく印刷不良の検証を行うことができる。 According to the above configuration, printing defects can be verified based on flexible settings.

以上のように、精度のよい検証を行うことができる。 As described above, accurate verification can be performed.

実施形態に係るラベルプリンタの閉鎖状態の外観を示す斜視図である。1 is a perspective view showing the appearance of a closed state of a label printer according to an embodiment; FIG. 実施形態に係るラベルプリンタの開放状態の外観を示す斜視図である。1 is a perspective view showing the appearance of a label printer according to an embodiment in an open state; FIG. 実施形態に係るラベルプリンタの概略を示す図である。1 is a schematic diagram of a label printer according to an embodiment; FIG. 実施形態に係るラベルプリンタにおけるラベル検出センサの斜視図である。4 is a perspective view of a label detection sensor in the label printer according to the embodiment; FIG. 実施形態に係るラベルプリンタの排出口近傍の分解図である。3 is an exploded view of the vicinity of the outlet of the label printer according to the embodiment; FIG. 実施形態に係るラベルプリンタの構成例を示すブロック図である。1 is a block diagram showing a configuration example of a label printer according to an embodiment; FIG. 制御装置の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the control device; 印刷情報に応じた印刷結果の一例を示す図である。FIG. 10 is a diagram showing an example of a print result according to print information; 印刷情報に応じた印刷文字の印刷前のラベルの一例を示す図である。FIG. 4 is a diagram showing an example of a label before printing of print characters according to print information; 印刷情報にスキャンエリアを設定した状態の説明図である。FIG. 10 is an explanatory diagram of a state in which a scan area is set in print information; 印刷情報に検証エリアを設定した状態の説明図である。FIG. 10 is an explanatory diagram of a state in which a verification area is set in print information; スキャンエリアと検証エリアの相対位置関係を示す図である。FIG. 4 is a diagram showing the relative positional relationship between a scan area and a verification area; 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG. 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG. 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG. 制御装置の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the control device; 制御装置の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the control device; 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG. 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG. 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG. 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG. 制御装置の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the control device; 表示装置15の表示の一例を示す図である。3 is a diagram showing an example of display on a display device 15; FIG.

以下、本発明の実施形態について図面を参照して説明する。図1は、実施形態に係るラベルプリンタの閉鎖状態の外観を示す斜視図、図2は、その開放状態の外観を示す斜視図、図3は、実施形態に係るラベルプリンタの概略を示す図、図4は、実施形態に係るラベルプリンタにおけるラベル検出センサの斜視図、図5は、実施形態に係るラベルプリンタの排出口近傍の分解図である。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings. 1 is a perspective view showing the appearance of the closed state of the label printer according to the embodiment, FIG. 2 is a perspective view showing the appearance of the open state, and FIG. 3 is a schematic diagram of the label printer according to the embodiment. FIG. 4 is a perspective view of the label detection sensor in the label printer according to the embodiment, and FIG. 5 is an exploded view near the discharge port of the label printer according to the embodiment.

図1~図3に示すように、ラベルプリンタ1は、筐体10を備えている。ラベルプリンタ1は、上部ユニット11と下部ユニット12を備えており、上部ユニット11における筐体上部10Aの一端片(後方下端片)と下部ユニット12における筐体下部10Bの一端片(後方上端片)とが、図示しないヒンジ機構によって接続されている。このため、筐体10の前方において、上部ユニット11が下部ユニット12に対して上下動可能とされ、筐体10は、図1に示す閉鎖状態と図2に示す開放状態となることができる。 As shown in FIGS. 1 to 3, the label printer 1 has a housing 10. As shown in FIG. The label printer 1 includes an upper unit 11 and a lower unit 12. One end piece (rear lower end piece) of the upper housing portion 10A in the upper unit 11 and one end piece (rear upper end piece) of the lower housing portion 10B in the lower unit 12. are connected by a hinge mechanism (not shown). Therefore, in front of the housing 10, the upper unit 11 can be vertically moved with respect to the lower unit 12, and the housing 10 can be in the closed state shown in FIG. 1 and the open state shown in FIG.

下部ユニット12は、図示しないロック機構を備えており、上部ユニット11は、ロック機構にロックされる爪部を備えている。上部ユニット11に設けられた爪部が下部ユニット12ロック機構にロックされることにより、上部ユニット11は、下部ユニット12に拘束されて、ラベルプリンタ1が閉鎖状態となる。また、ロック機構によるロックを外すことにより、上部ユニット11が下部ユニット12から解放されて、ラベルプリンタ1が開放される。 The lower unit 12 has a locking mechanism (not shown), and the upper unit 11 has a pawl locked by the locking mechanism. By locking the claws provided on the upper unit 11 to the lower unit 12 locking mechanism, the upper unit 11 is restrained by the lower unit 12 and the label printer 1 is closed. Further, by unlocking the lock mechanism, the upper unit 11 is released from the lower unit 12 and the label printer 1 is opened.

上部ユニット11の上面には、本体キー14及び表示装置15が設けられている。本体キー14には、複数のキー(ボタン)が設けられている。本体キー14の各キーを押下操作することで、ラベルプリンタ1を適宜作動させることができる。例えば、本体キー14の左手前位置には、電源キー14A、操作開始キー14B、スタートキー14C等が設けられている。電源キー14Aが押下操作されることにより、ラベルプリンタ1の電源のON-OFFを切り替えることができる。また、操作開始キー14Bが押下操作されることにより、ラベル印刷(ラベル発行)の設定が開始される。また、スタートキー14Cが押下操作されることにより、ラベル印刷が開始される。操作開始キー14Bやスタートキー14Cに代えてまたは加えて、操作開始キー14Bやスタートキー14Cと同等の機能のキーが表示装置15に表示されてもよい。 A body key 14 and a display device 15 are provided on the upper surface of the upper unit 11 . The main body key 14 is provided with a plurality of keys (buttons). By depressing each key of the main body keys 14, the label printer 1 can be appropriately operated. For example, a power key 14A, an operation start key 14B, a start key 14C, and the like are provided on the front left side of the main body keys 14 . By pressing the power key 14A, the power of the label printer 1 can be switched between ON and OFF. Further, by pressing the operation start key 14B, setting of label printing (label issuing) is started. Label printing is started by pressing the start key 14C. Instead of or in addition to the operation start key 14B and the start key 14C, keys having functions equivalent to those of the operation start key 14B and the start key 14C may be displayed on the display device 15 .

表示装置15は、液晶表示器にタッチパネルが積層された構造となっており、同一面で表示と入力とができるようになっている。タッチパネルは、例えば、液晶表示器に表示されたプレビュー画像(印字イメージ)をタッチすることで、プレビュー画像中のタッチした位置に応じた情報を指定可能である。 The display device 15 has a structure in which a touch panel is laminated on a liquid crystal display device, so that display and input can be performed on the same surface. For example, by touching a preview image (print image) displayed on a liquid crystal display, the touch panel can designate information corresponding to the touched position in the preview image.

図2に示すように、下部ユニット12の内側には、ロール収容部16が設けられている。ロール収容部16には、ラベル留め17A及びラベルホルダ17Bが設けられている。ロール収容部16には、図3に示すように、ラベルロールLRが収容されている。ラベルロールLRは、長尺の帯状台紙にラベル用紙(ラベル)が一定間隔をおいて剥離可能に貼着されロール状に巻かれて構成されている。ラベルロールLRは、ラベル印刷時にラベル留め17Aにセットされ、ラベルホルダ17Bによって支持される。ロール状に巻かれたラベルロールLRからは、ラベルシートLSが前方に送り出される。以下の説明において、ラベルシートLSが送り出される前方側を下流側ということがある。 As shown in FIG. 2, a roll storage section 16 is provided inside the lower unit 12 . The roll storage section 16 is provided with a label holder 17A and a label holder 17B. A label roll LR is accommodated in the roll accommodating portion 16 as shown in FIG. The label roll LR is configured by detachably attaching label paper (label) to a long band-shaped backing paper at regular intervals and winding the label paper into a roll shape. The label roll LR is set on the label holder 17A and supported by the label holder 17B during label printing. A label sheet LS is fed forward from the label roll LR wound in a roll shape. In the following description, the front side to which the label sheet LS is delivered is sometimes referred to as the downstream side.

ロール収容部16の下流側には、印刷手段となる印字部18が設けられている。印字部18は、サーマルヘッド(印字ヘッド)18Aとプラテンローラ18Bを備えている。サーマルヘッド18Aは、上部ユニット11に設けられ、プラテンローラ18Bは下部ユニット12に設けられており、サーマルヘッド18Aとプラテンローラ18Bは対向して配置されている。サーマルヘッド18AがラベルシートLSの上側に配置されていることから、ラベルシートLSの上面には、複数のラベル(媒体)が貼り付けられており、複数のラベルに対して、印刷情報に応じた内容の印刷が行われる。プラテンローラ18Bは、ステッピングモータ(駆動モータ)18C(図6参照)の駆動によって回転し、ラベルシートLSを前方に誘導している。ラベルシートLSは、サーマルヘッド18Aとプラテンローラ18Bの間に送り出される。 A printing unit 18 serving as printing means is provided on the downstream side of the roll storage unit 16 . The printing unit 18 includes a thermal head (printing head) 18A and a platen roller 18B. The thermal head 18A is provided in the upper unit 11, the platen roller 18B is provided in the lower unit 12, and the thermal head 18A and the platen roller 18B are arranged to face each other. Since the thermal head 18A is arranged above the label sheet LS, a plurality of labels (medium) are attached to the upper surface of the label sheet LS. Content is printed. The platen roller 18B is rotated by a stepping motor (driving motor) 18C (see FIG. 6) to guide the label sheet LS forward. The label sheet LS is sent out between the thermal head 18A and the platen roller 18B.

印字部18の下流側には、ラベル検出センサ19が設けられている。ラベル検出センサ19は、上部ユニット11に設けられている。ラベル検出センサ19は、ラベルシートLSの上面側に配置されており、ラベルシートLSの上面に貼付された、印刷されたラベルの印刷結果を読み取る読取手段となる。 A label detection sensor 19 is provided downstream of the printing unit 18 . A label detection sensor 19 is provided in the upper unit 11 . The label detection sensor 19 is arranged on the upper surface side of the label sheet LS, and serves as reading means for reading the print result of the printed label attached to the upper surface of the label sheet LS.

図4にも示すように、ラベル検出センサ19は、ラインセンサ19Aを備える。ラインセンサ19Aは、長尺状をなしており、その長手方向がラベルシートLSの搬送方向に直交する方向を向いて配置されている。以下、ラインセンサ19Aの下におけるラベルシートLSの搬送方向を「y方向」、ラベルシートLS上において「y方向」に直交する方向を「x方向」ということがある。ラインセンサ19Aは、例えば、光電変換素子が一列に配列されたイメージセンサを備えるラインセンサからなり、一次元的な画像を得ることができる。 As also shown in FIG. 4, the label detection sensor 19 includes a line sensor 19A. The line sensor 19A has an elongated shape and is arranged so that its longitudinal direction faces a direction orthogonal to the conveying direction of the label sheet LS. Hereinafter, the conveying direction of the label sheet LS under the line sensor 19A is sometimes referred to as the "y direction", and the direction orthogonal to the "y direction" on the label sheet LS is sometimes referred to as the "x direction". The line sensor 19A is, for example, a line sensor having an image sensor in which photoelectric conversion elements are arranged in a line, and can obtain a one-dimensional image.

ラインセンサ19Aの左右両端部には、それぞれ左ブラケット19B及び右ブラケット19Cが固定されており、ラインセンサ19Aは、左ブラケット19B及び右ブラケット19Cをそれぞれ介して筐体10の上部ユニット11に取り付けられている。さらに、ラインセンサ19Aの上流側及び下流側には、それぞれ上流側押え軸19D及び下流側押え軸19Eが設けられている。上流側押え軸19D及び下流側押え軸19Eは、いずれも断面円形状の長尺状(円筒形状)をなし、その両端部がそれぞれ左ブラケット19B及び右ブラケット19Cに取り付けられ、ラインセンサ19Aと略平行に配置されている。左ブラケット19B及び右ブラケット19Cは、ラインセンサ19Aと同側面(上側面)に備えられている。 A left bracket 19B and a right bracket 19C are fixed to the left and right ends of the line sensor 19A, respectively, and the line sensor 19A is attached to the upper unit 11 of the housing 10 via the left bracket 19B and the right bracket 19C, respectively. ing. Furthermore, an upstream presser shaft 19D and a downstream presser shaft 19E are provided upstream and downstream of the line sensor 19A, respectively. Both the upstream presser shaft 19D and the downstream presser shaft 19E are elongated (cylindrical) with a circular cross section, and both ends thereof are attached to the left bracket 19B and the right bracket 19C, respectively. arranged in parallel. The left bracket 19B and the right bracket 19C are provided on the same side (upper side) as the line sensor 19A.

図5にも示すように、左ブラケット19Bは、いずれも下端片の両端部が曲線状とされた板状をなしており、その直線部分が、搬送されるラベルシートLSと略平行となるようにされている。右ブラケット19Cも左ブラケット19Bと同様の形状をなしている。左ブラケット19B及び右ブラケット19Cの下端部は、上流側押え軸19D及び下流側押え軸19Eの下端部よりもわずかに、例えば5mm程度ラベルシートLS側に突出している。ラインセンサ19Aは、これらの左ブラケット19B、右ブラケット19C、上流側押え軸19D及び下流側押え軸19Eによって、四方を囲まれている。 As shown in FIG. 5, the left bracket 19B has a plate-like shape with both ends of the lower end piece being curved, and the straight portion thereof is arranged substantially parallel to the conveyed label sheet LS. has been The right bracket 19C also has the same shape as the left bracket 19B. The lower ends of the left bracket 19B and the right bracket 19C protrude slightly, for example, about 5 mm toward the label sheet LS than the lower ends of the upstream presser shaft 19D and the downstream presser shaft 19E. The line sensor 19A is surrounded on all four sides by these left bracket 19B, right bracket 19C, upstream presser shaft 19D and downstream presser shaft 19E.

ラベル検出センサ19のさらに下流側には、カッタ20が設けられている。カッタ20は、筐体10における上部に固定されている。ラベルシートLSの先端等を作業者が手で持って、ラベルシートLSの長手方向途中部分をカッタ20に押し付けながら引っ張ることにより、カッタ20によってラベルシートLSRが切断される。 A cutter 20 is provided downstream of the label detection sensor 19 . The cutter 20 is fixed to the upper part of the housing 10 . The label sheet LSR is cut by the cutter 20 when an operator holds the leading edge of the label sheet LS by hand and pulls the label sheet LS while pressing the middle portion of the label sheet LS against the cutter 20 .

下部ユニット12におけるプラテンローラ18Bの下流側には、ラベル検出センサ19と対向する位置でラベルシートLSに貼付されたラベルが搬送される搬送路である滑走板21が設けられている。筐体10の下部ユニット12における前端部には、ラベルシートLSに貼付されたラベルの移動を案内する案内用突出部22が形成されており、案内用突出部22の上方に滑走板21が配設されている。滑走板21は、摩擦力の小さい金属、例えばステンレスなどの材質で形成されているが、樹脂などの他の材質で形成されたものでもよい。また、滑走板21の形状、どのような形状でもよく、この例では、表面形状が平滑面とされているが、他の形状でもよい。例えば、y方向に沿った複数の溝が略均等幅をもって複数形成された形状であってもよい。 At the downstream side of the platen roller 18B in the lower unit 12, a sliding plate 21 is provided at a position facing the label detection sensor 19 as a conveying path along which the label attached to the label sheet LS is conveyed. At the front end of the lower unit 12 of the housing 10, a guide protrusion 22 for guiding the movement of the label attached to the label sheet LS is formed. is set. The sliding plate 21 is made of a metal having a small frictional force, such as stainless steel, but it may be made of another material such as resin. Moreover, the shape of the sliding plate 21 may be any shape, and in this example, the surface shape is a smooth surface, but other shapes are also possible. For example, it may have a shape in which a plurality of grooves are formed with substantially uniform widths along the y direction.

滑走板21と案内用突出部22との間には、スポンジ部材23が設けられている。スポンジ部材23は、滑走板21と案内用突出部22との間で、2枚設けられており、2枚のスポンジ部材23は、x方向に離間して配置されている。また、滑走板21及び案内用突出部22は、ラベル検出センサ19に向かい合って配置されている。スポンジ部材23は、滑走板21と案内用突出部22との間で押し潰された状態で配置されている。スポンジ部材23は膨張可能であり、スポンジ部材23が膨張することにより、滑走板21は、案内用突出部22に反力を取ってラベル検出センサ19側に付勢しながら、滑走板21を変位可能に支持している。 A sponge member 23 is provided between the sliding plate 21 and the guide protrusion 22 . Two sponge members 23 are provided between the sliding plate 21 and the guide protrusion 22, and the two sponge members 23 are spaced apart in the x direction. Also, the sliding plate 21 and the guide protrusion 22 are arranged to face the label detection sensor 19 . The sponge member 23 is arranged in a crushed state between the gliding plate 21 and the guide protrusion 22 . The sponge member 23 is expandable, and when the sponge member 23 expands, the sliding plate 21 displaces the sliding plate 21 while applying a reaction force to the guide protrusion 22 and urging it toward the label detection sensor 19 side. support possible.

ラベルプリンタ1の上部ユニット11と下部ユニット12を閉鎖状態とすると、ラベル検出センサ19の左ブラケット19B及び右ブラケット19Cの下端部の直線部分は、いずれも滑走板21に接触する。例えば、左ブラケット19Bの下端部の直線部分が滑走板21の左端を押圧して押し下げると、板形状の滑走板21の右端がその押圧力に作用され持ち上げられて右ブラケット19Cに接触し、左ブラケット19B及び右ブラケット19Cが固定手段として機能し、結果として左ブラケット19B及び右ブラケット19Cで滑走板21を固定することとなる。つまり、スポンジ部材23によって滑走板21のラベル接触面が変位可能に支持されていることにより、左ブラケット19Bと滑走板21との接触点を力点、右ブラケット19Cと滑走板21との接触点を作用点とするてこの原理が働き上記の固定を実現している。なお、スポンジ部材23に代えて又は加えてばねやゴムなどの他の弾性体を設けてもよい。 When the upper unit 11 and the lower unit 12 of the label printer 1 are closed, the linear portions at the lower ends of the left bracket 19B and the right bracket 19C of the label detection sensor 19 both come into contact with the sliding plate 21. FIG. For example, when the straight portion of the lower end of the left bracket 19B pushes down the left end of the sliding plate 21, the right end of the plate-shaped sliding plate 21 is acted on by the pressing force and lifted up to come into contact with the right bracket 19C. The bracket 19B and the right bracket 19C function as fixing means, and as a result, the sliding plate 21 is fixed by the left bracket 19B and the right bracket 19C. That is, since the label contact surface of the sliding plate 21 is displaceably supported by the sponge member 23, the point of contact between the left bracket 19B and the sliding plate 21 is the point of emphasis, and the point of contact between the right bracket 19C and the sliding plate 21 is This principle works as a point of action and realizes the above fixation. Instead of or in addition to the sponge member 23, another elastic body such as a spring or rubber may be provided.

左ブラケット19B及び右ブラケット19Cは、ラインセンサ19Aの長手方向両端部にそれぞれ配置されている。このため、滑走板21上でラベルシートLSを搬送する際、ラベルシートLSは、左ブラケット19Bと右ブラケット19Cとの間を搬送される。このため、左ブラケット19Bと右ブラケット19Cは、ラベルシートLSの搬送の邪魔にならない位置に配置されている。左ブラケット19Bと右ブラケット19Cは、ラベルシートLSの搬送の邪魔にならない位置に配置される場合には、他の位置、例えばラベルシートLSを2列で並べて搬送して、1本のラインセンサ19Aで画像の読取を行う場合に、ブラケットをラインセンサ19Aの長手方向中央に設けるようにしてもよい。 The left bracket 19B and the right bracket 19C are arranged at both ends in the longitudinal direction of the line sensor 19A. Therefore, when the label sheet LS is conveyed on the sliding plate 21, the label sheet LS is conveyed between the left bracket 19B and the right bracket 19C. Therefore, the left bracket 19B and the right bracket 19C are positioned so as not to interfere with the transport of the label sheet LS. When the left bracket 19B and the right bracket 19C are arranged at a position that does not interfere with the conveyance of the label sheet LS, they can be arranged at another position, for example, the label sheets LS are conveyed side by side in two rows, and the single line sensor 19A is detected. , the bracket may be provided at the center of the line sensor 19A in the longitudinal direction.

ラベルプリンタ1の上部ユニット11と下部ユニット12を開放状態とすると、左ブラケット19B及び右ブラケット19Cの下端部の直線部分と滑走板21とは離反する。このため、滑走板21は、左ブラケット19B及び右ブラケット19Cの押圧力から解放され、スポンジ部材23の付勢力によってラベル検出センサ19側に移動させられる。また、スポンジ部材23は、圧し潰された状態から膨張した状態となる。 When the upper unit 11 and the lower unit 12 of the label printer 1 are opened, the linear portions at the lower ends of the left bracket 19B and the right bracket 19C are separated from the sliding plate 21. As shown in FIG. Therefore, the sliding plate 21 is released from the pressing force of the left bracket 19B and the right bracket 19C, and is moved toward the label detection sensor 19 by the biasing force of the sponge member 23. As shown in FIG. Also, the sponge member 23 changes from the crushed state to the expanded state.

また、滑走板21に左ブラケット19B及び右ブラケット19Cが接触することにより、上流側押え軸19D及び下流側押え軸19Eと滑走板21との間には、小さな幅、ここでは5mm程度の隙間が形成される。このため、上流側押え軸19D及び下流側押え軸19Eは、ラインセンサ19Aの読取面よりも滑走板21側であり、かつ滑走板21の接触面よりもラインセンサ19A側に、滑走板21を搬送されるラベルシートLSの搬送を規制する規制手段となる。 Further, due to the contact of the left bracket 19B and the right bracket 19C with the sliding plate 21, a small gap of about 5 mm is formed between the upstream side pressing shaft 19D and the downstream side pressing shaft 19E and the sliding plate 21. It is formed. For this reason, the upstream presser shaft 19D and the downstream presser shaft 19E are located closer to the gliding plate 21 than the reading surface of the line sensor 19A and closer to the line sensor 19A than the contact surface of the gliding plate 21. It serves as a regulating means for regulating the conveyance of the conveyed label sheet LS.

カッタ20のさらに下流側には、排出口24が設けられている。排出口24は、筐体10の最前部に設けられており、筐体10内のラベルシートLSを筐体内部から外部に排出するための開口である。排出口24は、上部ユニット11の前方下端片と下部ユニット12の前方上端片とが切り欠かれて設けられている。ラベル検出センサ19は、印字部18と排出口24との間に配置されている。 A discharge port 24 is provided further downstream of the cutter 20 . The discharge port 24 is provided at the forefront of the housing 10, and is an opening for discharging the label sheet LS in the housing 10 from the inside of the housing to the outside. The discharge port 24 is provided by cutting out a front lower end piece of the upper unit 11 and a front upper end piece of the lower unit 12 . The label detection sensor 19 is arranged between the printing section 18 and the discharge port 24 .

図6は、実施形態に係るラベルプリンタの制御装置30の構成例を示すブロック図である。図6に示すように、ラベルプリンタ1の制御装置30は、CPU(Central Processing Unit)31、フラッシュメモリ32、RAM(Random Access Memory)33、表示・操作部34及びインターフェース回路35を備える。制御装置30には、インターフェース回路35を介して、サーマルヘッド18A、ステッピングモータ18C及びラベル検出センサ19に接続されている。 FIG. 6 is a block diagram showing a configuration example of the control device 30 of the label printer according to the embodiment. As shown in FIG. 6 , the control device 30 of the label printer 1 includes a CPU (Central Processing Unit) 31 , a flash memory 32 , a RAM (Random Access Memory) 33 , a display/operation section 34 and an interface circuit 35 . The controller 30 is connected to the thermal head 18A, the stepping motor 18C and the label detection sensor 19 via an interface circuit 35. FIG.

CPU31は、中央演算装置であり、フラッシュメモリ32に記憶されたプログラムを読み出して実行することにより、ラベルプリンタ1の動作を統括制御する。
フラッシュメモリ32は、CPU31の補助記憶装置であって、プログラムをはじめとしてCPU31が利用する各種の情報を記憶する。
The CPU 31 is a central processing unit, and reads and executes programs stored in the flash memory 32 to centrally control the operation of the label printer 1 .
The flash memory 32 is an auxiliary storage device for the CPU 31 and stores various information used by the CPU 31 including programs.

RAM33は、CPU31の主記憶装置である。RAM33は、一時的にデータを呼び出して処理するためのワークエリアであって、その中には、印刷データをドットデータに展開するドット展開エリア、ラベルフォーマットファイルから1つのフォーマットデータを呼び出して記憶する呼出フォーマットエリア、商品データ等を呼び出して記憶する呼出商品エリア等がある。また、RAM33には、ラベル印刷の印字のフォーマットが設定されたラベルフォーマットファイル、ラベル印刷用の各種商品データが設定された商品ファイル(印刷情報)等が記憶されており、電源オフ時も前記ファイルを保持するようにバッテリーでバックアップされている。 A RAM 33 is a main storage device of the CPU 31 . The RAM 33 is a work area for temporarily calling and processing data, and includes a dot development area for developing print data into dot data, and one format data for calling and storing one format data from a label format file. There are a calling format area, a calling product area for calling and storing product data, and the like. In addition, the RAM 33 stores a label format file in which a printing format for label printing is set, a product file (printing information) in which various product data for label printing is set, and the like. It is backed up by a battery to hold the

CPU31は、後に説明するスキャン画像(ラベル検出センサ19で読み込んだ生データ)、スキャン画像から生成された印刷結果の二値化データ(二値データを数値として記憶した情報)、印刷情報とスキャン情報との比較結果(一致率や滲み率などの情報)、およびこれらの情報に対するログ(印刷日時やプリンタ番号、印刷対象の品名やフォーマット名など)記憶している。 The CPU 31 stores a scanned image (raw data read by the label detection sensor 19), binarized data of the print result generated from the scanned image (information in which binary data is stored as a numerical value), print information and scan information, which will be described later. (information such as matching rate and blurring rate), and logs for these information (printing date and time, printer number, product name and format name to be printed, etc.) are stored.

表示・操作部34は、本体キー14及び表示装置15を備えて構成されている。表示・操作部34は、ラベルプリンタ1の操作者(オペレータ)等に向けて種々の情報を表示装置15に表示する。表示・操作部34は、ラベルプリンタ1のオペレータの入力操作等を本体キー14及び表示装置15において受け付ける。 The display/operation unit 34 includes the main body keys 14 and the display device 15 . The display/operation unit 34 displays various information on the display device 15 for the operator of the label printer 1 or the like. The display/operation unit 34 receives input operations and the like of the operator of the label printer 1 on the main body keys 14 and the display device 15 .

ラベルプリンタ1は、印刷装置40及び検証装置50を備える印刷検証機であり、ラベル印刷と印刷結果の検証を合わせて実行可能である。印刷装置40は、インターフェース回路35を介してCPU31等と接続される印字部18(サーマルヘッド18A、プラテンローラ18B、ステッピングモータ18C)及び制御装置30等を備えて構成される。検証装置50は、ラベル検出センサ19及び制御装置30を備えて構成される。制御装置30は、印刷装置40及び検証装置50の制御を合わせて行っているが、印刷装置40及び検証装置50をそれぞれ制御する制御装置を設けてもよい。 The label printer 1 is a print verification machine that includes a printing device 40 and a verification device 50, and is capable of both label printing and verification of printed results. The printing device 40 includes a printing unit 18 (a thermal head 18A, a platen roller 18B, a stepping motor 18C) connected to the CPU 31 and the like via an interface circuit 35, a control device 30 and the like. The verification device 50 comprises a label detection sensor 19 and a control device 30 . The control device 30 controls the printing device 40 and the verification device 50 together, but a control device that controls the printing device 40 and the verification device 50 may be provided.

印刷装置40は、制御装置30によって設定された印刷情報に基づく文字(以下「印刷文字」という)をラベル100に印刷する。なお、印刷文字には、文字のほかに、図形や記号なども含まれる。印刷結果の検証を行う際にあたり、印刷情報は、二値化データとしてRAM33に記憶されており、印刷結果との比較を行うための印刷基準及び基準情報となる。 The printing device 40 prints characters (hereinafter referred to as “printing characters”) based on the printing information set by the control device 30 on the label 100 . In addition to characters, printed characters include graphics and symbols. When verifying the print result, the print information is stored in the RAM 33 as binary data, and serves as a print reference and reference information for comparison with the print result.

検証装置50は、印刷装置40による印刷を行っている間、ラベル100に印刷された印刷文字をラベル検出センサ19によって読み取り、CPU31において画像処理を施すことによってスキャン画像を生成し、スキャン画像に応じたスキャン情報を生成する。スキャン情報は、例えば検証装置50は、比較手段となるCPU31において、生成したスキャン情報を補正した後に印刷情報と比較して印刷異常の有無を判定する。検証装置50は、CPUによる比較結果として、印刷異常があると判定した場合に、比較結果としてのエラー発生情報及びエラー画像を表示装置15に表示させる。エラー発生情報及びエラー画像を表示する表示装置15は、比較手段による比較結果を出力する出力手段となる。 While the printing device 40 is printing, the verification device 50 reads the printed characters printed on the label 100 by the label detection sensor 19, generates a scanned image by performing image processing in the CPU 31, and generates a scanned image according to the scanned image. generate scan information. For example, the verification device 50 compares the generated scan information with the print information after correcting the generated scan information in the CPU 31 serving as a comparison unit to determine whether there is a print abnormality. The verification device 50 causes the display device 15 to display error occurrence information and an error image as the comparison result when it is determined that there is a printing abnormality as a result of the comparison by the CPU. The display device 15, which displays the error occurrence information and the error image, serves as output means for outputting the comparison results of the comparison means.

次に、ラベルプリンタ1における印刷から検証までの流れについて、フローチャートを参照して説明する。ラベルプリンタ1では、印刷作業を行う前段階として、フォーマットデータや商品データに基づいて印刷情報を生成してRAM33に記憶する。RAM33には、複数の印刷情報が記憶されており、個々の印刷情報には、印刷情報を表すタイトルがそれぞれ付されている。印刷情報を生成する際に、ラベルプリンタ1における制御装置30は、設定手段となるCPU31において、印刷結果の検証を行うためのスキャンエリア及び検証エリア(比較範囲)を印刷情報の上に設定可能である。印刷情報に基づく印刷を行う際には、ラベルプリンタ1は、RAM33に記憶された印刷情報の中から1つの印刷情報を選択する。その後、選択された印刷情報に応じた印刷文字等の印刷が行われるが、ラベル印刷とともに印刷結果の検証を行う。 Next, the flow from printing to verification in the label printer 1 will be described with reference to a flowchart. In the label printer 1, print information is generated based on the format data and product data and stored in the RAM 33 as a pre-printing step. A plurality of pieces of print information are stored in the RAM 33, and each piece of print information is given a title representing the print information. When generating print information, the control device 30 in the label printer 1 can set a scan area and a verification area (comparison range) for verifying the print result on the print information in the CPU 31 serving as a setting unit. be. When printing based on the print information, the label printer 1 selects one print information from the print information stored in the RAM 33 . After that, print characters and the like according to the selected print information are printed, and the print result is verified along with the label printing.

以下の説明では、まず印刷情報の生成から記憶までの手順について図7等を用いて説明し、続いて、ラベル印刷及び印刷結果の検証手順について図16、図17等を用いて説明する。なお、図7に示すフローチャートの処理は、図16及び図17に示す処理を実行する直前に行うようにしてもよいし、図16及び図17に示す処理とは離れた時間の行うようにしてもよい。 In the following description, first, the procedure from generation to storage of print information will be described using FIG. 7 and the like, and then the procedure for label printing and printing result verification will be described using FIGS. 16 and 17 and the like. The processing of the flowchart shown in FIG. 7 may be performed immediately before the processing shown in FIGS. 16 and 17 is executed, or may be performed at a time different from the processing shown in FIGS. good too.

図7は、制御装置の動作の一例を示すフローチャートである。図7に示す処理では、印刷情報の生成を行うとともに、スキャンエリア及び検証エリアの設定を行う。
ステップS101:制御装置30は、印刷情報の生成を行う。制御装置30は、CPU31において、RAM33から商品フォーマットデータを呼び出し、表示・操作部34の操作を受け付けることによって、印刷情報を生成する。
FIG. 7 is a flow chart showing an example of the operation of the control device. In the process shown in FIG. 7, print information is generated and the scan area and verification area are set.
Step S101: The control device 30 generates print information. In the CPU 31 , the control device 30 calls up the product format data from the RAM 33 and receives the operation of the display/operation unit 34 to generate print information.

図8は、印刷情報に応じた印刷結果の一例を示す図である。図8に示すように、印刷情報としては、ラベル100に印刷する商品説明等の文字内容に応じた情報が生成される。また、ラベル100には、ラベルプリンタ1による印刷が行われる前に、予め印刷された文字(以下「予印刷文字」という)が印刷されている。なお、予印刷文字には、文字のほかに、図形や記号なども含まれる。 FIG. 8 is a diagram showing an example of a print result according to print information. As shown in FIG. 8, as the print information, information is generated according to the content of characters such as product descriptions to be printed on the label 100 . In addition, preprinted characters (hereinafter referred to as “preprinted characters”) are printed on the label 100 before printing is performed by the label printer 1 . Note that the pre-printed characters include graphics and symbols in addition to characters.

図8には、印刷文字及び予印刷文字が表示されている。図9は、印刷情報に応じた印刷文字の印刷前のラベルの一例を示す図である。予印刷文字は、図9に示すように、ラベル100の左右に表示された「仕出し〇〇××」、電話番号、ラベル100の中央に表示された「原材料」、ラベル100の下部に表示された注意書き等が予めラベル100に印刷された文字である。図8に示す文字のうち、図9に示す予印刷文字以外の文字が印刷文字である。 FIG. 8 shows printed characters and pre-printed characters. FIG. 9 is a diagram showing an example of a label before printing of print characters according to print information. As shown in FIG. 9, the pre-printed characters are "Catering XX" displayed on the left and right sides of the label 100, a telephone number, "raw materials" displayed in the center of the label 100, and displayed at the bottom of the label 100. This is a character printed on the label 100 in advance, such as a cautionary note. Of the characters shown in FIG. 8, characters other than the pre-printed characters shown in FIG. 9 are printed characters.

ステップS102:制御装置30は、スキャンエリアの設定を行う。スキャンエリアは、主に、印刷対象であるラベルに対するラベル検出センサ19の設置状況、例えば印刷情報に基づく印刷結果に対するずれや傾きを確認するためエリアである。印刷結果に対するずれには、例えば、x方向に沿ったずれやy方向に沿ったずれがある。スキャンエリアには、極力多くの文字情報が含まれることが好適である。ただし、ここでの文字情報には、印刷装置40によって印字された文字のみが含まれ、予印刷文字が含まれないようにすることが好適である。このため、スキャンエリアには、多くの印刷文字が含まれ、予印刷文字が含まれないエリアを設定する。 Step S102: The control device 30 sets the scan area. The scan area is an area for mainly checking the installation status of the label detection sensor 19 with respect to the label to be printed, for example, deviation or inclination of the print result based on the print information. Misalignment with respect to the print result includes, for example, misalignment along the x direction and misalignment along the y direction. It is preferable that the scan area contains as much character information as possible. However, it is preferable that the character information here includes only characters printed by the printing device 40 and does not include pre-printed characters. Therefore, in the scan area, an area that contains many printed characters and does not contain preprinted characters is set.

図10は、印刷情報にスキャンエリアを設定した状態の説明図である。図10には、第1スキャンエリアSA1~第4スキャンエリアSA4までの4個のスキャンエリアが設定された状態を示している。このうち、第1スキャンエリアSA1は、「行楽幕の内弁当」という商品名を含むエリアに設定されている。第2スキャンエリアSA2は、商品の金額、製造年月日、賞味期限、バーコードを含む領域に設定されている。第3スキャンエリアSA3は、原材料が列記されている領域に設定されている。第4スキャンエリアSA4は、リサイクル識別表示マークを含む領域の設定されている。これらの第1スキャンエリアSA1~第4スキャンエリアSA4には、いずれも予印刷文字が含まれていない。 FIG. 10 is an explanatory diagram of a state in which a scan area is set in print information. FIG. 10 shows a state in which four scan areas from the first scan area SA1 to the fourth scan area SA4 are set. Among these, the first scan area SA1 is set to an area including the product name "Korakumaku no Uchi Bento". The second scan area SA2 is set to an area containing the product price, manufacturing date, expiration date, and bar code. The third scan area SA3 is set in the area where raw materials are listed. The fourth scan area SA4 is set as an area including a recycle identification mark. None of these first to fourth scan areas SA1 to SA4 contain preprinted characters.

ステップS103:制御装置30は、検証エリアの設定を行う。検証エリアは、主に、欠けや滲みによって、読むことができなくなっている文字(以下、「不読文字」という)が含まれる範囲を区分けするためのエリアである。検証エリアは、その検証エリアに含まれる文字の重要度やそれらの文字の近接状態などに基づいて設定される。検証エリアには、スキャンエリア同様に、複数の文字等が含まれる。また、検証エリアは、スキャンエリア内で設定される。検証エリアは、スキャンエリアから外れた位置に設定されるようにしてもよい。 Step S103: The control device 30 sets the verification area. The verification area is an area for dividing a range that mainly includes characters that cannot be read due to chipping or blurring (hereinafter referred to as "unreadable characters"). A verification area is set based on the importance of characters included in the verification area, the proximity of those characters, and the like. Similar to the scan area, the verification area includes a plurality of characters and the like. Also, the verification area is set within the scan area. The verification area may be set at a position outside the scan area.

図11は、印刷情報に検証エリアを設定した状態の説明図である。図11には、第1検証エリアVA1~第10検証エリアVA10までの10個の検証エリアが設定された状態を示している。図12は、スキャンエリアと検証エリアの相対位置関係を示す図である。図12に示すように、第1スキャンエリアSA1には、第1検証エリアVA1の1つの検証エリアが含まれている。第2スキャンエリアSA2には、第2検証エリアVA2~第6検証エリアVA6の5つの検証エリアが含まれている。第3スキャンエリアSA3には、第7検証エリアVA7の1つの検証エリアが含まれている。第4スキャンエリアSA4には、第8検証エリアVA8~第10検証エリアVA10の4つの検証エリアが含まれている。 FIG. 11 is an explanatory diagram of a state in which a verification area is set in print information. FIG. 11 shows a state in which ten verification areas from a first verification area VA1 to a tenth verification area VA10 are set. FIG. 12 is a diagram showing the relative positional relationship between the scan area and the verification area. As shown in FIG. 12, the first scan area SA1 includes one verification area of the first verification area VA1. The second scan area SA2 includes five verification areas, a second verification area VA2 to a sixth verification area VA6. The third scan area SA3 includes one verification area of the seventh verification area VA7. The fourth scan area SA4 includes four verification areas, an eighth verification area VA8 to a tenth verification area VA10.

スキャンエリア及び検証エリアの設定は、オペレータの操作によって行われる。スキャンエリア及び検証エリアの設定を行うにあたり、制御装置30は、図13に示す画像を表示装置15に表示させる。図13及び図14は、表示装置15の表示の一例を示す図である。図13に示す表示装置15に表示される画像には、枠や図形を画面上に作成する補助を行う各キーが表示されている。オペレータは、これらのキーや本体キー14を操作することによって、スキャンエリア及び検証エリアの設定を行う。図14に示すように、スキャンエリアSA及び検証エリアVAの設定の結果は、表示装置15に表示される。 Setting of the scan area and the verification area is performed by an operator's operation. In setting the scan area and the verification area, the control device 30 causes the display device 15 to display an image shown in FIG. 13 and 14 are diagrams showing examples of display on the display device 15. FIG. In the image displayed on the display device 15 shown in FIG. 13, each key for assisting in creating a frame or figure on the screen is displayed. The operator sets the scan area and verification area by operating these keys and the main body keys 14 . As shown in FIG. 14, the results of setting the scan area SA and the verification area VA are displayed on the display device 15. FIG.

例えば、スキャンエリアSAの設定を行うにあたり、「発行条件・・・」のキーを押下すると、図15に示すように、「発行条件設定」の表示が展開される。図15は、表示装置15の表示の一例を示す図である。図15に示す例では、「発行条件設定」の全体について図示しているが、表示装置15には、実際には、その一部が表示される。この例では、6個のスキャンエリアの設定が可能である。例えば、発行条件設定の表示における「スキャンエリア1左上X座標(左下起点)」「スキャンエリア1左上Y座標(左下起点)」「スキャンエリア1右下X座標(左下起点)」「スキャンエリア1右下Y座標(左下起点)」の各項目の数値を選択することにより、図14に示すスキャンエリアSAが表示される。 For example, when the "issuance condition..." key is pressed in setting the scan area SA, the display of "issuance condition setting" is expanded as shown in FIG. FIG. 15 is a diagram showing an example of display on the display device 15. As shown in FIG. In the example shown in FIG. 15, the entire “issue condition setting” is illustrated, but the display device 15 actually displays a part of it. In this example, 6 scan areas can be set. For example, “scan area 1 upper left X coordinate (lower left starting point)”, “scan area 1 upper left Y coordinate (lower left starting point)”, “scan area 1 lower right X coordinate (lower left starting point)”, “scan area 1 right By selecting the numerical value of each item of "Lower Y coordinate (lower left starting point)", the scan area SA shown in FIG. 14 is displayed.

検証エリアVAの設定についても同様に、発行条件設定の表示において、検証エリアを設定するための各座標値が選択可能となり、これらの座標値を選択することによって、検証エリアVAの設定ができる。なお、この例では、表示装置15に表示されるキーの操作によってスキャンエリアや検証エリアの設定を行うことができるが、他の方法によって設定できるようにしてもよい。例えば、印刷情報に基づく印刷文字を表示装置15に表示し、これらの印刷文字を基準に、表示装置15上にマウス等で線画(仕切り線)を描くことによってスキャンエリアや検証エリアの設定ができるようにしてもよいし、本体キー14の操作によってスキャンエリアや検証エリアの設定ができるようにしてもよい。 As for the setting of the verification area VA, similarly, each coordinate value for setting the verification area can be selected in the display of the issue condition setting, and the verification area VA can be set by selecting these coordinate values. In this example, the scan area and the verification area can be set by operating the keys displayed on the display device 15, but they may be set by other methods. For example, print characters based on print information are displayed on the display device 15, and based on these print characters, a line drawing (partition line) is drawn on the display device 15 using a mouse or the like, thereby setting a scan area or a verification area. Alternatively, the scan area and verification area may be set by operating the main body keys 14 .

ステップS104:制御装置30は、ステップS102においてスキャンエリアの設定を行い、ステップS103において検証エリアの設定を行った後、ステップS101で生成した印刷情報をスキャンエリア及び検証エリアに応じた情報とともに記憶する(ステップS104)。こうして、制御装置30は、図7に示すフローチャートの処理を終了する。 Step S104: After setting the scan area in step S102 and setting the verification area in step S103, the control device 30 stores the print information generated in step S101 together with information corresponding to the scan area and verification area. (Step S104). Thus, the control device 30 ends the processing of the flowchart shown in FIG.

続いて、ラベル印刷及び印刷結果の検証手順について説明する。図16は、制御装置の動作の一例を示すフローチャートである。図16において、ラベル100への印刷情報の印刷が開始される前の各種設定を行う段階についての処理を示す。 Next, a procedure for verifying label printing and printing results will be described. FIG. 16 is a flow chart showing an example of the operation of the control device. FIG. 16 shows the process of making various settings before printing of print information on the label 100 is started.

ステップS201:制御装置30は、オペレータによる本体キー14における操作開始キー14Bの操作によって、ラベル印刷の設定を開始する。
ステップS202:制御装置30は、オペレータによる表示・操作部34(本体キー14及び表示装置15)に基づいて、印刷情報の選択を行う。例えば、印刷情報の選択を行う際、制御装置30は、印刷情報に付加されているタイトルを表す複数のタイトルキーを表示装置15に表示する。オペレータが表示装置15に表示された複数のタイトルキーの一つを押下操作することにより、制御装置30は、押下されたタイトルキーに応じた印刷情報を選択する。
Step S201: The control device 30 starts label printing setting when the operator operates the operation start key 14B of the main body keys 14. FIG.
Step S202: The control device 30 selects print information based on the display/operation unit 34 (main body keys 14 and display device 15) operated by the operator. For example, when selecting print information, the control device 30 displays a plurality of title keys representing titles added to the print information on the display device 15 . When the operator presses one of a plurality of title keys displayed on the display device 15, the control device 30 selects print information corresponding to the pressed title key.

ステップS203:制御装置30は、オペレータによる表示・操作部34(本体キー14及び表示装置15)に基づいて、印刷枚数を設定する。例えば、印刷枚数の設定を行う際、制御装置30は、印刷枚数を示す枚数設定キーを表示装置15に表示する。オペレータが表示装置15に表示された複数の枚数設定キーを押下操作することにより、制御装置30は、押下操作された枚数に応じた印刷枚数を設定する。印刷情報の選択や印刷枚数の設定は、本体キー14を操作することで行うようにしてもよい。
ステップS204:制御装置30は、印刷情報を選択し印刷枚数を設定した後、選択した印刷情報をRAM33から読み出す。
Step S203: The control device 30 sets the number of prints based on the operator's display/operation section 34 (main body keys 14 and display device 15). For example, when setting the number of prints, the control device 30 displays a number setting key indicating the number of prints on the display device 15 . When the operator presses a plurality of number setting keys displayed on the display device 15, the control device 30 sets the number of prints according to the pressed number of sheets. The selection of print information and the setting of the number of prints may be performed by operating the main body keys 14 .
Step S<b>204 : After selecting the print information and setting the number of prints, the control device 30 reads out the selected print information from the RAM 33 .

ステップS205:制御装置30は、異常判定基準値を設定するか否かを判定する。異常判定基準値を設定すると判定した場合(ステップS205:YES)、制御装置30は、ステップS206に進み、異常判定基準値を設定しないと判定した場合(ステップS205:NO)、制御装置30は、ステップS208に進む。 Step S205: The control device 30 determines whether or not to set an abnormality determination reference value. When determining to set the abnormality determination reference value (step S205: YES), the control device 30 proceeds to step S206, and when determining not to set the abnormality determination reference value (step S205: NO), the control device 30 The process proceeds to step S208.

異常判定基準値とは、検証装置50が印刷異常と判定する基準(印刷基準)となる割合である。印刷異常の判定を行うにあたり、制御装置30は、印刷情報とスキャン情報とを比較し、検証エリアVA内における一致率を算出する。この一致率が異常判定基準値未満となる検証エリアがあったときに、スキャン画像として撮像された印刷結果には印刷異常があったと判定する。 The abnormality determination reference value is a ratio that serves as a reference (printing reference) for the verification device 50 to determine that printing is abnormal. In determining print abnormality, the control device 30 compares the print information and the scan information, and calculates the match rate in the verification area VA. When there is a verification area in which the matching rate is less than the abnormality determination reference value, it is determined that there is a printing abnormality in the print result captured as the scanned image.

異常判定基準値は、印刷情報の内容等によって異なることがある。例えば、食品の製造年月日、賞味期限、原材料などの重要度の高い記載については、高い精度で印刷異常の発生を抑制することが求められる。また、商品の名称やリサイクル識別表示マークなどの重要度の低い記載については、印刷異常の判定にあたってあまり高い精度が求められることはない。このため、制御装置30は、異常判定基準値を設定する。 The abnormality determination reference value may differ depending on the contents of the print information. For example, it is required to suppress the occurrence of printing errors with high precision for highly important descriptions such as the date of manufacture, expiration date, and raw materials of food. Also, for descriptions of low importance, such as product names and recycling identification marks, very high accuracy is not required in judging printing abnormalities. Therefore, the control device 30 sets the abnormality determination reference value.

異常判定基準値は、検証エリアごとに設定され、検証エリアごとに異なる異常判定基準値とすることもできる。例えば、図11に示すように、食品の製造年月日、賞味期限、原材料が記載される第3検証エリアVA3、第4検証エリアVA4、第7検証エリアVA7においては高い一致率を設定し、商品名、リサイクル識別表示マークが記載される第1検証エリアVA1、第8検証エリアVA8においては比較的低い一致率を設定できる。重要度の低い検証エリアについての一致率を低く設定することにより、重要な検証エリアについての検証の精度を落とすことなく、制御装置30における処理量を軽減するとともに、処理速度の向上に寄与することができる。なお、異常判定基準値は、印刷異常を判定する際の印刷情報とスキャン情報の一致率についての基準値であるが、RAM33は、異常判定基準値のほかに、滲み異常判定値を記憶している。滲み異常判定値は、印刷異常を判定する際の印刷情報とスキャン情報の滲み率についての基準値であり、予め定められた値である。なお、滲み異常判定値についても、制御装置30において設定できるようにしてもよい。また、異常判定基準値が、予め定められた値としてRAM33に記憶されていても
よい。
The abnormality determination reference value is set for each verification area, and may be a different abnormality determination reference value for each verification area. For example, as shown in FIG. 11 , a high match rate is set in the third verification area VA3, fourth verification area VA4, and seventh verification area VA7 in which the date of manufacture, expiration date, and ingredients of the food are described, A relatively low match rate can be set in the first verification area VA1 and the eighth verification area VA8 in which the product name and recycling identification mark are written. To reduce the amount of processing in the control device 30 and contribute to the improvement of the processing speed without lowering the accuracy of verification for important verification areas by setting a low match rate for verification areas of low importance. can be done. The abnormality determination reference value is a reference value for the matching rate of print information and scan information when determining a printing abnormality. there is The bleeding abnormality determination value is a reference value for the bleeding rate of print information and scan information when determining printing abnormality, and is a predetermined value. Note that the bleeding abnormality determination value may also be set by the control device 30 . Also, the abnormality determination reference value may be stored in the RAM 33 as a predetermined value.

ステップS206:異常判定基準値を設定する場合(ステップS205:YES)、制御装置30は、図18に示すように、表示装置15に参考画像となるエラー指標サンプル画像SGを表示して提示する。制御装置30は、エラー指標サンプル画像SGとして、イメージ画像を表示する。制御装置30は、エラー指標サンプル画像SGに代えてまたは加えて、イメージ画像以外の情報を表示してもよい。例えば、設定対象とされたドットに囲まれた検証エリア内の印刷情報の表示を変化の対象としてもよい。 Step S206: When setting an abnormality determination reference value (step S205: YES), the control device 30 displays and presents an error index sample image SG as a reference image on the display device 15, as shown in FIG. The control device 30 displays an image as the error index sample image SG. The control device 30 may display information other than the image instead of or in addition to the error index sample image SG. For example, the display of print information within the verification area surrounded by the dots set may be changed.

表示装置15は、参考画像を提示可能な提示手段となる。また、制御装置30は、表示装置15にエラー指標サンプル画像SGとともに、異常判定基準値設定画面BSを表示する。異常判定基準値設定画面BSにおいては、「印字検証」のタイトルが表示され、「印字検証する」の文字が記載されるとともに、その左側にチェックボックスが表示されている。また、「レベル1~100」の文字が表示され、その右側に数値選択欄が表示されている。 The display device 15 serves as presentation means capable of presenting the reference image. In addition, the control device 30 displays an abnormality determination reference value setting screen BS on the display device 15 together with the error index sample image SG. In the abnormality determination reference value setting screen BS, a title of "PRINT VERIFICATION" is displayed, characters of "PRINT VERIFICATION" are written, and a check box is displayed on the left side thereof. In addition, characters of "level 1 to 100" are displayed, and a numerical value selection column is displayed on the right side thereof.

表示装置15は、異常判定基準値の設定を行っている検証エリアを表示している。異常判定基準値の設定を行っている検証エリアについては、その四隅にドットを示すとともに、他の表示と背景色を変えて表示している。図18に示す例では、「原材料名」とある欄の右側における原材料名が列記されている検証エリアの異常判定基準値を設定している状態を示している。 The display device 15 displays a verification area in which abnormality determination reference values are set. The verification area for which the abnormality determination reference value is set is indicated by dots at its four corners, and is displayed with a different background color from the other display. The example shown in FIG. 18 shows a state in which the abnormality determination reference value is set for the verification area in which the raw material names are listed on the right side of the "raw material name" column.

表示装置15は、異常判定基準値に応じたエラー指標サンプル画像SGを表示する。異常判定基準値設定画面BSの操作に応じて異常判定基準値を調整することにより、エラー指標サンプル画像SGが変化する。エラー指標サンプル画像SGとしては、異常判定基準値が低いほど、欠けが大きい画像が表示される。表示装置15は、異常判定基準値の設定を行っている検証エリアを避けた位置にエラー指標サンプル画像SGを表示する。 The display device 15 displays the error index sample image SG corresponding to the abnormality determination reference value. The error index sample image SG is changed by adjusting the abnormality determination reference value according to the operation of the abnormality determination reference value setting screen BS. As the error index sample image SG, an image with a larger defect is displayed as the abnormality determination reference value is lower. The display device 15 displays the error index sample image SG at a position avoiding the verification area where the abnormality determination reference value is set.

なお、表示装置15は、異なる異常判定基準値に応じた複数のエラー指標サンプル画像SGをまとめて表示可能である。異なる異常判定基準値に応じたエラー指標サンプル画像SGを表示する場合には、異常判定基準値設定画面BSにおける異常判定基準値の設定に代えてまたは加えて、エラー指標サンプル画像SGを押下操作することによって異常判定基準値を選択して設定できるようにしてもよい。この場合、表示装置15は、提示した複数の参考画像の中から1つの参考画像を選択する選択手段となる。 The display device 15 can collectively display a plurality of error index sample images SG corresponding to different abnormality determination reference values. When displaying an error index sample image SG corresponding to a different abnormality determination reference value, instead of or in addition to setting the abnormality determination reference value on the abnormality determination reference value setting screen BS, the error index sample image SG is pressed. By doing so, the abnormality determination reference value may be selected and set. In this case, the display device 15 serves as selection means for selecting one reference image from the plurality of presented reference images.

制御装置30は、オペレータがチェックボックスにチェックを入れる操作を行ったときに、印刷結果の検証を行う。なお、ステップS205で異常判定基準値の設定を行わない場合(ステップS205:NO)には、制御装置30は、既定の異常判定基準値またはデフォルト設定された異常判定基準値を設定する。 The control device 30 verifies the print result when the operator performs an operation to put a check in the check box. If the abnormality determination reference value is not set in step S205 (step S205: NO), the control device 30 sets a predetermined abnormality determination reference value or a default abnormality determination reference value.

ステップS207:制御装置30は、異常判定基準値の設定を行う。制御装置30は、オペレータの操作に応じて、異常判定基準値として、レベル1~100のいずれかの数値を選択して設定する。ここで設定されたレベルが異常判定基準値となる。例えば、レベル90が設定された場合には、一致率が90%未満であるときに印刷異常と判定する。 Step S207: The control device 30 sets the abnormality determination reference value. The control device 30 selects and sets any numerical value from levels 1 to 100 as the abnormality determination reference value according to the operator's operation. The level set here becomes the abnormality determination reference value. For example, if level 90 is set, printing abnormality is determined when the matching rate is less than 90%.

ステップS208:制御装置30は、印刷異常停止枚数を決定する。印刷異常停止枚数とは、印刷を停止する際の基準となる数であり、検証装置50が印刷異常を検出したラベルの枚数である。例えば、印刷異常停止枚数を5枚と設定した場合、検証装置50が印刷異常を検出したラベルの枚数が5枚となったときに、印刷装置40による印刷を停止する。制御装置30は、印刷異常停止枚数を示す異常停止枚数設定キーを表示装置15に表示する。オペレータが表示装置15に表示された異常停止枚数設定キーを押下操作することにより、制御装置30は、押下操作された枚数に応じた印刷異常停止枚数を設定する。 Step S208: The control device 30 determines the abnormal print stop number. The print error stop number is a reference number for stopping printing, and is the number of labels for which the verification device 50 has detected a print error. For example, if the number of labels for which printing failure is stopped is set to 5, printing by the printing device 40 is stopped when the number of labels for which printing failure is detected by the verification device 50 reaches 5. The control device 30 displays on the display device 15 an abnormally stopped number of sheets setting key indicating the number of abnormally stopped printing sheets. When the operator presses the abnormal stop number setting key displayed on the display device 15, the control device 30 sets the print error stop number according to the pressed number.

印刷異常停止枚数の設定は、例えば、図19に示す表示装置15に表示される画面を操作することで行うことができる。図19に示す画面における「まとめて通知時の上限エラー回数」の数値を入力する等して設定することにより、印刷異常停止枚数の設定することができる。印刷異常停止枚数の設定は、本体キー14を用いた入力によって行うことができるようにしてもよい。 The setting of the print abnormal stop number can be performed by operating the screen displayed on the display device 15 shown in FIG. 19, for example. The number of abnormal print stop sheets can be set by inputting the numerical value of the "upper limit number of errors for batch notification" on the screen shown in FIG. The setting of the print abnormal stop number may be performed by input using the main body keys 14 .

図16に示すフローチャートから図17に示すフローチャートへと進む。図17では、ラベル100への印刷情報の印刷及び印刷結果の検証を行う段階についての処理を示す。 The flowchart shown in FIG. 16 advances to the flowchart shown in FIG. FIG. 17 shows the process of printing the print information on the label 100 and verifying the print result.

ステップS211:制御装置30は、オペレータによる本体キー14におけるスタートキー14Cの操作によって、ラベル印刷を開始する。
ステップS212:制御装置30は、ラベル印刷を開始すると、ステッピングモータ18Cを作動させて、ラベルシートLSを前方に押し出させる。
ステップS213:制御装置30は、印刷装置40の印字部18に対して、サーマルヘッド18Aとプラテンローラ18Bの間に到達したラベルシートLSの上面に設けられたラベルに対して、読み出した印刷情報に応じた内容の印刷を行わせる。
Step S211: The controller 30 starts label printing when the operator operates the start key 14C of the main body keys 14. FIG.
Step S212: When starting label printing, the controller 30 operates the stepping motor 18C to push the label sheet LS forward.
Step S213: The control device 30 instructs the printing unit 18 of the printing device 40 to apply the read print information to the label provided on the upper surface of the label sheet LS that has reached between the thermal head 18A and the platen roller 18B. The corresponding content is printed.

ステップS214:制御装置30は、検証装置50のラベル検出センサ19にラベルに印刷された印刷情報の印刷結果のスキャン(読み取り)を行わせる。ラベル検出センサ19は、スキャンして得られたスキャン画像を制御装置30に送信する。
ステップS215:制御装置30は、CPU31によって、送信されたスキャン画像をRAM33に記憶する。CPU31は、スキャン画像を二値化データに変換してスキャン情報を生成してRAM33に記憶させる。
ステップS216:制御装置30は、エラー判定を行う。エラー判定は、ラベル印刷を行いながら行い、全体の印刷が行われたラベルについてエラー判定が行われる。印刷異常が見られた検証エリアがあった場合には、制御装置30は、その検証エリアに対する異常印刷情報をRAM33に記憶させる。エラー判定は、スキャン画像を二値化データとして変換したスキャン情報(スキャン情報を補正して得られる補正情報)と印刷情報を比較して行う。スキャン情報と印刷情報の比較は、スキャン画像を読み取ってスキャン情報(二値化データ)として記憶するごとに実行する。エラー判定の手順については、後に詳しく説明する。
Step S214: The control device 30 causes the label detection sensor 19 of the verification device 50 to scan (read) the print result of the print information printed on the label. The label detection sensor 19 transmits a scanned image obtained by scanning to the control device 30 .
Step S215: The control device 30 causes the CPU 31 to store the transmitted scanned image in the RAM 33. FIG. The CPU 31 converts the scanned image into binarized data to generate scan information and stores it in the RAM 33 .
Step S216: The control device 30 performs error determination. Error determination is performed while label printing is being performed, and error determination is performed for the entire printed label. If there is a verification area in which printing abnormality is found, the control device 30 causes the RAM 33 to store abnormal printing information for that verification area. Error determination is performed by comparing scan information (correction information obtained by correcting scan information) obtained by converting a scanned image into binary data and print information. The comparison between the scan information and the print information is executed each time a scan image is read and stored as scan information (binarized data). The error determination procedure will be described later in detail.

ステップS217:エラー判定の結果、異常印刷情報の有無に基づいて、異常があったか否かを判定する。具体的には、印刷異常が見られた検証エリアがあったか否かを判定する。印刷異常が見られた検証エリアがなかった場合(ステップS217:NO)、制御装置30は、ステップS218に進み、印刷異常が見られた検証エリアがあった場合(ステップS217:YES)、制御装置30は、ステップS219に進む。
ステップS218:制御装置30は、ラベルの印刷枚数がステップS203で設定した印刷枚数に到達したか否かを判定する。ラベルの印刷枚数が設定した印刷枚数に到達していないと判定した場合(ステップS218:NO)、制御装置30は、ステップS213に戻り、ラベルの印刷枚数が設定した印刷枚数に到達したと判定した場合(ステップS218:YES)、制御装置30は、ステップS221に進む。
Step S217: It is determined whether or not there is an abnormality based on the presence or absence of abnormal print information as a result of the error determination. Specifically, it is determined whether or not there is a verification area in which printing abnormality is observed. If there is no verification area where printing abnormality is found (step S217: NO), the control device 30 proceeds to step S218, and if there is a verification area where printing abnormality is found (step S217: YES), the control device 30 proceeds to step S219.
Step S218: The control device 30 determines whether or not the number of printed labels has reached the number of printed labels set in step S203. When it is determined that the number of printed labels has not reached the set number of printed labels (step S218: NO), the control device 30 returns to step S213 and determines that the number of printed labels has reached the set number of printed labels. If so (step S218: YES), the control device 30 proceeds to step S221.

ステップS219:ステップS217において、印刷異常があったと判定したので、制御装置30は、ステップS215で得られたスキャン情報にエラー情報を付加して記憶させる。エラー情報が付加されたスキャン情報に対応するスキャン画像がエラー画像となる。
ステップS220:制御装置30は、印刷異常があったラベルの数を計数し、印刷異常があったラベルの数がステップS208で設定した印刷異常停止枚数に到達したか否かを判定する。制御装置30は、印刷異常があったラベルの数が印刷異常停止枚数に到達したと判定した場合(ステップS220:NO)、ステップS221に進み、印刷異常があったラベルの数が印刷異常停止枚数に到達していないと判定した場合(ステップS220:NO)、ステップS220に進む。
Step S219: Since it is determined in step S217 that there is a printing error, the control device 30 adds error information to the scan information obtained in step S215 and stores it. A scanned image corresponding to scan information to which error information is added becomes an error image.
Step S220: The controller 30 counts the number of labels with printing errors, and determines whether or not the number of labels with printing errors has reached the print error stop number set in step S208. When the control device 30 determines that the number of labels with printing errors has reached the number of labels with printing errors (step S220: NO), the process proceeds to step S221, and the number of labels with printing errors reaches the number of labels with printing errors. (step S220: NO), the process proceeds to step S220.

ステップS221:ラベルの印刷枚数が設定した印刷枚数に到達したか、印刷異常があったラベルが印刷異常停止枚数に到達したので、制御装置30は、予定した枚数のラベル印刷が行われたか、印刷異常となったラベルの数が規定数となったことで、ラベル印刷を終了する。ラベル印刷に終了により、ステッピングモータ18Cの作動を停止させる。
ステップS222:RAM33に記憶された複数のスキャン情報の中にエラー情報が付されたスキャン情報が含まれているか否かを判定する。制御装置30は、エラー情報が付されたスキャン情報が含まれていると判定した場合(ステップS221:YES)、ステップS223に進み、エラー情報が付されたスキャン情報が含まれていないと判定した場合(ステップS221:NO)、図17に示すフローチャートの処理を終了する。
Step S221: Since the number of labels to be printed has reached the set number of prints or the number of labels with printing errors has reached the number of labels to stop printing, the controller 30 determines whether the planned number of labels has been printed or not. Label printing ends when the number of abnormal labels reaches the specified number. When label printing ends, the operation of the stepping motor 18C is stopped.
Step S222: It is determined whether or not the plurality of pieces of scan information stored in the RAM 33 include scan information with error information. If the control device 30 determines that the scan information with error information is included (step S221: YES), the control device 30 proceeds to step S223 and determines that the scan information with error information is not included. If so (step S221: NO), the process of the flowchart shown in FIG. 17 is terminated.

ステップS223:制御装置30は、エラー情報が付されたスキャン情報に対応するエラー画像を表示装置15に表示させる。なお、制御装置30は、エラー情報が付されたスキャン画像をエラー画像としてRAM33に記憶させている。エラー画像が複数ある場合には、表示装置15に表示される図示しない切替ボタンをオペレータが操作することにより、エラー画像を順次切り替えて表示する。エラー判定によって印刷異常であったとしても、目視によって印刷異常はあるものの不読文字が存在しないと認められることもある。このような場合を考慮して、制御装置30は、エラー画像を表示装置15に表示する。また、多数のラベル、例えば100枚のラベルを印刷した場合に、印刷異常が生じたラベルがあったとしても、100枚のラベルの中から印刷異常があったラベルを探し出すのには手間が掛るが、エラー画像を表示することにより、エラー画像による文字の印刷度合い(欠け具合)等を容易に確認することができる。 Step S223: The control device 30 causes the display device 15 to display an error image corresponding to the scan information to which the error information is added. Note that the control device 30 causes the RAM 33 to store the scanned image with the error information as an error image. When there are a plurality of error images, the operator operates a switching button (not shown) displayed on the display device 15 to sequentially switch and display the error images. Even if the error determination indicates that the print is abnormal, it may be recognized visually that there is no unreadable character even though the print is abnormal. In consideration of such a case, the control device 30 displays an error image on the display device 15. FIG. Also, when a large number of labels, for example, 100 labels, are printed, even if there is a label with a printing error, it takes time and effort to find the label with the printing error from among the 100 labels. However, by displaying the error image, it is possible to easily confirm the printing degree (defectiveness) of characters by the error image.

図20は、表示装置15の表示の一例を示す図である。図20には、ステップS221において、ラベル印刷を終了した後に表示装置15に表示する画面を示している。ラベル印刷が終了した後は、表示装置15にプリンタキューを表示する。プリンタキューには、「キュー」のタブと「エラー通知」のタブが設けられており、「エラー通知」のタブを押下操作すると、図20に示すエラー通知が表示される。エラー通知では、エラーの内容及び対処法が表示される。 FIG. 20 is a diagram showing an example of display on the display device 15. As shown in FIG. FIG. 20 shows a screen displayed on the display device 15 after label printing is completed in step S221. After label printing is completed, the printer queue is displayed on the display device 15 . The printer queue has a "queue" tab and an "error notification" tab. When the "error notification" tab is pressed, the error notification shown in FIG. 20 is displayed. The error notification displays the details of the error and how to deal with it.

図20に示す例では、エラー通知の内容として「印字検証エラー」が表示されている。このため、ラベル印刷が終了したときに、いずれかのラベルにおいて印刷異常が発生したことを示している。また、対処法として「2枚前のラベルで印字検証エラーが発生しました。印字状況を確認してください。印字検証エラー回数:1回」という表示がなされる。印字検証エラー回数には、印刷異常が発生したラベルの枚数が表示される。 In the example shown in FIG. 20, "print verification error" is displayed as the content of the error notification. Therefore, when label printing is completed, it indicates that a printing error has occurred in one of the labels. Also, as a countermeasure, the message "A print verification error has occurred on the label two labels before. Please check the print status. Number of print verification errors: 1 time" is displayed. The number of printing verification errors indicates the number of labels for which printing errors occurred.

このように、対処法として、印刷異常が発生したラベルについての情報が通知される。このため、印刷異常が発生したラベルを容易に特定することができる。特に、多数、例えば10000枚程度のラベルを印刷した場合には印刷異常が発生したラベルを目視で特定することは困難であるが、対処法が表示されることにより、印刷異常が発生したラベルを容易かつ迅速に特定することができる。また、印字検証エラー回数として、印刷異常が発生したラベルの枚数が通知される。このため、印刷異常が発生したラベルを見逃しにくくすることができる。 In this way, as a countermeasure, information about the label on which the printing error has occurred is notified. Therefore, it is possible to easily identify the label in which the printing abnormality has occurred. In particular, when a large number of labels, for example, about 10,000 labels are printed, it is difficult to visually identify labels with printing errors. Can be identified easily and quickly. Also, as the number of print verification errors, the number of labels for which printing errors have occurred is notified. Therefore, it is possible to make it difficult to miss a label with a printing error.

また、従来は、エラーが発生する都度、印刷を中断しなければそのエラーの判断や対処ができないため、印刷作業中、オペレータは印刷装置から離れることができなかった。この点、エラー画像をRAM33に記憶させておくことにより、設定枚数のすべての印刷が終了した後に、その中のスキャン画像の中からエラー画像のみを確認することができる。例えば、印字異常があった場合でも印字異常の程度が低く、許容できる範囲であることもあるので、オペレータが目視でそのエラー画像を確認することにより、程度の低い印字異常である場合には、そのまま印刷異常がないとして対処することもできるので、設定枚数のすべての印刷が完了した後に、最終的にまとめて印刷の適否をオペレータの目視を通じて行うことができる。したがって、オペレータは、印刷中にラベルプリンタ1に張り付いている必要がなく、従来以上に印刷効率を向上させることができる。 Further, conventionally, every time an error occurs, the operator cannot leave the printing apparatus during the printing operation because the error cannot be judged or dealt with unless the printing is interrupted. In this respect, by storing the error images in the RAM 33, it is possible to confirm only the error images among the scanned images after printing of all the set number of sheets is completed. For example, even if there is a printing abnormality, the degree of the printing abnormality may be low and within an allowable range. Since it is possible to deal with the problem assuming that there is no printing error, the operator can visually check the suitability of the printing after all the printing of the set number of sheets is completed. Therefore, the operator does not need to be attached to the label printer 1 during printing, and printing efficiency can be improved more than ever before.

さらに、エラー画像の位置、具体的には何番目のスキャン画像がエラー画像であるかを特定することができる。このため、発行済のラベルシートLSを使ってラベル貼付作業等の他の作業を行う際に、検証作業を行う必要をなくすことができる。また、表示装置15にエラー回数やエラー位置を表示する以外に、当該エラー内容を印刷指示分の印刷後の最後尾にエラー情報ラベルとして印刷してもよい。運用の一つとして印刷されたラベルをそのまま別の巻き取装置(不図示)で巻き取り直すことで印字済みラベルロールを作成することができる。当該印刷済みラベルロールの先頭にエラー情報がラベルとして印刷されていると、当該ラベルロールの状態を一目で確認でき管理がしやすくなる。 Furthermore, it is possible to specify the position of the error image, specifically, what scan image is the error image. Therefore, it is possible to eliminate the need for verification work when performing other work such as labeling work using the issued label sheet LS. In addition to displaying the number of errors and error positions on the display device 15, the contents of the error may be printed as an error information label at the end of the print instruction. As one of operations, a printed label roll can be created by rewinding the printed label as it is with another winding device (not shown). If error information is printed as a label at the top of the printed label roll, the status of the label roll can be checked at a glance, making management easier.

詳細には、エラー情報として当該印字済みラベルロールの先頭には、エラー情報として、商品情報や印刷日時、印刷枚数、エラー数、エラー位置が表示される態様となる。また、当該エラー情報ラベルに文字で印刷した情報をバーコード等の識別情報でも印刷し、人が目視するだけでなく、ハンディスキャナ等を備えたラベル貼付装置で読み取らせエラー情報を取得させることもできる。 More specifically, at the top of the label roll with print as error information, product information, date and time of printing, number of prints, number of errors, and error position are displayed as error information. In addition, the information printed in characters on the error information label can also be printed with identification information such as a barcode so that it can be read by a labeling device equipped with a handy scanner or the like to obtain the error information. can.

さらに、ラベル印刷を終了した後の表示装置には、画像確認ボタンBT10が表示される。画像確認ボタンBT10は、印刷異常が発生したラベルがある場合には、アクティブ表示され、オペレータが押下操作することで、図21に示すエラー画像が表示される。また、印刷異常が発生したラベルがない場合には、画像確認ボタンBT10は表示されるもののアクティブ表示とはされず、オペレータが画像確認ボタンBT10を押下操作しても表示装置15に表示される画像に変化はない。 Furthermore, an image confirmation button BT10 is displayed on the display device after label printing is completed. The image confirmation button BT10 is displayed in an active state when there is a label with a printing error, and the error image shown in FIG. 21 is displayed when the operator presses the button. Further, when there is no label for which a printing error has occurred, the image confirmation button BT10 is displayed but not displayed as active, and the image displayed on the display device 15 even if the operator presses the image confirmation button BT10. There is no change in

図21は、表示装置15の表示の一例を示す図である。図21には、図20に示す表示装置15の画面において、オペレータが画像確認ボタンBT10を押下操作した後に表示装置15に表示されるエラー画面である。図21に示すように、エラー画面には、印刷異常が発生したラベルのスキャン画像が表示される。図21に示す例では、「原材料名」とある欄の右側における原材料名が列記されている検証エリアにおいて、一致率が低く、印刷異常(欠け)が発生した例を示している。この例では、原材料名における「小麦粉」の表示のうちの「麦」の文字の一部が欠落して読みにくくなっている。このために、当該欄における一致率が異常判定基準値よりも低くなって印刷異常と判定されたものである。このように、エラー画面を表示することにより、オペレータは、目視によって印刷異常を確認することができる。 FIG. 21 is a diagram showing an example of display on the display device 15. As shown in FIG. FIG. 21 shows an error screen displayed on the display device 15 after the operator presses the image confirmation button BT10 on the screen of the display device 15 shown in FIG. As shown in FIG. 21, the error screen displays a scanned image of the label in which the printing error occurred. The example shown in FIG. 21 shows an example in which the matching rate is low in the verification area in which the raw material names are listed on the right side of the "raw material name" column, and printing abnormality (missing) occurs. In this example, part of the characters for "wheat" in the indication of "wheat flour" in the raw material name is missing, making it difficult to read. For this reason, the coincidence rate in that column is lower than the abnormality determination reference value, and it is determined that printing is abnormal. By displaying the error screen in this way, the operator can visually confirm the print abnormality.

なお、「対処法」の表示はさらに詳しい表示としてもよい。例えば、一致率が異常判定基準値よりも低くなる検証エリアが共通する場合には、印字部18にごみなどの異物が付着している可能性がある。この場合には、「サーマルヘッドやプラテンローラにゴミが付着している可能性があります。取り除いてください。」など、対処法を具体的な助言によって行うようにしてもよい。 It should be noted that the display of the "countermeasure" may be a more detailed display. For example, if there is a common verification area in which the matching rate is lower than the abnormality determination reference value, there is a possibility that foreign matter such as dust is attached to the printing unit 18 . In this case, specific advice may be given as to how to deal with the problem, such as "There is a possibility that dust is attached to the thermal head or platen roller. Please remove it."

ステップS224:制御装置30は、エラー情報対応調整を実行する。エラー情報対応調整とは、エラー情報に応じて印刷装置40の設定を調整する処理である。制御装置30は、例えば、滲み率が高いために発生した印刷異常が多くある場合には、印字濃度を薄くする調整を行ったり、文字の欠けが多いために発生した印刷異常が多くある場合には、印字濃度を濃くする調整を行ったりする。
ステップS225:制御装置30は、エラー情報対応調整を行った場合に、ラベルプリンタ1の設置状況に関する調整情報をエラー画像とともに表示する。調整情報の表示としては、制御装置30が行った調整の内容を表示し、例えば、滲み率が高く印字濃度を薄くした場合には「印字濃度が濃いので、薄くしました」といった情報を表示する。ラベルプリンタ1の設置状況としては、印刷装置40の設置状況及び検証装置50の設置状況が含まれる。また、設置状況には、印字濃度のほか、ラベルシートLSに貼付されたラベルに対する印字部18(サーマルヘッド18Aやプラテンローラ18B)の距離や傾き、ラベルシートLSに貼付されたラベルに対するラベル検出センサ19、特にラインセンサ19Aの距離や傾きなどが含まれる。その後、図17に示すフローチャートの処理を終了する。
Step S224: The control device 30 executes error information correspondence adjustment. Error information adjustment is processing for adjusting the settings of the printing device 40 according to error information. For example, when there are many printing errors due to a high bleeding rate, the control device 30 adjusts the print density to be low, or when there are many printing errors due to missing characters. is adjusted to increase the print density.
Step S225: The control device 30 displays the adjustment information regarding the installation status of the label printer 1 together with the error image when the adjustment corresponding to the error information is performed. As the display of the adjustment information, the content of the adjustment performed by the control device 30 is displayed. For example, when the bleeding rate is high and the print density is lightened, information such as "The print density is dark, so it has been lightened" is displayed. . The installation status of the label printer 1 includes the installation status of the printing device 40 and the installation status of the verification device 50 . In addition to the print density, the installation conditions include the distance and inclination of the printing unit 18 (the thermal head 18A and the platen roller 18B) with respect to the label attached to the label sheet LS, and the label detection sensor for the label attached to the label sheet LS. 19, particularly the distance and inclination of the line sensor 19A. After that, the processing of the flowchart shown in FIG. 17 ends.

なお、ラベルプリンタ1は、エラー情報対応調整を実行することなくエラー情報対応調整に応じたラベルプリンタ1の設置状況の調整指示を表示装置15に表示したり、図示しないスピーカから音声出力したりして出力するようにしてもよい。この場合、調整指示を受けたオペレータが、ラベルプリンタ1の調整を行うことができる。 Note that the label printer 1 displays an instruction to adjust the installation status of the label printer 1 according to the error information adjustment on the display device 15 without executing the error information adjustment, or outputs a voice from a speaker (not shown). You can also output In this case, the operator who received the adjustment instruction can adjust the label printer 1 .

続いて、ステップS216において実行されるエラー判定の処理について説明する。図22は、制御装置の動作の一例を示すフローチャートである。図22には、エラー判定を行う手順が示されている。
ステップS301:制御装置30は、ステップS102において設定したスキャンエリア内に含まれる範囲において、印刷情報とスキャン情報とを比較する。印刷情報とスキャン情報とを比較する際には、スキャンエリアをメッシュに分割し、分割された領域内における印刷の有無を比較してもよいし、スキャンエリア内において印刷情報とスキャン情報同士自体を直接比較してもよい。スキャン画像に複数のスキャンエリアが設定されている場合には、複数のスキャンエリアを一括してスキャンエリアにおける印刷情報とスキャン情報を比較する。なお、個々のスキャンエリアごとに印刷情報とスキャン情報とを比較してもよい。
Next, the error determination process executed in step S216 will be described. FIG. 22 is a flow chart showing an example of the operation of the control device. FIG. 22 shows the procedure for error determination.
Step S301: The control device 30 compares the print information and the scan information within the range included in the scan area set in step S102. When comparing print information and scan information, the scan area may be divided into meshes and the presence or absence of printing within the divided areas may be compared. A direct comparison may be made. When a plurality of scan areas are set in the scan image, the print information and the scan information in the scan areas are compared collectively for the plurality of scan areas. Note that the print information and the scan information may be compared for each individual scan area.

ステップS302:制御装置30は、スキャンエリア内における印刷情報とスキャン情報との比較結果から、スキャン情報を補正して補正情報を生成する。制御装置30は、基準情報である印刷情報と、ラベル検出センサ19で印刷内容を読み込んで得られたスキャン画像に基づくスキャン情報を比較して、印刷情報に応じた印刷結果と、ラベル検出センサ19で読み込んだ実際の印刷結果に基づくスキャン画像とのずれ及び傾斜を算出する。制御装置30は、ラベル全体のスキャン画像を読み込む前の段階から、スキャン画像の一部に基づくスキャン情報とそのスキャン情報に応じた印刷情報に基づいて、印刷情報に基づく画像とスキャン画像から得られる印刷結果とのずれ及び傾きを求めて、補正情報を生成する。このとき、生成途中の補正情報がある場合には、補正情報を更新する。 Step S302: The control device 30 corrects the scan information and generates correction information based on the comparison result between the print information and the scan information in the scan area. The control device 30 compares the print information, which is the reference information, with the scan information based on the scan image obtained by reading the print content with the label detection sensor 19, and outputs the print result corresponding to the print information and the label detection sensor 19. Calculate the deviation and tilt from the scanned image based on the actual print result read in . From the stage before reading the scanned image of the entire label, the control device 30 obtains from the image based on the print information and the scanned image based on the scan information based on a part of the scanned image and the print information according to the scan information. Correction information is generated by obtaining the deviation from the print result and the inclination. At this time, if there is correction information in the middle of generation, the correction information is updated.

例えば、ラベルシートLSの搬送方向と印字部18(主にサーマルヘッド18A)の位置関係が規定の位置関係となっているときには、印刷情報から得られる画像とスキャン画像の間にずれや傾きなどは生じないが、例えば、ラベルシートLSの搬送位置がx方向やy方向にずれていたり、ラベルシートLSの搬送速度が設定された速度と異なっていたりする場合などには、スキャン画像にずれが生じてしまう。また、ラベルが向く面に直交する軸回りにサーマルヘッド18Aが傾いてしまうと、スキャン画像に傾きが生じてしまう。また、サーマルヘッド18AがラベルシートLSの搬送方向回りにサーマルヘッド18Aが傾いてしまうと、印刷結果には、ラベルシートLSの搬送方向の左右位置において印刷の濃度に差が出てしまい、この印刷の濃度差による印刷情報から得られる画像とスキャン画像の相違なども考えられる。制御装置30は、ステップS301における印刷情報とスキャン情報との比較によって、スキャン情報のずれ及び傾斜を補正する。スキャンエリアには多くの文字が含まれるが、スキャンエリアには、ラベルシートLSに貼付されたラベルに予め印刷されている予印刷文字は含まないエリアが設定されている。サーマルヘッド18Aにずれや傾きが生じていても、予印刷文字はそのずれや傾きに影響されないので、スキャン画像のずれや傾きを検出する際には、予印刷文字がノイズとなる可能性が高い。この点、スキャンエリアには予印刷文字が含まれていないので、スキャン画像のずれ及び傾きを検出する際のノイズを小さくあるいは無くすことができる。 For example, when the transport direction of the label sheet LS and the positional relationship between the print unit 18 (mainly the thermal head 18A) and the print unit 18 (mainly the thermal head 18A) are in a specified positional relationship, there is no shift or inclination between the image obtained from the print information and the scanned image. Although it does not occur, for example, if the transport position of the label sheet LS is shifted in the x direction or the y direction, or if the transport speed of the label sheet LS is different from the set speed, the scanned image will be misaligned. end up Further, if the thermal head 18A is tilted around the axis orthogonal to the surface on which the label faces, the scanned image will be tilted. Further, if the thermal head 18A is tilted around the conveying direction of the label sheet LS, the print result will have a difference in print density between the left and right positions of the label sheet LS in the conveying direction. Differences between the image obtained from the printed information and the scanned image due to the density difference between the printed information and the scanned image may also be considered. The control device 30 corrects deviation and skew of the scan information by comparing the print information and the scan information in step S301. Although many characters are included in the scan area, an area is set in the scan area that does not include pre-printed characters pre-printed on the label attached to the label sheet LS. Even if the thermal head 18A is misaligned or tilted, the preprinted characters are not affected by the misalignment or tilt. Therefore, when detecting the misalignment or tilt of the scanned image, there is a high possibility that the preprinted characters become noise. . In this respect, since the preprinted characters are not included in the scan area, it is possible to reduce or eliminate noise when detecting deviation and tilt of the scanned image.

ステップS304:制御装置30は、1枚のラベル全範囲についてのスキャンが終了したか否かを判定する。1枚のラベル全範囲についてのスキャンが終了していないと判定した場合(ステップS304:NO)、制御装置30は、ステップS301に戻り、補正情報の生成(更新)を行う。1枚のラベル全範囲についてのスキャンが終了したと判定した場合(ステップS304:YES)、制御装置30はステップS304に進む。 Step S304: The control device 30 determines whether the scanning of the entire range of one label has been completed. If it is determined that scanning of the entire range of one label has not been completed (step S304: NO), the control device 30 returns to step S301 to generate (update) correction information. If it is determined that the scanning of the entire range of one label has been completed (step S304: YES), the control device 30 proceeds to step S304.

ステップS304:制御装置30は、補正情報を生成した後、1つの検証エリア内における印刷情報と補正情報を比較する。印刷情報と補正情報を比較する際には、例えば、検証エリアをメッシュに分割し、分割された領域内における印刷の有無に基づいて、印刷情報と補正情報を比較してもよいし、検証エリア内において印刷情報とスキャン情報同士自体を直接比較してもよい。あるいは、パターンマッチングを用いて印刷情報と補正情報を比較してもよい。 Step S304: After generating the correction information, the control device 30 compares the print information and the correction information in one verification area. When comparing the print information and the correction information, for example, the verification area may be divided into meshes, and the print information and the correction information may be compared based on the presence or absence of printing in the divided regions. The printed information and the scanned information themselves may be directly compared within the same. Alternatively, pattern matching may be used to compare the print information and the correction information.

制御装置30は、印刷情報と補正情報を比較して、印刷情報と補正情報の一致率を算出する。印刷情報と補正情報の一致率は、印刷情報として印刷するものとして設定された領域のうち、実際に印刷された領域が占める割合であり、実際に印刷された領域をスキャン画像に基づくスキャン情報を補正して得られた補正情報として求められる。制御装置30は、例えば、検証エリアをメッシュに分割して一致率を算出する場合、分割された各領域のうち、印刷情報として印刷される予定の領域に対して、実際に印刷された領域の数に基づいて一致率を算出する。 The control device 30 compares the print information and the correction information, and calculates the match rate between the print information and the correction information. The rate of matching between print information and correction information is the ratio of the actually printed area to the area set for printing as print information. It is obtained as correction information obtained by correction. For example, when the verification area is divided into meshes and the matching rate is calculated, the control device 30 divides the area to be printed as print information among the divided areas into the actual printed area. Calculate the match rate based on the number.

例えば、印刷情報において、数千の領域に分割された検証エリア内に、印刷が施される予定の領域が1258個あり、印刷が施される予定の領域のうち、補正情報に基づいて得られた、実際に印刷された領域が1229個であった場合には、その検証エリアにおける印刷情報と補正情報の一致率は、下記(1)式によって97.7%と算出される。
(1229/1258)×100=97.7(%) ・・・(1)
For example, in the print information, there are 1258 areas to be printed in a verification area divided into thousands of areas. If 1229 areas are actually printed, the match rate between the print information and the correction information in the verification area is calculated as 97.7% by the following equation (1).
(1229/1258) x 100 = 97.7 (%) (1)

また、制御装置30は、印刷情報と補正情報を比較して、補正情報の滲み率を算出する。補正情報の滲み率は、印刷情報として印刷するものとして設定された領域に対して、実際に印刷された印刷結果として増えている範囲の割合を百分率で示した割合である。制御装置30は、例えば、検証エリアをメッシュに分割して滲み率を算出する場合、分割された各領域のうち、印刷情報として印刷される予定の領域の数と、補正情報に基づいて得られた、実際に印刷された領域の数に基づいて滲み率を算出する。 Further, the control device 30 compares the print information and the correction information to calculate the bleeding rate of the correction information. The bleeding rate of the correction information is the percentage of the range that is actually increased as the printed result with respect to the area set as the area to be printed as the print information. For example, when the control device 30 divides the verification area into meshes and calculates the bleeding rate, the number of areas to be printed as print information among the divided areas and the number of areas to be printed as the print information and the correction information Also, the bleeding rate is calculated based on the number of areas actually printed.

例えば、印刷情報において、数千の領域に分割された検証エリア内に、印刷が施される予定の領域が1263個あり、実際に印刷された領域の数が1301個であった場合には、下記(2)式により、補正情報の滲み率は3.8%と算出される。
{(1301-1263)/1263}×100=3.8(%) ・・・(2)
For example, in the print information, in the verification area divided into thousands of areas, if there are 1263 areas to be printed and the number of actually printed areas is 1301, The bleeding rate of the correction information is calculated to be 3.8% by the following formula (2).
{(1301−1263)/1263}×100=3.8(%) (2)

ステップS305:制御装置30は、ステップS303における比較の結果、印刷情報と補正情報の一致率が、ステップS205等において設定された異常判定基準値より小さいか否かを判定する。制御装置30は、印刷情報と補正情報の一致率が異常判定基準値より小さいと判定した場合(ステップS305:YES)、ステップS306に進み、印刷情報と補正情報の一致率が異常判定基準値より小さくないと判定した場合(ステップS305:NO)、ステップS307に進む。 Step S305: As a result of the comparison in step S303, the control device 30 determines whether or not the match rate between the print information and the correction information is smaller than the abnormality determination reference value set in step S205 or the like. If the control device 30 determines that the matching rate between the print information and the correction information is smaller than the abnormality determination reference value (step S305: YES), the control device 30 proceeds to step S306, where the matching rate between the print information and the correction information is higher than the abnormality determination reference value. If it is determined that it is not smaller (step S305: NO), the process proceeds to step S307.

ステップS306:制御装置30は、印刷情報と補正情報の一致率が異常判定基準値より小さいと判定した検証エリアについては、印刷結果に含まれる文字に欠けが発生し、印刷結果に含まれる文字を正確に読み取れない可能性があるエリアと判定する。制御装置30は、印刷情報と補正情報の一致率が異常判定基準値より小さいと判定した検証エリアを、印刷異常が見られた検証エリアとして、異常印刷情報をRAM33に記憶させる。なお、印刷情報と補正情報の一致率が異常判定基準値より小さくないと判定した検証エリアについては、異常印刷情報を記憶しない。 Step S306: The control device 30 determines that the matching rate of the print information and the correction information is smaller than the abnormality determination reference value in the verification area, and the characters included in the print result are missing. Determined as an area that may not be read accurately. The control device 30 stores abnormal print information in the RAM 33 as a verification area in which a printing abnormality is found, in a verification area in which the matching rate between the print information and the correction information is determined to be smaller than the abnormality determination reference value. It should be noted that abnormal print information is not stored for verification areas in which it is determined that the matching rate between print information and correction information is not smaller than the abnormality determination reference value.

ステップS307:制御装置30は、ステップS303における比較の結果、補正情報の滲み率が、滲み異常判定値より大きいか否かを判定する。制御装置30は、補正情報の滲み率が滲み異常判定値より大きいと判定した場合(ステップS307:YES)、ステップS307に進み、補正情報の滲み率が滲み異常判定値より小さくないと判定した場合(ステップS307:NO)、ステップS308に進む。 Step S307: As a result of the comparison in step S303, the control device 30 determines whether or not the bleeding rate of the correction information is greater than the bleeding abnormality determination value. If the control device 30 determines that the bleeding rate of the correction information is greater than the bleeding abnormality determination value (step S307: YES), the control device 30 proceeds to step S307, and determines that the bleeding rate of the correction information is not smaller than the bleeding abnormality determination value. (Step S307: NO), and proceeds to step S308.

ステップS308:制御装置30は、補正情報の滲み率が滲み異常判定値より大きいと判定した検証エリアについて、印刷結果に含まれる文字に滲みが発生し、印刷結果に含まれる文字を正確に読み取れない可能性があるエリアと判定する。制御装置30は、補正情報の滲み率が滲み異常判定値より大きいと判定した検証エリアを、印刷異常が見られた検証エリアとして、異常印刷情報をRAM33に記憶させる。なお、補正情報の滲み率が滲み異常判定値より大きくないと判定した検証エリアについては、異常印刷情報を記憶しない。 Step S308: The controller 30 determines that the blurring rate of the correction information is greater than the blurring abnormality determination value, and the characters included in the printed result are blurred, and the characters included in the printed result cannot be read accurately. Determined as possible area. The control device 30 causes the RAM 33 to store abnormal printing information in the verification area in which the bleeding rate of the correction information is determined to be greater than the bleeding abnormality determination value as the verification area in which the printing abnormality is observed. It should be noted that abnormal print information is not stored for a verification area in which it is determined that the bleeding rate of correction information is not greater than the bleeding abnormality determination value.

ステップS309:制御装置30は、印刷情報と補正情報の比較が行われていない未比較検証エリアがあるか否かを判定する。未比較検証エリアがあると判定した場合(ステップS309:NO)、制御装置30は、ステップS303に戻り、未比較検証エリアにおける印刷情報を補正情報の比較を行う。未比較検証エリアがないと判定した場合(ステップS309:YES)、制御装置30は、印刷情報におけるすべての検証エリアにおいて印刷情報と補正情報の比較を行ったとして図22に示すフローチャートの処理を終了する。 Step S309: The control device 30 determines whether or not there is an uncompared verification area in which the print information and the correction information have not been compared. If it is determined that there is an uncompared verification area (step S309: NO ), the control device 30 returns to step S303 and compares the print information in the uncompared verification area with the correction information. If it is determined that there is no uncompared verification area (step S309: YES ), the control device 30 ends the processing of the flowchart shown in FIG. do.

また、ラベルプリンタ1では、セルフチェック及び位置合わせ作業を行ってから、印刷作業を行うことができる。セルフチェック及び位置合わせ作業は、印刷情報の生成などの作業よりもさらに前段階で実行され、例えば、ラベルプリンタ1の導入、点検等を行ったときに実行することができる。以下、セルフチェック及び位置合わせ作業について説明する。 Further, in the label printer 1, the printing work can be performed after performing the self-check and the alignment work. The self-checking and alignment work are executed in a stage prior to the work such as the generation of print information, and can be executed, for example, when the label printer 1 is introduced and inspected. The self-check and alignment work will be described below.

セルフチェック及び位置合わせ作業を行う際には、ずれや傾斜の補正に特化した所定の印字パターンを印字部18によってラベルに印刷し、印刷した画像をラベル検出センサ19によって読み取り、得られた画像によってセルフチェック及び位置合わせ作業を行う。ここでの印字パターンは、例えば、6個の黒塗りの互いに同一形状の長方形を横一列並べる。その両端の長方形の後ろにそれぞれ同一形状の黒塗りの長方形を並べ、内側に行くほど、後方に大きくずれた位置に同一形状の黒塗りの長方形を並べる。こうして、複数の長方形をいわば外形的に半月状に配置して印字パターンを形成する。形成された印字パターンは、図23の印刷結果として示すようになる。 When performing self-checking and alignment work, the printing unit 18 prints a predetermined print pattern specialized for correction of misalignment and inclination on the label, and the printed image is read by the label detection sensor 19, and the image obtained is performs self-check and alignment work. The print pattern here is, for example, six black rectangles of the same shape arranged horizontally in a row. Black rectangles of the same shape are arranged behind the rectangles at both ends, and black rectangles of the same shape are arranged at positions that are greatly shifted rearward toward the inner side. In this way, a printing pattern is formed by arranging a plurality of rectangles in a half-moon shape. The formed print pattern is as shown in FIG. 23 as a print result.

セルフチェックの主な確認項目は、は、サーマルヘッド18Aが正しく印刷できているかという点及びラインセンサ19Aが正しく読み込みを行えているかという点である。セルフチェックでは、印字部18で印刷した印字パターンをラベル検出センサ19によって検出し、各長方形の領域における印字割合を検出する。ここで、検出割合が所定割合以上、例えば95%以上であるときには、セルフチェックではエラーは発生せず、95%を超えるときにはセルフチェックでエラーの発生を検出する。セルフチェックでエラーが検出された場合には、印字パターンの画像とともにエラーが発生した旨を実行日時や印字検証IDとともに表示装置15に表示する。印字パターンは、印字部18とラベル検出センサ19の位置関係の基準となる位置基準画像である。 The main confirmation items of the self-check are whether the thermal head 18A is printing correctly and whether the line sensor 19A is reading correctly. In the self-check, the print pattern printed by the printing unit 18 is detected by the label detection sensor 19, and the print ratio in each rectangular area is detected. Here, when the detection rate is a predetermined rate or more, for example, 95% or more, no error occurs in the self-check, and when it exceeds 95%, the occurrence of an error is detected in the self-check. If an error is detected in the self-check, the image of the print pattern and the fact that the error has occurred are displayed on the display device 15 together with the date and time of execution and the print verification ID. The print pattern is a positional reference image that serves as a reference for the positional relationship between the printing unit 18 and the label detection sensor 19 .

位置合わせ検出では、セルフチェックを行う際に実行した印字パターンの読み取って得られたスキャン画像をラベルシートLSの搬送方向(y方向)に沿った方向に複数等分、例えば6等分して、第1エリア~第6エリアを設定する。これらの第1エリア~第6エリアの各エリアにおいて、印字パターンのx方向、y方向へのずれ、傾斜、一致率及び滲み率を求める。そして、印字パターンのx方向及びy方向へのずれ並びに傾斜角度が予め設定された許容範囲内であり、一致率及び滲み率がそれぞれ異常判定基準値及び滲み異常判定値未満であるときに、位置合わせが完了する。図23は、表示装置15の表示の一例を示す図である。位置合わせの結果は、図23に示すように、スキャン画像とともに表示装置15に表示される。 In the alignment detection, the scanned image obtained by reading the print pattern executed when performing the self-check is divided into a plurality of equal parts, for example, into 6 equal parts in the direction along the conveying direction (y direction) of the label sheet LS. Set the 1st to 6th areas. In each of these 1st to 6th areas, the x-direction and y-direction shifts, inclinations, coincidence rates, and blurring rates of the print pattern are obtained. Then, when the deviation of the print pattern in the x-direction and the y-direction and the inclination angle are within a preset allowable range, and the matching rate and the bleeding rate are respectively less than the abnormality determination reference value and the bleeding abnormality determination value, the position Alignment is completed. FIG. 23 is a diagram showing an example of display on the display device 15. As shown in FIG. The alignment result is displayed on the display device 15 together with the scanned image, as shown in FIG.

例えば、当該検証の結果、第1エリアの一致率が100%であり、第2エリアから第3エリアへと進むにつれて、エリアごとに98、96、94、92、90のようにリニアに一致率が落ちている場合、第1エリア側は正しい位置に取り付けられ、第6エリア側の取り付け正しくないと判定できる。このような場合には、例えば表示装置15に「サーマルッドもしくはラインセンサの右端の取り付けがずれている可能性があります。」と警告内容を表示したり、図示しないスピーカから発生したりして判定結果に基づいて想定される異常の内容を報知することができる。あるいは、または、サーマルヘッド18Aとプラテンローラ18Bとの関係(ヘッド圧と呼びます)が正しくないことによるラベル搬送蛇行の可能性も有るので、「ヘッド圧が正しくありません」という警告内容を報知するようにしてもよい。 For example, as a result of the verification, the match rate in the first area is 100%, and as it progresses from the second area to the third area, the match rate linearly increases to 98, 96, 94, 92, and 90 for each area. , it can be determined that the first area side is attached at the correct position and the sixth area side is not attached correctly. In such a case, for example, a warning may be displayed on the display device 15 saying, "There is a possibility that the right end of the thermal pad or line sensor is misaligned." It is possible to notify the content of the abnormality assumed based on. Alternatively, since there is a possibility that label conveyance meanders due to an incorrect relationship (referred to as head pressure) between the thermal head 18A and the platen roller 18B, a warning message "Incorrect head pressure" may be issued. can be

また、サーマルッド18Aとラインセンサ19Aの相対的な平行だけでなく、ラインセンサと搬送面(滑走板)との相対的な平行関係を計ることもできる。例えば、当該検証の結果、第1エリアの一致率が100%であり、第2エリアから第3エリアへと進むにつれて、エリアごとに98、96、94、92、90のようにリニアに一致率が落ちている場合、ラインセンサ19Aと滑走板21Aとが平行に接していないことが予測されます。このようの場合には、「ラインセンサは斜めにとりつけられていませんか?」や「ラインセンサと滑走板との間に異物はありませんか?」などの警告内容を報知するようにしてもよい。以上のように、セルフチェック・位置合わせチェックの結果から各機構の取り付け状態を検出することができるので、製造、導入、部品交換、点検等の各工程において作業者の作業時間を削減することができる。 Moreover, not only the relative parallelism between the thermal pad 18A and the line sensor 19A, but also the relative parallelism between the line sensor and the conveying surface (sliding plate) can be measured. For example, as a result of the verification, the match rate in the first area is 100%, and as it progresses from the second area to the third area, the match rate linearly increases to 98, 96, 94, 92, and 90 for each area. is falling, it is predicted that the line sensor 19A and the sliding plate 21A are not in parallel contact. In such a case, a warning message such as "Is the line sensor installed at an angle?" or "Is there any foreign object between the line sensor and the sliding plate?" . As described above, the installation state of each mechanism can be detected from the results of the self-check and alignment check, so it is possible to reduce the working time of workers in each process such as manufacturing, installation, parts replacement, and inspection. can.

表示装置15は、位置合わせの結果として、スキャン画像のほか、第1エリア(エリア1)~第6エリア(エリア6)における一致率及び滲み率を表示する。図23に示すスキャン画像には、第1エリア(エリア1)~第6エリア(エリア6)を仕切る仕切線を仮想線として示しておく。また、位置合わせ結果としては「印字画像」「2値化画像」「スキャン画像」の3通りのボタン画像が表示されており、各ボタン画像を押下操作することにより、「印字画像」「2値化画像」「スキャン画像」が表示装置15に表示される。 The display device 15 displays the matching rate and blurring rate in the first area (area 1) to the sixth area (area 6) as well as the scanned image as the alignment result. In the scanned image shown in FIG. 23, partition lines that partition the first area (area 1) to the sixth area (area 6) are shown as imaginary lines. In addition, three types of button images, "print image", "binary image", and "scan image", are displayed as the alignment results. Transformed image” and “scanned image” are displayed on the display device 15 .

また、一致率や滲み率が異常判定基準値や滲み異常判定値未満となるときには、エラーが発生したとして、エラーの内容やその対処法を示すメッセージを表示したり、エラーが発生したエリアの一致率や滲み率の表示色を変えたりする。これらの表示により、印字部18とラベル検出センサ19の相対的位置関係、特に、印字部(サーマルヘッド18A及びプラテンローラ18B)とラベル検出センサ19(ラインセンサ19A)の平行を計ることができる。印字パターンは、印字部18とラベル検出センサ19の相対的位置関係を計るために印刷される。 In addition, when the matching rate or the bleeding rate is less than the abnormality judgment reference value or the bleeding abnormality judgment value, it is assumed that an error has occurred, and a message indicating the details of the error and how to deal with it is displayed, or the area where the error has occurred is displayed. Change the display color of the rate and blur rate. From these displays, it is possible to measure the relative positional relationship between the printing section 18 and the label detection sensor 19, especially the parallelism between the printing section (thermal head 18A and platen roller 18B) and the label detection sensor 19 (line sensor 19A). The print pattern is printed to measure the relative positional relationship between the print section 18 and the label detection sensor 19 .

このように、セルフチェック及び位置合わせを実行することにより、ラベルプリンタ1におけるおおよその設定を行うことができる。したがって、その後に実行される印刷情報の生成から記憶、ラベルの印刷結果の検証等を精度よくしかも容易に実行することができる。 By executing the self-check and alignment in this way, it is possible to roughly set the label printer 1 . Therefore, it is possible to accurately and easily perform the generation and storage of print information and the verification of the printed result of the label to be executed later.

以上の説明のように、上記のラベルプリンタ1の例では、印字部18でラベルシートLSに貼付されたラベルに印刷情報に応じた内容を印刷するとともに、ラベル検出センサ19によってラベルに印刷された印刷結果をスキャン画像として読み込む。ラベルプリンタ1は、スキャン画像をスキャン情報に変換した後、スキャン情報に補正を施して補正情報を生成し、補正情報と印刷情報を比較して両者の一致率及び滲み率を求め一致率及び滲み率に基づいて印刷異常を検出している。このため、印刷装置40による印刷を行うとともに検証装置50による検証が行われるので、印刷異常が生じた場合などに、その後のラベルの印刷が進行する前に対策を取ることができる。したがって、柔軟な設定に基づく印刷異常の検証を行うことができる。 As described above, in the example of the label printer 1 described above, the printing unit 18 prints the content corresponding to the print information on the label attached to the label sheet LS, and the label detection sensor 19 prints on the label. Read the print result as a scanned image. After converting the scanned image into scan information, the label printer 1 corrects the scan information to generate correction information, compares the correction information and the print information, and obtains the matching rate and the blurring rate of both. Detecting print anomalies based on rate. Therefore, since printing is performed by the printing device 40 and verification is performed by the verification device 50, countermeasures can be taken in the event that a printing error occurs before the printing of subsequent labels proceeds. Therefore, printing abnormality verification can be performed based on flexible settings.

また、ラベル検出センサ19は、ラインセンサ19Aによって印刷結果を読み込んでいる。このため、ラベル検出センサ19では、印字濃度の濃淡のみならず、印字の欠けやにじみを検出することができる。印字濃度の濃淡は、多くの場合、複数の印刷結果において同様の傾向をもって印刷異常が発生するため、ラインセンサ19Aの検出によって、印字濃度の濃淡を検出できる。また、特定のラベルにおいて、異物の介在などによって印刷結果の一部が欠けてしまう印刷異常が生じた場合には、他のラベルとは異なる傾向をもって印刷異常が発生する。したがって、特定のラベルにおいて発生する印刷異常などについても検出できる。 Also, the label detection sensor 19 reads the print result by the line sensor 19A. For this reason, the label detection sensor 19 can detect not only the density of printing but also missing or bleeding of printing. In many cases, print density variations occur with similar tendencies in a plurality of print results, so the line sensor 19A can detect the print density density. In addition, in a specific label, when a printing error occurs in which a part of the printed result is missing due to inclusion of a foreign substance, etc., the printing error occurs with a tendency different from that of other labels. Therefore, it is possible to detect a printing error that occurs in a specific label.

具体的には、同等面積の検証エリアが5か所に設定された印刷情報において、ラベルにおいて、各検証エリアにおける一致率がいずれも85%から90%程度であって、印刷異常が検出された場合には、印刷濃度が低いと想定できる。この場合には、「印字濃度設定が低い」と判定して、印字濃度を濃くする調整を行ってフィードバックをかけて濃度設定を高くしたり、印字濃度が低い旨の報知を行ったりして印刷異常の解消を図ることができる。 Specifically, in the print information in which five verification areas with the same area are set, the matching rate in each verification area on the label was about 85% to 90%, and the printing abnormality was detected. In this case, it can be assumed that the print density is low. In this case, it determines that "the print density setting is low", adjusts the print density to make it thicker, applies feedback to increase the density setting, or issues a notification that the print density is low before printing. Abnormalities can be resolved.

また、4つの検証エリアでは99~100%の一致率であるのに対して、残りの1つのエリアでは一致率が70%である場合には、印字の欠けの場合には、濃度設定の問題ではなく、一致率の低い検証エリアでのみイレギュラーが発生したと考えられる。印字欠けの発生原因の多くは、濃度設定等ではなく外乱の要素が大きく、例えば、サーマルヘッド18AとラベルシートLSとの間にごみが挟まりヘッド熱がラベルシートLSに貼付されたラベルに伝わらない場合などに印字の欠けが発生する。よって、印字濃度の異常を検出した場合とは異なり、例えば、「サーマルヘッドやプラテンローラにごみが付着している可能性があります。取り除いてください。」等の報知を行う。こうして、オペレータに対処を促すことにより、印刷異常の解消を図ることができる。 In addition, if the matching rate is 99 to 100% in the four verification areas, and the matching rate is 70% in the remaining one area, there is a problem with the density setting in the case of lack of printing. Rather, it is thought that the irregularity occurred only in the verification area with a low matching rate. Most of the causes of print defects are not density settings and other factors but disturbance factors. For example, if dust is caught between the thermal head 18A and the label sheet LS, the heat of the head is not transmitted to the label attached to the label sheet LS. Occasionally, print defects occur. Therefore, unlike when an abnormality in print density is detected, for example, a notification such as "There is a possibility that dust is attached to the thermal head or platen roller. Please remove it." In this way, by urging the operator to take action, it is possible to resolve the printing abnormality.

また、複数の検証エリアを設定した場合であっても、印刷異常と判定する判定値、例えば一致率に関する異常判定基準値や滲み率に関する滲み異常判定値について各検証エリアで共通である場合、判定値を高く設定すると、検証かかる時間や負荷が大きくなる。その一方で判定値を低くすると、重要な検証部分についての検証が不十分となりかねない。そこで、上記の例では、複数の検証エリアについて、個々に異なる判定値を設定できるようにしている。このため、重要度に応じた判定値の設定を行うことができ、印刷結果について重要度の高い部位には高い判定値を設定し、印刷結果について重要度の低い部位には低い判定値を調整して設定することにより、重要部分の検証を十分に行うことができるとともに、検証に要する時間や負荷の軽減を図ることができる。 Also, even when a plurality of verification areas are set, if the determination value for determining printing abnormality, for example, the abnormality determination reference value related to the matching rate or the bleeding abnormality determination value related to the bleeding rate is common to each verification area, the determination Setting a high value increases the time and load required for verification. On the other hand, if the judgment value is low, the verification of important verification portions may be insufficient. Therefore, in the above example, different determination values can be individually set for a plurality of verification areas. For this reason, it is possible to set judgment values according to the degree of importance. High judgment values are set for areas with high importance in printing results, and low judgment values are adjusted for areas with low importance in printing results. By setting it as such, it is possible to sufficiently verify the important part and reduce the time and load required for the verification.

また、各検証エリアについて、判定値を調整できるとしても、実際の判定値(異常判定基準値や滲み異常判定値)がどの程度であれば、十分な検証ができるかをオペレータが認識しにくい場合がある。ここで、一旦判定値を設定してみて実際のテスト印字を行うことが考えられるが、この場合には、時間とラベルを無駄にする問題がある。 In addition, even if the judgment value can be adjusted for each verification area, it is difficult for the operator to recognize how much the actual judgment value (abnormality judgment reference value or blurring abnormality judgment value) is enough for sufficient verification. There is Here, it is conceivable to set the judgment value once and perform actual test printing, but in this case, there is a problem of wasting time and labels.

そこで、上記の例では、判定値の調整及び設定の際に、図18に示すエラー指標サンプル画像SGを表示装置15に表示するようにしている。このため、オペレータは、具体的な画像を見ながら判定値の調整及び設定を行うことができるので、判定値を変えながらテスト印字を繰り返す必要が無く時間とラベルの無駄を抑制しながら、判定値を調整して設定することができる。 Therefore, in the above example, the error index sample image SG shown in FIG. 18 is displayed on the display device 15 when adjusting and setting the determination value. Therefore, since the operator can adjust and set the judgment value while viewing a specific image, it is not necessary to repeat test printing while changing the judgment value. can be adjusted and set.

また、エラー指標サンプル画像SGとしては、判定値を決定する際の検証エリアの印字イメージ(例えば「プラマーク」など)に加工処理を加え、一致率が〇〇%であるときの印刷画像のイメージを一致率ごとに選択可能に表示してもよい。この場合、複数のエラー指標サンプル画像SGの中からエラー指標サンプル画像SGを選択することで判定値を決定させてもよい。この場合、濃度による一致率低下の例や、印字欠けによる一致率の低下の例について、シミュレーションを行ってサンプル画像化し、エラー指標サンプル画像SGとして提示してもよい。さらに、リアルタイムでシミュレーションを提示する例として、対象の印字イメージと共にスクロールバーを表示し、このバーをスクロールさせることで、イメージ画像を可変させながら、オペレータの求める判定値を探させてもよい。加工処理を加えない場合は、事前に例画像(代表的なロゴマークやラベル全体のイメージなど)を記憶しておき、これを提示させてもよい。 In addition, as the error index sample image SG, the printed image of the verification area when determining the judgment value (for example, "Plamark") is processed, and the image of the printed image when the matching rate is 〇〇% It may be displayed so that it can be selected for each matching rate. In this case, the judgment value may be determined by selecting an error index sample image SG from among a plurality of error index sample images SG. In this case, an example of a decrease in matching rate due to density or an example of a decrease in matching rate due to print defects may be simulated, converted into sample images, and presented as error index sample images SG. Furthermore, as an example of presenting the simulation in real time, a scroll bar may be displayed together with the target print image, and by scrolling this bar, the image may be varied to allow the operator to search for the determination value desired. If no processing is applied, an example image (a representative logo mark, an image of the entire label, etc.) may be stored in advance and presented.

また、上記の例において、検証装置50は、筐体10の内側に設けられている。このため、検証装置50による検証結果(スキャン情報と印刷情報の比較結果)を、ラベルシートLSに貼付されたラベルへの印刷を行っている最中に実行できる。このため、印刷異常が検出された場合にも早期に対応を取ることができるので、柔軟な設定を行うことができる。その結果、柔軟な設定に基づく印刷異常の検証を行うことができる。また、検証装置50のラベル検出センサ19は、印字部18と排出口24の間に設けられている。このため、印字部18で印刷を行った直後のラベルについての印刷結果の検証を行うことができるので、印刷異常が検出された場合の対応をより素早く行うことができる。 Also, in the above example, the verification device 50 is provided inside the housing 10 . Therefore, the verification result (the comparison result of the scan information and the print information) by the verification device 50 can be executed while the label attached to the label sheet LS is being printed. Therefore, even if a printing error is detected, it is possible to take early measures, so that flexible settings can be made. As a result, print abnormality verification can be performed based on flexible settings. Also, the label detection sensor 19 of the verification device 50 is provided between the printing unit 18 and the discharge port 24 . Therefore, it is possible to verify the printing result of the label immediately after printing by the printing unit 18, so that it is possible to quickly respond to the detection of printing abnormality.

また、上記の例では、スキャン情報にずれや傾斜の補正を施すにあたり、印字部18とラベル検出センサ19の間に位置関係のずれや角度の相違などがあると、印刷情報として印刷しようとする印刷内容と実際にラベルに印刷された印刷内容の間にずれや傾きが生じる。このため、印刷情報とスキャン情報を比較しても、精度のよい比較結果を得ることが難しい。この点、上記の例では、基準情報である印刷情報と、印刷内容を読み込んだスキャン画像に基づくスキャン情報を比較して、印刷情報に基づく印刷結果と、ラベル検出センサ19で読み込んだ実際の印刷結果に基づくスキャン画像とのずれや傾斜を算出する。そして、このずれや傾斜に応じて補正を行うので、印刷情報として印刷しようとする印刷内容と実際にラベルに印刷された印刷内容の間のずれや傾きを調整できる。したがって、補正を行って印刷情報として印刷しようとする印刷内容と実際にラベルに印刷された印刷内容の間の位置関係のずれや角度の相違などを解消することにより、印字部18とラベル検出センサ19の位置関係に基づく印刷のずれを調整しやすくできる。 Further, in the above example, when the scan information is corrected for misalignment and tilt, if there is a misalignment in the positional relationship between the printing unit 18 and the label detection sensor 19, or a difference in angle, it is attempted to print as print information. Misalignment or inclination occurs between the printed content and the printed content actually printed on the label. Therefore, it is difficult to obtain an accurate comparison result even if the print information and the scan information are compared. In this regard, in the above example, the print information, which is the reference information, and the scan information based on the scanned image in which the print content is read are compared, and the print result based on the print information and the actual print read by the label detection sensor 19 are compared. Based on the result, the deviation from the scanned image and the tilt are calculated. Since correction is performed according to this shift and tilt, it is possible to adjust the shift and tilt between the print content to be printed as print information and the print content actually printed on the label. Therefore, by performing correction to eliminate deviations in the positional relationship and differences in angle between the print content to be printed as print information and the print content actually printed on the label, the printing unit 18 and the label detection sensor are corrected. It is possible to easily adjust printing misalignment based on the positional relationship of 19.

また、印刷情報として印刷しようとする印刷内容と実際にラベルに印刷された印刷内容の間のずれや傾き等が小さい場合には、補正等の演算処理によってずれや傾き等を解消できるが、このずれや傾き等が大きいと、演算によってずれや傾き等を解消することは難しく、印字部18とラベル検出センサ19の位置関係を調整することが好適となることがある。そこで、上記の例では、ラベルプリンタ1、特にラベル検出センサ19の設置状況の調整指示を表示装置15に表示させることにより、オペレータ等に印字部18とラベル検出センサ19の位置関係を調整させることができる。したがって、補正を行って印刷情報として印刷しようとする印刷内容と実際にラベルに印刷された印刷内容の間の位置関係のずれや角度の相違などを解消することにより、印字部18とラベル検出センサ19の位置関係に基づく印刷のずれを調整しやすくできる。 In addition, when there is a small deviation or skew between the print content to be printed as print information and the print content actually printed on the label, the deviation or skew can be eliminated by arithmetic processing such as correction. If the deviation or inclination is large, it is difficult to eliminate the deviation or inclination by calculation, and it may be preferable to adjust the positional relationship between the printing unit 18 and the label detection sensor 19 . Therefore, in the above example, the display device 15 displays an instruction to adjust the installation status of the label printer 1, particularly the label detection sensor 19, so that the operator or the like can adjust the positional relationship between the printing unit 18 and the label detection sensor 19. can be done. Therefore, by performing correction to eliminate deviations in the positional relationship and differences in angle between the print content to be printed as print information and the print content actually printed on the label, the printing unit 18 and the label detection sensor are corrected. It is possible to easily adjust printing misalignment based on the positional relationship of 19.

また、印刷異常の検証を行う際には、ラベル検出センサ19によってスキャン画像を読み込むごとに、印刷情報及びスキャン情報に基づいて補正を行っているが、ラベルプリンタ1の導入、点検等を行った後の位置合わせ作業においては、補正に特化した印字パターンを用いている。 Also, when verifying printing errors, each time a scanned image is read by the label detection sensor 19, corrections are made based on print information and scan information. In the subsequent alignment work, a print pattern specialized for correction is used.

印字部18(サーマルヘッド18A)とラベル検出センサ19(ラインセンサ19A)は完全なる平行(0°の関係)であることが理想的である。仮に0°の関係が崩れてしまうと、正しく印刷できたものであっても斜めに検出されてしまうため、印刷異常と判断される可能性が高くなってしまう。このような取り付け(組み立て)誤差を吸収するための機能として、プリンタの製造・導入時(初めて組み立てた際)や部品交換等の点検時(印字部18(サーマルヘッド18A)またはラベル検出センサ19(ラインセンサ19A)の交換時)に、印字部18(サーマルヘッド18A)とラベル検出センサ19(ラインセンサ19A)の関係を確認するためのテストを行います。 Ideally, the printing unit 18 (thermal head 18A) and the label detection sensor 19 (line sensor 19A) are perfectly parallel (0° relationship). If the 0° relationship is lost, even if the print is done correctly, it will be detected as slanted, which increases the possibility of being judged as a printing error. As a function to absorb such installation (assembly) errors, during the manufacture/installation of the printer (when assembled for the first time) and during inspection such as parts replacement (printing unit 18 (thermal head 18A) or label detection sensor 19 ( When replacing the line sensor 19A), a test is performed to check the relationship between the printing unit 18 (thermal head 18A) and the label detection sensor 19 (line sensor 19A).

テストの内容は、制御装置30に予め設定され、記憶されている印字パターン(テストパターン)をラベルに印刷し、印刷した印字パターンをラベル検出センサ19によって読み込むことによって行う。例えば、同サイズのバーを6本等間隔で配置した印字パターンをラベルに印字部18で印刷し、同時にラベル検出センサ19で読み込む。ラベルを読み込んだ方向(ラインセンサ19Aが延在する方向が搬送方向(y方向)に対して90°ちょうどでなければ、サーマルヘッド18Aまたはラインセンサ19Aのどちらかが傾いている可能性がある。このため、検出された傾斜角度に基づいて、スキャン情報に対して傾斜補正を行う。具体的には、印刷情報及びスキャン情報の比較の結果、右に1°傾斜していることが検出できた場合には、以後の検出結果に左に1°傾斜する補正を行う。これにより、プリンタ製造時や部品交換時の人出は調整が難しい取り付けを制御で吸収することができる。 The content of the test is performed by printing a print pattern (test pattern) preset and stored in the control device 30 on a label and reading the printed print pattern by the label detection sensor 19 . For example, a print pattern in which six bars of the same size are arranged at equal intervals is printed on a label by the printing unit 18 and read by the label detection sensor 19 at the same time. If the direction in which the label is read (the direction in which the line sensor 19A extends is not exactly 90° with respect to the conveying direction (y direction), there is a possibility that either the thermal head 18A or the line sensor 19A is tilted. Therefore, the tilt correction is performed on the scan information based on the detected tilt angle.Specifically, as a result of comparing the print information and the scan information, it was detected that the print information is tilted by 1° to the right. In this case, the subsequent detection result is corrected by tilting it to the left by 1°.This makes it possible to absorb the installation, which is difficult to adjust, by controlling the number of people during printer manufacturing or parts replacement.

また、上記の例では、ラベル検出センサ19と対向する位置でラベルシートLSに貼付されたラベルが搬送される搬送路である滑走板21が設けられている。滑走板21は、スポンジ部材23によってラベル検出センサ19側に付勢され、スポンジ部材23は、滑走板21の接触面が変位可能となるように滑走板を支持している。仮にスポンジ部材23のような付勢手段がないと、ラベル検出センサ19の上流側と下流側で、ラベルシートLSとラベル検出センサ19との間の距離が異なる可能性がある。この点、スポンジ部材23によって変位可能に支持された滑走板21の接触面を左ブラケット19B及び右ブラケット19Cとで固定されていることにより、滑走板21上を搬送されるラベルシートLSとラベル検出センサ19との距離(平行状態)を一定に保つことができる。したがって、ラベル検出センサ19による検出の結果に基づいて、精度のよい検証を行うことができる。 Further, in the above example, a sliding plate 21 is provided at a position facing the label detection sensor 19 as a conveying path along which the label attached to the label sheet LS is conveyed. The sliding plate 21 is biased toward the label detection sensor 19 by a sponge member 23, and the sponge member 23 supports the sliding plate 21 so that the contact surface of the sliding plate 21 can be displaced. If there is no urging means such as the sponge member 23, the distance between the label sheet LS and the label detection sensor 19 may differ between the upstream side and the downstream side of the label detection sensor 19. FIG. In this regard, the contact surface of the sliding plate 21 displaceably supported by the sponge member 23 is fixed by the left bracket 19B and the right bracket 19C, so that the label sheet LS conveyed on the sliding plate 21 and the label detection are detected. The distance (parallel state) to the sensor 19 can be kept constant. Therefore, accurate verification can be performed based on the detection result of the label detection sensor 19 .

また、ラベル検出センサ19におけるラインセンサ19Aの左右両端部は、左ブラケット19B及び右ブラケット19Cにそれぞれ固定されており、ラインセンサ19Aと左ブラケット19B及び右ブラケット19Cとの位置関係は一定となっている。また、ラベルプリンタ1が開放状態にあるときには、スポンジ部材23は膨張した状態となっているため、滑走板21はラベルプリンタ1が閉鎖状態にあるときよりも上方(ラベル検出センサ19方向)に位置している。ラベルプリンタ1が開放状態にあるときに、上部ユニット11を押し下げてラベルプリンタ1を閉鎖状態とすると、左ブラケット19B及び右ブラケット19Cは、滑走板21に対して押し下げる力(押圧力)を付与する。スポンジ部材23は、左ブラケット19Bまたは右ブラケット19Cの押圧力によって圧し潰され、滑走板21の一端をてこの原理で押し上げる際の支点として機能する。このため、押し上げられた滑走板21の他端は、左ブラケット19Bまたは右ブラケット19Cにより変位可能に支持されていた滑走板21を両端で押圧して固定することができる。したがって、左ブラケット19Bまたは右ブラケット19Cのどちらか一方のみが滑走板21と接触するような不均衡な状態を抑制し、ラベルシートLSに貼付されたラベルとラベル検出センサ19との距離を一定に保つことができる。 The left and right ends of the line sensor 19A in the label detection sensor 19 are fixed to the left bracket 19B and the right bracket 19C, respectively, and the positional relationship between the line sensor 19A and the left bracket 19B and the right bracket 19C is constant. there is Further, when the label printer 1 is in the open state, the sponge member 23 is in an expanded state, so the sliding plate 21 is positioned higher (in the direction of the label detection sensor 19) than when the label printer 1 is in the closed state. is doing. When the upper unit 11 is pushed down to close the label printer 1 when the label printer 1 is in the open state, the left bracket 19B and the right bracket 19C apply a pushing force (pressing force) to the sliding plate 21. . The sponge member 23 is crushed by the pressing force of the left bracket 19B or the right bracket 19C, and functions as a fulcrum when one end of the sliding plate 21 is pushed up by the principle of leverage. Therefore, the other end of the pushed-up sliding plate 21 can press both ends of the sliding plate 21 displaceably supported by the left bracket 19B or the right bracket 19C and fix it. Therefore, an unbalanced state in which only one of the left bracket 19B or the right bracket 19C is in contact with the sliding plate 21 is suppressed, and the distance between the label attached to the label sheet LS and the label detection sensor 19 is kept constant. can keep.

また、ラベル検出センサ19は、ラインセンサ19Aの上流側及び下流側にそれぞれ設けられた上流側押え軸19D及び下流側押え軸19Eを備えている。また、左ブラケット19B及び右ブラケット19Cの下端部は、上流側押え軸19D及び下流側押え軸19Eの下端部よりもわずかに、例えば5mm程度ラベルシートLS側に突出している。このため、ラベルプリンタ1が閉鎖状態となり、左ブラケット19B及び右ブラケット19Cが滑走板21を押圧及び固定すると、上流側押え軸19D及び下流側押え軸19Eと滑走板21との間にわずかな隙間が形成される。滑走板21で搬送させるラベルシートLSは、上流側押え軸19D及び下流側押え軸19Eと滑走板21との間を通過する。このとき、上流側押え軸19D及び下流側押え軸19Eは、ラベルシートLSの搬送を規制し、上下方向へのバタつきを抑制している。このため、ラインセンサ19AとラベルシートLSとの間の距離を一定に保つことができるので、ラベル検出センサ19による検出の結果に基づいて、精度のよい検証を行うことができる。 The label detection sensor 19 also includes an upstream presser shaft 19D and a downstream presser shaft 19E provided upstream and downstream of the line sensor 19A, respectively. Further, the lower ends of the left bracket 19B and the right bracket 19C protrude toward the label sheet LS by about 5 mm, for example, slightly more than the lower ends of the upstream presser shaft 19D and the downstream presser shaft 19E. Therefore, when the label printer 1 is closed and the left bracket 19B and the right bracket 19C press and fix the sliding plate 21, a slight gap is formed between the upstream side pressing shaft 19D and the downstream side pressing shaft 19E and the sliding plate 21. is formed. The label sheet LS conveyed by the slide plate 21 passes between the slide plate 21 and the upstream presser shaft 19D and the downstream presser shaft 19E. At this time, the upstream-side presser shaft 19D and the downstream-side presser shaft 19E restrict the transport of the label sheet LS, thereby suppressing flapping in the vertical direction. Therefore, since the distance between the line sensor 19A and the label sheet LS can be kept constant, accurate verification can be performed based on the detection result of the label detection sensor 19. FIG.

また、左ブラケット19B、右ブラケット19C、上流側押え軸19D及び下流側押え軸19Eは、ラベル検出センサ19におけるラインセンサ19Aの四方を囲んでおり、いわば読取部屋を形成している。このため、ラインセンサ19Aに対する外部からの光を遮断して、ラインセンサに対する光の入射を抑制することができ、読取環境を一定に保つことができる。したがって、例えばラインセンサ19Aが光学的に印刷内容を読み取る際に、外部からの光による誤読を抑制できる。また、読取部屋を形成することにより、ラインセンサ19Aが発光して印刷内容を読み取る際に、ラインセンサ19Aからの光の漏れを抑制できる。ラベルプリンタ1内には、ラベル検出センサ19以外にも光の受光を利用したセンサが数多く含まれているので、ラインセンサ19Aからの光の漏れを抑制することにより、これらのセンサに対する影響を少なくまたは無くすことができる。また、読取部屋は、上部ユニット11を閉じてラベルプリンタ1を閉鎖状態にするだけで形成できるので、ラインセンサ19Aの読取環境を容易に安定した状態とすることができる。 The left bracket 19B, right bracket 19C, upstream presser shaft 19D, and downstream presser shaft 19E surround the line sensor 19A of the label detection sensor 19, forming a so-called reading room. Therefore, it is possible to block the light from the outside to the line sensor 19A, suppress the incidence of light to the line sensor, and maintain a constant reading environment. Therefore, for example, when the line sensor 19A optically reads printed content, misreading due to light from the outside can be suppressed. Further, by forming the reading chamber, it is possible to suppress leakage of light from the line sensor 19A when the line sensor 19A emits light to read the printed content. In addition to the label detection sensor 19, the label printer 1 includes many sensors that utilize light reception. Therefore, by suppressing the leakage of light from the line sensor 19A, the influence on these sensors can be reduced. or can be lost. Further, since the reading room can be formed simply by closing the upper unit 11 and closing the label printer 1, the reading environment for the line sensor 19A can be easily stabilized.

[スキャナと印刷装置が一体になっていることの利点]
上記のラベルプリンタ1の利点として、印字部(印刷装置40)と読取部(検証装置50)とを一体かつ近傍に設けたことにより、従来の検証システム(検証装置と印刷装置が別体という意味)には無かった以下の利点を挙げることができる。印刷装置40はプラテンローラ18BでラベルシートLSを搬送しながらサーマルヘッド18Aにより印字を行っている。この搬送をそのまま利用して印字結果をラベル検出センサ19(ラインセンサ19A)によって逐次スキャンすることが出来るため、印刷装置40の外に検証装置50を設ける別体式の場合に必要となるコンベヤ等の別搬送機を設ける必要がない。
[Benefits of integrated scanner and printer]
As an advantage of the above-described label printer 1, the printing unit (printing device 40) and the reading unit (verification device 50) are provided integrally and close to each other. ) have the following advantages. The printing device 40 prints with the thermal head 18A while conveying the label sheet LS with the platen roller 18B. Since the printed results can be sequentially scanned by the label detection sensor 19 (line sensor 19A) using this conveyance as it is, a conveyor or the like required in the case of a separate type in which the verification device 50 is provided outside the printing device 40 is eliminated. There is no need to install a separate carrier.

また、印字部18と読取部(ラベル検出センサ19)とが近い距離にあるため、その間の無駄印刷を抑えることができる。具体的には、印字部18と読取部(ラベル検出センサ19)との間が10ラベル分離れている場合、11枚目のラベルから異常印字が連続している場合であってもその異常を検出できるのは、11枚目が読取部に到達したときであり、その際には21枚目のラベルが印刷されてしまい、11枚目から21枚目の異常ラベルを無駄に印刷してしまうことになる。さらに、印字部18で印字を行った後、読取部(ラベル検出センサ19)までの搬送中にほこり等のごみが付着することにより、印刷に問題の無いラベルについても以上と判断される恐れがある。この点、同一媒体(ラベル)に対し上流側で印刷、下流側でその印刷内容を読取れる位置関係にあるため、上記問題を低減することができる。 In addition, since the printing unit 18 and the reading unit (label detection sensor 19) are close to each other, wasteful printing between them can be suppressed. Specifically, when there is a separation of 10 labels between the printing unit 18 and the reading unit (label detection sensor 19), even if abnormal printing continues from the 11th label, the abnormal printing is detected. It can be detected when the 11th sheet reaches the reading unit, and at that time the 21st label is printed, and the 11th to 21st abnormal labels are printed in vain. It will be. Furthermore, after printing by the printing unit 18, there is a risk that a label with no problem in printing will be judged as above due to dust or other dust adhering during transportation to the reading unit (label detection sensor 19). be. In this regard, the above problem can be reduced because the positional relationship is such that printing can be performed on the upstream side of the same medium (label) and the printed content can be read on the downstream side.

また、読取環境が印刷装置40外である場合、外乱(施設内の蛍光灯、太陽光、人の影)等の影響に晒されやすくなり読取品質が低下する。この点、ラベルプリンタ1では、印刷装置40内に読取環境(読取部屋)を設けたことでこれら外乱の要素を排除することができる。 In addition, when the reading environment is outside the printing apparatus 40, the reading quality is likely to be affected by external disturbances (fluorescent lights, sunlight, shadows of people in the facility) and the like, resulting in deterioration in reading quality. In this regard, the label printer 1 can eliminate these disturbance factors by providing a reading environment (reading room) in the printing device 40 .

なお、上記の例では、滑走板21を変位可能に支持する例として、スポンジ部材23を使いてこの原理が働く例を説明したが、支持の方法はこれに限定されない。先のスポンジ部材23を押圧する方法であっても、左ブラケット19Bと右ブラケット19Cとが同時に滑走板21に接触する場合にはてこの原理は発生せず、単にスポンジ部材23を下に沈み込ませる変位が発生するのみとなる。またカバー閉時に滑走板21をラベル検出センサ19側へ持ち上げ左ブラケット19B及び右ブラケット19Cへ接触させる構造であってもよい。またモータやソレノイドの電気制御によってラベル検出センサ19側へ持ち上げてもよい。 In the above example, as an example of displaceably supporting the sliding plate 21, an example in which this principle works using the sponge member 23 has been described, but the supporting method is not limited to this. Even in the above method of pressing the sponge member 23, when the left bracket 19B and the right bracket 19C are in contact with the sliding plate 21 at the same time, the principle of leverage does not occur, and the sponge member 23 simply sinks downward. Only the displacement that causes the Further, the structure may be such that when the cover is closed, the sliding plate 21 is lifted toward the label detection sensor 19 and comes into contact with the left bracket 19B and the right bracket 19C. Alternatively, it may be lifted toward the label detection sensor 19 by electrical control of a motor or solenoid.

また、上記の例では、固定手段が滑走板21を押圧することで、結果として滑走板21を固定しているが、これに限定されず、例えば左ブラケット19B及び右ブラケット19Cがマグネットで構成され、滑走板21がこのマグネットの磁力で吸引される材質であれば、変位可能に支持されていた滑走板21の接触面を当該マグネットの磁力により固定するようにしてもよい。変位可能に支持された滑走板が何らかの機構や電気、磁気等の力により一定距離で固定されればどのような方式を採用してもよい。 In the above example, the fixing means presses the sliding plate 21, thereby fixing the sliding plate 21. However, the present invention is not limited to this. For example, the left bracket 19B and the right bracket 19C are made of magnets. If the sliding plate 21 is made of a material that is attracted by the magnetic force of the magnet, the contact surface of the sliding plate 21 that has been displaceably supported may be fixed by the magnetic force of the magnet. Any method may be adopted as long as the sliding plate supported displaceably is fixed at a certain distance by some mechanism, electricity, magnetism, or the like.

また、上記の例では、予印刷文字をスキャンエリアから排除して設定する例を記載したが、これに限定されず予印刷文字も補正情報を算出する際の判断基準の一つとし、印刷状況を特定することができるようにしてもよい。 Also, in the above example, an example in which the preprinted characters are excluded from the scan area and set is described. may be specified.

また、上記の例では、ラベルプリンタ1の印刷対象を台紙付きラベルとしているが、他の印刷対象としてもよい。例えば、印刷対象は、レシートや台紙レスラベル、枚葉状の普通紙などであってもよい。また、また印刷方式として、媒体が発色する感熱方式を用いているが、他の方式でもよく、例えば、インクリボンを使った熱転写方式やインクを塗布するインクジェット方式、レーザープリンター方式などの方式を用いてもよい。これらの印刷方式であっても同様の検証を実現することができる。 Also, in the above example, the print object of the label printer 1 is a label with a backing sheet, but it may be another print object. For example, the object to be printed may be a receipt, a linerless label, a sheet of plain paper, or the like. Also, as a printing method, a thermal method in which the medium develops color is used, but other methods may be used, such as a thermal transfer method using an ink ribbon, an inkjet method for applying ink, a laser printer method, and the like. may Similar verification can be achieved with these printing methods.

上記の例では、オペレータが表示・操作部34を操作して印刷を指示する方法を用いているが、他の方法でもよく、例えば、ネットワークを介して印刷装置へ印刷指示や印刷予約を行う方法でもよい。また、印刷する商品種別、フォーマット種別、印刷枚数、印刷時間等を他の装置から受信した印刷装置はその内容に基づいて印刷を実行することが可能である。この場合はオペレータが近傍にいない場合が多いため、異常停止枚数を無視する制御が実行されてもよい。 In the above example, the operator operates the display/operation unit 34 to instruct printing, but other methods may be used. For example, a method of instructing printing or making a print reservation to a printing device via a network. It's okay. Also, a printing apparatus that receives information such as the type of product to be printed, the type of format, the number of prints, and the printing time from another apparatus can execute printing based on the content. In this case, since there are many cases where the operator is not nearby, control may be executed to ignore the abnormally stopped number of sheets.

また、各種印刷結果や履歴を印刷装置内やネットワークを通じて他の装置で管理してもよい。この場合、流通段階で印刷内容に関する問題があった場合であってもこれら結果を使って印刷後に印刷自体に問題があったのか、印刷後の流通段階で発生した問題なのかを切り分ける情報として利用することができる。また、ネットワークに接続された上位装置やクラウド上で同様の情報を管理してもよい。 Also, various print results and histories may be managed by another device within the printing device or through a network. In this case, even if there is a problem with the printed content in the distribution stage, the results are used as information to distinguish whether the problem was in the printing itself after printing or the problem occurred in the distribution stage after printing. can do. Also, similar information may be managed on a host device connected to a network or on the cloud.

また、上記の例では、サンプル画像としてイメージ画像を用いているが、他のサンプルを用いてもよい。例えば、ある特定の文字列をフォントサイズ別で並べて表示し、オペレータが許容できるフォントサイズや異常判定基準値を決定(選択)できるようにしてもよい。 Also, in the above example, image images are used as sample images, but other samples may be used. For example, specific character strings may be arranged and displayed by font size so that the operator can determine (select) an acceptable font size and an abnormality determination reference value.

また、印刷の欠けや滲みを検出した場合は、バックフィードし当該異常ラベルに印刷異常を示す情報を追加印刷できるようにしてもよい。例えば、ラベル全体にバツ印を印刷したり、分かる位置に「不良」の文字を追加印刷したりするようにしてもよい。これにより、操作者は事後確認する際に容易に異常ラベルを特定することができる。 Further, when missing or blurring of printing is detected, backfeed may be performed so that information indicating the printing abnormality can be additionally printed on the abnormal label. For example, a cross mark may be printed on the entire label, or the word "defective" may be additionally printed at a recognizable position. As a result, the operator can easily identify the abnormal label when checking after the fact.

また、印刷の欠けを検出した場合は、バックフィードを行い、当該欠けの部分を補足するための追加印刷を行うようにしてもよい。また、欠けの部分ではなく全体情報を追加印刷するようにしてもよい。これにより異常ラベルの数量を減らすことができる。また、追加印刷を施したラベルに対する読取を再度行い、異常の有無を判断するようにしてもよい。このように補足印刷のリトライ回数を事前に設定しておくこともできるようにしてもよい。 In addition, when a lack of printing is detected, back feed may be performed, and additional printing may be performed to compensate for the lack of print. Alternatively, the entire information may be additionally printed instead of the missing portion. This can reduce the number of abnormal labels. Further, the label on which additional printing has been performed may be read again to determine whether or not there is an abnormality. In this manner, the number of retries for supplemental printing may be set in advance.

また、予印刷媒体を利用する場合、当該予印刷文字を回避する必要がある。そこで、新規でこのような予印刷文字が施された予印刷媒体を利用する場合には、印刷装置へ当該媒体をセットし、ラインセンサ19Aにより当該媒体の予印刷文字をスキャンする。読み取られた予印刷文字を当該ラベルフォーマットを表示する際に表示させることで操作者は当該ラベルのラベルフォーマットを作成する際に、予印字文字を回避しながら各種印字項目を配置できるようにしてもよい。 Also, when using a pre-printed medium, it is necessary to avoid such pre-printed characters. Therefore, when using a new preprinted medium on which such preprinted characters are applied, the medium is set in the printing apparatus, and the preprinted characters on the medium are scanned by the line sensor 19A. By displaying the read pre-printed characters when displaying the label format, the operator can arrange various print items while avoiding the pre-printed characters when creating the label format of the label. good.

同様にスキャンエリアや検証エリアについても予印刷文字を回避した設定ができるようにしてもよい。また、予印字文字のある部分を禁止エリアとして自動設定し、先の印字項目の配置やスキャンエリアや検証エリアの設定時が当該禁止エリアに掛かる場合にはエラーを報知するようにしてもよい。この場合にエラーの報知を行うことにより、印字項目の配置等が禁止エリアに掛かる事態等の回避を促すことができる。これにより、予印字文字と印字項目が重なってしまうヒューマンエラーを防止することが出来る。 Similarly, the scan area and the verification area may be set so as to avoid preprinted characters. Also, a portion with pre-printed characters may be automatically set as a prohibited area, and an error may be notified when the layout of the previous print item, the scan area, or the verification area overlaps with the prohibited area. In this case, by notifying the user of the error, it is possible to encourage avoidance of a situation where the layout of the print items, etc., overlaps the prohibited area. As a result, it is possible to prevent a human error in which pre-printed characters and printed items overlap.

なお、以上に説明したラベルプリンタ1の機能(全部又は一部)を実現するためのプログラムを、コンピュータ読み取り可能な記録媒体に記録し、そのプログラムをコンピュータシステムに読み込ませて実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。 A program for realizing the functions (all or part) of the label printer 1 described above may be recorded on a computer-readable recording medium, and the program may be read and executed by a computer system. good. It should be noted that the "computer system" referred to here includes hardware such as an OS and peripheral devices. The term "computer-readable recording medium" refers to portable media such as flexible discs, magneto-optical discs, ROMs and CD-ROMs, and storage devices such as hard discs incorporated in computer systems. In addition, "computer-readable recording medium" means a volatile memory (RAM) inside a computer system that acts as a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. , includes those that hold the program for a certain period of time. Further, the above program may be transmitted from a computer system storing this program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in a transmission medium. Here, the "transmission medium" for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. Further, the program may be for realizing part of the functions described above. Further, it may be a so-called difference file (difference program) that can realize the above-described functions in combination with a program already recorded in the computer system.

以上の説明に関し、以下の付記を開示する。
(付記A1)
上述した課題を解決するために、本発明の一態様である検証装置は、印刷された媒体の印刷結果を読み取る読取手段と、前記読取手段が読み取った印刷結果と、前記印刷結果と比較するための印刷基準と、を比較する比較手段と、前記比較手段による比較結果を出力する出力手段と、前記比較手段による比較範囲を前記印刷基準の上に設定する設定手段と、を備えることを特徴とする。
上記構成によれば、柔軟な設定に基づく印刷異常の検証を行うことができる。
(付記A2)
上記検証装置において、前記設定手段は、前記印刷基準の上に複数の比較範囲を設定可能であり、複数の前記比較範囲のそれぞれについて、異なる印刷基準を設定可能であるようにしてもよい。
上記構成によれば、柔軟な設定に基づく印刷異常の検証を行うことができる。
(付記A3)
上記検証装置において、前記印刷基準に応じた参考画像を提示する提示手段をさらに備えるようにしてもよい。
上記構成によれば、柔軟な設定に基づく印刷異常の検証を行うことができる。
(付記A4)
上記検証装置において、前記提示手段は、異なる印刷基準に応じた参考画像を提示可能であり、提示した複数の参考画像の中から1つの参考画像を選択する選択手段を備えるようにしてもよい。
上記構成によれば、印刷基準を選択しやすくできる。
(付記A5)
上述した課題を解決するために、本発明の一態様である印刷装置は、上記の検証装置と、体に印刷する印刷手段と、前記印刷された媒体を排出する排出口と、を備え、前記読取手段が、前記印刷手段と前記排出口との間に配置されていることを特徴とする。
上記構成によれば、柔軟な設定に基づく印刷異常の検証を行うことができる。
With respect to the above description, the following notes are disclosed.
(Appendix A1)
In order to solve the above-described problems, a verification apparatus according to one aspect of the present invention includes reading means for reading a print result of a printed medium; and a printing reference, output means for outputting a result of comparison by the comparing means, and setting means for setting a range of comparison by the comparing means on the printing reference. do.
According to the above configuration, printing abnormality verification can be performed based on flexible settings.
(Appendix A2)
In the above verification apparatus, the setting means may be capable of setting a plurality of comparison ranges on the printing standard, and setting different printing standards for each of the plurality of comparison ranges.
According to the above configuration, printing abnormality verification can be performed based on flexible settings.
(Appendix A3)
The verification apparatus may further include presenting means for presenting a reference image according to the printing standard.
According to the above configuration, printing abnormality verification can be performed based on flexible settings.
(Appendix A4)
In the above verification apparatus, the presentation means can present reference images according to different printing standards, and may include selection means for selecting one reference image from among the plurality of presented reference images.
According to the above configuration, it is possible to easily select the printing reference.
(Appendix A5)
In order to solve the above-described problems, a printing device according to one aspect of the present invention includes the above-described verification device, printing means for printing on a body, and a discharge port for discharging the printed medium, A reading unit is arranged between the printing unit and the discharge port.
According to the above configuration, printing abnormality verification can be performed based on flexible settings.

(付記B1)
上述した課題を解決するために、本発明の一態様である検証装置は、印刷された媒体の印刷結果を読み取る読取手段と、前記読取手段が読み取った印刷結果と、前記印刷結果と比較するための基準情報と、を比較する比較手段と、前記比較手段による比較結果を出力する出力手段と、を備えることを特徴とする。
上記構成によれば、印刷部と検証部の位置関係を調整しやすくできる。
(付記B2)
上記検証装置において、前記設定手段は、前記出力手段は、当該検証装置の設置状況の調整指示を出力するようにしてもよい。
上記構成によれば、印刷部と検証部の位置関係を調整しやすくできる。
(付記B3)
上述した課題を解決するために、本発明の一態様である印刷装置は、上記の検証装置と、体に印刷する印刷手段と、前記印刷された媒体を排出する排出口と、を備え、前記読取手段が、前記印刷手段と前記排出口との間に配置されていることを特徴とする。
上記構成によれば、印刷部と検証部の位置関係を調整しやすくできる。
(付記B4)
上記印刷装置において前記印刷手段と前記読取手段の位置関係の基準となる位置基準画像を印刷するようにしてもよい。
上記構成によれば、印刷部と検証部の位置関係を調整しやすくできる。
(Appendix B1)
In order to solve the above-described problems, a verification apparatus according to one aspect of the present invention includes reading means for reading a print result of a printed medium; and an output means for outputting a result of comparison by the comparison means.
According to the above configuration, it is possible to easily adjust the positional relationship between the printing unit and the verification unit.
(Appendix B2)
In the verification device described above, the setting means may output an instruction to adjust the installation status of the verification device.
According to the above configuration, it is possible to easily adjust the positional relationship between the printing unit and the verification unit.
(Appendix B3)
In order to solve the above-described problems, a printing device according to one aspect of the present invention includes the above-described verification device, printing means for printing on a body, and a discharge port for discharging the printed medium, A reading unit is arranged between the printing unit and the discharge port.
According to the above configuration, it is possible to easily adjust the positional relationship between the printing unit and the verification unit.
(Appendix B4)
The printing apparatus may print a position reference image that serves as a reference for the positional relationship between the printing means and the reading means.
According to the above configuration, it is possible to easily adjust the positional relationship between the printing unit and the verification unit.

(付記C1)
上述した課題を解決するために、本発明の一態様である印刷装置は、媒体に印刷する印刷手段と、印刷された媒体の印刷結果を読み取る読取手段と、前記読取手段と対向する位置で前記媒体が搬送される搬送路と、前記搬送路の接触面を変位可能に支持する支持手段と、を備えることを特徴とする。
上記構成によれば、精度のよい検証を行うことができる。
(付記C2)
上記構成において、前記読取手段と同側面に備えられ、前記搬送路に接触し、前記接触面を変位不能に固定する固定手段を備えるようにしてもよい。
上記構成によれば、精度のよい検証を行うことができる。
(付記C3)
上記構成において、前記読取手段の読取面よりも前記搬送路側かつ前記搬送路の接触面よりも前記読取手段側に、前記媒体の搬送を規制する規制手段を備えるようにしてもよい。
上記構成によれば、精度のよい検証を行うことができる。
(付記C4)
上記構成において、前記読取手段は、四方を前記固定手段及び前記規制手段によって囲まれているようにしてもよい。
上記構成によれば、読取手段に対する光の入射や読取手段からの光の漏れを抑制できる。
(付記C5)
上記構成において、前記読取手段が読み取った印刷結果と、前記印刷結果と比較するための印刷基準と、を比較する比較手段と、を備え、前記読取手段は、前記印刷手段による印刷中の媒体の印刷結果を読み取るようにしてもよい。
上記構成によれば、柔軟な設定に基づく印刷異常の検証を行うことができる。
(付記C6)
上記構成において、前記比較手段による比較結果を出力する出力手段を備え、前記出力手段は、前記比較結果が基準を満たさない結果である場合に、比較結果が基準を満たさない印刷結果を出力するようにしてもよい。
上記構成によれば、印刷異常の内容を分かりやすくできる。
(付記C7)
上記印刷装置において、前記比較手段による比較結果が基準を満たさない結果である場合に、印刷を停止する停止設定と、印刷を継続し、比較結果が基準を満たさない結果となった媒体の情報を記憶する記憶設定と、を切り替える設定切替手段を備えるようにしてもよい。
上記構成によれば、柔軟な設定に基づく印刷異常の検証を行うことができる。
(Appendix C1)
In order to solve the above-described problems, a printing apparatus according to one aspect of the present invention includes: printing means for printing on a medium; reading means for reading a print result of the printed medium; It is characterized by comprising a transport path along which a medium is transported, and support means for displaceably supporting a contact surface of the transport path.
According to the above configuration, accurate verification can be performed.
(Appendix C2)
In the above configuration, fixing means may be provided on the same side as the reading means, contact the conveying path, and fix the contact surface so that the contact surface cannot be displaced.
According to the above configuration, accurate verification can be performed.
(Appendix C3)
In the above configuration, a regulating means for regulating conveyance of the medium may be provided on the transport path side of the reading surface of the reading means and on the reading means side of the contact surface of the transport path.
According to the above configuration, accurate verification can be performed.
(Appendix C4)
In the above configuration, the reading means may be surrounded on all sides by the fixing means and the restricting means.
According to the above configuration, it is possible to suppress the incidence of light on the reading means and the leakage of light from the reading means.
(Appendix C5)
In the above configuration, there is provided a comparison means for comparing the print result read by the reading means with a printing reference for comparison with the print result, wherein the reading means compares the medium being printed by the printing means. The printed result may be read.
According to the above configuration, printing abnormality verification can be performed based on flexible settings.
(Appendix C6)
In the above configuration, output means for outputting a comparison result by the comparison means is provided, and the output means outputs a print result in which the comparison result does not satisfy the criteria when the comparison result does not satisfy the criteria. can be
According to the above configuration, it is possible to easily understand the content of the print abnormality.
(Appendix C7)
In the above printing apparatus, when the comparison result by the comparison means does not satisfy the standard, the stop setting for stopping printing, and the information of the medium whose comparison result does not satisfy the standard after continuing printing. A setting switching means for switching between the stored settings and the stored settings may be provided.
According to the above configuration, printing abnormality verification can be performed based on flexible settings.

1…ラベルプリンタ
10…筐体
11…上部ユニット
12…下部ユニット
14…本体キー
15…表示装置
18…印字部
18A…サーマルヘッド
18B…プラテンローラ
18C…ステッピングモータ(駆動モータ)
19…ラベル検出センサ
19A…ラインセンサ
19B…左ブラケット
19C…右ブラケット
19D…上流側押え軸
19E…下流側押え軸
20…カッタ
21…滑走板
22…案内用突出部
23…スポンジ部材
24…排出口
30…制御装置
31…CPU
32…フラッシュメモリ
33…RAM
34…表示・操作部
35…インターフェース回路
40…印刷装置
50…検証装置
LR…ラベルロール
LS…ラベルシート
SA(SA1~SA4)…スキャンエリア
SG…エラー指標サンプル画像
VA(VA1~VA10)…検証エリア
Reference Signs List 1 label printer 10 housing 11 upper unit 12 lower unit 14 main body key 15 display device 18 printing unit 18A thermal head 18B platen roller 18C stepping motor (driving motor)
Reference numerals 19: Label detection sensor 19A: Line sensor 19B: Left bracket 19C: Right bracket 19D: Upstream presser shaft 19E: Downstream presser shaft 20: Cutter 21: Slide plate 22: Guidance projection 23: Sponge member 24: Discharge port 30... Control device 31... CPU
32 Flash memory 33 RAM
34 Display/operation unit 35 Interface circuit 40 Printing device 50 Verification device LR Label roll LS Label sheet SA (SA1 to SA4) Scan area SG Error index sample image VA (VA1 to VA10) Verification area

Claims (7)

媒体に印刷する印刷手段と、
印刷された媒体の印刷結果を読み取る読取手段と、
前記読取手段と対向する位置で前記媒体が搬送される搬送路と、
前記読取手段が前記搬送路に近接する際に前記搬送路と前記読取手段との距離が一定となるように、前記搬送路を変位可能に支持する支持手段と、
を備えることを特徴とする印刷装置。
printing means for printing on a medium;
reading means for reading the print result of the printed medium;
a transport path along which the medium is transported at a position facing the reading means;
support means for displaceably supporting the transport path so that the distance between the transport path and the reading means is constant when the reading means approaches the transport path ;
A printing device comprising:
前記読取手段と同側面に備えられ、前記搬送路の少なくとも二点を押圧した場合に、前記搬送路と前記読取手段との距離を一定にする固定手段を備える請求項1に記載の印刷装置。 2. The printing apparatus according to claim 1, further comprising fixing means provided on the same side as said reading means, and for fixing a distance between said conveying path and said reading means when at least two points on said conveying path are pressed . 前記読取手段の読取面よりも前記搬送路側かつ前記搬送路の接触面よりも前記読取手段側に、前記媒体の搬送を規制する規制手段を備える、
請求項2に記載の印刷装置。
A regulating means for regulating conveyance of the medium is provided on the transport path side of the reading surface of the reading means and on the reading means side of the contact surface of the transport path,
3. A printing device according to claim 2.
前記読取手段は、四方を前記固定手段及び前記規制手段によって囲まれている、
請求項3に記載の印刷装置。
The reading means is surrounded on all sides by the fixing means and the restricting means,
4. A printing device according to claim 3.
前記読取手段が読み取った印刷結果と、前記印刷結果と比較するための印刷基準と、を比較する比較手段と、を備え、
前記読取手段は、前記印刷手段による印刷中の媒体の印刷結果を読み取る、
請求項1~4のうちのいずれか1項に記載の印刷装置。
a comparison means for comparing the print result read by the reading means and a print reference for comparison with the print result;
The reading means reads a print result of the medium being printed by the printing means,
The printing apparatus according to any one of claims 1-4.
前記比較手段による比較結果を出力する出力手段を備え、
前記出力手段は、前記比較結果が基準を満たさない結果である場合に、比較結果が基準を満たさない印刷結果を出力する、
請求項5に記載の印刷装置。
An output means for outputting a comparison result by the comparison means,
When the comparison result does not satisfy the criteria, the output means outputs a print result in which the comparison results do not satisfy the criteria.
6. A printing device according to claim 5.
前記比較手段による比較結果が基準を満たさない結果である場合に、印刷を停止する停止設定と、印刷を継続し、比較結果が基準を満たさない結果となった媒体の情報を記憶する記憶設定と、を切り替える設定切替手段を備える、
請求項5または6に記載の印刷装置。
a stop setting for stopping printing when the comparison result by the comparing means does not satisfy the standard; and a storage setting for continuing printing and storing information of the medium for which the comparison result does not satisfy the standard. , comprising a setting switching means for switching between
7. The printing device according to claim 5 or 6.
JP2018169204A 2018-09-10 2018-09-10 printer Active JP7173534B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018169204A JP7173534B2 (en) 2018-09-10 2018-09-10 printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018169204A JP7173534B2 (en) 2018-09-10 2018-09-10 printer

Publications (2)

Publication Number Publication Date
JP2020040283A JP2020040283A (en) 2020-03-19
JP7173534B2 true JP7173534B2 (en) 2022-11-16

Family

ID=69799108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018169204A Active JP7173534B2 (en) 2018-09-10 2018-09-10 printer

Country Status (1)

Country Link
JP (1) JP7173534B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019185414A (en) * 2018-04-11 2019-10-24 コニカミノルタ株式会社 Roll paper printing apparatus, printing control program, and printing control method
JP2021009097A (en) * 2019-07-02 2021-01-28 サトーホールディングス株式会社 Information processing device and information processing method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004002017A (en) 2002-04-15 2004-01-08 Canon Inc Recorder
JP2005219270A (en) 2004-02-04 2005-08-18 Seiko Epson Corp Recording device, and controlling method for recording device
JP2013111773A (en) 2011-11-25 2013-06-10 Canon Inc Printing apparatus and reading method
JP2013111758A (en) 2011-11-25 2013-06-10 Canon Inc Printing apparatus and colorimetry apparatus
JP2016015627A (en) 2014-07-02 2016-01-28 富士ゼロックス株式会社 Image processing system and image processing program
JP2017019201A (en) 2015-07-10 2017-01-26 コニカミノルタ株式会社 Image formation device and image formation control method
JP2018040990A (en) 2016-09-08 2018-03-15 キヤノン株式会社 Image forming apparatus and image forming method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3186426B2 (en) * 1994-05-09 2001-07-11 キヤノン株式会社 Document reading device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004002017A (en) 2002-04-15 2004-01-08 Canon Inc Recorder
JP2005219270A (en) 2004-02-04 2005-08-18 Seiko Epson Corp Recording device, and controlling method for recording device
JP2013111773A (en) 2011-11-25 2013-06-10 Canon Inc Printing apparatus and reading method
JP2013111758A (en) 2011-11-25 2013-06-10 Canon Inc Printing apparatus and colorimetry apparatus
JP2016015627A (en) 2014-07-02 2016-01-28 富士ゼロックス株式会社 Image processing system and image processing program
JP2017019201A (en) 2015-07-10 2017-01-26 コニカミノルタ株式会社 Image formation device and image formation control method
JP2018040990A (en) 2016-09-08 2018-03-15 キヤノン株式会社 Image forming apparatus and image forming method

Also Published As

Publication number Publication date
JP2020040283A (en) 2020-03-19

Similar Documents

Publication Publication Date Title
US10284747B2 (en) Image forming apparatus configured to adjust print positions and method for controlling image forming apparatus configured to adjust print positions
JP7173534B2 (en) printer
JP5464992B2 (en) Inspection device, inspection device control method and program
JP6803159B2 (en) Image forming device
US7574167B2 (en) Image forming apparatus
JP5845926B2 (en) Printing apparatus and printing apparatus control method
JP2012143986A (en) Bar code printer and bar code reading and verifying method for bar code printer
KR101827752B1 (en) Printing apparatus, method of controlling the same, and storage medium
JP2009018448A (en) Equipment, system and program for forming image, and printer server
JP7173533B2 (en) Printer and program
JP2023080111A (en) Verification device, printer, and program
US20080292329A1 (en) Driver apparatus, sheet arrangement management method, sheet arrangement management program
JP2020082421A (en) Image inspection report creation device, image inspection report creation system, and image inspection report creation method
JP2014056043A (en) Image forming apparatus
JP2011173278A (en) Bar code printer
JP5619564B2 (en) Verification device
US20050158093A1 (en) Image forming apparatus in which recording sheet having tab is used
JP2020116791A (en) Printer and printing method
US20230322003A1 (en) Recording device, recording system, and control method for recording device
JP2011037231A (en) Label issuing apparatus
JPH0958086A (en) Documentation device and controlling method thereof
US20240035984A1 (en) Methods for print inspection recovery operations at a printing device
JP6561820B2 (en) Image forming apparatus
JP2021179546A (en) Image forming apparatus, image forming method, and program
JP2023099537A (en) Image forming apparatus, information processing method for recording medium, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220825

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221027

R150 Certificate of patent or registration of utility model

Ref document number: 7173534

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150