JP2009255348A - Thermal printer - Google Patents

Thermal printer Download PDF

Info

Publication number
JP2009255348A
JP2009255348A JP2008105806A JP2008105806A JP2009255348A JP 2009255348 A JP2009255348 A JP 2009255348A JP 2008105806 A JP2008105806 A JP 2008105806A JP 2008105806 A JP2008105806 A JP 2008105806A JP 2009255348 A JP2009255348 A JP 2009255348A
Authority
JP
Japan
Prior art keywords
motor
printing
paper
platen
feed
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
JP2008105806A
Other languages
Japanese (ja)
Inventor
Yuki Taniike
祐樹 谷池
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2008105806A priority Critical patent/JP2009255348A/en
Publication of JP2009255348A publication Critical patent/JP2009255348A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the occurrence of printing crush by solving such a problem that when the contact part of a paper with a heating element is sagged, the printing crush occurs in an initial printing stage and is eliminated by empty feed before a printing operation, but extra blank part is produced on the paper, to deteriorate appearance as the printing result. <P>SOLUTION: In a thermal printer, a motor as the drive source of a platen 104 is reversely rotated and driven before starting printing, to feed a receipt sheet RT back and continuously rotated and driven forward without stopping the drive of the motor, to feed the receipt sheet RT forward. The heating drive of the heating element 131 is started to start printing at the timing of performing the forward feed (forward rotation drive) only for the same time as the time when the back feed (reverse rotation drive) is performed. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、レシートプリンタ等のサーマルプリンタに関する。   The present invention relates to a thermal printer such as a receipt printer.

従来、サーマルプリンタでは、用紙(感熱紙)は、ステッピングモータの動力が伝達されて回転するプラテンとの摩擦によって搬送される。そして、この搬送過程でサーマルヘッドの発熱体が発熱駆動されることにより用紙に対する印字が行われる。   Conventionally, in a thermal printer, paper (thermal paper) is conveyed by friction with a rotating platen to which power of a stepping motor is transmitted. In this conveyance process, the heating element of the thermal head is driven to generate heat, whereby printing on the paper is performed.

特開平9−216432号公報JP-A-9-216432

用紙は、プラテンとサーマルヘッドとによって押さえ付けられており、ステッピングモータが駆動されない限り、その位置は固定されている。   The sheet is pressed by the platen and the thermal head, and its position is fixed unless the stepping motor is driven.

ところで、サーマルプリンタでのカッタ機構の動作等によって、用紙のサーマルヘッドとの接触部に弛みが発生することがある。そして、この弛みを生じさせたまま印字を行うと印字つぶれが生じる。   By the way, slack may occur at the contact portion of the paper with the thermal head due to the operation of the cutter mechanism in the thermal printer. Then, if printing is performed with this slackness occurring, printing collapse occurs.

そこで、このような印字つぶれの発生を防止するために、まず、用紙を印字無しで所定距離だけ送り出し(空フィード)、その後に1ライン目の印字を開始することが考えられる(例えば、特許文献1の段落0043〜0045参照)。これによれば、空フィード中に用紙の弛みは解消されるし、また、空フィード中にステッピングモータの動作も安定化する。   Therefore, in order to prevent the occurrence of such printing crushing, it is conceivable to first feed the paper for a predetermined distance without printing (blank feed), and then start printing the first line (for example, Patent Documents). 1 paragraphs 0043-0045). According to this, the slack of the paper is eliminated during the idle feed, and the operation of the stepping motor is stabilized during the idle feed.

しかしながら、このような空フィードをする場合、空フィード分だけ用紙に印字の無い空白部分ができてしまうことは避けられない。そのため、空フィードをした場合の印字結果は、余計な空白部分によって非常に見栄えの悪いものとなってしまう。   However, when such an empty feed is performed, it is inevitable that a blank portion having no print is formed on the paper for the empty feed. For this reason, the print result when the empty feed is performed becomes very unsightly due to the extra blank portion.

本発明の目的は、余分な空白による印字結果の見栄えを悪化させずに印字初期段階における印字つぶれの発生を防止するサーマルプリンタを提供することである。   An object of the present invention is to provide a thermal printer that prevents the occurrence of printing crushing in the initial printing stage without deteriorating the appearance of the printing result due to extra blanks.

本発明のサーマルプリンタは、回転駆動されるプラテンと、ライン状に配置されて発熱駆動される発熱体が搬送経路を搬送される用紙を介して前記プラテンに当接するサーマルヘッドと、画像メモリに展開された画像データのドットパターンに基づき前記発熱体を発熱駆動する印字制御部と、正回転することにより前記搬送経路に沿って用紙をフォワードフィードし、逆回転することにより前記搬送経路に沿って用紙をバックフィードする搬送ローラと、正逆回転自在のモータと、前記モータの正回転を前記搬送ローラの正回転として伝達し、前記モータの逆回転を前記搬送ローラの逆回転として伝達する動力伝達機構と、前記モータを逆回転駆動した後に連続して前記モータを正回転駆動し、当該正回転駆動が当該逆回転駆動と同じ時間だけなされたタイミングで前記印字制御部に前記発熱体の発熱駆動を開始させる手段と、を備える。   The thermal printer of the present invention has a platen that is rotationally driven, a thermal head in which a heating element that is arranged in a line and driven to generate heat is brought into contact with the platen via a sheet conveyed through a conveyance path, and is developed in an image memory. A print control unit that heat-drives the heating element based on the dot pattern of the image data, and forward feed the paper along the transport path by rotating forward, and paper along the transport path by rotating in reverse A feed roller that back-feeds the motor, a forward / reverse rotatable motor, and a power transmission mechanism that transmits the forward rotation of the motor as the forward rotation of the transport roller, and transmits the reverse rotation of the motor as the reverse rotation of the transport roller. Then, after the motor is driven in reverse rotation, the motor is continuously driven in normal rotation, and the normal rotation drive is the same time as the reverse rotation drive. In it has done timing and means for starting the heating drive of the heating element to the print controller.

本発明によれば、印字に際して用紙はバックフィードされた後に連続してフォワードフィードされる。このとき、バックフィードと同じ時間だけフォワードフィードされたタイミングで印字が開始されるので、用紙の印字開始位置は変わらず、印字結果に余計な空白部分は生じない。また、バックフィードとフォワードフィードとが連続的に実行されるので、バックフィードとフォワードフィードとの間にプリンタ動作の衝撃によって用紙に弛みが発生することも無い。そして、バックフィード後のフォワードフィードの勢いで用紙の弛みが解消されるので、印字つぶれは生じない。また、モータがその起動時に動作不安定である場合にも印字開始までに動作が安定化する。こうして、余分な空白によって見栄えを悪化させずに印字初期段階における印字つぶれの発生を防止することができる。   According to the present invention, the paper is continuously fed forward after being fed back during printing. At this time, since printing is started at the timing of forward feed for the same time as the back feed, the print start position of the paper does not change, and no extra blank portion is generated in the print result. Further, since the back feed and the forward feed are continuously executed, the paper does not become slack due to the impact of the printer operation between the back feed and the forward feed. Since the slack of the paper is eliminated by the momentum of the forward feed after the back feed, the printing is not crushed. Further, even when the motor is unstable at the time of starting, the operation is stabilized by the start of printing. In this way, it is possible to prevent the occurrence of printing crushing at the initial printing stage without deteriorating the appearance due to the extra blank.

本発明の実施の形態について図1ないし図6に基づいて説明する。本実施の形態のサーマルプリンタは、感熱紙であるレシート用紙RTに印字を行うレシートプリンタ101への適用例である。   An embodiment of the present invention will be described with reference to FIGS. The thermal printer of this embodiment is an example applied to a receipt printer 101 that performs printing on a receipt paper RT that is thermal paper.

図1は、レシートプリンタ101の構造を概略的に示す縦断側面図である。レシートプリンタ101は、POS端末11(図4参照)の本体に組み込まれた本体ハウジング102を有している。本体ハウジング102の上面部分には、開閉自在なカバー102aが設けられている。また、本体ハウジング102内部の背面側(図1中右側)には、ロール状に巻回されたレシート用紙RTを収納する用紙収納部103が設けられている。レシートプリンタ101は、いわゆる投げ込み式のプリンタである。レシート用紙RTは、カバー102aが開けられた状態で用紙収納部103に収納され、端部が引き出される。カバー102aには、閉状態で本体ハウジング102に当接するピンチローラ109が設けられており、レシート用紙RTの引き出された端部は、ピンチローラ109によって押さえ付けられる。   FIG. 1 is a vertical side view schematically showing the structure of the receipt printer 101. The receipt printer 101 has a main body housing 102 incorporated in the main body of the POS terminal 11 (see FIG. 4). An openable / closable cover 102 a is provided on the upper surface portion of the main body housing 102. Further, on the back side (the right side in FIG. 1) inside the main body housing 102, a paper storage unit 103 for storing the receipt paper RT wound in a roll shape is provided. The receipt printer 101 is a so-called throw-in printer. The receipt paper RT is stored in the paper storage section 103 with the cover 102a opened, and the end is pulled out. The cover 102 a is provided with a pinch roller 109 that is in contact with the main body housing 102 in the closed state, and the end portion of the receipt paper RT that is pulled out is pressed by the pinch roller 109.

本体ハウジング102の内部には、用紙収納部103と本体ハウジング102の前面側(図1中左側)に設けられた排紙口108とを連絡して、レシート用紙RTが搬送される搬送経路106が形成されている。   Inside the main body housing 102, there is a conveyance path 106 through which the receipt paper RT is conveyed by connecting the paper storage portion 103 and a paper discharge port 108 provided on the front side (left side in FIG. 1) of the main body housing 102. Is formed.

搬送経路106に沿った位置には、レシート用紙RTを搬送して印字を行う印字機構105が設けられている。印字機構105は、回転駆動されるプラテン104と、このプラテン104に対向配置されたサーマルヘッド112とを主体に構成されている。サーマルヘッド112は、図示しないスプリングによって弾性的に押圧されており、搬送経路106を搬送されるレシート用紙RTを介してプラテン104に当接する。   A printing mechanism 105 that conveys the receipt paper RT and performs printing is provided at a position along the conveyance path 106. The printing mechanism 105 is mainly configured by a platen 104 that is rotationally driven and a thermal head 112 that is disposed to face the platen 104. The thermal head 112 is elastically pressed by a spring (not shown), and comes into contact with the platen 104 via the receipt paper RT conveyed through the conveyance path 106.

レシート用紙RTは、プラテン104の回転によって搬送経路106に沿って搬送される。このとき、プラテン104は、本体ハウジング102に内蔵されたステッピングモータ110(図4参照)の回転力が動力伝達機構141(図2参照)を介して伝達されることによって、回転駆動される。   The receipt paper RT is conveyed along the conveyance path 106 by the rotation of the platen 104. At this time, the platen 104 is rotationally driven by the rotational force of the stepping motor 110 (see FIG. 4) built in the main body housing 102 being transmitted through the power transmission mechanism 141 (see FIG. 2).

図2は、動力伝達機構141を概略的に示す斜視図である。動力伝達機構141は、ステッピングモータ110のモータ軸142に装着されたモータギヤ143と、中間軸144に装着された中間ギヤ145と、プラテン104のプラテン軸146に装着されたプラテンギヤ147とを備えており、モータギヤ143、中間ギヤ145、プラテンギヤ147の順に噛み合わされている。   FIG. 2 is a perspective view schematically showing the power transmission mechanism 141. The power transmission mechanism 141 includes a motor gear 143 attached to the motor shaft 142 of the stepping motor 110, an intermediate gear 145 attached to the intermediate shaft 144, and a platen gear 147 attached to the platen shaft 146 of the platen 104. The motor gear 143, the intermediate gear 145, and the platen gear 147 are meshed in this order.

ステッピングモータ110が回転駆動されると、モータギヤ143、中間ギヤ145、プラテンギヤ147の順にステッピングモータ110の回転力が伝達されてプラテン104が回転駆動される。そして、ステッピングモータ110は正逆回転自在であり、また、中間軸144とプラテン軸146とは共に正逆回転自在に保持されているため、ステッピングモータ110の正逆の回転力は共にプラテン104に伝達可能となっている。   When the stepping motor 110 is rotationally driven, the rotational force of the stepping motor 110 is transmitted in the order of the motor gear 143, the intermediate gear 145, and the platen gear 147, and the platen 104 is rotationally driven. Since the stepping motor 110 is rotatable forward and backward, and both the intermediate shaft 144 and the platen shaft 146 are held so as to be rotatable forward and backward, both forward and reverse rotational forces of the stepping motor 110 are applied to the platen 104. Communication is possible.

ここで、排紙口108に向かう方向(図2中左下方向)へのレシート用紙RTの搬送を「フォワードフィード」と呼び、用紙収納部103に向かう方向(図2中右上方向)へのレシート用紙RTの搬送を「バックフィード」と呼ぶ。また、レシート用紙RTをフォワードフィードするためのプラテン104の回転を「正回転」とし、レシート用紙RTをバックフィードするためのプラテン104の回転を「逆回転」とする。そして、動力伝達機構141によって、プラテン104の正回転として伝達されるステッピングモータ110の回転を「正回転」とし、プラテン104の逆回転として伝達されるステッピングモータ110の回転を「逆回転」とする。したがって、動力伝達機構141は、ステッピングモータ110の正回転をプラテン104の正回転として伝達し、ステッピングモータ110の逆回転をプラテン104の逆回転として伝達する。   Here, the conveyance of the receipt paper RT in the direction toward the paper discharge port 108 (lower left direction in FIG. 2) is called “forward feed”, and the receipt paper in the direction toward the paper storage unit 103 (upper right direction in FIG. 2). RT conveyance is called “back feed”. Further, the rotation of the platen 104 for forward feeding the receipt paper RT is “forward rotation”, and the rotation of the platen 104 for back feeding the receipt paper RT is “reverse rotation”. Then, the rotation of the stepping motor 110 transmitted as the normal rotation of the platen 104 by the power transmission mechanism 141 is set as “forward rotation”, and the rotation of the stepping motor 110 transmitted as the reverse rotation of the platen 104 is set as “reverse rotation”. . Therefore, the power transmission mechanism 141 transmits the normal rotation of the stepping motor 110 as the normal rotation of the platen 104, and transmits the reverse rotation of the stepping motor 110 as the reverse rotation of the platen 104.

図1の説明に戻る。本体ハウジング102の排紙口108には、カッタ機構107が設けられている。カッタ機構107は、プラテン104の正回転によってフォワードフィードされて排紙口108から排紙されるレシート用紙RTを切断するためのものである。このようなカッタ機構107は、平板長板状である固定刃と可動刃とが組み合わされて構成されており、ステッピングモータ110とは別のモータ(図示せず)の駆動によって動力が伝達されて、可動刃の摺動によりレシート用紙RTを切断する。   Returning to the description of FIG. A cutter mechanism 107 is provided at the paper discharge port 108 of the main body housing 102. The cutter mechanism 107 is for cutting the receipt paper RT that is forward-fed by the forward rotation of the platen 104 and is discharged from the paper discharge port 108. Such a cutter mechanism 107 is configured by combining a fixed blade and a movable blade having a plate-like plate shape, and power is transmitted by driving a motor (not shown) different from the stepping motor 110. The receipt paper RT is cut by sliding the movable blade.

図3は、印字機構105を拡大して示す縦断側面図である。サーマルヘッド112におけるプラテン104と対向接触する部分には、搬送されるレシート用紙RTの幅方向に沿ってライン状のグレーズ層132が設けられ、このグレーズ層132上には発熱体131が形成されている。   FIG. 3 is an enlarged vertical side view showing the printing mechanism 105. A line-shaped glaze layer 132 is provided along the width direction of the receipt paper RT to be conveyed in a portion facing the platen 104 in the thermal head 112, and a heating element 131 is formed on the glaze layer 132. Yes.

フォワードフィードされるレシート用紙RTは、用紙収納部103に収納された状態から引き出され、サーマルヘッド112の発熱体131とプラテン104との間の位置(以下、印字位置PPと呼ぶ)を搬送される。そして、発熱体131が発熱することによって、レシート用紙RTにおける印字位置PPに位置する部分が発色する。このようにして、主走査方向の印字が行われる。さらに、搬送によって生ずる印字位置PPに対するレシート用紙RTの移動によって副走査方向の印字が行われる。   The receipt paper RT to be fed forward is pulled out from the state stored in the paper storage unit 103, and is conveyed to a position between the heating element 131 of the thermal head 112 and the platen 104 (hereinafter referred to as a printing position PP). . Then, when the heating element 131 generates heat, the portion located at the printing position PP on the receipt paper RT is colored. In this way, printing in the main scanning direction is performed. Further, the printing in the sub-scanning direction is performed by the movement of the receipt paper RT with respect to the printing position PP generated by the conveyance.

図4は、レシートプリンタ101の電気的接続を示すブロック図である。レシートプリンタ101には、各種演算処理を実行して各部を集中的に制御するCPU117が設けられ、このCPU117には固定データを固定的に格納するROM119と、可変データを書換え自在に格納するRAM120とがシステムバス121を介して接続されている。ROM119には制御プログラムが格納され、CPU117は、ROM119に格納された制御プログラムに従い、RAM120をワークエリアとして利用しつつ各種の処理を実行する。   FIG. 4 is a block diagram showing the electrical connection of the receipt printer 101. The receipt printer 101 is provided with a CPU 117 that executes various arithmetic processes and centrally controls each unit. The CPU 117 includes a ROM 119 that stores fixed data in a fixed manner, and a RAM 120 that stores variable data in a rewritable manner. Are connected via the system bus 121. The ROM 119 stores a control program, and the CPU 117 executes various processes according to the control program stored in the ROM 119 while using the RAM 120 as a work area.

また、レシートプリンタ101には、CPU117によって駆動制御される各部として、プラテン104を回転駆動するためのステッピングモータ110を駆動制御するためのモータドライバ122と、発熱体131を発熱駆動してサーマルヘッド112に印字動作をさせるヘッドコントローラ140とが設けられている。モータドライバ122及びヘッドコントローラ140は、システムバス121を介してCPU117に接続されている。   Further, the receipt printer 101 includes a motor driver 122 for driving and controlling a stepping motor 110 for rotationally driving the platen 104 and a thermal head 112 by driving the heating element 131 to generate heat. And a head controller 140 for performing a printing operation. The motor driver 122 and the head controller 140 are connected to the CPU 117 via the system bus 121.

さらに、CPU117には、インターフェース129及び画像メモリ130も、システムバス121を介して接続されている。レシートプリンタ101では、上位装置としてのPOS端末11から転送される印字データがインターフェース129を介して受信される。そして、レシートプリンタ101のCPU117は、この印字データをドットパターンからなる画像データに変換して画像メモリ130に展開する。   Further, an interface 129 and an image memory 130 are also connected to the CPU 117 via the system bus 121. The receipt printer 101 receives print data transferred from the POS terminal 11 as a host device via the interface 129. Then, the CPU 117 of the receipt printer 101 converts this print data into image data composed of a dot pattern and develops it in the image memory 130.

CPU117は、画像メモリ130に展開された複数のドットパターンからなる画像データから1ライン毎のデータをヘッドコントローラ140に出力し、ヘッドコントローラ140は、ドットパターンの有るドットに対応する発熱体131を発熱駆動する。このとき、ヘッドコントローラ140は、ストローブ信号を発熱体131に出力する。   The CPU 117 outputs data for each line from the image data composed of a plurality of dot patterns developed in the image memory 130 to the head controller 140, and the head controller 140 generates heat from the heating element 131 corresponding to the dot having the dot pattern. To drive. At this time, the head controller 140 outputs a strobe signal to the heating element 131.

また、レシートプリンタ101には、レシート用紙RTのニアエンド等を検出するためのセンサ125が搬送経路106に沿った位置に配置され、このセンサ125はI/Oポート128を介してシステムバス121に接続されている。   In the receipt printer 101, a sensor 125 for detecting the near end of the receipt paper RT is disposed at a position along the transport path 106, and this sensor 125 is connected to the system bus 121 via the I / O port 128. Has been.

加えて、サーマルヘッド112のヘッド基板(図示せず)にはサーミスタ及びADコンバータ(いずれも図示せず)が取り付けられており、このサーミスタによる検出信号(ヘッド温度情報)はADコンバータによりデジタル値に変換されてCPU117に取り込まれるように接続されている。   In addition, a thermistor and an AD converter (both not shown) are attached to the head substrate (not shown) of the thermal head 112, and a detection signal (head temperature information) by this thermistor is converted to a digital value by the AD converter. It is connected so that it is converted and taken into the CPU 117.

なお、レシートプリンタ101は、カッタ機構を駆動させるモータ(図示せず)を有しており、このモータもモータドライバ(図示せず)を介してCPU117に接続されている。   The receipt printer 101 has a motor (not shown) for driving the cutter mechanism, and this motor is also connected to the CPU 117 via a motor driver (not shown).

次に、このような構成において、POS端末11から転送される印字データに基づいてレシート用紙RTに対する印字を行う際にレシートプリンタ101で実行される処理について説明する。   Next, processing executed by the receipt printer 101 when performing printing on the receipt paper RT based on print data transferred from the POS terminal 11 in such a configuration will be described.

図5は、レシートプリンタ101で実行される処理の流れを示すフローチャートである。レシートプリンタ101のCPU117は、POS端末11からインターフェース129を介して転送される印字データの受信に待機している(ステップS101)。そして、レシートプリンタ101のCPU117は、POS端末11からの印字データの受信を判定したならば(ステップS101のY)、受信した印字データをドットパターンからなる画像データに変換して画像メモリ130に展開する(ステップS102)。   FIG. 5 is a flowchart showing the flow of processing executed by the receipt printer 101. The CPU 117 of the receipt printer 101 waits for reception of print data transferred from the POS terminal 11 via the interface 129 (step S101). When the CPU 117 of the receipt printer 101 determines that the print data is received from the POS terminal 11 (Y in step S101), the received print data is converted into image data composed of a dot pattern and developed in the image memory 130. (Step S102).

次に、レシートプリンタ101のCPU117は、画像メモリ130に展開された画像データの1ライン目にドットパターンが有るか否かを判定する(ステップS103)。   Next, the CPU 117 of the receipt printer 101 determines whether or not there is a dot pattern on the first line of the image data developed in the image memory 130 (step S103).

ステップS103で、画像データの1ライン目にドットパターンが有ると判定した場合には(ステップS103のY)、レシートプリンタ101のCPU117は、ステッピングモータ110を所定時間だけ逆回転駆動させてプラテン104を逆回転させることによりレシート用紙RTをバックフィードさせた後(ステップS104)、ステッピングモータ110の駆動を停止させずに連続してステッピングモータ110を正回転駆動させてプラテン104を正回転させることにより、レシート用紙RTをフォワードフィードさせる。そして、CPU117は、ステッピングモータ110を上記の逆回転駆動と同じ時間だけ正回転駆動させたタイミングで、ヘッドコントローラ140に発熱体131を発熱駆動させ、1ライン目の印字を実行させる(ステップS105)。なお、ステッピングモータ110が逆回転駆動される時間は、プラテン104によってレシート用紙RTが数mmバックフィードされる時間である。そして、レシートプリンタ101のCPU117は、ステッピングモータ110の正回転駆動を継続してレシート用紙RTのフォワードフィードを続けて行い、2ライン目以降についての印字を行う(ステップS106)。   If it is determined in step S103 that there is a dot pattern on the first line of the image data (Y in step S103), the CPU 117 of the receipt printer 101 rotates the stepping motor 110 in a reverse direction for a predetermined time to drive the platen 104. After the receipt paper RT is back-fed by reverse rotation (step S104), the stepping motor 110 is continuously rotated in the forward direction without stopping the driving of the stepping motor 110, and the platen 104 is rotated forward. The receipt paper RT is fed forward. Then, the CPU 117 causes the head controller 140 to drive the heating element 131 to generate heat at the timing when the stepping motor 110 is driven to rotate forward for the same time as the reverse rotation driving described above (step S105). . The time during which the stepping motor 110 is driven to rotate in reverse is the time during which the receipt paper RT is back-fed by several mm by the platen 104. Then, the CPU 117 of the receipt printer 101 continues the forward rotation of the stepping motor 110 to continue the forward feeding of the receipt paper RT, and prints for the second and subsequent lines (step S106).

一方、ステップS103で、画像データの1ライン目にドットパターンが無いと判定した場合には(ステップS103のN)、レシートプリンタ101のCPU117は、ステップS104〜ステップS106の処理を実行せずに、通常印字の処理を実行する(ステップS107)。つまり、CPU117は、ステップS104のようにプラテン104を逆回転させてレシート用紙RTをバックフィードさせることなく、ステッピングモータ110を正回転駆動してレシート用紙RTをフォワードフィードさせると共に、ヘッドコントローラ140に発熱体131を発熱駆動させる。こうして、レシート用紙RTに対する通常の印字が実行される。   On the other hand, if it is determined in step S103 that there is no dot pattern in the first line of the image data (N in step S103), the CPU 117 of the receipt printer 101 does not execute the processes in steps S104 to S106. A normal printing process is executed (step S107). That is, the CPU 117 rotates the platen 104 in the reverse direction and does not back feed the receipt paper RT as in step S104, and forwardly drives the stepping motor 110 to forward feed the receipt paper RT and also causes the head controller 140 to generate heat. The body 131 is driven to generate heat. In this way, normal printing on the receipt paper RT is executed.

次に、図5のフローチャートのステップS103で、画像データの1ライン目にドットパターンが有ると判定された場合(ステップS103のY)において搬送されるレシート用紙RTの状態について図6に基づいて説明する。   Next, the state of the receipt paper RT conveyed when it is determined in step S103 in the flowchart of FIG. 5 that there is a dot pattern on the first line of the image data (Y in step S103) will be described based on FIG. To do.

図6は、搬送されるレシート用紙RTの状態を示す側面図である。図6(a)は、搬送開始前の状態である。図6(a)に示すように、レシート用紙RTにおける印字位置PPの上流側部分には、弛みが生じていることがある。このような弛みを有したままレシート用紙RTが「フォワードフィード」されて1ライン目の印字が行われると印字つぶれが発生する。   FIG. 6 is a side view showing a state of the receipt paper RT being conveyed. FIG. 6A shows a state before the start of conveyance. As shown in FIG. 6A, the upstream portion of the printing position PP on the receipt paper RT may be loosened. If the receipt paper RT is “forward-fed” with such a slack and the first line is printed, the printing will be crushed.

そこで、図6(b)に示すように、プラテン104を逆回転させてレシート用紙RTをバックフィードさせる。このとき、レシート用紙RTの用紙収納部103に収納されたロール状部分については巻き戻し等はなされないため、図6(b)に示すように、このバックフィードによって、レシート用紙RTにおける印字位置PPから用紙収納部103に至る部分には、より大きな弛みが発生する。このとき、搬送開始前の状態(図6(a))において印字位置PPに位置していたレシート用紙RTの部分は、この発生した弛みを含む印字位置PPよりも上流側に移動している。   Therefore, as shown in FIG. 6B, the platen 104 is reversely rotated to back feed the receipt paper RT. At this time, since the roll-like portion stored in the paper storage portion 103 of the receipt paper RT is not rewound or the like, as shown in FIG. 6B, the print position PP on the receipt paper RT by this back feed. A greater slack occurs in the portion from the paper storage unit 103 to the paper storage unit 103. At this time, the portion of the receipt paper RT that was located at the print position PP in the state before the start of conveyance (FIG. 6A) has moved to the upstream side from the print position PP that includes this slack.

そして、図6(c)に示すように、このレシート用紙RTは、連続して実行されるプラテン104の正回転によって、バックフィードにより生じた弛み(図6(b))を解消させて、フォワードフィードされる。すると、図6(c)に示すように、レシート用紙RTは、勢い良く搬送されて新たな弛みを発生させることなく印字位置PPを通過していく。そして、逆回転と同じ時間だけ正回転したタイミングで、1ライン目の印字が実行されるので、搬送開始前(図6(a))に印字位置PPに位置していたレシート用紙RTの部分に対して、1ライン目の印字がなされる。つまり、本来1ライン目が印字されるべき部分にズレなく1ライン目の印字がされる。   Then, as shown in FIG. 6C, the receipt paper RT eliminates the slack (FIG. 6B) caused by the back feed by the forward rotation of the platen 104 that is continuously executed, and forwards the receipt paper RT. Feeded. Then, as shown in FIG. 6C, the receipt paper RT is transported vigorously and passes through the print position PP without causing a new slack. Since the first line is printed at the same time as the reverse rotation for the same time as the reverse rotation, the printing is performed on the portion of the receipt paper RT that was positioned at the print position PP before the start of conveyance (FIG. 6A). On the other hand, the first line is printed. That is, the first line is printed without any deviation in the portion where the first line should be printed.

以上説明したように本実施の形態によれば、レシート用紙RTが所定時間バックフィードされ同じ時間だけフォワードフィードされたタイミングで印字が開始されるので、印字結果(レシート)に余分な空白部分は生じない。   As described above, according to the present embodiment, since printing is started at the timing when the receipt paper RT is back-fed for a predetermined time and forward-fed for the same time, an extra blank portion is generated in the print result (receipt). Absent.

また、バックフィードとフォワードフィードとが連続的に実行されるので、バックフィード後にレシート用紙RTが停止する期間が無いため、この期間にレシートプリンタ101の他の動作によってレシート用紙RTが移動して、弛み等が発生することも無い。   In addition, since the back feed and the forward feed are continuously executed, there is no period in which the receipt paper RT stops after the back feed. Therefore, during this period, the receipt paper RT is moved by another operation of the receipt printer 101. There is no occurrence of slack.

そして、バックフィードに連続して実行されるフォワードフィード中に印字が開始されるので、搬送の勢いで用紙の弛み等が解消された状態のレシート用紙RTに対して印字がなされることになり、印字つぶれは生じない。   Then, since printing is started during forward feed executed continuously after back feed, printing is performed on the receipt paper RT in a state in which the looseness of the paper is eliminated by the momentum of conveyance, Print crushing does not occur.

また、所定時間のバックフィードとフォワードフィードとを経た後に印字を行うことになるので、サーマルヘッド112による印字の開始までにステッピングモータ110の動作が安定する。   In addition, since printing is performed after back feed and forward feed for a predetermined time, the operation of the stepping motor 110 is stabilized before the start of printing by the thermal head 112.

こうして、本実施の形態のレシートプリンタ101では、空白により見栄えを悪化させずに印字初期段階における印字つぶれの発生を防止することができる。   Thus, in the receipt printer 101 of the present embodiment, it is possible to prevent the occurrence of printing crushing at the initial printing stage without deteriorating the appearance due to the blank.

なお、本実施の形態では、図5のフローチャートのステップS103で、CPU117は、画像データの1ライン目にドットパターンが有るか否かを判定するようにしたが、画像データのドットパターンの有無を判定する対象は1ライン目だけには限られず、画像データの数ライン目までにドットパターンが有るか否かを判定するようにしても良い。   In this embodiment, in step S103 of the flowchart of FIG. 5, the CPU 117 determines whether or not there is a dot pattern in the first line of the image data. The object to be determined is not limited to the first line, and it may be determined whether or not there is a dot pattern up to several lines of image data.

レシートプリンタの構造を概略的に示す縦断側面図である。It is a vertical side view which shows roughly the structure of a receipt printer. 動力伝達機構を概略的に示す斜視図である。It is a perspective view which shows a power transmission mechanism schematically. 印字機構を拡大して示す縦断側面図である。It is a vertical side view which expands and shows a printing mechanism. レシートプリンタの電気的接続を示すブロック図である。It is a block diagram which shows the electrical connection of a receipt printer. レシートプリンタで実行される処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process performed with a receipt printer. 搬送されるレシート用紙の状態を示す側面図である。It is a side view which shows the state of the receipt paper conveyed.

符号の説明Explanation of symbols

101…レシートプリンタ(サーマルプリンタ),104…プラテン(搬送ローラ),106…搬送経路,112…サーマルヘッド,110…ステッピングモータ(モータ),130…画像メモリ,131…発熱体,140…ヘッドコントローラ(印字制御部),141…動力伝達機構,RT…レシート用紙(用紙)   DESCRIPTION OF SYMBOLS 101 ... Receipt printer (thermal printer), 104 ... Platen (conveyance roller), 106 ... Conveyance path, 112 ... Thermal head, 110 ... Stepping motor (motor), 130 ... Image memory, 131 ... Heating element, 140 ... Head controller ( Print control unit), 141 ... power transmission mechanism, RT ... receipt paper (paper)

Claims (4)

回転駆動されるプラテンと、
ライン状に配置されて発熱駆動される発熱体が搬送経路を搬送される用紙を介して前記プラテンに当接するサーマルヘッドと、
画像メモリに展開された画像データのドットパターンに基づき前記発熱体を発熱駆動する印字制御部と、
正回転することにより前記搬送経路に沿って用紙をフォワードフィードし、逆回転することにより前記搬送経路に沿って用紙をバックフィードする搬送ローラと、
正逆回転自在のモータと、
前記モータの正回転を前記搬送ローラの正回転として伝達し、前記モータの逆回転を前記搬送ローラの逆回転として伝達する動力伝達機構と、
前記モータを逆回転駆動した後に連続して前記モータを正回転駆動し、当該正回転駆動が当該逆回転駆動と同じ時間だけなされたタイミングで前記印字制御部に前記発熱体の発熱駆動を開始させる手段と、
を備えるサーマルプリンタ。
A rotationally driven platen;
A thermal head that is arranged in a line and that is driven to generate heat is in contact with the platen via a sheet conveyed through a conveyance path;
A print controller for driving the heat generating element based on a dot pattern of image data developed in an image memory;
A feed roller that forward feeds the paper along the transport path by rotating forward, and a back roller that feeds the paper along the transport path by rotating backward;
A motor that can rotate forward and backward, and
A power transmission mechanism for transmitting a normal rotation of the motor as a normal rotation of the transport roller, and transmitting a reverse rotation of the motor as a reverse rotation of the transport roller;
After the motor is driven in reverse rotation, the motor is continuously driven in normal rotation, and the print control unit starts the heat generation drive of the heating element at the timing when the normal rotation drive is performed for the same time as the reverse rotation drive. Means,
Thermal printer equipped with.
前記画像メモリに展開された画像データの所定ライン目までにドットパターンが無い場合には、前記印字制御部に前記発熱体の発熱駆動を開始させる際に前記モータを逆回転駆動しないで正回転駆動する、
請求項1記載のサーマルプリンタ。
When there is no dot pattern up to a predetermined line of the image data developed in the image memory, when the print control unit starts the heat generation driving of the heating element, the motor is not rotated in the reverse direction but is driven in the forward direction. To
The thermal printer according to claim 1.
前記モータは、ステッピングモータである、
請求項1又は2記載のサーマルプリンタ。
The motor is a stepping motor;
The thermal printer according to claim 1 or 2.
前記搬送ローラは、ローラ状の前記プラテンである、
請求項1ないし3のいずれか一記載のサーマルプリンタ。
The transport roller is a roller-shaped platen.
The thermal printer as described in any one of Claim 1 thru | or 3.
JP2008105806A 2008-04-15 2008-04-15 Thermal printer Pending JP2009255348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008105806A JP2009255348A (en) 2008-04-15 2008-04-15 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008105806A JP2009255348A (en) 2008-04-15 2008-04-15 Thermal printer

Publications (1)

Publication Number Publication Date
JP2009255348A true JP2009255348A (en) 2009-11-05

Family

ID=41383419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008105806A Pending JP2009255348A (en) 2008-04-15 2008-04-15 Thermal printer

Country Status (1)

Country Link
JP (1) JP2009255348A (en)

Similar Documents

Publication Publication Date Title
JP5532836B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
US10414176B2 (en) Printed-matter producing device and medium
JP5370058B2 (en) Recording medium conveyance control method and printer
JP5056314B2 (en) Image recording device
US20150022577A1 (en) Printing apparatus and control method
JP4517926B2 (en) Printer recording paper loading method
JP4670954B2 (en) Image recording device
JP5854309B2 (en) Print creation program
EP1862321B1 (en) Thermal printer and method of controlling the same
JP2009255348A (en) Thermal printer
JP7472518B2 (en) Printing device
JP2014051010A (en) Double-sided printer device
US11130357B2 (en) Printer
US10189290B2 (en) Printer and recording medium
JP4299318B2 (en) Thermal printer and control method thereof
JP5910319B2 (en) Printer and control method thereof
JP5122595B2 (en) Thermal printer and control method thereof
JP5095651B2 (en) Printing device
JP2011073184A (en) Method of controlling conveyance of recording paper of printer, and printer
JP4203424B2 (en) Printer
JP2011110806A (en) Printer and control method for the same
JP4200640B2 (en) Printer
JP5451024B2 (en) Conveying device and recording apparatus provided with the device
JP2008210097A (en) Receipt printing and issuing apparatus
JP2006240076A (en) Recording device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Effective date: 20091030

Free format text: JAPANESE INTERMEDIATE CODE: A7422

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100202