JPH05116393A - Label printer - Google Patents

Label printer

Info

Publication number
JPH05116393A
JPH05116393A JP3282995A JP28299591A JPH05116393A JP H05116393 A JPH05116393 A JP H05116393A JP 3282995 A JP3282995 A JP 3282995A JP 28299591 A JP28299591 A JP 28299591A JP H05116393 A JPH05116393 A JP H05116393A
Authority
JP
Japan
Prior art keywords
label
steps
stepping motor
paper
driving
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
JP3282995A
Other languages
Japanese (ja)
Inventor
Kaoru Uematsu
薫 上松
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
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP3282995A priority Critical patent/JPH05116393A/en
Publication of JPH05116393A publication Critical patent/JPH05116393A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)

Abstract

PURPOSE:To print at an accurately printing position by accurately calculating a ratio of an actual conveying distance of a sheet to its theoretical conveying distance in the case of driving by one step by a stepping motor, and correcting a set value regarding positioning of the sheet to a printing position based on the theoretical conveying distance, the number of conveying steps and a period of print timing based on the calculated ratio. CONSTITUTION:The label printer comprises a label pitch area for storing the number (p) of steps obtained by converting a label pitch of a label sheet in terms of a theoretical conveying distance in the case of driving by one step by a stepping motor, and an n-counter for counting the number (n) of driving steps of the motor required for conveying a distance corresponding to actual label pitch. A correction value n/p is calculated from the converted number (p) of the steps and the counted number (n) of driving, and set values of a home position, the number of conveying steps and a period of print timing are corrected by the value n/ p.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ステッピングモータ
によりラベル用紙やタグ用紙等を搬送して印字するラベ
ルプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a label printer that conveys and prints label paper, tag paper, etc. by a stepping motor.

【0002】[0002]

【従来の技術】従来のラベルプリンタでは、ステッピン
グモータを駆動源として用紙を印字ヘッドへ搬送して印
字するものが知られている。このラベルプリンタにおい
て、例えば複数枚のラベルが所定間隔で台紙に貼着され
たラベル用紙を使用する場合、印字情報を印字する前
に、まずラベル用紙を所定の印字位置に位置決め(ホー
ムポジション位置合わせ)しなければならない。
2. Description of the Related Art Conventional label printers are known in which a stepping motor is used as a drive source to convey a sheet to a print head for printing. In this label printer, when using, for example, a label paper in which a plurality of labels are attached to a mount at predetermined intervals, first position the label paper at a predetermined print position (home position alignment) before printing the print information. )Must.

【0003】このホームポジション位置合わせは、印字
ヘッドからラベルセンサまでの距離をラベルピッチ(ラ
ベルの前端から次のラベルの前端までの長さ)で割った
余りの数値を、ステッピングモータの1ステップ駆動に
対する理論搬送距離に基づいてステップ数に換算し、ラ
ベルの前端を検出するラベルセンサがラベルの前端を検
出してから、ステッピングモータを上記ステップ数分だ
け駆動して行っていた。
In this home position alignment, the value of the remainder obtained by dividing the distance from the print head to the label sensor by the label pitch (the length from the front edge of the label to the front edge of the next label) is driven by one step of the stepping motor. The number of steps is converted to the number of steps based on the theoretical transport distance for, and the stepping motor is driven by the number of steps described above after the label sensor that detects the front edge of the label detects the front edge of the label.

【0004】例えば印字ヘッドからラベルセンサまでの
距離が120mmで、ラベル用紙のラベルピッチが10
0mmならば、120÷100の余りが20mmであ
り、ステッピングモータの1ステップ駆動に対する理論
搬送距離を0.1mmであれば、ラベルセンサがラベル
の前端を検出してから、ステッピングモータを200ス
テップ駆動して停止する。この時ラベル用紙は印字位置
に位置決めされていることになっていた。
For example, the distance from the print head to the label sensor is 120 mm, and the label pitch of the label paper is 10.
If it is 0 mm, the remainder of 120 ÷ 100 is 20 mm, and if the theoretical transport distance for one step driving of the stepping motor is 0.1 mm, the stepping motor is driven 200 steps after the label sensor detects the front end of the label. And stop. At this time, the label paper was supposed to be positioned at the print position.

【0005】また、印字時の搬送ステップ数及び印字の
タイミング周期においても、ステッピングモータの1ス
テップ駆動に対する理論搬送距離に基づいて、印字範囲
をステップ数に換算して搬送ステップ数を算出し、ま
た、理論搬送距離に基づいて算出されたラベル用紙の印
字時の搬送速度(印字速度)及び印字ピッチ(間隔)に
基づいて、印字のタイミング周期を算出し、このように
して算出されたそれらの搬送ステップ数及び印字のタイ
ミング周期を固定値として使用していた。
Further, also in the number of carrying steps during printing and the timing cycle of printing, the printing range is converted into the number of steps based on the theoretical carrying distance for one step driving of the stepping motor, and the number of carrying steps is calculated. , The printing timing cycle is calculated based on the transport speed (printing speed) and the printing pitch (interval) during printing of the label sheet calculated based on the theoretical transport distance, and the transport of those calculated in this way is calculated. The number of steps and the printing timing cycle were used as fixed values.

【0006】例えば、上述の例では、ラベル用紙の印字
範囲100mmを2000msec の搬送速度で搬送し、
印字範囲100mmに1000ラインの印字を行う場合
には、ステッピングモータの1ステップを2msec で1
000ステップ駆動して、印字のタイミング周期を2m
sec とするようになっていた。
For example, in the above example, the printing range of 100 mm on the label paper is carried at a carrying speed of 2000 msec,
When printing 1000 lines in a printing range of 100 mm, one step of the stepping motor is performed in 2 msec.
000 steps drive, print timing cycle 2m
It was supposed to be sec.

【0007】[0007]

【発明が解決しようとする課題】しかし、一般にラベル
プリンタ間で搬送機構の各種部材の形状にばらつきが生
じており、使用する用紙の種類に応じて搬送時における
用紙とプラテン等とのスリップの状態が異なることがあ
る。例えば、プラテン、歯車及びプーリ等の外径寸法の
ばらつきや、薄くて表面の粗さの細かい用紙と厚くて表
面の粗さの粗い用紙ではスリップの状態が異なる。従っ
て、上述したばらつきやスリップの状態に応じて、ステ
ッピングモータの1ステップ駆動に対するラベル用紙の
搬送距離が理論的に設定された搬送距離とずれが生じる
ことになる。
However, in general, the shapes of various members of the transport mechanism vary among the label printers, and the state of slip between the sheet and the platen during transport depends on the type of the sheet used. May be different. For example, variations in outer diameter dimensions of the platen, gears, pulleys, and the like, and slip conditions differ between thin and fine-surfaced paper and thick and rough-surfaced paper. Therefore, the transport distance of the label sheet for one step driving of the stepping motor deviates from the theoretically set transport distance depending on the above-mentioned variation and slip state.

【0008】すると、上述したようなステッピングモー
タの1ステップ駆動に対する理論搬送距離と実際の1ス
テップ駆動に対する搬送距離が一致しないため、予め理
論搬送距離により設定されたホームポジション位置合わ
せのためのステップ数、搬送ステップ数及び印字のタイ
ミング周期における印字において、印字位置がずれてし
まうという問題があった。
Then, since the theoretical carrying distance for the 1-step driving of the stepping motor as described above and the carrying distance for the actual 1-step driving do not match, the number of steps for home position alignment preset by the theoretical carrying distance is set. However, there is a problem in that the printing position is deviated during printing in the number of transport steps and the printing timing cycle.

【0009】そこでこの発明は、使用しているステッピ
ングモータの1ステップ駆動に対して、その理論搬送距
離に対する実際の用紙の搬送距離の割合を正確に算出で
きて、その算出した割合に基づいて、理論搬送距離によ
り設定された用紙の印字位置への位置決めに関する設定
値、搬送ステップ数及び印字のタイミング周期を補正で
き、従って正確な印字位置に印字できるラベルプリンタ
を提供することを目的とする。
Therefore, the present invention can accurately calculate the ratio of the actual paper transport distance to the theoretical transport distance for one step driving of the stepping motor used, and based on the calculated ratio, An object of the present invention is to provide a label printer capable of correcting a set value for positioning a sheet at a print position set by a theoretical transport distance, a transport step number, and a print timing cycle, and thus printing at an accurate print position.

【0010】[0010]

【課題を解決するための手段】この発明は、ステッピン
グモータを備え、複数のラベルが所定間隔をおいて台紙
に貼着されたラベル用紙やラベルが連続して台紙に貼着
されたラベル用紙又はタグ用紙等の用紙をステッピング
モータの駆動により印字ヘッドに供給し、この印字ヘッ
ドにより所定の印字情報を用紙に印字するラベルプリン
タにおいて、用紙に予め設けられた位置決め用マークあ
るいはラベルの前端又は後端を検出するセンサと、用紙
に予め設けられた位置決め用マーク間あるいはラベルの
前端間又は後端間の長さを予め入力する基準長入力手段
と、この基準長入力手段により入力された長さをステッ
ピングモータの1ステップ駆動に対する理論搬送距離に
基づいてステップ数に換算する理論ステップ数換算手段
と、センサにより位置決め用マークあるいはラベルの前
端又は後端を検出してから次の位置決め用マークあるい
はラベルの前端又は後端を検出するまでのステッピング
モータの駆動ステップ数を計数する基準ステップ数計数
手段と、理論ステップ数換算手段により換算されたステ
ップ数と基準ステップ数計数手段により計数した駆動ス
テップ数とに基づいて補正値を算出する補正値算出手段
と、この補正値算出手段により算出された補正値によ
り、予めステッピングモータの1ステップ駆動に対する
理論搬送距離に基づいて設定されている用紙の印字位置
への位置決めに関する設定値及び用紙の搬送に関する設
定値並びに用紙に印字するタイミングの周期を補正する
設定補正手段とを設けたものである。
According to the present invention, there is provided a stepping motor, a label paper in which a plurality of labels are affixed to a mount at predetermined intervals, or a label paper in which the labels are continuously affixed to the mount. In a label printer that feeds paper such as tag paper to a print head by driving a stepping motor, and prints predetermined print information on the paper by this print head, a positioning mark provided in advance on the paper or a front end or a rear end of the label. Sensor, a reference length input means for previously inputting the length between the positioning marks provided on the paper or between the front end or the rear end of the label, and the length input by this reference length input means By means of a theoretical step number conversion means for converting the number of steps based on the theoretical transport distance for one step driving of the stepping motor and a sensor Reference step number counting means for counting the number of drive steps of the stepping motor from the detection of the front end or the rear end of the positioning mark or label to the detection of the front end or the rear end of the next positioning mark or label, and theory. Correction value calculation means for calculating a correction value based on the step number converted by the step number conversion means and the driving step number counted by the reference step number counting means; and the correction value calculated by the correction value calculation means, Setting correction means for correcting setting values for positioning the paper to the printing position and setting values for paper transportation, which are set in advance based on the theoretical transportation distance for one-step driving of the stepping motor, and a cycle of timing of printing on the paper. Is provided.

【0011】[0011]

【作用】このような構成の本発明において、基準入力手
段により用紙に予め設けられた位置決め用マーク間ある
いはラベルの前端間又は後端間の長さが入力される。こ
の入力された長さは、理論ステップ数換算手段によりス
テッピングモータの1ステップ駆動に対する理論搬送距
離に基づいてステップ数に換算される。
In the present invention having such a structure, the length between the positioning marks previously provided on the sheet or between the front ends or the rear ends of the labels is input by the reference input means. The input length is converted into the number of steps by the theoretical step number conversion means based on the theoretical transport distance for one step driving of the stepping motor.

【0012】また基準ステップ数計数手段により、セン
サが用紙の位置決め用マークあるいはラベルの前端又は
後端を検出してから次の位置決め用マークあるいはラベ
ルの前端又は後端を検出するまでの、ステッピングモー
タの駆動ステップ数が計数される。
Further, the stepping motor from the detection of the front end or the rear end of the positioning mark or the label of the paper to the detection of the front end or the rear end of the next positioning mark or the label by the sensor by the reference step number counting means. Driving steps are counted.

【0013】補正値算出手段により、理論搬送距離に基
づいて換算されたステップ数とその計数された駆動ステ
ップ数とに基づいて補正値が算出される。この補正値に
基づいて、設定補正手段により、予めステッピングモー
タの1ステップ駆動に対する理論搬送距離に基づいて設
定されている用紙の印字位置への位置決めに関する設定
値及び用紙の搬送に関する設定値並びに用紙に印字する
タイミングの周期が補正される。
The correction value calculating means calculates a correction value based on the number of steps converted based on the theoretical transport distance and the counted number of driving steps. Based on this correction value, the setting correction means sets the setting value for the positioning of the paper to the print position, the setting value for the paper transportation, and the setting value for the paper, which are set in advance based on the theoretical transportation distance for one step driving of the stepping motor The printing timing cycle is corrected.

【0014】[0014]

【実施例】以下、この発明の一実施例を図面を参照して
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0015】図1において、1は制御部本体を構成する
CPU(central processor unit)である。このCPU
1が行う処理のプログラムデータが記憶されたROM
(readonly memory)2及び前記CPU1が処理を行う
ときに使用する各種メモリのエリアが形成されるRAM
(random access memory)3が、システムバス4を介し
て前記CPU1と接続されている。前記RAM3には、
さらにラベルピッチエリア3a及びnカウンタ3bが形
成されている。
In FIG. 1, reference numeral 1 is a CPU (central processor unit) which constitutes the main body of the control unit. This CPU
ROM storing the program data of the processing performed by 1.
(Readonly memory) 2 and RAM in which areas of various memories used when the CPU 1 performs processing are formed
A (random access memory) 3 is connected to the CPU 1 via a system bus 4. In the RAM3,
Further, a label pitch area 3a and an n counter 3b are formed.

【0016】基準長入力手段としてのキーボード5が接
続されたキーボードコントローラ6及び透過形の光セン
サからなるラベルセンサ7からの出力信号を入力してデ
ジタル信号に変換するA/D(analogue/digital)変換
器8もまた、前記システムバス4を介して前記CPU1
と接続されている。
An A / D (analogue / digital) for inputting an output signal from a keyboard controller 6 to which a keyboard 5 as a reference length input means is connected and a label sensor 7 composed of a transmissive optical sensor and converting it into a digital signal. The converter 8 also receives the CPU 1 via the system bus 4.
Connected with.

【0017】各種メッセージおよびデータが表示される
表示器9、印字ヘッドとしてのサーマルヘッド10及び
用紙の搬送等のための駆動源としてのステッピングモー
タ11はそれぞれ、表示コントローラ12、ヘッドコン
トローラ13及びモータコントローラ14により制御さ
れており、前記表示コントローラ12、ヘッドコントロ
ーラ13及びモータコントローラ14は、前記システム
バス4を介して前記CPU1と接続されている。図2に
前記CPU1が行う補正処理の流れを示す。
A display 9 for displaying various messages and data, a thermal head 10 as a print head, and a stepping motor 11 as a drive source for transporting paper are respectively provided with a display controller 12, a head controller 13, and a motor controller. The display controller 12, the head controller 13, and the motor controller 14 are connected to the CPU 1 via the system bus 4. FIG. 2 shows the flow of the correction process performed by the CPU 1.

【0018】まず、ラベル用紙において所定間隔で貼着
されたラベルの前端とその隣の(次の)ラベルの前端と
の長さ、すなわちラベルピッチがキーボード5により入
力されるまでの待機状態となっている。キーボード5に
よりラベルピッチが入力されると、入力されたラベルピ
ッチのデータを、ステッピングモータ11の1ステップ
駆動に対する理論搬送距離に基づいてステップ数に換算
して(理論ステップ数換算手段)、その換算したステッ
プ数pをRAM3に形成されたラベルピッチエリア3a
に記憶する。
First, a length of a front end of a label stuck at a predetermined interval on a label sheet and a front end of a (next) label next to the label, that is, a standby state until the label pitch is input by the keyboard 5 is set. ing. When the label pitch is input by the keyboard 5, the input label pitch data is converted into the number of steps based on the theoretical transport distance for one step driving of the stepping motor 11 (theoretical step number conversion means), and the conversion is performed. The number of steps p performed is the label pitch area 3a formed in the RAM3.
Remember.

【0019】次にステッピングモータ11を1ステップ
駆動させて、ラベル用紙の1ステップ送りを行い、ラベ
ルセンサ7によりラベルの前端が検出されたか否かを判
断する。ラベルセンサ7によりラベルの前端が検出され
なければ、ラベルの前端が検出されるまで、ステッピン
グモータ11の1ステップ駆動によるラベル用紙の1ス
テップ送りの処理を繰り返すようになっている。
Next, the stepping motor 11 is driven by one step to feed the label sheet by one step, and it is determined whether the label sensor 7 has detected the front end of the label. If the label sensor 7 does not detect the front end of the label, the process of feeding the label paper by one step by driving the stepping motor 11 by one step is repeated until the front end of the label is detected.

【0020】ラベルセンサ7によりラベルの前端が検出
されると、RAM3に形成されたnカウンタ3bをクリ
アして「0」にする。次にステッピングモータ11を1
ステップ駆動させて、ラベル用紙の1ステップ送りを行
って、nカウンタ3bのカウントに対して+1の加算処
理を行い、ラベルセンサ7によりラベルの前端が検出さ
れたが否かを判断する。ラベルセンサ7によりラベルの
前端が検出されなければ、ラベルの前端が検出されるま
で、ステッピングモータ11の1ステップ駆動によるラ
ベル用紙の1ステップ送りを行い、nカウンタ3bのカ
ウントに対して+1の加算処理を行う処理を繰り返すよ
うになっている。(基準ステップ数計数手段)
When the label sensor 7 detects the front end of the label, the n counter 3b formed in the RAM 3 is cleared to "0". Next, set the stepping motor 11 to 1
The step is driven to feed the label paper one step, and the count of the n counter 3b is incremented by +1 to determine whether or not the label sensor 7 has detected the front edge of the label. If the label sensor 7 does not detect the leading edge of the label, the label paper is fed by one step by one-step driving of the stepping motor 11 until the leading edge of the label is detected, and +1 is added to the count of the n counter 3b. The process of performing the process is repeated. (Reference step number counting means)

【0021】ラベルセンサ7によりラベルの前端が検出
されると、nカウンタのカウント値nとラベルピッチエ
リア3aに記憶されたステップ数pとから、次式により
補正値を算出する。(補正値算出手段) 補正値=n/p
When the label sensor 7 detects the front end of the label, a correction value is calculated by the following equation from the count value n of the n counter and the number of steps p stored in the label pitch area 3a. (Correction value calculation means) Correction value = n / p

【0022】補正値が算出されると、この補正値n/p
に基づいて、ホームポジション設定値Pを次式により補
正する。 補正されたホームポジション設定値=P×(n/p)
When the correction value is calculated, this correction value n / p
Based on, the home position set value P is corrected by the following equation. Corrected home position set value = P x (n / p)

【0023】次に補正値n/pに基づいて、ラベル1枚
発行の搬送ステップ数の設定値Rを次式により補正し
て、 補正された搬送ステップ数の設定値=R×(n/p) 印字のタイミング周期(印字周期)設定値Sを次式によ
り補正する。 補正された印字のタイミング周期=S×(n/p) (設定補正手段)そして、この補正処理を終了するよう
になっている。
Next, based on the correction value n / p, the set value R of the number of transport steps for issuing one label is corrected by the following equation, and the corrected set value of the number of transport steps = R × (n / p ) The print timing cycle (print cycle) set value S is corrected by the following equation. Corrected print timing cycle = S × (n / p) (setting corrector) Then, the correction process is ended.

【0024】このような構成の本実施例においては、ま
ず、印字が行われるモードとは異なるモード(設定モー
ド)において、ステッピングモータ11の駆動による搬
送に関する設定値の補正処理が行われる。
In the present embodiment having such a configuration, first, in a mode (setting mode) different from the mode in which printing is performed, correction processing of a set value relating to conveyance by driving the stepping motor 11 is performed.

【0025】本装置にセットされたラベル用紙のラベル
ピッチ(ラベルの前端から次のラベルの前端までの長
さ)が、キーボード5により入力されるまでの待機状態
となり、ラベルピッチが入力されると、その入力された
データを、ステッピングモータ11の1ステップ駆動に
対する理論搬送距離に基づいてステップ数に換算し、そ
の換算されたステップ数pをラベルピッチエリア3aに
記憶する。
When the label pitch (the length from the front edge of the label to the front edge of the next label) of the label paper set in the apparatus is input by the keyboard 5, the label pitch is input. The input data is converted into the number of steps based on the theoretical transport distance for the one step driving of the stepping motor 11, and the converted number of steps p is stored in the label pitch area 3a.

【0026】次にステッピングモータ11が1ステップ
駆動をラベルセンサ7がラベルの前端を最初に検出して
から、次のラベルの前端を検出するまで繰り返して行
い、ラベルセンサ7がラベルの前端を最初に検出してか
ら、nカウンタ3bがステッピングモータ11の1ステ
ップ駆動毎に+1の加算処理を行う。これによりラベル
の前端から次のラベルの前端までの長さを搬送するのに
要するステッピングモータ11の駆動ステップ数が、n
カウンタ3bによりカウントされる。
Next, the stepping motor 11 performs one-step driving repeatedly until the label sensor 7 first detects the front end of the label and then detects the front end of the next label, and the label sensor 7 first detects the front end of the label. Then, the n counter 3b performs the addition processing of +1 every time the stepping motor 11 is driven by one step. As a result, the number of driving steps of the stepping motor 11 required to convey the length from the front end of the label to the front end of the next label is n.
It is counted by the counter 3b.

【0027】このnカウンタ3bのカウント値nとラベ
ルピッチエリア3aに記憶されたステップ数pとによ
り、補正値n/pが算出される。この補正値n/pによ
り予めステッピングモータ11の1ステップ駆動に対す
る理論搬送距離に基づいて設定されたホームポジション
設定値P、搬送ステップ数の設定値R及び印字のタイミ
ング周期設定値Sをそれぞれに補正値n/pを乗算して
補正する。この補正処理が終了すると、補正されたそれ
ぞれの設定値に基づいて印字が行われるモードにおいて
印字発行処理が行われる。
A correction value n / p is calculated from the count value n of the n counter 3b and the number of steps p stored in the label pitch area 3a. With this correction value n / p, the home position set value P, the set value R of the number of transfer steps, and the print timing cycle set value S, which are set in advance based on the theoretical transfer distance for one-step driving of the stepping motor 11, are respectively corrected. It is corrected by multiplying the value n / p. When this correction process ends, the print issuing process is performed in a mode in which printing is performed based on the corrected set values.

【0028】まず、ホームポジション位置合わせは、図
3に示すように、ラベル用紙21がステッピングモータ
11の1ステップ駆動の繰り返しによる搬送において、
ラベルセンサ7により最初にラベル21aの前端が検出
され、さらにステッピングモータ11のステップ駆動に
より搬送されると、ラベルセンサ7によりラベル21a
の次のラベル21bの前端が検出される。そこで、補正
されたホームポジション設定値のステップ数分だけステ
ッピングモータ11を駆動させてラベル用紙21を搬送
して停止させる。このときラベル21aの前端が、サー
マルヘッド10の印字位置Aに位置決めされ、ラベル用
紙21のホームポジション位置合わせが完了したことに
なる。
First, as shown in FIG. 3, the home position alignment is carried out by repeating the step of driving the label paper 21 by one step, as shown in FIG.
When the label sensor 7 first detects the front end of the label 21a and then the label 21a is conveyed by step driving of the stepping motor 11, the label sensor 7 causes the label 21a to move.
The front end of the label 21b next to is detected. Therefore, the stepping motor 11 is driven by the number of steps of the corrected home position set value to convey the label paper 21 and stop it. At this time, the front end of the label 21a is positioned at the print position A of the thermal head 10, and the home position alignment of the label paper 21 is completed.

【0029】例えば、サーマルヘッド10からラベルセ
ンサ7までの距離Lを120mm、ラベル用紙21のラ
ベルピッチkを100mmとし、ステッピングモータ1
1の1ステップ駆動に対する理論搬送距離を0.1m
m、nカウンタ3bによりカウントされた、このラベル
用紙21のラベルピッチの距離kを搬送するのに要する
ステッピングモータ11の駆動ステップ数が1100ス
テップとする。
For example, the distance L from the thermal head 10 to the label sensor 7 is 120 mm, the label pitch k of the label paper 21 is 100 mm, and the stepping motor 1 is used.
The theoretical transport distance for 1-step driving of 1 is 0.1 m
It is assumed that the number of driving steps of the stepping motor 11 required to convey the label pitch distance k of the label paper 21 counted by the m and n counters 3b is 1100 steps.

【0030】すると、ラベルピッチkを理論搬送距離に
基づいてステップ数に換算すると1000ステップとな
り、この数値がラベルピッチエリア3aに記憶される。
そこで補正値は、nカウンタ3bによりカウントされた
駆動ステップ数とラベルピッチエリア3aに記憶された
ステップ数とにより、1.1と算出される。
Then, when the label pitch k is converted into the number of steps based on the theoretical transport distance, it becomes 1000 steps, and this numerical value is stored in the label pitch area 3a.
Therefore, the correction value is calculated as 1.1 based on the number of driving steps counted by the n counter 3b and the number of steps stored in the label pitch area 3a.

【0031】ホームポジション設定値は、まず、サーマ
ルヘッド10からラベルセンサ7までの距離Lをラベル
ピッチkによって割った余りdが20mmで、理論搬送
距離によるホームポジション設定値が200ステップと
設定されているので、補正値1.1により220ステッ
プと補正される。
The home position set value is such that the remainder d obtained by dividing the distance L from the thermal head 10 to the label sensor 7 by the label pitch k is 20 mm, and the home position set value based on the theoretical transport distance is set to 200 steps. Therefore, 220 steps are corrected by the correction value 1.1.

【0032】従って、ホームポジション位置合わせは、
ラベルセンサ7によりラベル21aの前端が検出され、
さらに次のラベル21bの前端が検出されてから、ステ
ッピングモータ11を220ステップ駆動して停止させ
る。すると図3に示すようにラベル21aの前端がサー
マルヘッド10の印字位置に位置決めされることにな
る。
Therefore, the home position alignment is
The label sensor 7 detects the front end of the label 21a,
Further, after the front end of the next label 21b is detected, the stepping motor 11 is driven by 220 steps and stopped. Then, as shown in FIG. 3, the front end of the label 21a is positioned at the printing position of the thermal head 10.

【0033】印字時においては、印字位置から補正され
た搬送ステップ数によりステッピングモータ11を駆動
してラベル用紙21を搬送しながら、補正された印字の
タイミング周期によってイネーブル信号が出力されて、
所定の印字情報が印字される。
At the time of printing, while the stepping motor 11 is driven by the number of transportation steps corrected from the printing position to transport the label paper 21, the enable signal is output at the timing timing of the corrected printing,
Predetermined print information is printed.

【0034】例えば、上述の例と同じ様に補正値1.1
で、ステッピングモータ11の1ステップ駆動に対する
理論搬送距離を0.1mmで、ラベルの印字範囲100
mmに1000ラインを2000msec の時間で印字す
る場合、理論搬送距離に基づく搬送ステップ数は100
0ステップ、印字のタイミング周期は、2000msec
÷1000ラインで2msec が設定されている。
For example, as in the above example, the correction value 1.1
Then, the theoretical transport distance for one step driving of the stepping motor 11 is 0.1 mm, and the printing range of the label is 100 mm.
When printing 1000 lines per mm in 2000 msec, the number of transport steps based on the theoretical transport distance is 100.
0 step, printing timing cycle is 2000msec
÷ 2 msec is set for 1000 lines.

【0035】これは図4(a)の理論搬送距離による設
定値に基づくステッピングモータ11を制御するパルス
信号とサーマルヘッド10の出力を制御するイネーブル
信号(ENB)とのタイミング図に示すように、印字開
始時点Bから印字終了時点Cにおいて、パルス信号が1
000パルス出力され、その間にイネーブル信号は10
00パルスが出力されることになる。しかし実際にはス
テッピングモータ11の100ステップ駆動分の搬送距
離が不足しているので、印字されるラベルの印字範囲に
おいて、約20mm分の余計な余白が生じ、さらに各印
字ピッチ(間隔)も約91%に縮小してしまうことにな
る。
As shown in the timing chart of FIG. 4A, a pulse signal for controlling the stepping motor 11 based on the set value based on the theoretical transport distance and an enable signal (ENB) for controlling the output of the thermal head 10, From the print start time B to the print end time C, the pulse signal becomes 1
000 pulses are output, during which the enable signal is 10
00 pulses will be output. However, in reality, since the conveyance distance for driving 100 steps of the stepping motor 11 is insufficient, an extra margin of about 20 mm is generated in the printing range of the label to be printed, and each printing pitch (interval) is also about. It will be reduced to 91%.

【0036】そこで補正値1.1により搬送ステップ数
は1100ステップ、印字のタイミング周期は2.2m
sec と補正される。すると図4(b)の補正された設定
値に基づくステッピングモータ11を制御するパルス信
号とサーマルヘッド10の出力を制御するイネーブル信
号とのタイミング図に示すように、印字開始時点Bから
印字終了時点Cにおいて、パルス信号が1100パルス
が出力され、その間にイネーブル信号は1000パルス
が出力される。従って、印字されるラベルの印字範囲に
所定の印字ピッチで1000ラインの印字が時間220
0msec で行われる。
Therefore, with the correction value 1.1, the number of conveyance steps is 1100 steps, and the printing timing cycle is 2.2 m.
Corrected as sec. Then, as shown in the timing diagram of the pulse signal for controlling the stepping motor 11 based on the corrected set value and the enable signal for controlling the output of the thermal head 10 in FIG. In C, 1100 pulses of the pulse signal are output, and 1000 pulses of the enable signal are output during that period. Therefore, it is possible to print 1000 lines at a predetermined printing pitch in the printing range of the label to be printed in 220 hours.
It is performed in 0 msec.

【0037】このように本実施例においては、ラベル用
紙のラベルピッチを、ステッピングモータ11の1ステ
ップ駆動に対する理論搬送距離で換算したステップ数を
記憶するラベルピッチエリア3aと、実際のラベル用紙
のラベルピッチ分の距離の搬送に要するステッピングモ
ータ11の駆動ステップ数をカウントするnカウンタ3
bを設けたことにより、ステッピングモータ11の1ス
テップ駆動に対する理論搬送距離に対する実際のラベル
用紙の搬送距離の割合が、所定搬送距離に要する理論搬
送距離により換算されたステップ数に対する実際にカウ
ントされた駆動ステップ数の割合として算出できる。こ
の算出された割合を補正値として、その補正値に基づい
てホームポジションに関する設定値、搬送ステップ数及
び印字のタイミング周期を補正する事により、搬送機構
の形状誤差及びラベル用紙のプラテン等とのスリップ等
による理論搬送距離と実際の搬送距離とのずれを補正で
きるので、正確な印字位置に所定の印字情報をラベル用
紙に印字できる。
As described above, in the present embodiment, the label pitch area 3a for storing the number of steps in which the label pitch of the label paper is converted by the theoretical transport distance for the one step drive of the stepping motor 11 and the label of the actual label paper are stored. An n counter 3 that counts the number of driving steps of the stepping motor 11 required to convey a distance corresponding to a pitch
By providing b, the ratio of the actual transport distance of the label paper to the theoretical transport distance for one step driving of the stepping motor 11 is actually counted with respect to the number of steps converted by the theoretical transport distance required for the predetermined transport distance. It can be calculated as a ratio of the number of driving steps. By using the calculated ratio as a correction value and correcting the set value for the home position, the number of conveyance steps, and the printing timing cycle based on the correction value, the shape error of the conveyance mechanism and the slip of the label paper platen, etc. Since the deviation between the theoretical transport distance and the actual transport distance due to the above can be corrected, predetermined print information can be printed on the label paper at an accurate print position.

【0038】[0038]

【発明の効果】以上詳述したようにこの発明によれば、
使用しているステッピングモータの1ステップ駆動に対
して、その理論搬送距離に対する実際の用紙の搬送距離
の割合を正確に算出できて、その算出した割合に基づい
て、理論搬送距離により設定された用紙の印字位置への
位置決めに関する設定値、搬送ステップ数及び印字のタ
イミング周期を補正でき、従って正確な印字位置に印字
できるラベルプリンタを提供できる。
As described in detail above, according to the present invention,
It is possible to accurately calculate the ratio of the actual transport distance of the paper to the theoretical transport distance for the one-step drive of the stepping motor used, and the paper set by the theoretical transport distance based on the calculated ratio. It is possible to provide a label printer which can correct the set value for the positioning to the printing position, the number of conveyance steps, and the printing timing cycle, and therefore can print at the accurate printing position.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の一実施例の要部回路構成を示すブロ
ック図。
FIG. 1 is a block diagram showing a circuit configuration of essential parts of an embodiment of the present invention.

【図2】同実施例の補正処理の流れを示す図。FIG. 2 is a diagram showing a flow of a correction process of the embodiment.

【図3】同実施例のホームポジション位置合わせを説明
するための配置図。
FIG. 3 is an arrangement view for explaining home position alignment of the embodiment.

【図4】同実施例のパルス信号とイネーブル信号のタイ
ミングを示す図。
FIG. 4 is a diagram showing timings of a pulse signal and an enable signal of the embodiment.

【符号の説明】[Explanation of symbols]

1…CPU、3a…ラベルピッチエリア、3b…nカウ
ンタ、5…キーボード、7…ラベルセンサ、10…サー
マルヘッド、11…ステッピングモータ。
1 ... CPU, 3a ... Label pitch area, 3b ... N counter, 5 ... Keyboard, 7 ... Label sensor, 10 ... Thermal head, 11 ... Stepping motor.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ステッピングモータを備え、複数のラベ
ルが所定間隔をおいて台紙に貼着されたラベル用紙やラ
ベルが連続して台紙に貼着されたラベル用紙又はタグ用
紙等の用紙を前記ステッピングモータの駆動により印字
ヘッドに供給し、この印字ヘッドにより所定の印字情報
を前記用紙に印字するラベルプリンタにおいて、前記用
紙に予め設けられた位置決め用マークあるいはラベルの
前端又は後端を検出するセンサと、前記用紙に予め設け
られた位置決め用マーク間あるいはラベルの前端間又は
後端間の長さを予め入力する基準長入力手段と、この基
準長入力手段により入力された長さを前記ステッピング
モータの1ステップ駆動に対する理論搬送距離に基づい
てステップ数に換算する理論ステップ数換算手段と、前
記センサにより位置決め用マークあるいはラベルの前端
又は後端を検出してから次の位置決め用マークあるいは
ラベルの前端又は後端を検出するまでの前記ステッピン
グモータの駆動ステップ数を計数する基準ステップ数計
数手段と、前記理論ステップ数換算手段により換算され
たステップ数と前記基準ステップ数計数手段により計数
した駆動ステップ数とに基づいて補正値を算出する補正
値算出手段と、この補正値算出手段により算出された補
正値により、予め前記ステッピングモータの1ステップ
駆動に対する理論搬送距離に基づいて設定されている前
記用紙の印字位置への位置決めに関する設定値及びに前
記用紙の搬送に関する設定値並びに前記用紙に印字する
タイミングの周期を補正する設定補正手段とを設けたこ
とを特徴とするラベルプリンタ。
1. A stepping motor equipped with a stepping motor, wherein a plurality of labels are affixed to a mount at predetermined intervals, or a label paper or a tag paper in which the labels are continuously affixed to the mount. In a label printer that supplies a print head by driving a motor and prints predetermined print information on the paper by the print head, a positioning mark previously provided on the paper or a sensor for detecting the front end or the rear end of the label. A reference length input means for previously inputting the length between the positioning marks or the front end or the rear end of the label provided on the paper in advance, and the length input by the reference length input means for the stepping motor. The theoretical step number conversion means for converting the number of steps based on the theoretical transport distance for one-step driving, and the position by the sensor. A reference step number counting means for counting the number of drive steps of the stepping motor from the detection of the leading edge or the trailing edge of the deciding mark or label to the detection of the leading edge or the trailing edge of the next positioning mark or label; Correction value calculation means for calculating a correction value based on the number of steps converted by the theoretical step number conversion means and the number of driving steps counted by the reference step number counting means, and a correction value calculated by this correction value calculation means Thus, the set value for positioning the sheet at the print position, which is set in advance based on the theoretical transport distance for one step driving of the stepping motor, the set value for the transport of the sheet, and the cycle of timing for printing on the sheet A label printer provided with setting correction means for correcting the above.
JP3282995A 1991-10-29 1991-10-29 Label printer Pending JPH05116393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3282995A JPH05116393A (en) 1991-10-29 1991-10-29 Label printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3282995A JPH05116393A (en) 1991-10-29 1991-10-29 Label printer

Publications (1)

Publication Number Publication Date
JPH05116393A true JPH05116393A (en) 1993-05-14

Family

ID=17659852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3282995A Pending JPH05116393A (en) 1991-10-29 1991-10-29 Label printer

Country Status (1)

Country Link
JP (1) JPH05116393A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5803624A (en) * 1995-08-31 1998-09-08 Intermec Corporation Methods and apparatus for compensatng step distance in a stepping motor driven label printer
JP2014156077A (en) * 2013-02-18 2014-08-28 Seiko Epson Corp Printer and method for correcting sheet feeding amount of recording sheet
JP2016034725A (en) * 2014-08-01 2016-03-17 東芝テック株式会社 Label printer and method of controlling label printer
US9308760B2 (en) 2014-03-07 2016-04-12 Seiko Epson Corporation Printer, printing method, and printing system
JP6408652B1 (en) * 2017-05-30 2018-10-17 トキワ工業株式会社 Packaging film processing apparatus, packaging machine, and packaging film processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5803624A (en) * 1995-08-31 1998-09-08 Intermec Corporation Methods and apparatus for compensatng step distance in a stepping motor driven label printer
JP2014156077A (en) * 2013-02-18 2014-08-28 Seiko Epson Corp Printer and method for correcting sheet feeding amount of recording sheet
US9308760B2 (en) 2014-03-07 2016-04-12 Seiko Epson Corporation Printer, printing method, and printing system
JP2016034725A (en) * 2014-08-01 2016-03-17 東芝テック株式会社 Label printer and method of controlling label printer
JP6408652B1 (en) * 2017-05-30 2018-10-17 トキワ工業株式会社 Packaging film processing apparatus, packaging machine, and packaging film processing method
JP2018203266A (en) * 2017-05-30 2018-12-27 トキワ工業株式会社 Package film processing apparatus, packaging machine and package film processing method

Similar Documents

Publication Publication Date Title
US4934845A (en) Apparatus and method for controlling paper feeding in a printer
JPH1149399A (en) Sheet carrier device and correction method of sheet carrying quantity in sheet carrier device
JP2006273580A (en) Transport control device and image forming apparatus
JPH05116393A (en) Label printer
EP1413447B1 (en) Tape printer
EP1413448B1 (en) Tape printer
JP3630715B2 (en) Printer
JPH0134159B2 (en)
JP2004058337A (en) Printer
JPH0825699A (en) Raster type recording apparatus
JPH011564A (en) Manual scanning recording device
JPH0789155A (en) Printer
JPH05147268A (en) Printer
JPH06227066A (en) Label printer
JPH04323066A (en) Positioning apparatus and method
JP2003048349A (en) Printer
JP4473682B2 (en) Printing device
JPS61169267A (en) Label printer
JP2954207B1 (en) Paper transport control method and control device for printer
JP2000177885A (en) Printer
JP3337330B2 (en) Position correction device for long film working means
JPH11268358A (en) Label printer
JPH068593A (en) Thermal printer
JP2522172Y2 (en) Label printer
JPH01288469A (en) Label printer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071204

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081204

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees