JPH04226777A - Method and device for locating print head of printer through control program - Google Patents

Method and device for locating print head of printer through control program

Info

Publication number
JPH04226777A
JPH04226777A JP3212684A JP21268491A JPH04226777A JP H04226777 A JPH04226777 A JP H04226777A JP 3212684 A JP3212684 A JP 3212684A JP 21268491 A JP21268491 A JP 21268491A JP H04226777 A JPH04226777 A JP H04226777A
Authority
JP
Japan
Prior art keywords
print head
printing device
base position
control program
positioning
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
JP3212684A
Other languages
Japanese (ja)
Inventor
Lorenz Fromme
ローレンツ・フロンメ
Annemarie Muenkle
アンネマリー・ミュンクレ
Hubert Oelmaier
フーベルト・エルマイヤー
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.)
Vodafone GmbH
Original Assignee
Mannesmann AG
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 Mannesmann AG filed Critical Mannesmann AG
Publication of JPH04226777A publication Critical patent/JPH04226777A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J21/00Column, tabular or like printing arrangements; Means for centralising short lines
    • B41J21/17Column, tabular or like printing arrangements; Means for centralising short lines controlled by stored information

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE: To facilitate positioning of a print head by moving a print head toward a basic position after it is moved to recede therefrom when a driver is connected and detecting and storing the basic position when the print head arrives at a basic position communicator. CONSTITUTION: A print head 1 is moved in the direction 9 to recede from a basic position 10 in order to determine a new basic position 8 when a print head carriage driver 3 is connected and then it is returned in the opposite direction 11 toward the new basic position 8 into the region of a basic position communicator 12. When the print head 1 arrives at the basic position communicator 12, the basic position 8 is detected and stored in a memory 13. If the print head 1 happens to exist in the region of the basic position communicator 12 when the print head carriage driver 3 is connected, it is fed therefrom by an amount corresponding to a specified number of characters, intervals and steps and then returned in the opposite direction 11 to the basic position communicator 12.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、文字、間隔、ステップ
等についてのある数の範囲内で前もって与えられ最大に
固定されている行の長さが制御プログラムの中に記憶さ
れており、この制御プログラムを介して印字装置の印字
ヘッドを位置決めし、このさい印字ヘッドが終位置又は
零位置に動かされる方法及び装置に関する。
[Industrial Field of Application] The present invention relates to a control program in which a line length given in advance and fixed to a maximum within a certain number range in terms of characters, spacing, steps, etc. is stored in a control program. The present invention relates to a method and apparatus for positioning the print head of a printing device via a control program, during which the print head is moved to a final or zero position.

【0002】0002

【従来の技術】この位置決めは、例えばドットマトリク
ス印字装置又はワイヤドットマトリクス印字装置におけ
る印字動作のための基礎である。この場合に印字装置は
、1つの行における例えば最大の文字数を有する最大の
行長を印字できるように構成されている。制御プログラ
ムは、最大の行長から最終的に得られる印字装置幅を考
慮しなければならない。使用可能な印字ヘッド運動区間
の左端における零位置から、個々の文字、基礎となって
いるマトリクス、間隔、ステップ、そして結局印字装置
幅に対応する1つの行の印字について印字ヘッドの運動
が制御される。ある特定の印字装置幅に対してある特定
の制御プログラムが必要である。これにより例えば1つ
の行における間隔、インチ単位の行長及び印字ヘッドの
最大運動距離等のパラメーターは固定している。
BACKGROUND OF THE INVENTION This positioning is the basis for the printing operation, for example in dot matrix printing devices or wire dot matrix printing devices. In this case, the printing device is configured such that it can print, for example, the maximum line length with the maximum number of characters in one line. The control program must take into account the resulting printer width from the maximum line length. From a zero position at the left end of the available printhead movement range, printhead movement is controlled for printing one line corresponding to the individual characters, underlying matrix, spacing, steps, and ultimately the printer width. Ru. Certain control programs are required for certain printer widths. This allows parameters such as spacing in a line, line length in inches, and maximum printhead travel to be fixed.

【0003】設けられている印字装置幅に対して制御プ
ログラムを各公知の印字装置において実現することは公
知である。しかし印字装置は個々にではなくシリーズと
して構成されるので、印字装置に対して、印字装置に適
している制御プログラムを形成することが必要である。 従ってこの場合に異なる幅の印字装置のための多数の制
御装置を開発しなければならない。それぞれの制御プロ
グラムは、それぞれ1つの幅に整合するパラメーターを
考慮しなければならない。従ってこのような作業により
、これらの異なる制御モジュールの開発、保守、製造及
び保管には多大の手間がかかる。この手間と、これに伴
う不経済性とは1つの印字装置シリーズが大きいほど大
きい。
It is known to implement in each known printing device a control program for a given printing device width. However, since the printing devices are not constructed individually but as a series, it is necessary to create a control program for the printing device that is suitable for the printing device. In this case, therefore, multiple control devices for printing devices of different widths must be developed. Each control program must take into account one width-matching parameter. Therefore, such operations require a great deal of effort in developing, maintaining, manufacturing and storing these different control modules. This effort and the associated uneconomical costs increase as the size of one printing device series increases.

【0004】0004

【発明が解決しようとする課題】本発明の課題は、1つ
の製品シリーズに存在するすべての制御パラメーターを
すべて有する制御モジュールを設け、この制御モジュー
ルの中からその都度の印字装置に整合するパラメーター
を選択し、この場合に先ず初めに印字装置幅とは無関係
に基礎位置に印字ヘッドを持っていって基礎位置を検出
し、次いで印字装置の幅を検出する、印字ヘッドの位置
決め方法および装置を提案することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a control module that has all the control parameters that exist in one product series, and to select from this control module the parameters that match the respective printing device. A method and apparatus for positioning the print head is proposed, in which case the print head is first brought to a base position and the base position is detected independently of the width of the printer, and then the width of the printer is detected. It's about doing.

【0005】[0005]

【課題を解決するための手段】上記課題は本発明により
、印字ヘッドが、印字ヘッドキャリッジ駆動装置が投入
接続されると基礎位置を求めるために印字ヘッドは基礎
位置側離れる方向にその位置から動かされ、次いで反対
方向に基礎位置の方へ向かって動かされ、基礎位置通報
器の領域の中まで入ることと、印字ヘッドが基礎位置通
報器に到達することにより基礎位置が検出されメモリに
記憶されることとにより解決される。この方法はただ1
つの位置通報器により実施することができる。
[Means for Solving the Problems] According to the present invention, the print head is moved from its position in a direction away from the base position in order to determine the base position when the print head carriage drive device is connected and connected. is then moved in the opposite direction towards the base position until it enters the area of the base position annunciator and the base position is detected and stored in memory by the print head reaching the base position annunciator. This is solved by This method is only one
This can be implemented using one location reporting device.

【0006】印字ヘッドのその都度の位置の偶然性は次
のように考慮されている。すなわち印字ヘッドキャリッ
ジ駆動装置が投入接続される時にたまたま基礎位置通報
器の領域の中の印字ヘッドがある場合は、この瞬時の位
置から印字ヘッドが先ず初めに所定の数の文字、間隔、
ステップだけ動かされて基礎位置通報器の領域から出さ
れ、次いで反対方向に基礎位置通報器の領域へ戻される
。この場合にも印字装置を投入接続する都度に印字ヘッ
ドの基礎位置に正確に到達すると有利である。
The randomness of the respective position of the print head is considered as follows. That is, if the printhead happens to be in the area of the base position indicator when the printhead carriage drive is switched on, then from this instantaneous position the printhead will initially move to a predetermined number of characters, spacing,
It is moved by a step out of the area of the base position transmitter and then in the opposite direction back into the area of the base position transmitter. In this case as well, it is advantageous if the basic position of the print head is reached precisely each time the printing device is switched on.

【0007】印字ヘッドの位置決めは、印字ヘッドキャ
リッジ駆動装置の投入接続が印字装置の投入接続と一緒
に行われた後に行われる。付加的に、制御プログラムは
このような基礎位置検出を何時でも行うことができる。
Positioning of the printhead is performed after the printhead carriage drive is connected together with the printing device. Additionally, the control program can carry out such basic position detection at any time.

【0008】印字ヘッドのその他の位置は、次のように
求められる。すなわち印字ヘッドが所定の基礎位置から
所定の第1の数の文字、間隔、ステップだけ、印字装置
の基礎位置側に対向して位置する印字装置側壁に向かっ
て動かされ、ここにおいて第1の数の文字、間隔、ステ
ップの幅は、狭い幅(DIN  A4)を有する印字装
置より広く、広い幅(DIN  A3)を有する印字装
置より小さく設定され、印字ヘッドの反転位置から印字
ヘッドが第2の数の文字、間隔、ステップだけ反対方向
に基礎位置に向かって動かされ、ここにおいて第2の数
の文字、間隔、ステップは幅は第1の数の文字、間隔、
ステップの幅より小さくすることにより、印字ヘッドが
、基礎位置通報器の到達する又は到達しないことにより
印字装置幅を検出する、次いで制御プログラムにより、
幅に依存するすべてのパラメーターが読取り専用メモリ
に記憶され、及び/又は読取り専用メモリに記憶されて
いるコントロールコードを介して使用可能にされる。
Other positions of the print head are determined as follows. That is, the print head is moved from a predetermined base position by a predetermined first number of characters, intervals, steps toward a side wall of the printer located opposite the base position side of the printer, where the first number The character, spacing, and step widths are set wider than in printing devices with a narrow width (DIN A4) and smaller than in printing devices with a wide width (DIN A3), and from the reversal position of the printhead, the printhead is A number of characters, intervals, steps are moved in the opposite direction toward the base position, where a second number of characters, intervals, steps have a width of a first number of characters, intervals,
the printhead detects the printer width by reaching or not reaching the base position annunciator, and then by the control program:
All width-dependent parameters are stored in read-only memory and/or made available via control codes stored in read-only memory.

【0009】利点は、同一の制御モジュールを使用して
いるにもかかわらず、印字装置シリーズのいずれの印字
装置であるかを検出できることにある。印字装置幅を検
出してから印字装置は、自身に対応する制御プログラム
に自身を整合する。1つの印字装置シリーズのすべての
印字装置に対して制御モジュールはただ1つであり、従
って開発、保守、製造及び保管の手間は低減される。
The advantage is that it is possible to detect which printing device in a printing device series it is, even though the same control module is used. After detecting the printer width, the printer aligns itself to its corresponding control program. There is only one control module for all printing devices of one printing device series, thus reducing development, maintenance, manufacturing and storage efforts.

【0010】上記に説明した印字装置の印字ヘッドを位
置決めするための装置は、印字装置の両側壁の内部領域
に選択された基礎位置のためにただ1つの基礎位置通報
器が設けられ、制御プログラムにより、幅に依存するす
べてのパラメーターが読取り専用メモリに記憶され、あ
るいは読取り専用メモリに記憶されているコントロール
コードを介して使用可能であるように構成されている。
The device for positioning the print head of the printing device described above is provided with only one base position indicator for the selected base position in the internal area of both side walls of the printing device, and a control program. Accordingly, all width-dependent parameters are stored in a read-only memory or made available via control codes stored in a read-only memory.

【0011】この場合、基礎位置通報器が、印字装置の
両側壁の間の任意に物理的位置を有するスイッチ、ライ
トバリヤー又はホールセンサから成ると有利である。
In this case, it is advantageous if the basic position indicator consists of a switch, a light barrier or a Hall sensor, which has an arbitrary physical position between the two side walls of the printing device.

【0012】基礎位置通報器の代りに動き通報装置が設
けられている解決方法も可能である。この動き通報装置
は光電素子対を有する円板形エンコーダあるいは直線形
エンコーダである。
A solution is also possible in which a movement reporting device is provided instead of the basic position reporting device. The motion reporting device is a disc encoder or a linear encoder with a pair of photoelectric elements.

【0013】本発明の1つの別の有利な実施例では、テ
ストプログラムにより印字装置を投入接続する際に、読
取り専用メモリに記憶されているコントロールコードの
存在を検査する。このコントロールコードにより印刷装
置の幅がすでに定まっているのか、あるいはどのような
機種であるかを判定する。
In a further advantageous embodiment of the invention, the test program checks for the presence of a control code stored in a read-only memory when the printing device is connected. This control code determines whether the width of the printing device has already been determined or what type of printer it is.

【0014】[0014]

【実施例】図1に示されているように、印字装置2の印
字ヘッドキャリッジ案内部材6aに取付られている印字
ヘッドキャリッジ6の上の印字ヘッド1は、印字ヘッド
キャリッジ駆動装置3により印字装置側壁4及び5の間
を方向9及び11で動かされることが可能である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. It is possible to move between the side walls 4 and 5 in directions 9 and 11.

【0015】本実施例では印字装置2は印字ヘッドキャ
リッジ3と、動き通報装置なしの(すなわち光電池対を
有するクロックディスク又は対応する検出装置を有する
クロック定規なしの)基礎位置通報器12とを有するも
のとして示されている。
In this embodiment, the printing device 2 has a print head carriage 3 and a base position indicator 12 without a movement reporting device (ie without a clock disk with a photovoltaic cell pair or a clock ruler with a corresponding detection device). shown as something.

【0016】印字ヘッドキャリッジ6が走行できる行程
(印刷装置幅)15は、文字(文字マトリクス)、間隔
、ステップに分けられ、これらは印字ヘッドの動きを制
御する制御プログラム7に用いられる。基礎位置8を決
めることはいつでも行うことができ、印字装置のパワー
スイッチを作動して印字装置2を投入接続すると同時に
行うこともできることは自明である。印字ヘッド1の基
礎位置8は、書込み/読取りメモリ13に記憶され、求
められた印字装置幅は書込専用メモリ14に記憶される
The travel (printing device width) 15 that the print head carriage 6 can travel is divided into characters (character matrix), intervals, and steps, which are used by the control program 7 for controlling the movement of the print head. It is self-evident that determining the base position 8 can be done at any time, or even at the same time as switching on the printing device 2 by actuating the power switch of the printing device. The base position 8 of the printhead 1 is stored in a write/read memory 13 and the determined printer width is stored in a write-only memory 14.

【0017】図1に示されているように基礎位置通報器
12はスイッチ、ライトバリヤー又はホールセンサから
成る。基礎位置通報器12の代りに動き通報装置を設け
ることもできる。動き通報装置は、光電池対を有する円
形デコーダ、又は対応する検出装置を有する直線形デコ
ーダにより形成することもできる。動き通報装置を使用
する場合、動き通報信号がもはや伝送されなくなるまで
印字ヘッド1を任意の方向で動かすことにより印字ヘッ
ド1の基礎位置を得ることができる。
As shown in FIG. 1, the base position indicator 12 consists of a switch, a light barrier or a Hall sensor. A movement reporting device may be provided instead of the basic position reporting device 12. The motion reporting device can also be formed by a circular decoder with a pair of photovoltaic cells or a linear decoder with a corresponding detection device. When using a motion reporting device, the basic position of the print head 1 can be obtained by moving the print head 1 in any direction until the motion reporting signal is no longer transmitted.

【0018】図2に示されているように印字ヘッド1は
印字ヘッドキャリッジ駆動装置3の投入接続の際に、投
入接続の際に新たに定める基礎位置8を求めるために方
向9で基礎位置側10から遠ざかる方向に向って動かさ
れ、次いで反対方向11で実際のかつ正しい基礎位置8
へ向って戻され、その際に基礎位置通報器12の領域の
中まで動かされる。基礎位置通報器12に到達すると基
礎位置8が検出されメモリ13に記憶される。
As shown in FIG. 2, when the print head carriage drive 3 is connected, the print head 1 is moved to the basic position side in the direction 9 in order to determine the new basic position 8 determined at the time of the connection. 10 and then in the opposite direction 11 to the actual and correct base position 8
It is then moved back towards the base position informer 12 into the area of the basic position transmitter 12. Upon reaching the basic position reporting device 12, the basic position 8 is detected and stored in the memory 13.

【0019】印字ヘッド1が印字ヘッドキャリッジ駆動
装置3の投入接続の際にたまたま基礎位置通報器12の
領域の中にある場合には印字ヘッド1は、(例えば10
である)所定数の文字、間隔、ステップだけ基礎位置通
報器12の領域から先ず出されてから次いで反対方向1
1で基礎位置通報器12へ戻される。
If the print head 1 happens to be in the area of the basic position indicator 12 when the print head carriage drive 3 is turned on, the print head 1 is moved (eg 10
) a predetermined number of characters, intervals, steps are first moved out of the area of the base position indicator 12 and then in the opposite direction 1
1, it is returned to the basic position reporting device 12.

【0020】印字ヘッドキャリッジ駆動装置3の投入接
続を印字装置2の投入接続と一緒に、すなわち印字装置
のパワースイッチを作動することにより行うことができ
ることは自明である。
It is self-evident that the switching on of the print head carriage drive 3 can take place together with the switching on of the printing device 2, ie by actuating the power switch of the printing device.

【0021】図3及び図4に示されているようにその他
の位置に印字ヘッド1を動かすことができる。印字ヘッ
ド1は所定の基礎位置8から所定の第1の数の文字、間
隔、ステップだけ方向9で、印字装置2aの基礎位置側
10に対向して位置する印字装置側壁5に向かって動か
され、その際に文字、間隔、ステップについての数は、
狭い幅(DIN  A4=210mm)を有する印字装
置2aより大きく、広い幅(DIN  A3=297m
m)を有する印字装置2bより小さい。印字ヘッド1の
その都度の反転位置から印字ヘッド1は第2の数の文字
、間隔、ステップだけ反対方向11で基礎位置8に向か
って動かされ、その際に第2の数の文字、間隔、ステッ
プは第1の数の文字、間隔、ステップの幅より狭く、従
って印字ヘッド1は印字装置幅を検出する。次いで制御
プログラム7により、幅に依存するすべてのパラメータ
がメモリ14に記憶される。
The print head 1 can be moved to other positions as shown in FIGS. 3 and 4. The print head 1 is moved from a predetermined base position 8 by a predetermined first number of characters, intervals, steps in a direction 9 towards a printer side wall 5 located opposite the base position side 10 of the printer 2a. , where the numbers for characters, spacing, and steps are
Larger and wider width (DIN A3 = 297 m) than the printing device 2a which has a narrower width (DIN A4 = 210 mm)
m) is smaller than the printing device 2b having From the respective reversal position of the print head 1, the print head 1 is moved in the opposite direction 11 by a second number of characters, intervals, steps, towards the basic position 8, with the second number of characters, intervals, The step is narrower than the first number of characters, the spacing, the width of the step, so the printhead 1 detects the printer width. The control program 7 then stores all width-dependent parameters in the memory 14.

【0022】本実施例では、印字ヘッドキャリッジ駆動
装置3を有する印字装置2は動き通報装置を有しない。 印字ヘッドキャリッジ駆動装置3はステッピングモータ
ーから成る。ステッピングモーターは、印字ヘッド1を
1インチ(25.4mm)だけシフトするために60ス
テップを行う。8インチの印字装置幅幅15にはステッ
ピングモーターの480ステップが対応する。
In this embodiment, the printing device 2 with the printhead carriage drive 3 does not have a motion reporting device. The print head carriage drive 3 consists of a stepping motor. The stepper motor takes 60 steps to shift the print head 1 by 1 inch (25.4 mm). An 8-inch printing device width of 15 corresponds to 480 steps of the stepping motor.

【0023】印刷幅15はここでは13.6インチある
いは8.0インチと検出される印字ヘッド1は、前述の
ように基礎位置に動かされる。次いで印字幅15を検出
するために、500ステップだけ基礎位置から動かされ
る。その際に印字ヘッドキャリッジ6の走行距離は印字
装置2aの幅8インチを越える(図3)。従って印字ヘ
ッドキャリッジ6は途中で印字装置側壁5に追突し、5
00−480=20ステップ分だけ動かないが、この過
剰の20ステップを制御プログラムは、実行されたステ
ップとして計数する。次いで印字ヘッド1は反対方向1
1で基礎位置8に向かって490ステップだけ戻される
。印字ヘッド1がこの運動の際に基礎位置通報器12に
480ステップで到達する場合には印字装置幅15=8
インチである。過剰の20ステップは印字装置側壁5で
失われる。印字ヘッド1が基礎位置に到達せず20ステ
ップだけ前に位置する場合には印字装置幅15=13.
6インチである(図4)。
The print head 1, whose print width 15 is now detected as 13.6 inches or 8.0 inches, is moved to the base position as described above. It is then moved from the base position by 500 steps in order to detect the print width 15. At this time, the travel distance of the print head carriage 6 exceeds the width of the printing device 2a by 8 inches (FIG. 3). Therefore, the print head carriage 6 collides with the side wall 5 of the printing device on the way, and 5
00-480=20 steps are not moved, but the control program counts this extra 20 steps as executed steps. The print head 1 then moves in the opposite direction 1
1, it is moved back 490 steps toward base position 8. If the print head 1 reaches the base position indicator 12 in 480 steps during this movement, the print device width 15=8
Inches. The extra 20 steps are lost on the printer sidewall 5. If the print head 1 does not reach the basic position but is located 20 steps forward, the print device width 15=13.
6 inches (Figure 4).

【0024】図2から図4に示されているように得られ
た幅パラメーターは検出されると、EEPROMチップ
から成る書込専用メモリ14に伝送される。付加的に更
に、検査の成功又は結果を表すコントロールコードがE
EPROMに記憶される。これを基礎として制御プログ
ラム7は、印字装置が投入接続されると印字装置の構成
を自動的に把握する。従って1つの印字装置シリーズの
すべての印字装置幅に対してただ1つの制御プログラム
だけでよい。
Once the width parameters obtained, as shown in FIGS. 2 to 4, have been detected, they are transmitted to a write-only memory 14 consisting of an EEPROM chip. Additionally, the control code representing the success or result of the test is E.
Stored in EPROM. Based on this, the control program 7 automatically grasps the configuration of the printing device when the printing device is connected. Therefore, only one control program is required for all printer widths of one printer series.

【0025】制御プログラム7の一部である特別のテス
トプログラムは、印字装置2が投入接続されるとメモリ
14の中のコントロールコードの検査を開始させる。正
しいコードが見出されると印字装置2は、記憶されてい
るパラメーターにより初期化される。次いで印字装置2
は、プログラミングされた幅の印字装置として動作する
。コードが誤りとして検出された場合には、図3及び図
4に関連して説明された検査が行われる。
A special test program, which is part of the control program 7, starts checking the control codes in the memory 14 when the printing device 2 is switched on. Once the correct code is found, the printing device 2 is initialized with the stored parameters. Next, printing device 2
operates as a programmed width printer. If the code is detected as erroneous, the checks described in connection with FIGS. 3 and 4 are performed.

【0026】印字装置2の制御は、制御プログラム7が
設けられると各印字装置幅に整合する。これは、制御プ
ログラム7が1つのシリーズの印字装置のいずれにも使
用できることを意味し、これにより製造及びサービスは
著しく容易になる、何故ならば制御モジュール(制御プ
ログラム)にみを保守すればよいからである。
Control of the printing device 2 is matched to each printing device width when the control program 7 is provided. This means that the control program 7 can be used for any of the printing devices of one series, which greatly facilitates manufacturing and servicing, since only the control module (control program) needs to be maintained. It is from.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】全装置のブロック回路図である。FIG. 1 is a block circuit diagram of the entire device.

【図2】基礎位置に印字ヘッドの位置決めするための印
字装置の原理図である。
FIG. 2 is a principle diagram of a printing device for positioning a print head in a basic position;

【図3】幅が狭い印字装置を検出するための印字ヘッド
の位置決めの原理図である。
FIG. 3 is a diagram showing the principle of print head positioning for detecting a narrow printing device.

【図4】同一の印字装置シリーズの幅の広い印字装置を
検出するための印字ヘッドの位置決めの原理図である。
FIG. 4 is a principle diagram of the positioning of the print head for detecting wide printing devices of the same printing device series;

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

1  印字ヘッド 2  印字装置 3  印字ヘッドキャリッジ駆動装置 4、5  印字装置側壁 6  印字ヘッドキャリッジ 7  制御プログラム 8  基礎位置 9  印字ヘッドの運動方向 10  基礎位置側 11  印字ヘッドの運動方向 12  基礎位置通報器 13  書込み/読取りメモリ 14  書込み専用メモリ 15  印字装置幅 1 Print head 2 Printing device 3 Print head carriage drive device 4, 5 Printing device side wall 6 Print head carriage 7 Control program 8 Base position 9 Direction of print head movement 10 Foundation position side 11 Direction of print head movement 12 Basic position notification device 13 Write/read memory 14 Write-only memory 15 Printing device width

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】  文字、間隔、ステップ等についてのあ
る数の範囲内で前もって与えられ最大に固定されている
行の長さが制御プログラムの中に記憶されており、この
制御プログラムを介して印字装置の印字ヘッドを位置決
めし、このさい印字ヘッドが終位置又は零位置に動かさ
れる方法において、印字ヘッド(1)が、印字ヘッドキ
ャリッジ駆動装置(3)が投入接続されると基礎位置(
8)を求めるために印字ヘッドは方向(9)で基礎位置
側(10)離れる方向(9)にその位置から動かされ、
次いで反対方向(11)に基礎位置(8)の方へ向かっ
て動かされ、基礎位置通報器(12)の領域の中まで入
ることと、印字ヘッド(1)が基礎位置通報器(12)
に到達することにより基礎位置(8)が検出されてメモ
リ(13)に記憶されることとを特徴とする制御プログ
ラムを介して印字装置の印字ヘッドを位置決めするため
の方法。
Claim 1: A line length given in advance and fixed at a maximum within a certain number range for characters, spacing, steps, etc. is stored in a control program and printed via this control program. In the method of positioning the print head of the device and in which the print head is moved to a final or zero position, the print head (1) is placed in the basic position (1) when the print head carriage drive (3) is connected.
8) the print head is moved from its position in direction (9) towards (10) away from the base position (9);
It is then moved in the opposite direction (11) towards the base position (8) until it enters into the area of the base position annunciator (12) and the print head (1) is moved towards the base position annunciator (12).
A method for positioning a print head of a printing device via a control program, characterized in that a base position (8) is detected and stored in a memory (13) by reaching .
【請求項2】  印字ヘッドキャリッジ駆動装置(3)
が投入接続される時に基礎位置通報器(12)の領域の
中の印字ヘッド(1)がとる瞬時の位置から印字ヘッド
(1)が所定の数の文字、間隔、ステップだけ先ず動か
されて基礎位置通報器(12)の領域から出されてから
、反対方向(11)に基礎位置通報器(12)に向かっ
て戻されることを特徴とする請求項1に記載の制御プロ
グラムを介して印字装置の印字ヘッドを位置決めするた
めの方法。
[Claim 2] Print head carriage drive device (3)
The print head (1) is first moved a predetermined number of characters, intervals, steps from the instantaneous position it assumes in the area of the base position annunciator (12) when the base position annunciator (12) is connected. 2. The printing device according to claim 1, wherein the printing device is moved out of the area of the position transmitter (12) and then returned in the opposite direction (11) towards the basic position transmitter (12). method for positioning the print head.
【請求項3】  印字ヘッドキャリッジ駆動装置(3)
の投入接続が印字装置(2)の投入接続と一緒に行われ
ることを特徴とする請求項1又は請求項2に記載の制御
プログラムを介して印字装置の印字ヘッドを位置決めす
るための方法。
[Claim 3] Print head carriage drive device (3)
3. Method for positioning a print head of a printing device via a control program according to claim 1 or claim 2, characterized in that the input connection of the printing device (2) is carried out together with the input connection of the printing device (2).
【請求項4】  印字ヘッド(1)が所定の基礎位置(
8)から所定の第1の数の文字、間隔、ステップだけ方
向(9)に、印字装置(2)の基礎位置側(10)に対
向して位置する印字装置側壁(5)に向かって動かされ
、第1の数の文字、間隔、ステップの幅は、狭い幅(D
IN  A4)を有する印字装置(2a)より大きく、
広い幅(DIN  A3)を有する印字装置(2b)よ
り小さいことと、その都度に印字ヘッド(1)の反転位
置(14)から印字ヘッド(1)が第2の数の文字、間
隔、ステップだけ反対方向(11)で基礎位置(8)に
向かって動かされ、第2の数の文字、間隔、ステップは
幅は第1の数の文字、間隔、ステップの幅より狭く、印
字ヘッド(1)は、基礎位置通報器(12)が到達した
こと又は到達しないことにより印字装置幅(15)を検
出することと、次いで制御プログラム(7)により、幅
に依存するすべてのパラメーターが読取り専用メモリ(
14)に記憶され、あるいは読取り専用メモリ(14)
に記憶されているコントロールコードを介して使用可能
にされることを特徴とする請求項1から請求項3のうち
の1つの請求項に記載の制御プログラムを介して印字装
置の印字ヘッドを位置決めするための方法。
4. The print head (1) is located at a predetermined base position (
8) by a predetermined first number of characters, intervals, steps in the direction (9) towards the printing device side wall (5) located opposite the base position side (10) of the printing device (2). and the width of the first number of characters, spacing, and step is narrow width (D
IN A4) larger than the printing device (2a),
It is smaller than the printing device (2b) with a wide width (DIN A3) and each time from the reversal position (14) of the print head (1) the print head (1) only takes a second number of characters, spacing and steps. moved in the opposite direction (11) towards the base position (8), the second number of characters, spaces, steps are narrower in width than the width of the first number of characters, spaces, steps, and the print head (1) by detecting the printer width (15) by the arrival or non-arrival of the base position annunciator (12) and then by the control program (7) all width-dependent parameters are stored in a read-only memory (
14) or read-only memory (14)
positioning the print head of the printing device via a control program according to one of claims 1 to 3, characterized in that the control program is enabled via a control code stored in the control program; method for.
【請求項5】  印字ヘッドが印字ヘッドキャリッジ駆
動装置により印字装置枠の印字装置側壁の間を所定の行
長だけ往復して動かされることが可能であり、異なる印
字装置幅に対してそれぞれ異なるパラメーターのための
制御プログラムが設けられている印字装置の印字ヘッド
を位置決めするための装置において、印字装置の両側壁
(4;5)の内部領域(4a;4b)の中に選択された
基礎位置(8)に対してただ1つの基礎位置通報器(1
2)が設けられていることと、制御プログラム(7)に
より、幅に依存するすべてのパラメーターが読取り専用
メモリ(14)に記憶されあるいは読取り専用メモリに
記憶されているコントロールコードを介して使用可能で
あることを特徴とする印字装置の印字ヘッドを位置決め
するための装置。
5. The print head is capable of being moved reciprocatingly between the printer side walls of the printer frame by a predetermined line length by a print head carriage drive device, and the print head can be moved reciprocally by a predetermined line length by a print head carriage drive device, and the print head can be moved reciprocally by a predetermined line length between the printer side walls of the printer frame, and the print head can be moved reciprocally by a predetermined line length by a print head carriage drive device. A device for positioning the print head of a printing device, in which a control program is provided for positioning a selected base position ( 8) only one base position annunciator (1
2) and by means of the control program (7) all width-dependent parameters are stored in the read-only memory (14) or available via control codes stored in the read-only memory. A device for positioning a print head of a printing device, characterized in that:
【請求項6】  基礎位置通報器(12)が、印字装置
の両側壁(4、5)の間に任意に物理的位置を有するス
イッチ、ライトバリヤー又はホールセンサから成ること
を特徴とする請求項5に記載の印字装置の印字ヘッドを
位置決めするための装置。
6. The basic position indicator (12) consists of a switch, a light barrier or a Hall sensor having an arbitrary physical position between the two side walls (4, 5) of the printing device. 5. A device for positioning the print head of the printing device according to 5.
【請求項7】  基礎位置通報器(12)の代りに動き
通報装置が設けられていることを特徴とする請求項5に
記載の印字装置の印字ヘッドを位置決めするための装置
7. Device for positioning the print head of a printing device according to claim 5, characterized in that a movement notification device is provided in place of the base position notification device (12).
【請求項8】  動き通報装置が、光電池対を有する円
形エンコーダ、又は対応する検出装置を有する直線形エ
ンコーダから形成されていることを特徴とする請求項7
に記載の印字装置の印字ヘッドを位置決めするための装
置。
8. Claim 7, characterized in that the movement reporting device is formed from a circular encoder with a pair of photovoltaic cells or a linear encoder with a corresponding detection device.
A device for positioning the print head of the printing device described in .
【請求項9】  テストプログラムにより印字装置(2
)を投入接続する際に、読取り専用メモリに記憶されて
いるコントロールコードの存在が検査可能であることを
特徴とする請求項5から請求項8のうちの1つの請求項
に記載の印字装置の印字ヘッドを位置決めするための装
置。
Claim 9: Printing device (2) according to the test program.
), the presence of a control code stored in the read-only memory can be checked when the printer is connected. A device for positioning the print head.
JP3212684A 1990-07-31 1991-07-30 Method and device for locating print head of printer through control program Pending JPH04226777A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE19904024620 DE4024620A1 (en) 1990-07-31 1990-07-31 METHOD AND DEVICE FOR POSITIONING A PRINT HEAD IN A PRINTER BY A CONTROL PROGRAM
DE4024620.5 1990-07-31

Publications (1)

Publication Number Publication Date
JPH04226777A true JPH04226777A (en) 1992-08-17

Family

ID=6411558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3212684A Pending JPH04226777A (en) 1990-07-31 1991-07-30 Method and device for locating print head of printer through control program

Country Status (3)

Country Link
EP (1) EP0469692A3 (en)
JP (1) JPH04226777A (en)
DE (1) DE4024620A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009262451A (en) * 2008-04-25 2009-11-12 Oki Data Corp Printing-width detecting method of printer and printer using the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106079920B (en) * 2016-06-07 2018-02-09 江南大学 A kind of changeable stamp digital inkjet printing machine and printing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02305674A (en) * 1989-05-19 1990-12-19 Nec Corp Serial printer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2705282B2 (en) * 1977-02-09 1979-02-22 Olympia Werke Ag, 2940 Wilhelmshaven Device for positioning a writing unit
DE2836349C2 (en) * 1978-08-19 1984-07-05 Kienzle Apparate Gmbh, 7730 Villingen-Schwenningen Edge control for a print head
JPS61185479A (en) * 1985-02-13 1986-08-19 Sharp Corp Automatic margin setter
JPH01103478A (en) * 1987-10-16 1989-04-20 Brother Ind Ltd Printer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02305674A (en) * 1989-05-19 1990-12-19 Nec Corp Serial printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009262451A (en) * 2008-04-25 2009-11-12 Oki Data Corp Printing-width detecting method of printer and printer using the same

Also Published As

Publication number Publication date
DE4024620A1 (en) 1992-02-06
EP0469692A3 (en) 1992-05-13
EP0469692A2 (en) 1992-02-05

Similar Documents

Publication Publication Date Title
US4349741A (en) Ear code with alignment mark
US4547087A (en) Microprocessor-controlled printing mechanism having an opto-electronic sensor
CN101844463A (en) Printing medium calibration control method
US4669900A (en) Home position setting system for a print carriage
JPH04226777A (en) Method and device for locating print head of printer through control program
US4395144A (en) Apparatus for printing alphanumeric information on photographic slide mounts
US4628239A (en) Dual optical mechanical position tracker
US4401390A (en) Ribbon control system for multiple color impact printer
US4349742A (en) Bar code with alignment mark
JPS63128972A (en) Recorder
US5297880A (en) Method for setting an apparatus having a sensor
JP5370797B2 (en) Crane position detection system
JPH06307898A (en) Device for monitoring abnormality of detector
JPH05210470A (en) Printer and method for processing its type selection
EP0533400A2 (en) Paper width detecting device in a printing
KR20010049445A (en) A method of controlling the correction of the deviations of printed dots and a printer using the same method
JPS6227169A (en) Printing position determining system for serial printer
EP0496300A2 (en) Method of detecting a length of sheet of a printer
JPH0561880B2 (en)
US5135320A (en) Serial printer
US2852076A (en) Typewriter controlled tape punch
EP0050198A1 (en) Method of checking the accuracy of bar code information
KR0129944B1 (en) Method and device for controlling position movement of stacker crane
US5230283A (en) Print hammer position control device
US5149215A (en) Carriage position error detection in a serial printer