JP2006272611A - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP2006272611A
JP2006272611A JP2005091535A JP2005091535A JP2006272611A JP 2006272611 A JP2006272611 A JP 2006272611A JP 2005091535 A JP2005091535 A JP 2005091535A JP 2005091535 A JP2005091535 A JP 2005091535A JP 2006272611 A JP2006272611 A JP 2006272611A
Authority
JP
Japan
Prior art keywords
length
label
heating element
scanning direction
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005091535A
Other languages
Japanese (ja)
Inventor
Tetsuji Watanabe
哲治 渡辺
Yuko Uoo
祐子 魚尾
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.)
Ishida Co Ltd
Original Assignee
Ishida 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 Ishida Co Ltd filed Critical Ishida Co Ltd
Priority to JP2005091535A priority Critical patent/JP2006272611A/en
Publication of JP2006272611A publication Critical patent/JP2006272611A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing device which can print a QR code in such a manner that the reading accuracy may be increased. <P>SOLUTION: This thermal printer utilizes a thermal head comprising a plurality of heating elements. In the thermal printer, a pitch P for a plurality of the heating elements, a carrying amount F of a label corresponding to 1 dot, and a length Ry in the subsidiary scanning direction of each heating element are made to meet. Thus, dots which are formed to be adjacent in the subsidiary scanning direction are not overlapped, and also, are arranged without a gap. Therefore, both of a length in the main scanning direction and a length in the subsidiary scanning direction of a printing content by the heating elements are regulated by the pitch P of the heating elements and a dot quantity. Therefore, each cell of the QR code can be printed into a square shape which is a designed shape, and the reading accuracy of the QR code can be increased. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、スキャナ装置の読取対象となるコードを印刷媒体に印刷可能な印刷装置に関する。   The present invention relates to a printing apparatus capable of printing a code to be read by a scanner apparatus on a print medium.

スーパーマーケットなどの店舗においては、販売に供される食品にその食品に係る原材料などの各種情報が印刷されたラベルが貼付され、そのラベルの印刷内容によって食品に係る各種情報が顧客に提供される。   In a store such as a supermarket, a label on which various information such as raw materials related to the food is printed is attached to the food to be sold, and various information related to the food is provided to the customer depending on the printed contents of the label.

このような食品用のラベルの印刷に用いる印刷装置としては、一次元配列された複数の発熱体を有するサーマルヘッドを利用したサーマルプリンタが一般的に採用される。このようなサーマルプリンタでは、感熱用紙としてのラベルがサーマルヘッドに接触された状態で搬送されつつ、複数の発熱体が選択的に発熱されることで、ラベルに複数のドットが形成されるようになっている。このようにして形成される複数のドットにより、ラベルの印刷内容が構成されることになる。   As a printing apparatus used for printing such food labels, a thermal printer using a thermal head having a plurality of one-dimensionally arranged heating elements is generally employed. In such a thermal printer, a plurality of heating elements are selectively heated while a label as a thermal paper is conveyed in contact with the thermal head, so that a plurality of dots are formed on the label. It has become. The printed content of the label is constituted by the plurality of dots formed in this way.

ところで近年では、消費者の食品に対する安全衛生意識の高まりを受け、生産履歴、生産者、原材料の個体情報など、食品に関してさらなる情報を提供することが社会的な要請となりつつある。   By the way, in recent years, in response to growing consumer safety and health awareness, it has become a social request to provide further information on food such as production history, producers, and individual information on raw materials.

一方で、食品に貼付するラベルの大きさには制限があることから、これらの情報の全てをラベルに印刷することは不可能である。このため、これらの情報を収容したQRコード(登録商標)をラベルに印刷し、このQRコードによって食品に係る情報を顧客に提供することが提案されている(例えば、特許文献1参照。)。QRコードは、正方形状のセルが二次元に配置されて構成される二次元コードの一種であり、一次元コード(バーコード)と比較して多くの情報を収容することが可能である。顧客は、QRコードを携帯電話などのスキャナ装置に読み取らせることで、QRコードが収容する情報を容易に把握可能である。   On the other hand, since there is a limit on the size of the label attached to the food, it is impossible to print all of this information on the label. For this reason, it has been proposed to print a QR code (registered trademark) containing these pieces of information on a label, and to provide information related to foods to customers using this QR code (see, for example, Patent Document 1). The QR code is a kind of two-dimensional code configured by arranging square cells two-dimensionally, and can store more information than a one-dimensional code (bar code). The customer can easily grasp the information contained in the QR code by causing the scanner device such as a mobile phone to read the QR code.

特開2003−237150号公報JP 2003-237150 A

ところで、上述のように食品に貼付するラベルの大きさには制限があることから、ラベル上においてQRコードの印刷に割当可能なスペースは非常に小さなものとなる。このため、印刷するQRコードのサイズは非常に小さくならざるを得ず、QRコードの各セルも比較的少ない数のドットで構成せざるを得なくなる。   By the way, since there is a limit to the size of the label attached to the food as described above, the space that can be allocated to the printing of the QR code on the label is very small. For this reason, the size of the QR code to be printed has to be very small, and each cell of the QR code has to be composed of a relatively small number of dots.

一方で、一般にサーマルヘッドの発熱体は文字の印刷に最適化されていることなどから、少ないドット数で正方形を構成することは困難である。このため、従来の印刷装置では、QRコードの各セルの形状を正確に正方形にすることは非常に困難であった。   On the other hand, since the heating element of the thermal head is generally optimized for printing characters, it is difficult to form a square with a small number of dots. For this reason, in the conventional printing apparatus, it has been very difficult to make the shape of each cell of the QR code accurately square.

QRコードの各セルの形状が正方形から大きく外れると、QRコードの読取精度が低下することになる。例えば、スキャナ装置において読み取る際に、読み取りエラーが頻繁に発生するなどの問題が生じることになる。   When the shape of each cell of the QR code deviates greatly from the square, the QR code reading accuracy is lowered. For example, problems such as frequent reading errors occur when scanning with a scanner device.

本発明は、上記課題に鑑みてなされたものであり、読取精度の高いコードを印刷できる印刷装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is to provide a printing apparatus capable of printing a code with high reading accuracy.

上記課題を解決するため、請求項1の発明は、スキャナ装置の読取対象となる、単位要素の設計形状が正方形の二次元コードを印刷媒体に印刷可能な印刷装置であって、複数の発熱体を第1方向に一次元に配列して有するサーマルヘッドと、前記印刷媒体を前記複数の発熱体に接触させつつ前記第1方向に直交する第2方向に搬送する搬送手段と、を備え、前記複数の発熱体のピッチと、1ドットに対応する前記搬送手段による前記印刷媒体の搬送量としての単位搬送量とは一致し、前記発熱体の前記第2方向の長さは、前記発熱体の前記第1方向の長さ以上、前記ピッチ以下である。   In order to solve the above-mentioned problem, the invention of claim 1 is a printing apparatus capable of printing on a printing medium a two-dimensional code having a design shape of a unit element, which is a reading target of the scanner apparatus, and a plurality of heating elements. A thermal head that is arranged one-dimensionally in a first direction, and a transport unit that transports the print medium in a second direction orthogonal to the first direction while contacting the plurality of heating elements, The pitch of the plurality of heating elements coincides with the unit conveyance amount as the conveyance amount of the printing medium by the conveyance unit corresponding to one dot, and the length of the heating element in the second direction is It is not less than the pitch in the first direction and not more than the pitch.

また、請求項2の発明は、請求項1に記載の印刷装置において、前記発熱体の前記第2方向の長さは、前記ピッチに一致する。   According to a second aspect of the present invention, in the printing apparatus according to the first aspect, a length of the heating element in the second direction matches the pitch.

また、請求項3の発明は、請求項1に記載の印刷装置において、前記発熱体の前記第2方向の長さは、前記発熱体の前記第1方向の長さに一致する。   According to a third aspect of the present invention, in the printing apparatus according to the first aspect, the length of the heating element in the second direction is equal to the length of the heating element in the first direction.

また、請求項4の発明は、請求項1ないし3のいずれかに記載の印刷装置において、前記複数の発熱体それぞれの発熱エネルギーを制御する熱制御手段と、をさらに備え、前記熱制御手段は、前記発熱体が前記二次元コードの一部となるドットを形成するときは、文字の一部となるドットを形成するときと比較して、当該発熱体の前記発熱エネルギーを低くする。   The invention according to claim 4 is the printing apparatus according to any one of claims 1 to 3, further comprising heat control means for controlling the heat generation energy of each of the plurality of heat generating elements, wherein the heat control means When the heating element forms a dot that becomes a part of the two-dimensional code, the heating energy of the heating element is made lower than when a dot that becomes a part of a character is formed.

また、請求項5の発明は、スキャナ装置の読取対象となるコードを印刷媒体に印刷可能な印刷装置であって、複数の発熱体を第1方向に一次元に配列して有するサーマルヘッドと、前記印刷媒体を前記複数の発熱体に接触させつつ前記第1方向に直交する第2方向に搬送する搬送手段と、前記複数の発熱体それぞれの発熱エネルギーを制御する熱制御手段と、を備え、前記熱制御手段は、前記発熱体が前記コードの一部となるドットを形成するときは、文字の一部となるドットを形成するときと比較して、当該発熱体の前記発熱エネルギーを低くする。   The invention of claim 5 is a printing device capable of printing a code to be read by the scanner device on a printing medium, and a thermal head having a plurality of heating elements arranged in a one-dimensional manner in a first direction; Conveying means for conveying the print medium in a second direction orthogonal to the first direction while contacting the plurality of heating elements; and heat control means for controlling the heat generation energy of each of the plurality of heating elements, The heat control means lowers the heat generation energy of the heating element when the heating element forms a dot that becomes a part of the code, compared with a case where a dot that becomes a part of a character is formed. .

請求項1ないし4の発明によれば、二次元コードの単位要素がほぼ正方形となるように印刷でき、二次元コードの読取精度を向上できる。   According to the first to fourth aspects of the invention, printing can be performed so that the unit elements of the two-dimensional code are substantially square, and the reading accuracy of the two-dimensional code can be improved.

また、特に請求項2及び請求項3の発明によれば、二次元コードの単位要素を正確に印刷できる。   In particular, according to the invention of claim 2 and claim 3, the unit element of the two-dimensional code can be printed accurately.

また、特に請求項4の発明によれば、二次元コードの読取精度を維持しつつ、文字の視認性を向上できる。   In particular, according to the invention of claim 4, it is possible to improve the visibility of the characters while maintaining the reading accuracy of the two-dimensional code.

また、請求項5の発明によれば、コードの読取精度を向上できるとともに、文字の視認性も向上できることになる。   According to the invention of claim 5, the code reading accuracy can be improved and the visibility of the characters can be improved.

以下では、本発明の実施の形態に係る印刷装置の一として、ラベルを印刷するラベルプリンタについて図面を参照しつつ説明する。   Hereinafter, a label printer that prints a label will be described with reference to the drawings as an example of a printing apparatus according to an embodiment of the present invention.

<1.第1の実施の形態>
<1−1.構成概要>
図1は、第1の実施の形態のラベルプリンタ1の斜視図である。図に示すようにラベルプリンタ1は主として、装置本体部2と、装置本体部2の上部に傾斜して配置される表示パネル3とを備えて構成される。
<1. First Embodiment>
<1-1. Outline of configuration>
FIG. 1 is a perspective view of a label printer 1 according to the first embodiment. As shown in the figure, the label printer 1 mainly includes an apparatus main body 2 and a display panel 3 disposed at an upper portion of the apparatus main body 2 in an inclined manner.

表示パネル3は、各種の情報をカラー表示可能な液晶ディスプレイを備えて構成される。この液晶ディスプレイの画面にはタッチパネルが形成される。また、装置本体部2の前面左側には各種情報を入力するための複数のボタンから構成される入力部21が設けられている。ユーザは表示パネル3に表示される情報を確認しつつ、タッチパネルとしての画面に触れたり入力部21を操作することで、ラベルプリンタ1に各種コマンドを入力することが可能である。   The display panel 3 includes a liquid crystal display that can display various types of information in color. A touch panel is formed on the screen of the liquid crystal display. In addition, an input unit 21 including a plurality of buttons for inputting various information is provided on the left side of the front surface of the apparatus main body unit 2. The user can input various commands to the label printer 1 by checking the information displayed on the display panel 3 and touching the screen as a touch panel or operating the input unit 21.

また、装置本体部2の内部にはラベルを印刷するためのラベル印刷部4が設けられている。ラベル印刷部4にて印刷されたラベルは、装置本体部2の前面右側に設けられるラベル発行口41から送出されて発行される。   Further, a label printing unit 4 for printing a label is provided inside the apparatus main body unit 2. The label printed by the label printing unit 4 is sent out and issued from a label issuing port 41 provided on the right front side of the apparatus main body unit 2.

図2は、ラベル印刷部4の概略構成を示す図である。図2において左側が、ラベル発行口41が設けられる装置本体部2の前面側に相当する。   FIG. 2 is a diagram illustrating a schematic configuration of the label printing unit 4. The left side in FIG. 2 corresponds to the front side of the apparatus main body 2 where the label issuing port 41 is provided.

ラベル印刷部4の印刷対象となるラベルLBは、長尺状のラベル台紙LMに対して複数の未印刷のラベルLBを連続貼付して含むラベル用紙LPとしてラベル印刷部4に収容される。ラベル印刷部4の構成は、このようなラベル用紙LPを収容及び搬送するラベル搬送部5と、ラベルLBを印刷するサーマルヘッド6とに大別される。   The label LB to be printed by the label printing unit 4 is accommodated in the label printing unit 4 as a label sheet LP including a plurality of unprinted labels LB that are continuously pasted on the long label mount LM. The configuration of the label printing unit 4 is roughly divided into a label transport unit 5 that stores and transports such label paper LP and a thermal head 6 that prints the label LB.

ラベル搬送部5は、ラベル供給部51、台紙巻取部52、ガイドローラ53、プラテンローラ54、及び、剥離部材55を備えて構成される。ラベル用紙LPは、その一端がラベル供給部51に、他端が台紙巻取部52にそれぞれロール状に巻き取られており、その中間部分がガイドローラ53、プラテンローラ54および剥離部材55によって案内された状態とされる。   The label transport unit 5 includes a label supply unit 51, a mount winding unit 52, a guide roller 53, a platen roller 54, and a peeling member 55. One end of the label sheet LP is wound around the label supply unit 51 and the other end is wound around the mount take-up unit 52 in a roll shape, and an intermediate portion thereof is guided by the guide roller 53, the platen roller 54, and the peeling member 55. It is assumed that it was done.

ガイドローラ53は、所定位置において回転自在に支持されており、ラベル用紙LPの搬送経路を規定する。また、剥離部材55は、ラベル発行口41の近傍に設けられ、印刷済のラベルLBをラベル台紙LMから剥離するように機能する。プラテンローラ54は、この剥離部材55の装置背面側(図中右側)に近接し、かつ、ラベル用紙LPの搬送経路を挟んでサーマルヘッド6に対向するように配置される。   The guide roller 53 is rotatably supported at a predetermined position and defines a conveyance path for the label paper LP. The peeling member 55 is provided in the vicinity of the label issuing port 41, and functions to peel the printed label LB from the label mount LM. The platen roller 54 is disposed so as to be close to the apparatus rear side (right side in the drawing) of the peeling member 55 and to face the thermal head 6 across the conveyance path of the label paper LP.

また、プラテンローラ54及び台紙巻取部52にはそれぞれ、ステッピングモータ54a,52aが接続されている。これらのステッピングモータ54a,52aがそれぞれ駆動すると、プラテンローラ54及び台紙巻取部52が回転駆動する。これにより、ラベル用紙LPは、ラベル供給部51から台紙巻取部52まで、図中ARの向きに搬送されることになる。   Further, stepping motors 54a and 52a are connected to the platen roller 54 and the mount winding unit 52, respectively. When these stepping motors 54a and 52a are respectively driven, the platen roller 54 and the mount winding unit 52 are rotationally driven. As a result, the label paper LP is conveyed from the label supply unit 51 to the mount take-up unit 52 in the direction of AR in the figure.

未印刷のラベルLBは、このようなラベル用紙LPの搬送により、ラベル供給部51からガイドローラ53を経由してサーマルヘッド6とプラテンローラ54との間に供給される。供給されたラベルLBは、下部からプラテンローラ54に支持されつつ、サーマルヘッド6により必要な情報が印刷される。このようにして印刷が完了したラベルLBは、剥離部材55によりラベル台紙LMから剥離されて、ラベル発行口41から発行される。一方で、印刷済のラベルLBが剥離されてラベル台紙LMのみとなったラベル用紙LPは、さらに台紙巻取部52まで搬送され、台紙巻取部52に巻き取られることになる。   The unprinted label LB is supplied between the thermal head 6 and the platen roller 54 via the guide roller 53 from the label supply unit 51 by the conveyance of the label paper LP. The supplied label LB is supported by the platen roller 54 from below, and necessary information is printed by the thermal head 6. The label LB that has been printed in this manner is peeled off from the label mount LM by the peeling member 55 and issued from the label issuing port 41. On the other hand, the label paper LP from which the printed label LB is peeled and becomes only the label mount LM is further conveyed to the mount take-up unit 52 and taken up by the mount take-up unit 52.

また、ラベルプリンタ1の内部には、ラベルプリンタ1の各処理部の動作を統括的に制御する制御部が設けられている。図3は、このような制御部7を含むラベルプリンタ1の電気的構成を機能ブロックにて示す図である。   Further, inside the label printer 1, a control unit that comprehensively controls the operation of each processing unit of the label printer 1 is provided. FIG. 3 is a functional block diagram showing the electrical configuration of the label printer 1 including such a control unit 7.

制御部7は、マイクロコンピュータを備えて構成される。より具体的には、制御部7は、各種演算処理を行うCPU71、制御用プログラム等を記憶するROM72、演算処理の作業領域となるRAM73、および、各種データを記憶する不揮発性メモリであるバッテリーバックアップされたSRAM74等を備え、これらはバスライン20を介して電気的に相互に接続される。   The control unit 7 includes a microcomputer. More specifically, the control unit 7 includes a CPU 71 that performs various arithmetic processes, a ROM 72 that stores a control program, a RAM 73 that is a work area for arithmetic processes, and a battery backup that is a non-volatile memory that stores various data. SRAM 74 and the like, which are electrically connected to each other via the bus line 20.

また、このバスライン20には、上述した入力部21、表示パネル3、並びに、ラベル印刷部4のサーマルヘッド6及びラベル搬送部5も電気的に接続されている。これにより、これらの各部は全て制御部7の制御下にて動作することとなる。   The bus line 20 is also electrically connected to the input unit 21, the display panel 3, and the thermal head 6 and the label transport unit 5 of the label printing unit 4. As a result, all these units operate under the control of the control unit 7.

制御部7の各種機能は、ROM72内に予め記憶された制御用のプログラムに従ってCPU71が演算処理を行うことにより実現される。このような制御部7の機能には、サーマルヘッド6等の制御機能の他、各種のデータ処理機能も含まれる。また、ROM72には、各種の文字に係るドットフォント(ビットマップフォント)が格納されており、文字の印刷に利用される。   Various functions of the control unit 7 are realized by the CPU 71 performing arithmetic processing according to a control program stored in the ROM 72 in advance. Such functions of the control unit 7 include various data processing functions in addition to the control function of the thermal head 6 and the like. The ROM 72 stores dot fonts (bitmap fonts) related to various characters and is used for character printing.

<1−2.サーマルヘッド>
次に、サーマルヘッド6の構成及び動作について説明する。図4は、サーマルヘッド6の構成を概念的に示す図である。
<1-2. Thermal head>
Next, the configuration and operation of the thermal head 6 will be described. FIG. 4 is a diagram conceptually showing the configuration of the thermal head 6.

図に示すように、サーマルヘッド6は、複数の発熱体61と、これらの発熱体61を駆動する駆動回路62とを備えて構成される。複数の発熱体61は、水平方向に沿って一次元に配列されている。本実施の形態では、例えば960個の発熱体61が設けられている。以下、複数の発熱体61の配列方向を「主走査方向」といい、図中ではX軸を用いて示す(図2も併せて参照。)。   As shown in the figure, the thermal head 6 includes a plurality of heating elements 61 and a drive circuit 62 that drives these heating elements 61. The plurality of heating elements 61 are arranged one-dimensionally along the horizontal direction. In the present embodiment, for example, 960 heating elements 61 are provided. Hereinafter, the arrangement direction of the plurality of heating elements 61 is referred to as a “main scanning direction” and is shown using the X axis in the drawing (see also FIG. 2).

印刷媒体としてのラベルは、プラテンローラ54(図2も併せて参照。)により、これらの複数の発熱体61に押し当てられつつ、主走査方向に直交する方向に搬送されることになる。以下、ラベルが搬送される方向を「副走査方向」という。副走査方向は、図中ではY軸を用いて示し、Y軸−側が印刷において先行する前方側(ラベル発行口41側)、Y軸+側が印刷における後方側(ラベル供給部51側)とする。   A label as a print medium is conveyed in a direction orthogonal to the main scanning direction while being pressed against the plurality of heating elements 61 by a platen roller 54 (see also FIG. 2). Hereinafter, the direction in which the label is conveyed is referred to as “sub-scanning direction”. The sub-scanning direction is indicated by using the Y-axis in the drawing, where the Y-axis-side is the front side that precedes printing (label issue port 41 side), and the Y-axis + side is the back side in printing (label supply unit 51 side). .

複数の発熱体61は、互いに独立して発熱可能となっている。ラベルは感熱用紙で構成されるため、発熱状態の発熱体61に接触したラベルの表面は黒化されてドットとなる。すなわち、発熱体61の発熱によりラベル上にドットが形成され、これにより形成される複数のドットによってラベルの印刷内容が構成されることになる。   The plurality of heating elements 61 can generate heat independently of each other. Since the label is composed of thermal paper, the surface of the label that comes into contact with the heat generating element 61 in a heat generating state is blackened to form dots. That is, dots are formed on the label by the heat generated by the heating element 61, and the printed content of the label is constituted by a plurality of dots formed thereby.

駆動回路62は、これら複数の発熱体61を選択的に発熱させる。いずれの発熱体61を発熱させるかは、制御部7から入力される2値の画像データに基づいて決定される。この画像データは、ラベルに印刷すべき内容を示すものであり、ラベルの横方向(水平方向)に沿ったラインに対応するラインデータごとに制御部7から入力される。ラインデータは、発熱体61に対応するように発熱体61と同数の画素から構成されており、一の画素がラベル上の印刷内容の一ドットに対応している。各画素の値は、1ビットで表現され、ドットを形成すべき位置に対応するものは「1」、空白とすべき位置に対応するものは「0」となっている。   The drive circuit 62 selectively causes the plurality of heating elements 61 to generate heat. Which heating element 61 generates heat is determined based on binary image data input from the control unit 7. This image data indicates the content to be printed on the label, and is input from the control unit 7 for each line data corresponding to a line along the horizontal direction (horizontal direction) of the label. The line data is composed of the same number of pixels as the heating element 61 so as to correspond to the heating element 61, and one pixel corresponds to one dot of the print content on the label. The value of each pixel is expressed by 1 bit, “1” corresponding to the position where the dot is to be formed, and “0” corresponding to the position where the dot should be blank.

駆動回路62には、このようなラインデータの各画素を記憶するためのメモリ63が、各画素に対応して(すなわち、各発熱体61に対応して)設けられている。各発熱体61は、対応するメモリ63に記憶された画素の値に基づいて駆動回路62により発熱するか否かの制御がなされることになる。   The drive circuit 62 is provided with a memory 63 for storing each pixel of such line data corresponding to each pixel (that is, corresponding to each heating element 61). Each heating element 61 is controlled by the drive circuit 62 based on the pixel value stored in the corresponding memory 63.

図5は、駆動回路62の一の発熱体61に関しての発熱制御の流れを示す図である。駆動回路62は、図5に示す発熱制御を各発熱体61ごとに行うことになる。なお以下、図5を参照して一の発熱体61に注目して説明するが、この一の発熱体61を「注目発熱体」という。   FIG. 5 is a diagram showing a flow of heat generation control for the heating element 61 of the drive circuit 62. The drive circuit 62 performs the heat generation control shown in FIG. In the following description, attention is focused on one heating element 61 with reference to FIG. 5, but this one heating element 61 is referred to as a “target heating element”.

まず、制御部7から駆動回路62にラインデータが入力されると、そのラインデータ中の注目発熱体に対応する画素の値が、注目発熱体に対応するメモリ63に記憶される(ステップS11)。   First, when line data is input from the controller 7 to the drive circuit 62, the value of the pixel corresponding to the target heating element in the line data is stored in the memory 63 corresponding to the target heating element (step S11). .

次に、メモリ63に記憶された画素の値が参照され(ステップS12)、画素の値が「1」であれば、駆動回路62の制御により注目発熱体が発熱される(ステップS13)。一方、画素の値が「0」であれば、駆動回路62の制御により注目発熱体の発熱が停止される(ステップS14)。   Next, the value of the pixel stored in the memory 63 is referred to (step S12). If the value of the pixel is “1”, the target heating element is heated by the control of the drive circuit 62 (step S13). On the other hand, if the value of the pixel is “0”, the heat generation of the target heating element is stopped by the control of the drive circuit 62 (step S14).

このようにして一のラインデータに係る処理が完了すると、次のラインデータがあれば(ステップS15にてNo)、再度、処理はステップS11に戻り、同様の発熱制御が繰り返される(ステップS11〜S14)。また一方で、一のラインデータに係る処理ごとに、プラテンローラ54によりラベルが所定の搬送量(送り量)だけ、ラベル発行口41側(Y軸−側)に向けて搬送される。   When the process related to one line data is completed in this way, if there is next line data (No in step S15), the process returns to step S11 again, and the same heat generation control is repeated (steps S11 to S11). S14). On the other hand, for each process related to one line data, the platen roller 54 conveys the label by a predetermined conveyance amount (feed amount) toward the label issuing port 41 side (Y axis-side).

そして、このような一のラインデータごとの発熱制御及びラベル搬送が、画像データに含まれる全てのラインデータに関して繰り返されることにより、一のラベルに関する印刷処理が完了し、当該ラベルに所定の印刷内容が形成されることになる。なお以下、一のラインデータに係る処理ごとに(すなわち、副走査方向の1ドット分に対応して)プラテンローラ54により搬送されるラベルの搬送量(送り量)を、「単位搬送量」という。   Then, such heat generation control and label conveyance for each line data are repeated for all the line data included in the image data, so that the printing process for one label is completed, and predetermined print contents are printed on the label. Will be formed. Hereinafter, the transport amount (feed amount) of the label transported by the platen roller 54 for each process related to one line data (that is, corresponding to one dot in the sub-scanning direction) is referred to as “unit transport amount”. .

<1−3.ラベルの印刷内容>
次に、ラベルプリンタ1で印刷される実際のラベルの印刷内容について説明する。図6は、ラベルプリンタ1で印刷されたラベルLBの一例を示す図である。本実施の形態では、ラベルLBの横方向が主走査方向(X軸方向)に対応し、縦方向が副走査方向(Y軸方向)に対応している。
<1-3. Print contents of label>
Next, the actual print contents of the label printed by the label printer 1 will be described. FIG. 6 is a diagram illustrating an example of a label LB printed by the label printer 1. In the present embodiment, the horizontal direction of the label LB corresponds to the main scanning direction (X-axis direction), and the vertical direction corresponds to the sub-scanning direction (Y-axis direction).

このラベルLBは、販売に供される食品に貼付するためのものであり、食品に係る各種情報が印刷される。図に示すように、ラベルLBの印刷内容には、価格、消費期限、原材料等を示す文字列81の他、生産履歴、生産者、原材料の個体情報などの情報を収容するQRコード82が含まれている。   This label LB is for affixing to food for sale, and various information relating to food is printed. As shown in the figure, the printed content of the label LB includes a QR code 82 that contains information such as production history, producer, individual information of raw materials, in addition to a character string 81 indicating price, expiration date, raw materials, and the like. It is.

QRコード82は、その単位要素(一単位)としてのセル83が二次元に複数配置されて構成される二次元コードの一種である。食品を購入した顧客は、このようなQRコード82をスキャナ装置(例えば、QRコード82の読取機能を備えた携帯電話など)に読み取らせることで、QRコード82が収容する情報を容易に把握できる。   The QR code 82 is a type of two-dimensional code configured by two-dimensionally arranging a plurality of cells 83 as unit elements (one unit). The customer who purchased the food can easily grasp the information stored in the QR code 82 by causing the scanner device (for example, a mobile phone having a QR code 82 reading function) to read such a QR code 82. .

QRコード82の単位要素たるセル83の設計形状(理想的な形状)は正方形である。構成するセル83の形状が正方形から大きく外れたQRコード82は、その読取精度が低下するため、実際に印刷するセル83の形状は設計形状たる正方形となることが望ましい。つまり、セル83を実際に印刷するにあたっては、その主走査方向(X軸方向)の長さ(以下、記号Cxを用いる。)と副走査方向(Y軸方向)の長さ(以下、記号Cyを用いる。)とを一致させることが理想となる。   The design shape (ideal shape) of the cell 83 which is a unit element of the QR code 82 is a square. Since the reading accuracy of the QR code 82 in which the shape of the constituting cell 83 is greatly deviated from the square is lowered, it is desirable that the shape of the cell 83 to be actually printed is a square as a design shape. That is, when the cell 83 is actually printed, the length in the main scanning direction (X-axis direction) (hereinafter referred to as symbol Cx) and the length in the sub-scanning direction (Y-axis direction) (hereinafter referred to as symbol Cy). Is ideal).

通常、一のセル83は、主走査方向と副走査方向とにおけるドット数が一致する二次元配列の複数のドットdtで構成される。図6に示すセル83は、主走査方向に3個×副走査方向に3個の計9個のドットdtで構成されている。   Usually, one cell 83 is composed of a plurality of dots dt in a two-dimensional array in which the number of dots in the main scanning direction and the sub-scanning direction match. The cell 83 shown in FIG. 6 is composed of a total of nine dots dt, 3 in the main scanning direction and 3 in the sub-scanning direction.

QRコード82に収容されるデータ量は、それを構成するセル83の数に依存し、QRコード82そのものの絶対的なサイズはデータ量とは無関係である。図6に示すような食品に貼付するためのラベルLBにおいては、QRコード82の他に、多数の文字列81を印刷する必要がある。このため、QRコード82の印刷に割り当てられるスペースは少なく、印刷されるQRコード82の絶対的なサイズは小さくせざるを得ない。   The amount of data accommodated in the QR code 82 depends on the number of cells 83 constituting the QR code 82, and the absolute size of the QR code 82 itself is independent of the amount of data. In the label LB for attaching to food as shown in FIG. 6, it is necessary to print a large number of character strings 81 in addition to the QR code 82. For this reason, the space allocated for printing the QR code 82 is small, and the absolute size of the printed QR code 82 must be reduced.

一方で、QRコード82は多くの情報を収容することが可能であり、収容すべきデータ量の増加に応じて必要なセル83の数も増加する。したがってこれらにより、QRコード82の各セル83の絶対的なサイズは非常に小さくなり、図6の例のように、各セル83は比較的少ない数のドットdtで構成せざるを得なくなる。   On the other hand, the QR code 82 can accommodate a large amount of information, and the number of necessary cells 83 increases as the amount of data to be accommodated increases. Therefore, the absolute size of each cell 83 of the QR code 82 becomes very small due to these, and each cell 83 must be composed of a relatively small number of dots dt as in the example of FIG.

<1−4.発熱体のサイズ>
このように一のセル83を比較的少ない数のドットdtによって構成すると、そのセル83のサイズは発熱体61のサイズに大きく影響され、発熱体61のサイズによっては、実際に印刷するセル83の形状を正方形とすることができない場面が生じる。このため、本実施の形態では、セル83の形状を正方形とすることができるように、発熱体61のサイズが規定されている。
<1-4. Heating element size>
When one cell 83 is constituted by a relatively small number of dots dt in this way, the size of the cell 83 is greatly influenced by the size of the heating element 61. Depending on the size of the heating element 61, the size of the cell 83 to be actually printed is determined. There arises a scene where the shape cannot be made square. For this reason, in this Embodiment, the size of the heat generating body 61 is prescribed | regulated so that the shape of the cell 83 can be made into a square.

<1−4−1.対比例>
ここで、本実施の形態の発熱体61のサイズについて説明する前に、その対比例として、一般的なサーマルヘッドに採用される発熱体(以下、「対比発熱体」という。)のサイズの一例と、それによって印刷されるセル83の形状とについて説明する。
<1-4-1. Comparison>
Here, before describing the size of the heating element 61 of the present embodiment, as an example, the size of a heating element (hereinafter referred to as a “contrast heating element”) employed in a general thermal head is used as a comparative example. And the shape of the cell 83 printed by it is demonstrated.

なお以下、一の発熱体の主走査方向(X軸方向)の長さを「主走査長」といい記号Rxを用い、一の発熱体の副走査方向(Y軸方向)の長さを「副走査長」といい記号Ryを用いる。また、主走査方向に配列された複数の発熱体のピッチ(隣接する発熱体の中心位置の相互間の長さ)を「発熱ピッチ」といい記号Pを用い、隣接する発熱体の相互間の隙間の長さを「発熱体間長」といい記号Sを用いる。これらの用語及び記号は、本実施の形態の発熱体61及び対比発熱体の双方に共通して用いる。   Hereinafter, the length of one heating element in the main scanning direction (X-axis direction) is referred to as “main scanning length”, and the symbol Rx is used, and the length of one heating element in the sub-scanning direction (Y-axis direction) is “ A symbol Ry called “sub-scanning length” is used. In addition, the pitch of a plurality of heating elements arranged in the main scanning direction (the length between the central positions of adjacent heating elements) is referred to as a “heating pitch”, and the symbol P is used to indicate the spacing between adjacent heating elements. The length of the gap is referred to as “length between heating elements” and the symbol S is used. These terms and symbols are used in common for both the heating element 61 and the contrast heating element of the present embodiment.

図7は、対比発熱体69のサイズの一例を示す図である。図に示すように、対比発熱体69の主走査長Rxは0.070(mm)、副走査長Ryは0.1(mm)、発熱ピッチPは0.083(mm)、発熱体間長Sは0.013(mm)とそれぞれなっている。つまり、対比発熱体69では、その副走査長Ryが発熱ピッチPより大となっている。   FIG. 7 is a diagram illustrating an example of the size of the contrast heating element 69. As shown in the figure, the main scanning length Rx of the comparative heating element 69 is 0.070 (mm), the sub-scanning length Ry is 0.1 (mm), the heating pitch P is 0.083 (mm), and the length between the heating elements. S is 0.013 (mm). That is, in the contrast heating element 69, the sub-scanning length Ry is larger than the heat generation pitch P.

この対比発熱体69を利用して、図6の例の如く、主走査方向に3個×副走査方向に3個の計9個のドットdtで構成される一のセル83を印刷する場合について想定する。   Using this contrast heating element 69, as shown in the example of FIG. 6, a single cell 83 composed of 9 dots dt in total 3 in the main scanning direction and 3 in the sub-scanning direction is printed. Suppose.

対比発熱体69による印刷内容の主走査方向の長さは、発熱ピッチPに、主走査方向のドット数を乗算して得られる長さとみなすことができる。このため、主走査方向に3個のドットで構成されるセル83の主走査方向の長さCxは、
Cx=P・3
=0.083×3
=0.249(mm) …(1)
となる。
The length in the main scanning direction of the print content by the contrast heating element 69 can be regarded as a length obtained by multiplying the heat generation pitch P by the number of dots in the main scanning direction. For this reason, the length Cx in the main scanning direction of the cell 83 composed of three dots in the main scanning direction is
Cx = P · 3
= 0.083 x 3
= 0.249 (mm) (1)
It becomes.

一方、対比発熱体69による印刷内容の副走査方向の長さは、対比発熱体69の副走査長Ryと、単位搬送量(以下、記号Fを用いる。)と、副走査方向のドット数とによって規定される。   On the other hand, the length in the sub-scanning direction of the printing content by the contrast heating element 69 is the sub-scanning length Ry of the contrast heating element 69, the unit transport amount (hereinafter referred to as symbol F), and the number of dots in the sub-scanning direction. It is prescribed by.

図8は、対比発熱体69による印刷内容の副走査方向の長さを説明するための図である。図8(a1)は1個のドットdt、図8(a2)は連続する2個のドットdt、図8(a3)は連続する3個のドットdtを形成した場合をそれぞれ示している。なお以下、図中において、ドットdtが形成された順番を明示する場合は、形成された順にd1,d2,d3とドットに対して符号を付す。   FIG. 8 is a diagram for explaining the length in the sub-scanning direction of the print content by the contrast heating element 69. 8A1 shows one dot dt, FIG. 8A2 shows two consecutive dots dt, and FIG. 8A3 shows a case where three consecutive dots dt are formed. In the following, in the figure, when the order in which the dots dt are formed is clearly indicated, reference numerals are given to the dots d1, d2, d3 and the dots in the order in which they are formed.

図8(a1)に示すように、1個のドットdtのみを形成した場合は、副走査方向の長さが対比発熱体69の副走査長Ryと同一のドットdtが形成される。すなわち、印刷内容の副走査方向の長さは副走査長Ryとなる。   As shown in FIG. 8A1, when only one dot dt is formed, a dot dt having the same length in the sub-scanning direction as the sub-scanning length Ry of the contrast heating element 69 is formed. That is, the length of the print content in the sub-scanning direction is the sub-scanning length Ry.

また、図8(a2)に示すように、2個のドットdtを形成した場合は、まず、第1番目のドットd1が、図8(a1)と同様に形成される。そして、ラベルが単位搬送量Fだけ搬送されるため、第2番目のドットd2が形成される位置は、第1番目のドットd1の形成位置から単位搬送量FだけY軸+側にずれることになる。   In addition, as shown in FIG. 8A2, when two dots dt are formed, first, the first dot d1 is formed in the same manner as in FIG. 8A1. Since the label is transported by the unit transport amount F, the position where the second dot d2 is formed is shifted to the Y axis + side by the unit transport amount F from the position where the first dot d1 is formed. Become.

この単位搬送量Fは、副走査方向(Y軸方向)のドットピッチ(隣接するドットの中心位置の相互間の長さ)となる。このため、文字の印刷においてドットフォントを利用できるように、単位搬送量Fは主走査方向(X軸方向)のドットピッチとなる発熱ピッチPに一致される(F=P)。ここで、単位搬送量F(=発熱ピッチP)<副走査長Ryであることから、図に示すように、ドットd1,d2は一部において重なり、印刷内容の副走査方向の長さは、単位搬送量Fと副走査長Ryとを加算した長さ(F+Ry)となる。   This unit transport amount F is the dot pitch in the sub-scanning direction (Y-axis direction) (the length between the center positions of adjacent dots). For this reason, the unit transport amount F is matched with the heat generation pitch P (F = P), which is the dot pitch in the main scanning direction (X-axis direction) so that a dot font can be used in character printing. Here, since unit transport amount F (= heat generation pitch P) <sub-scanning length Ry, as shown in the figure, the dots d1 and d2 partially overlap, and the length of the print content in the sub-scanning direction is: A length (F + Ry) is obtained by adding the unit transport amount F and the sub-scanning length Ry.

また、図8(a3)に示すように、3個のドットdtを形成した場合は、第1及び第2番目のドットd1,d2は、図8(a2)と同様に形成される。そして、さらにラベルが単位搬送量Fだけ搬送され、第3番目のドットd3が第2番目のドットd2の形成位置から単位搬送量FだけY軸+側にずれた位置に形成される。このため、図に示すように、印刷内容の副走査方向の長さは、単位搬送量Fの2回分と副走査長Ryとを加算した長さ(F・2+Ry)となる。   As shown in FIG. 8 (a3), when three dots dt are formed, the first and second dots d1 and d2 are formed in the same manner as in FIG. 8 (a2). Further, the label is further conveyed by the unit conveyance amount F, and the third dot d3 is formed at a position shifted from the formation position of the second dot d2 by the unit conveyance amount F to the Y axis + side. For this reason, as shown in the figure, the length of the print content in the sub-scanning direction is a length (F · 2 + Ry) obtained by adding the unit transport amount F twice and the sub-scanning length Ry.

したがって、副走査方向に3個のドットで構成されるセル83の副走査方向の長さCyは、
Cy=F・2+Ry
=P・2+Ry
=0.083×2+0.1
=0.266(mm) …(2)
となる。
Therefore, the length Cy in the sub-scanning direction of the cell 83 composed of three dots in the sub-scanning direction is
Cy = F · 2 + Ry
= P.2 + Ry
= 0.083 × 2 + 0.1
= 0.266 (mm) (2)
It becomes.

式(1)及び式(2)から分かるように、対比発熱体69でセル83を印刷すると、セル83の主走査方向の長さCxと副走査方向の長さCyとは一致せず、セル83の形状は正方形とはならないこととなる。   As can be seen from the equations (1) and (2), when the cell 83 is printed by the contrast heating element 69, the length Cx in the main scanning direction and the length Cy in the sub-scanning direction of the cell 83 do not coincide with each other. The shape of 83 is not a square.

なお、この説明では、主走査方向に3個×副走査方向に3個のドットdtで構成される一のセル83を印刷する場合について考えたが、より一般的に、主走査方向にn個×副走査方向にn個(ただし、nは自然数)のドットdtで構成される一のセル83を印刷する場合について考える。   In this description, the case of printing one cell 83 composed of 3 dots dt in the main scanning direction × 3 dots dt in the sub-scanning direction has been considered, but more generally n cells in the main scanning direction. X Consider a case where one cell 83 composed of n (where n is a natural number) dots dt is printed in the sub-scanning direction.

この場合は、セル83の主走査方向の長さCxは、
Cx=P・n
=0.083×n(mm) …(3)
となる。
In this case, the length Cx of the cell 83 in the main scanning direction is
Cx = P · n
= 0.083 × n (mm) (3)
It becomes.

一方、図8から分かるように、セル83の副走査方向の長さCyは、
Cy=F・(n−1)+Ry …(4)
と表現できるため、
Cy=P・(n−1)+Ry
=0.083×n−0.083+0.1
=0.083×n+0.017(mm) …(5)
となる。
On the other hand, as can be seen from FIG. 8, the length Cy of the cell 83 in the sub-scanning direction is
Cy = F · (n−1) + Ry (4)
Can be expressed as
Cy = P · (n−1) + Ry
= 0.083 × n−0.083 + 0.1
= 0.083 × n + 0.017 (mm) (5)
It becomes.

したがって、式(3)及び式(5)から分かるように、対比発熱体69でセル83を印刷すると、nに係わらず、セル83の主走査方向の長さCxと副走査方向の長さCyとでは、副走査長Ryと発熱ピッチPとの差に相当する0.017(mm)の差が生じてしまう。この差は、一のセル83を構成するドットの数が少ないほど(nの数が小となるほど)、そのセル83の形状に大きな影響を与える。すなわち、印刷すべきセル83の絶対的なサイズが小さいほど、セル83の形状が正方形状から外れてしまうこととなるわけである。   Therefore, as can be seen from the equations (3) and (5), when the cell 83 is printed by the contrast heating element 69, the length Cx in the main scanning direction and the length Cy in the sub-scanning direction of the cell 83 regardless of n. In this case, a difference of 0.017 (mm) corresponding to the difference between the sub-scanning length Ry and the heat generation pitch P occurs. This difference greatly affects the shape of the cell 83 as the number of dots constituting one cell 83 is smaller (the smaller the number of n is). That is, the smaller the absolute size of the cell 83 to be printed, the more the shape of the cell 83 deviates from the square shape.

<1−4−2.本実施の形態>
次に、本実施の形態の発熱体61のサイズについて説明する。図9は、本実施の形態の発熱体61のサイズを示す図である。
<1-4-2. Embodiment>
Next, the size of the heating element 61 of the present embodiment will be described. FIG. 9 is a diagram showing the size of the heating element 61 of the present embodiment.

対比発熱体69では、副走査長Ryが発熱ピッチPより大となっていたが、本実施の形態では、副走査長Ryが発熱ピッチPと一致されている。すなわち、本実施の形態では、発熱ピッチP及び副走査長Ryは双方ともに0.083(mm)となっている。その他のサイズは対比発熱体69(図7)と同一であり、発熱体61の主走査長Rxは0.070(mm)、発熱体間長Sは0.013(mm)となっている。   In the contrast heating element 69, the sub-scanning length Ry is larger than the heat generation pitch P. However, in the present embodiment, the sub-scanning length Ry matches the heat generation pitch P. That is, in the present embodiment, both the heat generation pitch P and the sub-scanning length Ry are 0.083 (mm). The other sizes are the same as those of the comparative heating element 69 (FIG. 7). The main scanning length Rx of the heating element 61 is 0.070 (mm) and the inter-heating element length S is 0.013 (mm).

この発熱体61を利用して、上述した対比例の場合と同様に図6の例の如く、主走査方向に3個×副走査方向に3個の計9個のドットdtで構成される一のセル83を印刷する場合について説明する。   By using this heating element 61, as in the case of the above-described comparative example, as shown in the example of FIG. 6, a total of nine dots dt consisting of 3 in the main scanning direction and 3 in the sub-scanning direction. A case where the cell 83 is printed will be described.

本実施の形態の発熱体61においても、印刷内容の主走査方向の長さは発熱ピッチPに主走査方向のドット数を乗算して得られる長さとみなすことができる。このため、主走査方向に3個のドットで構成されるセル83の主走査方向の長さCxは、
Cx=P・3
=0.083×3
=0.249(mm) …(6)
となる。
Also in the heating element 61 of the present embodiment, the length of the printed content in the main scanning direction can be regarded as the length obtained by multiplying the heating pitch P by the number of dots in the main scanning direction. For this reason, the length Cx in the main scanning direction of the cell 83 composed of three dots in the main scanning direction is
Cx = P · 3
= 0.083 x 3
= 0.249 (mm) (6)
It becomes.

一方、本実施の形態の発熱体61による印刷内容の副走査方向の長さは、発熱ピッチPと、副走査方向のドット数とのみによって規定される。   On the other hand, the length in the sub-scanning direction of the printing content by the heating element 61 of the present embodiment is defined only by the heat generation pitch P and the number of dots in the sub-scanning direction.

図10は、本実施の形態の発熱体61による印刷内容の副走査方向の長さを説明するための図である。図10(b1)は1個のドットdt、図10(b2)は連続する2個のドットdt、図10(b3)は連続する3個のドットdtを形成した場合をそれぞれ示している。   FIG. 10 is a diagram for explaining the length in the sub-scanning direction of the print content by the heating element 61 of the present embodiment. FIG. 10 (b1) shows one dot dt, FIG. 10 (b2) shows two continuous dots dt, and FIG. 10 (b3) shows a case where three continuous dots dt are formed.

図10(b1)に示すように、1個のドットdtのみを形成した場合は、副走査方向の長さが発熱体61の副走査長Ryと同一のドットdtが形成される。すなわち、印刷内容の副走査方向の長さは副走査長Ryとなる。本実施の形態では、副走査長Ry=発熱ピッチPであるため、印刷内容の副走査方向の長さは発熱ピッチPに一致することになる。   As shown in FIG. 10B1, when only one dot dt is formed, a dot dt having the same length in the sub-scanning direction as the sub-scanning length Ry of the heating element 61 is formed. That is, the length of the print content in the sub-scanning direction is the sub-scanning length Ry. In the present embodiment, since the sub-scanning length Ry = the heat generation pitch P, the length of the printed content in the sub-scanning direction matches the heat generation pitch P.

また、図10(b2)に示すように、2個のドットdtを形成した場合は、まず、第1番目のドットd1が図10(b1)と同様に形成され、次に、そのドットd1の形成位置から単位搬送量FだけY軸+側にずれた位置に、第2番目のドットd2が形成される。   As shown in FIG. 10 (b2), when two dots dt are formed, first, the first dot d1 is formed in the same manner as in FIG. 10 (b1), and then the dot d1. A second dot d2 is formed at a position shifted from the formation position to the Y axis + side by the unit transport amount F.

本実施の形態では、単位搬送量F=発熱ピッチPであるとともに、副走査長Ry=発熱ピッチPである。このため、図に示すように、副走査方向に隣接する2個のドットd1,d2は重ならず、かつ、隙間なく配置される。これにより、印刷内容の副走査方向の長さは、副走査長Ryの2倍、すなわち、発熱ピッチPの2倍となる。   In the present embodiment, the unit transport amount F = the heat generation pitch P and the sub-scanning length Ry = the heat generation pitch P. For this reason, as shown in the figure, the two dots d1 and d2 adjacent in the sub-scanning direction do not overlap and are arranged without a gap. As a result, the length of the print content in the sub-scanning direction is twice the sub-scanning length Ry, that is, twice the heat generation pitch P.

また、図10(b3)に示すように、3個のドットdtを形成した場合は、ドットd1,d2は図10(b2)と同様に形成され、ドットd2の形成位置からさらに単位搬送量FだけY軸+側にずれた位置に第3番目のドットd3が形成される。この場合も、副走査方向に隣接するドット同士は、重ならず、かつ、隙間なく配置される。このため、印刷内容の副走査方向の長さは、副走査長Ryの3倍、すなわち、発熱ピッチPの3倍となる。   Further, as shown in FIG. 10B3, when three dots dt are formed, the dots d1 and d2 are formed in the same manner as in FIG. 10B2, and the unit transport amount F is further increased from the formation position of the dot d2. Thus, the third dot d3 is formed at a position shifted to the Y axis + side. Also in this case, dots adjacent in the sub-scanning direction are arranged without overlapping and without a gap. For this reason, the length of the print content in the sub-scanning direction is three times the sub-scanning length Ry, that is, three times the heat generation pitch P.

したがって、副走査方向に3個のドットで構成されるセル83の副走査方向の長さCyは、
Cx=P・3
=0.083×3
=0.249(mm) …(7)
となる。
Therefore, the length Cy in the sub-scanning direction of the cell 83 composed of three dots in the sub-scanning direction is
Cx = P · 3
= 0.083 x 3
= 0.249 (mm) (7)
It becomes.

式(6)及び式(7)から分かるように、本実施の形態の発熱体61でセル83を印刷すると、セル83の主走査方向の長さCxと副走査方向の長さCyとが一致し、セル83の形状は正方形となることとなる。   As can be seen from the equations (6) and (7), when the cell 83 is printed by the heating element 61 of the present embodiment, the length Cx in the main scanning direction and the length Cy in the sub-scanning direction of the cell 83 are equal. Then, the shape of the cell 83 becomes a square.

より一般的に、本実施の形態の発熱体61により、主走査方向にn個×副走査方向にn個(ただし、nは自然数)のドットdtで構成される一のセル83を印刷する場合について考える。   More generally, when the heating element 61 of the present embodiment prints one cell 83 composed of n dots in the main scanning direction × n in the sub scanning direction (where n is a natural number), dt. think about.

この場合は、セル83の主走査方向の長さCxは、
Cx=P・n
=0.083×n(mm) …(8)
となる。
In this case, the length Cx of the cell 83 in the main scanning direction is
Cx = P · n
= 0.083 × n (mm) (8)
It becomes.

一方、図10から分かるように、セル83の副走査方向の長さCyは、
Cy=Ry・n …(9)
と表現できるため、
Cy=P・n
=0.083×n(mm) …(10)
となる。
On the other hand, as can be seen from FIG. 10, the length Cy of the cell 83 in the sub-scanning direction is
Cy = Ry · n (9)
Can be expressed as
Cy = P · n
= 0.083 × n (mm) (10)
It becomes.

したがって、式(8)及び式(10)から分かるように、本実施の形態の発熱体61でセル83を印刷すると、nに係わらず、セル83の主走査方向の長さCxと副走査方向の長さCyとが必ず一致することになる。すなわち、印刷すべきセル83の絶対的なサイズが小さい場合であっても、セル83の形状を正方形状とすることができるわけである。これにより、QRコード82を構成する各セル83の形状が正方形となるように印刷できるため、印刷されたQRコード82のスキャナ装置における読取精度を大きく向上できることとなる。   Therefore, as can be seen from the equations (8) and (10), when the cell 83 is printed by the heating element 61 of the present embodiment, the length Cx of the cell 83 in the main scanning direction and the sub-scanning direction regardless of n. The length Cy of this is always the same. That is, even if the absolute size of the cell 83 to be printed is small, the shape of the cell 83 can be a square shape. Thereby, since it can print so that the shape of each cell 83 which comprises QR Code 82 may become a square, the reading precision in the scanner apparatus of the printed QR Code 82 can be improved greatly.

<2.第2の実施の形態>
次に、第2の実施の形態について説明する。本実施の形態のラベルプリンタ1は、第1の実施の形態とほぼ同様であるため、以下、第1の実施の形態との相違点を中心に説明する。
<2. Second Embodiment>
Next, a second embodiment will be described. Since the label printer 1 of the present embodiment is substantially the same as that of the first embodiment, the following description will focus on differences from the first embodiment.

第1の実施の形態のように、副走査方向に隣接するドット同士の重なりをなくすようにすると、印刷されたQRコードに関しては読取精度が向上する一方で、印刷された文字に関しては濃さが薄くなり、人間が認識しづらくなる可能性がある。これは、ドット同士の重なり部分は、他の部分と比較して多くの発熱エネルギーが感熱用紙としてのラベルに与えられるために黒化の程度が強くなるが、一般に、印刷される文字の濃さは、このドット同士の重なり部分を利用して適正となるようにされるためである。   If the overlapping of adjacent dots in the sub-scanning direction is eliminated as in the first embodiment, the reading accuracy is improved with respect to the printed QR code, while the density with respect to the printed character is increased. It may become thin and difficult for humans to recognize. This is because the overlapping portion of dots increases the degree of blackening because a large amount of heat generation energy is given to the label as thermal paper compared to the other portions, but in general the darkness of the printed characters This is because the overlapping portion of the dots is used to be appropriate.

これに対応するために、QRコード及び文字を含むラベルの印刷内容の全体に関して一律に発熱体の発熱エネルギーを高くし、印刷内容の全体の濃さを濃くすることも考えられる。しかしながら、発熱体61の発熱エネルギーを過度に高くすると、発熱状態の発熱体61と接触する部分のみならずその周囲までもが黒化する「印刷にじみ」と呼ばれる現象が生じることがある。セル83を構成するドットに関してこのような印刷にじみが生じると、セル83の形状が正方形から外れてしまい、QRコードの読取精度が低下してしまう可能性がある。   In order to cope with this, it is conceivable that the heat generation energy of the heating element is uniformly increased with respect to the entire printed content of the label including the QR code and characters, and the overall darkness of the printed content is increased. However, when the heat generation energy of the heat generating element 61 is excessively increased, a phenomenon called “printing blur” may occur in which not only the portion in contact with the heat generating element 61 in a heat generating state but also the periphery thereof is blackened. If such printing bleeding occurs with respect to the dots constituting the cell 83, the shape of the cell 83 may deviate from the square and the QR code reading accuracy may be reduced.

このため、この第2の実施の形態では、QRコードの一部となるドットを形成するときと、文字の一部となるドットを形成するときとで、発熱体がラベルに与える発熱エネルギーを異ならせるようにしている。   For this reason, in this second embodiment, the heating energy applied to the label by the heating element differs between when forming dots that are part of the QR code and when forming dots that are part of the character. I try to make it.

本実施の形態では、ラベルに印刷すべき内容を示す画像データの各画素の値は、2ビットで表現される。すなわち、各画素の値は、「00」「01」「10」「11」の4通りのうちのいずれかの値(0〜3)をとることになる。そして、文字の一部となるドットに対応する画素の値は「01」、QRコードの一部となるドットに対応する画素の値は「10」、空白に対応する画素の値は「00」とされている。換言すれば、本実施の形態の画像データは、文字に係るドットのみを示す画像情報と、QRコードに係るドットのみを示す画像情報との双方を含んだものであるとも表現できる。   In the present embodiment, the value of each pixel of the image data indicating the content to be printed on the label is expressed by 2 bits. That is, the value of each pixel takes one of the four values “0”, “01”, “10”, and “11” (0 to 3). The value of the pixel corresponding to the dot that is a part of the character is “01”, the value of the pixel corresponding to the dot that is a part of the QR code is “10”, and the value of the pixel corresponding to the blank is “00”. It is said that. In other words, the image data according to the present embodiment can also be expressed as including both image information indicating only dots related to characters and image information indicating only dots related to QR codes.

このような画像データは、第1の実施の形態と同様に、ラインデータごとに制御部7からサーマルヘッド6の駆動回路62に入力される。そして、各画素の値は対応するメモリ63に記憶される。このメモリ63に記憶された画素の値に基づいて各発熱体61に関しての発熱制御が駆動回路62によりなされることとなる。   Similar to the first embodiment, such image data is input from the control unit 7 to the drive circuit 62 of the thermal head 6 for each line data. Then, the value of each pixel is stored in the corresponding memory 63. Based on the pixel values stored in the memory 63, the heat generation control for the respective heat generators 61 is performed by the drive circuit 62.

図11は、本実施の形態の駆動回路62の一の発熱体61に関しての発熱制御の流れを示す図である。駆動回路62は、図11に示す発熱制御を各発熱体61ごとに行うことになる。なお以下、図11を参照して一の発熱体61に注目して説明するが、この一の発熱体61を「注目発熱体」という。   FIG. 11 is a diagram showing a flow of heat generation control for the heat generator 61 of the drive circuit 62 of the present embodiment. The drive circuit 62 performs the heat generation control shown in FIG. In the following, a description will be given focusing on one heating element 61 with reference to FIG. 11, but this one heating element 61 is referred to as a “noting heating element”.

まず、制御部7から駆動回路62にラインデータが入力されると、そのラインデータ中の注目発熱体に対応する画素の値が、注目発熱体に対応するメモリ63に記憶される(ステップS21)。   First, when line data is input from the controller 7 to the drive circuit 62, the value of the pixel corresponding to the target heating element in the line data is stored in the memory 63 corresponding to the target heating element (step S21). .

次に、メモリ63に記憶された画素の値が参照される(ステップS22)。そして、画素の値が「01」であれば、注目発熱体が第1の所定時間T1にわたって発熱される(ステップS23)。一方、画素の値が「10」であれば、注目発熱体が、第1の所定時間T1よりも短い第2の所定時間T2にわたって発熱される(ステップS24)。つまり、駆動回路62の制御により、画素の値が「01」であれば比較的長く、画素の値が「10」であれば比較的短く注目発熱体が発熱されることになる。また、画素の値が「00」あるいは「11」であれば、駆動回路62の制御により注目発熱体の発熱が停止される(ステップS25)。   Next, the pixel value stored in the memory 63 is referred to (step S22). If the value of the pixel is “01”, the target heating element generates heat over the first predetermined time T1 (step S23). On the other hand, if the value of the pixel is “10”, the target heating element generates heat for a second predetermined time T2 shorter than the first predetermined time T1 (step S24). That is, under the control of the drive circuit 62, the heating element of interest is heated relatively long if the pixel value is “01”, and relatively short if the pixel value is “10”. On the other hand, if the pixel value is “00” or “11”, the heat generation of the heating element of interest is stopped by the control of the drive circuit 62 (step S25).

前述したように、値が「01」の画素は文字の一部となるドットに対応し、値が「10」の画素はQRコードの一部となるドットに対応する。したがって、このような発熱時間の調整により、注目発熱体が文字を構成するドットを形成するときはその発熱エネルギーが比較的高くなるように制御され、注目発熱体がQRコードを構成するドットを形成するときはその発熱エネルギーが比較的低くなるように制御されることとなる。   As described above, a pixel having a value “01” corresponds to a dot that is a part of a character, and a pixel having a value “10” corresponds to a dot that is a part of a QR code. Therefore, by adjusting the heat generation time, when the heat generating element of interest forms dots forming characters, the heat generation energy is controlled to be relatively high, and the heat generating element of attention forms dots forming the QR code. When doing so, the heat generation energy is controlled to be relatively low.

このようにして一のラインデータに係る処理が完了すると、次のラインデータがあれば(ステップS26にてNo)、再度、処理はステップS21に戻り、同様の発熱制御が繰り返される。また一方で、一のラインデータに係る処理ごとにラベルが単位搬送量Fだけ搬送される。そして、このような一のラインデータごとの発熱制御及びラベル搬送が、画像データに含まれる全てのラインデータに関して繰り返されることにより、一のラベルに関する印刷処理が完了し、当該ラベルに所定の印刷内容が形成されることになる。   When the process related to one line data is completed in this way, if there is next line data (No in step S26), the process returns to step S21 again, and the same heat generation control is repeated. On the other hand, the label is transported by the unit transport amount F for each process related to one line data. Then, such heat generation control and label conveyance for each line data are repeated for all the line data included in the image data, so that the printing process for one label is completed, and predetermined print contents are printed on the label. Will be formed.

このように本実施の形態では、注目発熱体がQRコードの一部となるドットを形成するときは、文字の一部となるドットを形成するときと比較して、注目発熱体がラベルに与える発熱エネルギーが低くされる。このため、QRコードに係るドットに関しての印刷にじみの発生を防止しつつ、文字コードに係るドットに関してのみ印刷にじみを意図的に発生させることができ、ラベルの印刷内容のうちの文字のみの見た目の濃さを濃くすることができる。したがって、QRコードの読取精度を維持したまま、文字の視認性を向上することができることとなる。   As described above, in the present embodiment, when the attention heating element forms a dot that becomes a part of a QR code, the attention heating element gives a label to the dot as compared with the case where a dot that becomes a part of a character is formed. Heat generation energy is lowered. For this reason, it is possible to intentionally generate print bleeding only with respect to the dots related to the character code while preventing the occurrence of print bleeding regarding the dots related to the QR code. Thickness can be increased. Therefore, the visibility of the characters can be improved while maintaining the QR code reading accuracy.

<3.第3の実施の形態>
次に、第3の実施の形態について説明する。本実施の形態のラベルプリンタ1は、第1の実施の形態とほぼ同様であるため、以下、第1の実施の形態との相違点を中心に説明する。
<3. Third Embodiment>
Next, a third embodiment will be described. Since the label printer 1 of the present embodiment is substantially the same as that of the first embodiment, the following description will focus on differences from the first embodiment.

第1の実施の形態では、印刷内容の主走査方向(X軸方向)の長さは、発熱ピッチPに主走査方向のドット数を乗算して得られる長さとみなしていた。これは、発熱体61の相互間の隙間に対応するラベル部分は、直接的には発熱体61に接触しないが、発熱体61と接触する部分からの発熱エネルギーの伝導により黒化するためである(図9参照。)。   In the first embodiment, the length of the print content in the main scanning direction (X-axis direction) is regarded as the length obtained by multiplying the heat generation pitch P by the number of dots in the main scanning direction. This is because the label portions corresponding to the gaps between the heating elements 61 do not directly contact the heating elements 61, but are blackened by conduction of heat generation energy from the portions that contact the heating elements 61. (See FIG. 9).

本実施の形態では、さらに厳密に、発熱体61の相互間の隙間に対応するラベル部分のうち、発熱状態の発熱体61と接触する2つの部分に挟まれた部分のみが黒化するとみなす。この場合、主走査方向にn個のドットで構成されるセル83については、発熱体61の相互間の隙間の数は(n−1)となることから、その主走査方向の長さCxは、
Cx=Rx・n+S・(n−1) …(11)
となる。
In the present embodiment, more strictly, it is assumed that only a portion sandwiched between two portions in contact with the heat generating element 61 in the heat generation state among the label portions corresponding to the gaps between the heat generating elements 61 is blackened. In this case, for the cell 83 composed of n dots in the main scanning direction, since the number of gaps between the heating elements 61 is (n−1), the length Cx in the main scanning direction is ,
Cx = Rx · n + S · (n−1) (11)
It becomes.

本実施の形態では、この式(11)で表現されるセル83の主走査方向の長さCxに、セル83の副走査方向の長さCyが一致するように、発熱体61の副走査長Ryを定めている。   In the present embodiment, the sub-scanning length of the heating element 61 is set so that the length Cy of the cell 83 in the sub-scanning direction matches the length Cx of the cell 83 expressed by the equation (11). Ry is defined.

図12は、本実施の形態の発熱体61のサイズを示す図である。図に示すように、本実施の形態では、発熱体61の副走査長Ryが主走査長Rxと一致されている。すなわち、本実施の形態では、発熱体61の形状は正方形であり、その主走査長Rx及び副走査長Ryは双方ともに0.070(mm)となっている。その他のサイズは、第1の実施の形態の発熱体61(図9)と同一であり、発熱ピッチPは0.083(mm)、発熱体間長Sは0.013(mm)となっている。つまり、本実施の形態の発熱体61では、その副走査長Ryは、発熱ピッチPより小となっている。   FIG. 12 is a diagram showing the size of the heating element 61 of the present embodiment. As shown in the figure, in the present embodiment, the sub-scanning length Ry of the heating element 61 is matched with the main scanning length Rx. That is, in the present embodiment, the heating element 61 has a square shape, and both the main scanning length Rx and the sub-scanning length Ry are 0.070 (mm). Other sizes are the same as those of the heating element 61 (FIG. 9) of the first embodiment, the heating pitch P is 0.083 (mm), and the length S between heating elements is 0.013 (mm). Yes. That is, in the heating element 61 of the present embodiment, the sub-scanning length Ry is smaller than the heating pitch P.

この発熱体61を利用して、第1の実施の形態の場合と同様に図6の例の如く、主走査方向に3個×副走査方向に3個の計9個のドットdtで構成される一のセル83を印刷する場合について説明する。   Using this heating element 61, as in the case of the first embodiment, as shown in the example of FIG. 6, it is composed of 3 dots in the main scanning direction × 3 in the sub scanning direction, for a total of 9 dots dt. A case where one cell 83 is printed will be described.

このセル83の主走査方向の長さCxは、上記式(11)により、
Cx=Rx・n+S・(n−1)
=Rx・3+S・2
=0.070×3+0.013×2
=0.236(mm) …(12)
となる。
The length Cx of the cell 83 in the main scanning direction is expressed by the above equation (11).
Cx = Rx.n + S. (N-1)
= Rx · 3 + S · 2
= 0.070 x 3 + 0.013 x 2
= 0.236 (mm) (12)
It becomes.

一方、本実施の形態の発熱体61による印刷内容の副走査方向の長さは、発熱体61の副走査長Ryと、単位搬送量Fと、副走査方向のドット数とによって規定される。   On the other hand, the length in the sub-scanning direction of the printing content by the heating element 61 of the present embodiment is defined by the sub-scanning length Ry of the heating element 61, the unit transport amount F, and the number of dots in the sub-scanning direction.

図13は、本実施の形態の発熱体61による印刷内容の副走査方向の長さを説明するための図である。図13(c1)は1個のドットdt、図13(c2)は連続する2個のドットdt、図13(c3)は連続する3個のドットdtを形成した場合をそれぞれ示している。   FIG. 13 is a diagram for explaining the length in the sub-scanning direction of the print content by the heating element 61 according to the present embodiment. 13C1 shows one dot dt, FIG. 13C2 shows two consecutive dots dt, and FIG. 13C3 shows a case where three consecutive dots dt are formed.

図13(c1)に示すように、1個のドットdtのみを形成した場合は、副走査方向の長さが発熱体61の副走査長Ryと同一のドットdtが形成される。すなわち、印刷内容の副走査方向の長さは副走査長Ryとなる。   As shown in FIG. 13C1, when only one dot dt is formed, a dot dt having the same length in the sub-scanning direction as the sub-scanning length Ry of the heating element 61 is formed. That is, the length of the print content in the sub-scanning direction is the sub-scanning length Ry.

また、図13(c2)に示すように、2個のドットdtを形成した場合は、まず、第1番目のドットd1が図13(c1)と同様に形成され、次に、そのドットd1の形成位置から単位搬送量FだけY軸+側にずれた位置に、第2番目のドットd2が形成される。本実施の形態でも、単位搬送量Fは発熱ピッチPに一致される(F=P)。   As shown in FIG. 13 (c2), when two dots dt are formed, the first dot d1 is first formed in the same manner as in FIG. 13 (c1), and then the dot d1. A second dot d2 is formed at a position shifted from the formation position to the Y axis + side by the unit transport amount F. Also in the present embodiment, the unit transport amount F matches the heat generation pitch P (F = P).

ここで本実施の形態では、単位搬送量F(=発熱ピッチP)>副走査長Ryであることから、図に示すように、ドットd1,d2は互いに離間しつつ配置される。これらのドットd1,d2の相互間の離間部分gは、発熱状態の発熱体61と接触する2つの部分に挟まれた部分に実質的に相当するため、黒化することになる。これにより、印刷内容の副走査方向の長さは、単位搬送量Fと副走査長Ryとを加算した長さ(F+Ry)となる。   Here, in the present embodiment, since the unit transport amount F (= heat generation pitch P)> sub-scanning length Ry, the dots d1 and d2 are arranged apart from each other as shown in the figure. The separated portion g between the dots d1 and d2 substantially corresponds to the portion sandwiched between the two portions that are in contact with the heat generating element 61 in the heat generating state, and is therefore blackened. Thereby, the length of the print content in the sub-scanning direction becomes a length (F + Ry) obtained by adding the unit transport amount F and the sub-scanning length Ry.

また、図13(c3)に示すように、3個のドットdtを形成した場合は、ドットd1,d2は図13(c2)と同様に形成され、ドットd2の形成位置からさらに単位搬送量FだけY軸+側にずれた位置に第3番目のドットd3が形成される。この場合も、副走査方向に隣接するドット同士は離間し、ドットの相互間の離間部分gは黒化する。このため、図に示すように、印刷内容の副走査方向の長さは、単位搬送量Fの2回分と副走査長Ryとを加算した長さ(F・2+Ry)となる。   Further, as shown in FIG. 13 (c3), when three dots dt are formed, the dots d1 and d2 are formed in the same manner as in FIG. 13 (c2), and the unit transport amount F is further increased from the formation position of the dot d2. Thus, the third dot d3 is formed at a position shifted to the Y axis + side. Also in this case, dots adjacent in the sub-scanning direction are separated from each other, and a separated portion g between the dots is blackened. For this reason, as shown in the figure, the length of the print content in the sub-scanning direction is a length (F · 2 + Ry) obtained by adding the unit transport amount F twice and the sub-scanning length Ry.

したがって、副走査方向に3個のドットで構成されるセル83の副走査方向の長さCyは、
Cy=F・2+Ry
=P・2+Ry
=0.083×2+0.070
=0.236(mm) …(13)
となる。
Therefore, the length Cy in the sub-scanning direction of the cell 83 composed of three dots in the sub-scanning direction is
Cy = F · 2 + Ry
= P.2 + Ry
= 0.083 x 2 + 0.070
= 0.236 (mm) (13)
It becomes.

式(12)及び式(13)から分かるように、本実施の形態においても、セル83の主走査方向の長さCxと副走査方向の長さCyとが一致し、セル83の形状は正方形となる。   As can be seen from the equations (12) and (13), also in this embodiment, the length Cx of the cell 83 in the main scanning direction and the length Cy in the sub-scanning direction match, and the shape of the cell 83 is a square. It becomes.

より一般的に、本実施の形態の発熱体61により、主走査方向にn個×副走査方向にn個(ただし、nは自然数)のドットdtで構成される一のセル83を印刷する場合について考える。   More generally, when the heating element 61 of the present embodiment prints one cell 83 composed of n dots in the main scanning direction × n in the sub scanning direction (where n is a natural number), dt. think about.

この場合は、セル83の主走査方向の長さCxは、上記式(11)で与えられるため、
Cx=Rx・n+S・(n−1)
=0.070×n+0.013×n−0.013
=0.083×n−0.013(mm) …(14)
となる。
In this case, the length Cx of the cell 83 in the main scanning direction is given by the above equation (11).
Cx = Rx.n + S. (N-1)
= 0.070 * n + 0.013 * n-0.013
= 0.083 x n-0.013 (mm) (14)
It becomes.

一方、図13から分かるように、セル83の副走査方向の長さCyは、
Cy=F・(n−1)+Ry …(15)
と表現できるため、
Cy=P・(n−1)+Ry
=0.083×n−0.083+0.070
=0.083×n−0.013(mm) …(16)
となる。
On the other hand, as can be seen from FIG. 13, the length Cy of the cell 83 in the sub-scanning direction is
Cy = F · (n−1) + Ry (15)
Can be expressed as
Cy = P · (n−1) + Ry
= 0.083 × n−0.083 + 0.070
= 0.083 × n−0.013 (mm) (16)
It becomes.

したがって、式(14)及び式(16)から分かるように、本実施の形態においても発熱体61でセル83を印刷すると、nに係わらず、セル83の主走査方向の長さCxと副走査方向の長さCyとが必ず一致することになる。すなわち、印刷すべきセル83の絶対的なサイズが小さい場合であっても、セル83の形状を正方形状とすることができることになる。   Therefore, as can be seen from the equations (14) and (16), also in this embodiment, when the cell 83 is printed by the heating element 61, the length Cx of the cell 83 in the main scanning direction and the sub-scanning regardless of n. The direction length Cy always matches. That is, even if the absolute size of the cell 83 to be printed is small, the shape of the cell 83 can be a square shape.

<4.他の実施の形態>
以上、本発明の実施の形態について説明してきたが、この発明は上記実施の形態に限定されるものではなく様々な変形が可能である。
<4. Other embodiments>
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications are possible.

主走査方向にn個のドットで構成されるセル83の主走査方向(X軸方向)の長さCxは、第1実施の形態では式(8)で与えられ、第3実施の形態では式(14)で与えられると説明した。しかしながら、より厳密にいうなれば、この主走査方向の長さCxは、発熱体61の発熱エネルギーに応じて生じる印刷にじみなどにより、ある程度の幅において変動する。したがって厳密には、主走査方向の長さCxは、おおよそ、式(14)で与えられる値以上、式(8)で与えられる値以下の範囲内の値をとることになる。   The length Cx in the main scanning direction (X-axis direction) of the cell 83 composed of n dots in the main scanning direction is given by Expression (8) in the first embodiment, and is expressed by Expression (8) in the third embodiment. It was explained that it was given in (14). However, more strictly speaking, the length Cx in the main scanning direction varies within a certain width due to printing bleeding generated according to the heat generation energy of the heat generator 61. Therefore, strictly speaking, the length Cx in the main scanning direction takes a value approximately in the range not less than the value given by Expression (14) and not more than the value given by Expression (8).

したがって、セル83の副走査方向(Y軸方向)の長さCyを規定することになる発熱体61の副走査長Ryの長さも、第3の実施の形態における主走査長Rx以上、第1の実施の形態における発熱ピッチP以下の範囲内の長さとすればよい。すなわち、発熱体61の副走査長Ryの長さがこの範囲内にあれば、QRコード82を構成する各セル83の形状をおおよそ正方形となるように印刷でき、QRコード82の読取精度を向上できることになる。   Therefore, the length of the sub-scanning length Ry of the heating element 61 that defines the length Cy of the cell 83 in the sub-scanning direction (Y-axis direction) is equal to or longer than the main scanning length Rx in the third embodiment. What is necessary is just to set it as the length within the range below the heat generation pitch P in the embodiment. That is, if the length of the sub-scanning length Ry of the heating element 61 is within this range, the shape of each cell 83 constituting the QR code 82 can be printed so as to be approximately square, and the reading accuracy of the QR code 82 is improved. It will be possible.

また、第2の実施の形態では、第1の実施の形態と同一サイズの発熱体において図11に示す発熱制御を行うとして説明したが、もちろん、第3の実施の形態と同一サイズの発熱体において同様の発熱制御を行うようにしてもよい。さらには、上記にて対比例として示した一般的な発熱体において、同様の発熱制御を行うようにしてもよい。またさらに、QRコードのみならず他の種類の二次元コードや一次元コードなど、スキャナ装置の読取対象となる他の種類のコードを印刷する場合に、同様の発熱制御を行うようにしてもよい。いずれの場合であっても、コードを構成するドットに関してはその周囲における印刷にじみを抑制する一方で、文字を構成するドットに関しては意図的に印刷にじみを発生させるなど、コードと文字とで個別の濃度調整が可能となる。このため、コードの読取精度を向上しつつ、文字の視認性も向上できることになる。   Further, in the second embodiment, it has been described that the heat generation control shown in FIG. 11 is performed on the heat generating element having the same size as that of the first embodiment, but of course, the heat generating element having the same size as that of the third embodiment. The same heat generation control may be performed in step. Furthermore, the same heat generation control may be performed on the general heating elements shown as being proportional to each other. Furthermore, not only the QR code but also other types of codes to be read by the scanner device such as other types of two-dimensional codes and one-dimensional codes may be printed, and similar heat generation control may be performed. . In either case, the dots that make up the code suppress printing blur around the dots, while the dots that make up the character intentionally cause printing blur, such as individual dots for the code and the character. The density can be adjusted. For this reason, the visibility of the characters can be improved while improving the accuracy of reading the code.

また、第2の実施の形態と同様の発熱制御を、文字のみに関する濃度調整に利用してもよい。この場合は、ラベルの印刷内容に含まれる文字のうちの一部の文字に係るドットを形成するときはその発熱エネルギーを比較的高くし、他の一部の文字に係るドットを形成するときはその発熱エネルギーが比較的低くなるように発熱体を制御することになる。これによれば、単色の文字の相互間でも濃淡の差を容易につけることができるため、強調すべき文字のみを濃くしたり、文字のスムージングに利用することができる。   Further, heat generation control similar to that of the second embodiment may be used for density adjustment relating to only characters. In this case, when forming dots related to some of the characters included in the printed content of the label, the heat generation energy is relatively high, and when forming dots related to other partial characters The heating element is controlled so that the heat generation energy is relatively low. According to this, since a difference in shading can be easily added even between single-color characters, only the characters to be emphasized can be darkened or used for character smoothing.

また、上記実施の形態では、ラベルを印刷媒体とするラベルプリンタを例に説明を行ったが、例えば、レシートを印刷するレシートプリンタなど、ラベル以外の用紙を印刷媒体とする印刷装置(サーマルプリンタ)であっても、上記実施の形態と同様の技術を適用することが可能である。   In the above embodiment, the label printer using a label as a printing medium has been described as an example. However, for example, a printing apparatus (thermal printer) using a sheet other than a label as a printing medium, such as a receipt printer that prints a receipt. Even so, it is possible to apply a technique similar to that of the above embodiment.

また、上記実施の形態のようなラベルを印刷媒体とするラベルプリンタにおいては、ラベルLBの端部を検出するラベルセンサが一般に設けられる。図14は、ラベルセンサを設けたラベル印刷部4の様子の一例を示す図である。ラベルセンサは、ラベルを印刷位置に合わせるために利用されるため、ラベル用紙LPの搬送経路の近傍において、サーマルヘッド6よりも上流側に配置される。図14においては、このようなラベルセンサとして、反射型のラベルセンサ42と、透過型のラベルセンサ43との2つの方式のラベルセンサが設けられている。反射型のラベルセンサ42は、光を投光し、ラベル用紙LPで反射した光を受光することにより、ラベル用紙LPの存在を認識するものである。一方、透過型のラベルセンサ43は、投光部43aと受光部43bとを有し、それらの間を通過するラベル用紙LPの有無による透光率の相違に基づいて、ラベル用紙LPの存在を認識するものである。これらの2方式を併用することで、ラベルの端部の検出や、ラベル用紙LPの存在そのものの検出が可能とされる。   Further, in a label printer using a label as a printing medium as in the above embodiment, a label sensor for detecting the end of the label LB is generally provided. FIG. 14 is a diagram illustrating an example of a state of the label printing unit 4 provided with a label sensor. Since the label sensor is used to align the label with the printing position, the label sensor is disposed upstream of the thermal head 6 in the vicinity of the conveyance path of the label paper LP. In FIG. 14, two types of label sensors, a reflective label sensor 42 and a transmissive label sensor 43, are provided as such label sensors. The reflective label sensor 42 projects the light and receives the light reflected by the label paper LP, thereby recognizing the presence of the label paper LP. On the other hand, the transmissive label sensor 43 includes a light projecting unit 43a and a light receiving unit 43b, and the presence of the label paper LP is determined based on the difference in transmissivity depending on the presence or absence of the label paper LP passing between them. Recognize. By using these two methods in combination, it is possible to detect the end of the label and the presence of the label paper LP itself.

しかしながら、図15に示すように、ユーザの取扱いミスにより投光部43aと受光部43bとの間にラベル用紙LPが通されなかった場合には、これらのラベルセンサ42,43によりラベル用紙LPが検出できない場面が生じる。このため、この場合は、「用紙切れ」と判断されてしまい、その後の動作を正常に遂行することができなくなる。   However, as shown in FIG. 15, when the label paper LP is not passed between the light projecting portion 43a and the light receiving portion 43b due to a user's handling mistake, the label paper LP is fed by these label sensors 42 and 43. An undetectable scene occurs. For this reason, in this case, it is determined that “paper is out”, and the subsequent operation cannot be normally performed.

したがってこれを回避するため、図16に示すように、ラベル用紙LPの搬送経路において、ラベルセンサ42,43よりもさらに上流側にラベルセンサ44を配置するようにしてもよい。これによれば、ユーザによる取扱いミスがあった場合であっても、その旨を認識でき、「用紙切れ」との誤判断をなくすことができる。   Therefore, in order to avoid this, as shown in FIG. 16, the label sensor 44 may be disposed further upstream than the label sensors 42 and 43 in the conveyance path of the label paper LP. According to this, even when there is a handling mistake by the user, it can be recognized and an erroneous determination of “out of paper” can be eliminated.

また、上記実施の形態のように、ラベル用紙LPをステッピングモータの駆動力により搬送する方式のラベルプリンタにおいては、ステッピングモータの脱調を防止するため、動作開始時にスローアップ制御(徐々に回転速度を上昇する制御)、及び、動作停止時にスローダウン制御(徐々に回転速度を低下させる制御)を行うことが望ましい。また一方で、ラベルプリンタにおいては、ラベルLBの端部をラベルセンサにて検出した時点からラベル用紙LPを所定距離だけ搬送した後にラベル用紙LPの搬送を停止することで、印刷対象となるラベルLBを所定の印刷位置に合わせるようにしている。   Further, in the label printer that transports the label paper LP by the driving force of the stepping motor as in the above embodiment, in order to prevent the stepping motor from stepping out, slow-up control (gradual rotation speed) And a slow-down control (a control that gradually decreases the rotation speed) when the operation is stopped. On the other hand, in the label printer, the label LB to be printed is stopped by conveying the label paper LP by a predetermined distance after the end of the label LB is detected by the label sensor and then stopping the conveyance of the label paper LP. Is set to a predetermined printing position.

このため、ラベルプリンタでは、ラベルLBの端部をラベルセンサにて検出した時点からスローダウン制御を行うことが一般的である。しかしながら、このようにするとラベルLBのサイズ及び印刷枚数等によってはスローダウン制御に十分な搬送距離を確保できず、結果としてステッピングモータが急停止して、位置合わせ精度が低下したり、ステッピングモータの脱調が生じる可能性がある。このため、ラベルLBのサイズ及び印刷枚数等に応じて、予めスローダウン制御に必要な搬送距離を導出しておき、ラベルLBの端部をラベルセンサにて検出する前の時点からスローダウン制御を行うようにしてもよい。これによれば、常に適正にスローダウン制御ができ、位置合わせ精度を向上することができる。   For this reason, in a label printer, it is common to perform slow-down control from the time when the end of the label LB is detected by a label sensor. However, if this is done, depending on the size of the label LB, the number of printed sheets, etc., it is not possible to secure a transport distance sufficient for slow-down control. As a result, the stepping motor stops suddenly, and the alignment accuracy decreases. Step-out may occur. For this reason, the conveyance distance necessary for the slow-down control is derived in advance according to the size of the label LB, the number of printed sheets, etc., and the slow-down control is performed from the time before the end of the label LB is detected by the label sensor. You may make it perform. According to this, the slow-down control can always be properly performed, and the alignment accuracy can be improved.

ラベルプリンタの斜視図である。It is a perspective view of a label printer. ラベル印刷部の概略構成を示す図である。It is a figure which shows schematic structure of a label printing part. ラベルプリンタの電気的構成を機能ブロックにて示す図である。It is a figure which shows the electrical structure of a label printer with a functional block. サーマルヘッドの構成を概念的に示す図である。It is a figure which shows notionally the structure of a thermal head. 第1の実施の形態の駆動回路の発熱制御の流れを示す図である。It is a figure which shows the flow of the heat generation control of the drive circuit of 1st Embodiment. ラベルプリンタで印刷されたラベルの一例を示す図である。It is a figure which shows an example of the label printed with the label printer. 対比発熱体のサイズの例を示す図である。It is a figure which shows the example of the size of a contrast heating element. 対比発熱体による印刷内容の長さを説明する図である。It is a figure explaining the length of the printing content by a contrast heating element. 第1の実施の形態の発熱体のサイズを示す図である。It is a figure which shows the size of the heat generating body of 1st Embodiment. 第1の実施の形態の発熱体による印刷内容の長さを説明する図である。It is a figure explaining the length of the printing content by the heat generating body of 1st Embodiment. 第2の実施の形態の駆動回路の発熱制御の流れを示す図である。It is a figure which shows the flow of the heat generation control of the drive circuit of 2nd Embodiment. 第3の実施の形態の発熱体のサイズを示す図である。It is a figure which shows the size of the heat generating body of 3rd Embodiment. 第3の実施の形態の発熱体による印刷内容の長さを説明する図である。It is a figure explaining the length of the printing content by the heat generating body of 3rd Embodiment. ラベルセンサの配置の一例を示す図である。It is a figure which shows an example of arrangement | positioning of a label sensor. ラベルセンサの配置の一例を示す図である。It is a figure which shows an example of arrangement | positioning of a label sensor. ラベルセンサの配置の一例を示す図である。It is a figure which shows an example of arrangement | positioning of a label sensor.

符号の説明Explanation of symbols

1 ラベルプリンタ
4 ラベル印刷部
6 サーマルヘッド
7 制御部
61 発熱体
82 QRコード
83 セル
dt ドット
DESCRIPTION OF SYMBOLS 1 Label printer 4 Label printing part 6 Thermal head 7 Control part 61 Heating element 82 QR code 83 cell dt dot

Claims (5)

スキャナ装置の読取対象となる、単位要素の設計形状が正方形の二次元コードを印刷媒体に印刷可能な印刷装置であって、
複数の発熱体を第1方向に一次元に配列して有するサーマルヘッドと、
前記印刷媒体を前記複数の発熱体に接触させつつ前記第1方向に直交する第2方向に搬送する搬送手段と、
を備え、
前記複数の発熱体のピッチと、1ドットに対応する前記搬送手段による前記印刷媒体の搬送量としての単位搬送量とは一致し、
前記発熱体の前記第2方向の長さは、前記発熱体の前記第1方向の長さ以上、前記ピッチ以下であることを特徴とする印刷装置。
A printing apparatus capable of printing on a printing medium a two-dimensional code having a square design shape of a unit element to be read by a scanner apparatus,
A thermal head having a plurality of heating elements arranged one-dimensionally in a first direction;
Conveying means for conveying the print medium in a second direction orthogonal to the first direction while contacting the plurality of heating elements;
With
The pitch of the plurality of heating elements coincides with the unit conveyance amount as the conveyance amount of the print medium by the conveyance unit corresponding to one dot,
The length of the heating element in the second direction is not less than the length of the heating element in the first direction and not more than the pitch.
請求項1に記載の印刷装置において、
前記発熱体の前記第2方向の長さは、前記ピッチに一致することを特徴とする印刷装置。
The printing apparatus according to claim 1,
The length of the said 2nd direction of the said heat generating body corresponds with the said pitch, The printing apparatus characterized by the above-mentioned.
請求項1に記載の印刷装置において、
前記発熱体の前記第2方向の長さは、前記発熱体の前記第1方向の長さに一致することを特徴とする印刷装置。
The printing apparatus according to claim 1,
The length of the heating element in the second direction matches the length of the heating element in the first direction.
請求項1ないし3のいずれかに記載の印刷装置において、
前記複数の発熱体それぞれの発熱エネルギーを制御する熱制御手段と、
をさらに備え、
前記熱制御手段は、前記発熱体が前記二次元コードの一部となるドットを形成するときは、文字の一部となるドットを形成するときと比較して、当該発熱体の前記発熱エネルギーを低くすることを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 3,
Thermal control means for controlling the heating energy of each of the plurality of heating elements;
Further comprising
The heat control means is configured such that when the heating element forms a dot that becomes a part of the two-dimensional code, the heat generation energy of the heating element is smaller than when a dot that becomes a part of a character is formed. A printing apparatus characterized by being lowered.
スキャナ装置の読取対象となるコードを印刷媒体に印刷可能な印刷装置であって、
複数の発熱体を第1方向に一次元に配列して有するサーマルヘッドと、
前記印刷媒体を前記複数の発熱体に接触させつつ前記第1方向に直交する第2方向に搬送する搬送手段と、
前記複数の発熱体それぞれの発熱エネルギーを制御する熱制御手段と、
を備え、
前記熱制御手段は、前記発熱体が前記コードの一部となるドットを形成するときは、文字の一部となるドットを形成するときと比較して、当該発熱体の前記発熱エネルギーを低くすることを特徴とする印刷装置。
A printing device capable of printing a code to be read by a scanner device on a print medium,
A thermal head having a plurality of heating elements arranged one-dimensionally in a first direction;
Conveying means for conveying the print medium in a second direction orthogonal to the first direction while contacting the plurality of heating elements;
Thermal control means for controlling the heating energy of each of the plurality of heating elements;
With
The heat control means lowers the heat generation energy of the heating element when the heating element forms a dot that becomes a part of the code, compared with a case where a dot that becomes a part of a character is formed. A printing apparatus characterized by that.
JP2005091535A 2005-03-28 2005-03-28 Printing device Pending JP2006272611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005091535A JP2006272611A (en) 2005-03-28 2005-03-28 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005091535A JP2006272611A (en) 2005-03-28 2005-03-28 Printing device

Publications (1)

Publication Number Publication Date
JP2006272611A true JP2006272611A (en) 2006-10-12

Family

ID=37207833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005091535A Pending JP2006272611A (en) 2005-03-28 2005-03-28 Printing device

Country Status (1)

Country Link
JP (1) JP2006272611A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101067298B1 (en) 2011-03-20 2011-09-26 정룡 The printing method of a garbage envelope

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63209961A (en) * 1987-02-27 1988-08-31 Shiojiri Kogyo Kk Bar code printer
JPH11268310A (en) * 1998-03-20 1999-10-05 Toshiba Corp Symbol write apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63209961A (en) * 1987-02-27 1988-08-31 Shiojiri Kogyo Kk Bar code printer
JPH11268310A (en) * 1998-03-20 1999-10-05 Toshiba Corp Symbol write apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101067298B1 (en) 2011-03-20 2011-09-26 정룡 The printing method of a garbage envelope

Similar Documents

Publication Publication Date Title
US11941307B2 (en) Methods, apparatuses, and systems captures image of pre-printed print media information for generating validation image by comparing post-printed image with pre-printed image and improving print quality
JPH11301049A (en) Printer, printer system, method for printing by changing printing attribute, and recording medium containing program for controlling printer
JP2009075701A (en) Bar-code generation system, bar-code generation program, printer and test chart
JP2012116133A (en) Printing device, and control method therefor
JP6194499B2 (en) Printing system and printing apparatus
JP6346774B2 (en) Printing apparatus and printing system
JP2008305137A (en) Bar-code generation system, bar-code generation program and printer
JP2006272611A (en) Printing device
JP2009020766A (en) Test chart and test pattern
JPH09109425A (en) Printer and recording paper used therein
US20060139670A1 (en) Method and system for correcting output of printer devices
JP5818726B2 (en) Thermal transfer recording method and thermal transfer recording apparatus
JP5754307B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
JP2006240040A (en) Printing apparatus
JP2009023270A (en) Image forming device, image forming system and image forming program
JP2003251839A (en) Printer and printing method
JP2000127507A (en) Printing medium, printer thereof and method for controlling the same
JP5991829B2 (en) Thermal printer device
JP7393891B2 (en) Label printer and printing method
JP2006076032A (en) Printer
JP2012183720A (en) Device and method for printing
JP5852522B2 (en) Skew correction device and printing device
JP2019155751A (en) Printer, printing method, and program
JPH07125272A (en) Thermal transfer recording method
JP2011062901A (en) Thermal printer and printing method using thermal printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20080327

Free format text: JAPANESE INTERMEDIATE CODE: A621

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091001

A131 Notification of reasons for refusal

Effective date: 20100608

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101019