JPH0560427B2 - - Google Patents

Info

Publication number
JPH0560427B2
JPH0560427B2 JP61129239A JP12923986A JPH0560427B2 JP H0560427 B2 JPH0560427 B2 JP H0560427B2 JP 61129239 A JP61129239 A JP 61129239A JP 12923986 A JP12923986 A JP 12923986A JP H0560427 B2 JPH0560427 B2 JP H0560427B2
Authority
JP
Japan
Prior art keywords
printing
print head
print
printing operation
operation mode
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.)
Expired - Fee Related
Application number
JP61129239A
Other languages
Japanese (ja)
Other versions
JPS62286777A (en
Inventor
Tosha Irie
Satoru Nishioka
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP12923986A priority Critical patent/JPS62286777A/en
Publication of JPS62286777A publication Critical patent/JPS62286777A/en
Publication of JPH0560427B2 publication Critical patent/JPH0560427B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Description

【発明の詳細な説明】 〔概要〕 印字動作の前後及び途中において印字ヘツド位
置がモニタされない特殊印字動作モードの印字動
作を含むプリンタの印字ずれを防止装置におい
て、1個の印字ヘツドセンサを設け、特殊印字動
作モード時は、その印字動作の開始前又は終了後
の少なくとも一方において、前記センサを用いて
印字ヘツドの位置をモニタする。これにより、特
殊印字動作モード時の印字動作における印字ずれ
を無くし、低コストで印字動作を効率良く行うこ
とが出来る。
Detailed Description of the Invention [Summary] In a device for preventing print misalignment of a printer including printing operations in a special printing operation mode in which the print head position is not monitored before, during and after printing operations, one print head sensor is provided and a special In the print operation mode, the position of the print head is monitored using the sensor at least either before the start of the print operation or after the end of the print operation. This eliminates printing misalignment during the printing operation in the special printing operation mode, making it possible to perform the printing operation efficiently at low cost.

〔産業上の利用分野〕[Industrial application field]

本発明は、プリンタにおける印字ずれ防止装
置、特に、複数の印字エリアを有するプリンタに
おいて、印字ヘツドを1個の印字ヘツドセンサに
よつて検出し、その位置をモニタすることにより
印字ずれを無くする様にしたプリンタの印字ずれ
防止装置に関する。
The present invention is a device for preventing print misalignment in a printer, particularly in a printer having a plurality of printing areas, by detecting a print head with a single print head sensor and monitoring its position to eliminate print misalignment. The present invention relates to a printing misalignment prevention device for a printer.

〔従来の技術〕[Conventional technology]

例えばPOS(Poin of sale:販売時点情報管理)
システムで使用されているプリンタでは、複数の
印字エリアを備えたプリンタが用いられている。
この様な複数の印字エリアを備えたプリンタにお
いては、1つの印字エリアにおける印字ずれが他
の印字エリアに波及して更に印字ずれを発生する
ので、印字動作時には印字ずれが生じない様にす
ることが特に必要である。
For example, POS (Point of Sale)
The printer used in the system has multiple printing areas.
In printers with multiple printing areas like this, printing misalignment in one printing area spreads to other printing areas and causes further printing misalignment, so it is necessary to prevent printing misalignment from occurring during printing operations. is especially necessary.

第5図は、3ポジシヨンプリンタにおける印字
ずれ防止方式の原理を説明したものである。3ポ
ジシヨンプリンタは、伝票印字エリア、ジヤーナ
ル印字エリア及びレシート印字エリアの3印字エ
リアを備えている。
FIG. 5 explains the principle of a printing misregistration prevention method in a three-position printer. The three-position printer has three printing areas: a slip printing area, a journal printing area, and a receipt printing area.

第5図において、PDsは伝票印字エリア、PDj
はジヤーナル印字エリア、PDrはレシート印字エ
リアである。
In Figure 5, PDs is the slip printing area, PDj
is the journal printing area, and PDr is the receipt printing area.

S1〜S4は、印字ヘツドを検出する印字ヘツドセ
ンサである。印字ヘツドセンサS1は伝票印字エリ
アPDsの左端エリアLDに、印字ヘツドセンサS4
はレシート印字エリアの右端エリアRDに、印字
ヘツドS2及びS3は印字エリアの境界エリアMD2
及びMD3にそれぞれ設けられている。
S 1 -S 4 are print head sensors that detect the print head. Print head sensor S 1 is located in the left end area LD of the slip printing area PDs, and print head sensor S 4
is in the right end area RD of the receipt print area, and print heads S 2 and S 3 are in the border area MD 2 of the print area.
and MD 3 respectively.

〜は、各印字動作態様を示したもので、
は、レシート印字エリアPDrのみにおける印字動
作であり、は、ジヤーナル印字エリアPDj及び
レシート印字エリアPDrに渡る印字動作であり、
は、伝票印字エリアPDs、ジヤーナル印字エリ
アDj及びレシート印字エリアPDrに渡る印字動作
であり、は、伝票印字エリアPDs及びジヤーナ
ル印字エリアPDjに渡る印字動作であり、は、
伝票印字エリアのみにおける印字動作である。な
お、この他の印字動作態様による印字動作は、実
際の印字動作においては殆んど行われないので省
略されている。
~ indicates each printing operation mode,
is a printing operation only in the receipt printing area PDr, is a printing operation across the journal printing area PDj and the receipt printing area PDr,
is the printing operation that spans the slip printing area PDs, journal printing area Dj, and receipt printing area PDr, is the printing operation that spans the slip printing area PDs and the journal printing area PDj, and is,
This is a printing operation only in the slip printing area. Note that printing operations using other printing operation modes are omitted because they are rarely performed in actual printing operations.

次に、〜の各印字動作態様における印字ず
れ防止方式について説明する。
Next, the printing misalignment prevention method in each of the printing operation modes will be described.

の場合は、印字ヘツドセンサS3及びS4の一方
又は両者により印字ヘツドが検出されてその位置
がモニタされ、印字ずれの検出及び修正が行われ
る。
In this case, the print head is detected by one or both of print head sensors S3 and S4 , its position is monitored, and printing misalignment is detected and corrected.

の場合は、印字センサセンサS2及びS4の一方
又は両者により印字ヘツドが検出されてその位置
がモニタされ、印字ずれの検出及び修正が行われ
る。
In this case, the print head is detected by one or both of print sensors S2 and S4 , its position is monitored, and print misalignment is detected and corrected.

以下同様にして、はS1及びS4、はS1及び
S3、はS1及びS2の各印字ヘツドセンサの一方又
は両者により印字ヘツドが検出されてその位置が
モニタされ、印字ずれの検出及び修正が行われ
る。
Similarly, S 1 and S 4 and S 1 and
In S 3 , the print head is detected by one or both of the print head sensors S 1 and S 2 and its position is monitored, and printing misalignment is detected and corrected.

プリンタ動作終了時は、その印字エリアの一端
側の印字ヘツドセンサ位置において印字ヘツドは
停止するか、又は1つの印字ヘツドセンサ(例え
ば右端のS4)を基準位置センサとし、その基準位
置センサ(S4)の位置において停止される。
When the printer operation is finished, the print head stops at the print head sensor position at one end of the print area, or one print head sensor (for example, S 4 at the right end) is used as the reference position sensor, and the print head sensor (S 4 ) is used as the reference position sensor. It is stopped at the position.

以上の様に各印字ヘツドセンサにより印字ヘツ
ドを検出してその位置をモニタすることにより、
各印字動作態様における印字ずれの検出及び修正
を行うことが出来る。
As described above, by detecting the print head with each print head sensor and monitoring its position,
Print misalignment in each printing operation mode can be detected and corrected.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のプリンタにおける印字ずれ防止方式は、
前述の様に、多数の印字ヘツドセンサを設け、各
印字エリア毎に印字ヘツドの位置をモニタして印
字ずれを検出及び修正を行つていた。
The method for preventing print misalignment in conventional printers is
As mentioned above, a large number of print head sensors are provided to monitor the position of the print head in each print area to detect and correct print misalignment.

この従来方式によれば各印字動作における印字
ずれを確実に防止することが可能であるが、反
面、印字ヘツドセンサを多数必要とする為、コス
トが高くなるという問題があつた。
According to this conventional method, it is possible to reliably prevent printing misalignment in each printing operation, but on the other hand, it requires a large number of print head sensors, which poses the problem of increased costs.

印字ヘツドセンサの数を減らし、例えば、1個
の印字ヘツドセンサを用いた場合は、次の様な印
字ずれ防止方式が考えられる。
When the number of print head sensors is reduced and, for example, one print head sensor is used, the following printing misalignment prevention method can be considered.

(a) 第5図において、例えばS4を基準位置センサ
(同じ符号S4を用いる)とし、〜の場合は
当然この基準位置センサS4を通るが、更に及
びの場合もこの基準位置センサけS4を通る様
にする。
(a) In Fig. 5, for example, S 4 is a reference position sensor (using the same reference numeral S 4 ), and in the case of ~, it naturally passes through this reference position sensor S 4 , but also in the case of and, this reference position sensor is used. Make it pass through S 4 .

(b) 前記(a)において、及びの場合は、基準位
置センサS4を通らず、それぞれの印字エリア内
を印字動作する様にする。
(b) In the above (a), in the case of and, the printing operation is performed within each printing area without passing through the reference position sensor S4 .

(a)の方式は、〜の何れの印字動作において
も印字ヘツドの位置が基準位置センサS4によつて
モニタされるので、印字ずれを検出、修正して印
字ずれを防止することが出来る。然しながら、こ
の(a)の方式では、及びの場合、印字ヘツドに
無駄な動作が生じる。例えば、の場合、基準位
置センサS4を通る為にジヤーナル印字エリアPDj
及びレシート印字エリアPDrを往復する動作は、
伝票印字エリアPDsに印字する場合には無駄な動
作である。
In the method (a), since the position of the print head is monitored by the reference position sensor S4 in any of the printing operations, it is possible to detect and correct printing deviations and prevent printing deviations. However, in this method (a), wasteful operation occurs in the print head in the case of and. For example, in the case of , the journal printing area PDj is
And the operation of reciprocating the receipt printing area PDr is as follows.
This is a wasteful operation when printing in the slip printing area PDs.

一方、(b)の方式は、及びの印字動作におい
て(a)の方式の様な無駄が生じない。然しながら、
印字ヘツドの位置をモニタすることが出来ない
為、又はの印字動作を連続して行う場合、一
旦印字ずれが発生すると、以降の取引時の各印字
動作はそのずれた位置から開始されるので、それ
らの印字動作のすべてに印字ずれを生じることに
なる。
On the other hand, in the method (b), there is no waste in the printing operations as in the method (a). However,
Because it is not possible to monitor the position of the print head, or when printing operations are performed continuously, once a printing misalignment occurs, each printing operation during subsequent transactions will start from that shifted position. All of these printing operations result in printing misalignment.

前記及びの様に、印字動作の前後及び途中
において印字ヘツドの位置がモニタされない印字
動作態様を、以下特殊印字動作モードという。
As mentioned above, a printing operation mode in which the position of the print head is not monitored before, during and after the printing operation is hereinafter referred to as a special printing operation mode.

この様に、多数の印字ヘツドセンサを用いる方
式は、印字ずれを確実に防止することが出来るが
コストが高くなるという問題があり、1個の印字
ヘツドセンサを用いる方式は、コストを低減する
ことは出来るが、印字動作に無駄が多くて効率が
悪かつたり、又は一部の印字動作において印字ず
れが生じるという問題があつた。
In this way, the method using multiple print head sensors can reliably prevent printing misalignment, but has the problem of high cost, whereas the method using one print head sensor can reduce costs. However, there have been problems in that the printing operation is wasteful and inefficient, or that printing misalignment occurs in some printing operations.

本発明は、複数の印字エリアを備えたプリンタ
において、1個の印字ヘツドセンサを用いて各態
様の印字動作時に印字ずれが生じない様にすると
共に、各態様の印字動作が無駄なく効率的に行わ
れる様にしたプリンタの印字ずれを防止装置を提
供することを目的とする。
The present invention uses a single print head sensor in a printer equipped with a plurality of printing areas to prevent printing misalignment during each type of printing operation, and to efficiently perform each type of printing operation without waste. An object of the present invention is to provide a device for preventing printing misalignment of a printer in which the printing is caused to occur.

〔問題点を解決する為の手段〕[Means for solving problems]

前述の印字ずれ防止方式における問題点を解決
する為に本発明が講じた手段を、第1図を参照し
て説明する。
The means taken by the present invention to solve the problems in the above-mentioned printing misregistration prevention system will be explained with reference to FIG.

第1図は、本発明の基本構成をブロツク図で示
したものである。
FIG. 1 is a block diagram showing the basic configuration of the present invention.

第1図において、11は印字ヘツドであり、
PDs、PDj、PDrは複数の印字エリアである。
In FIG. 1, 11 is a print head;
PDs, PDj, and PDr are multiple printing areas.

12は印字ヘツド駆動手段で、印字ヘツド11
の桁送り動作及び任意の位置への移動を制御す
る。
12 is a print head driving means, which drives the print head 11;
Controls the shift operation and movement to any position.

13は印字ヘツドセンサで、印字ヘツドの位置
を検出する。
A print head sensor 13 detects the position of the print head.

14は印字動作制御手段で、印字動作の前後及
び印字動作中において印字ヘツド11の位置がモ
ニタされない特殊印字動作モードであることを検
出した場合は、印字動作の開始前又は終了後の少
なくとも一方において印字ヘツド11の位置を印
字ヘツドセンサ13からの印字ヘツド検出信号に
基づいてモニタする。
Reference numeral 14 denotes a printing operation control means which, when detecting that the position of the print head 11 is in a special printing operation mode in which the position of the printing head 11 is not monitored before, during and after the printing operation, controls the printing operation at least either before the start of the printing operation or after the end of the printing operation. The position of print head 11 is monitored based on a print head detection signal from print head sensor 13.

なお、特殊印字動作モードに対し、印字動作時
に印字ヘツド11の位置がモニタされる印字動作
態様を、以下正常印字動作モードという。
In contrast to the special printing operation mode, a printing operation mode in which the position of the print head 11 is monitored during printing operation will hereinafter be referred to as normal printing operation mode.

なお、第1図には、3個の印字エリアが例示さ
れているが、本発明はこの3個の印字エリアに限
定されるものでなく、2個以上の複数印字エリア
の場合にも適用されるものである。印字ヘツドセ
ンサ11の設置位置は、印字エリアの右端の外、
左端又は隣接する任意の2個の印字エリアの境界
エリア等に設置することが出来る。
Although three printing areas are illustrated in FIG. 1, the present invention is not limited to these three printing areas, but can also be applied to two or more printing areas. It is something that The installation position of the print head sensor 11 is outside the right edge of the print area.
It can be installed at the left end or at the boundary area between any two adjacent printing areas.

〔作用〕[Effect]

第1図の作用を、印字ヘツドセンサ13が図示
の様に右端位置に設けられた場合を例にとり、第
2図を参照して説明する。
The operation of FIG. 1 will be explained with reference to FIG. 2, taking as an example the case where the print head sensor 13 is provided at the right end position as shown.

第2図は本発明の印字ずれ防止動作の説明図
で、〜は、各印字動作状態を示したものであ
る。
FIG. 2 is an explanatory diagram of the printing misregistration prevention operation of the present invention, and .about. indicates each printing operation state.

は印字領域PDrにおえる印字動作であり、
は印字領域PDj及びPDrに渡る印字動作であり、
は印字領域PDs,PDj及びPDrに渡る印字動作
であり、は印字領域PDsにおける印字動作であ
り、は印字領域PDs及びPDjに渡る印字動作で
ある。
is the printing operation in the printing area PDr,
is the printing operation over the printing areas PDj and PDr,
is a printing operation that spans the printing areas PDs, PDj, and PDr, is a printing operation that spans the printing area PDs, and is a printing operation that spans the printing areas PDs and PDj.

この中、〜は、印字動作時に印字ヘツド1
1の位置がモニタされる印字動作モード、即せ正
常上印字動作モードであり、及びは、特殊印
字動作モード、即ち印字動作の前後及び印字動作
中において印字ヘツド11の位置がモニタされな
い印字動作モードである。なお、特殊印字動作は
及び以外の態様のものが存在するが、実際上
殆んどないので省略されている。
Among these, ~ is the print head 1 during printing operation.
A printing operation mode in which the position of the print head 11 is monitored, that is, a normal printing operation mode, and a special printing operation mode, that is, a printing operation mode in which the position of the print head 11 is not monitored before, during, and after the printing operation. It is. It should be noted that although there are other types of special printing operations than the above, they are omitted because they rarely occur in practice.

次に、各動作モードに分けて、その動作を説明
する。
Next, the operation will be explained for each operation mode.

(a) 正常印字動作モード 正常印字動作モードである〜の動作は共
通であるので、これらを区別することなく説明
する。
(a) Normal printing operation mode Since the operations in the normal printing operation mode are common, they will be explained without distinguishing between them.

印字動作が開始されると、印字動作制御手段
14は、開始された印字動作の動作モードを検
出し、正常動作モードである場合は、印字ヘツ
ド11及び印字ヘツド駆動手段12を制御して
正常印字動作モードの印字動作を行わせる。
When the printing operation is started, the printing operation control means 14 detects the operation mode of the started printing operation, and if it is in the normal operation mode, controls the printing head 11 and the printing head driving means 12 to perform normal printing. Perform printing operation in operation mode.

正常動作モードにおいては、印字ヘツド11
は、その印字動作中に印字ヘツドセンサ13及
び印字動作制御手段14によつてモニタされ、
印字ずれが生じた場合には正しい印字位置に修
正される。
In normal operating mode, print head 11
is monitored by the print head sensor 13 and the print operation control means 14 during the printing operation,
If printing misalignment occurs, it is corrected to the correct printing position.

(b) 特殊印字動作モード 特殊印字動作モードである及び等の印字
動作は共通であるので、両者を区別せずに説明
する。
(b) Special printing operation mode Since the printing operations in the special printing operation mode and the like are common, they will be explained without distinguishing between them.

印字動作が開始され、印字動作制御手段14
は、開始された印字動作の動作モードが特殊印
字動作モードであることを検出した場合は、そ
の印字動作の開始前又は終了後の少なくとも一
方において、印字ヘツド11の位置を印字ヘツ
ドセンサ13からの印字ヘツド検出信号に基づ
いてモニタする。
The printing operation is started, and the printing operation control means 14
When detecting that the operation mode of the started printing operation is the special printing operation mode, the position of the print head 11 is adjusted according to the print from the print head sensor 13 at least either before the start of the printing operation or after the end of the printing operation. Monitor based on head detection signal.

印字動作開始前に印字ヘツド11の位置がモ
ニタされると、印字ずれがあつても修正される
ので、印字動作開始後は、印字ずれのない印字
動作を行うことが出来る。
If the position of the print head 11 is monitored before the start of the printing operation, any misalignment in printing can be corrected, so that after the start of the printing operation, the printing operation can be performed without any misalignment.

又、印字動作終了後に印字ヘツド11の位置
がモニタされた場合も、印字ずれが修正される
ので、次の取引時には、印字ずれのない印字動
作を行うことが出来る。
Further, even when the position of the print head 11 is monitored after the printing operation is completed, the printing misalignment is corrected, so that the printing operation can be performed without any printing misalignment at the time of the next transaction.

図示の様に、印字動作の開始前及び終了後の
両者において印字ヘツド11の位置をモニタす
る様にすれば、印字ずれ防止効果を更に高める
ことが出来る。
As shown in the figure, if the position of the print head 11 is monitored both before the start of the print operation and after the end of the print operation, the effect of preventing print misalignment can be further enhanced.

いずれの場合も、印字動作中は印字ヘツド1
1を印字ヘツドセンサ13の設置位置で往復さ
せる動作を行わないので、印字動作を効率良く
行うことが出来る。
In either case, print head 1 is
1 is not moved back and forth at the installation position of the print head sensor 13, the printing operation can be performed efficiently.

なお、印字ヘツドセンサ13の設置位置を右
端以外の他の位置、例えば左端又は隣接する任
意の印字エリアの境界エリアに設定した場合
も、同様にして印字ずれを防止することが出来
る。
Incidentally, even when the print head sensor 13 is installed at a position other than the right end, for example, at the left end or in the boundary area of any adjacent print area, printing misalignment can be prevented in the same way.

又、第2図には印字動作として往復印字動作
を行う場合が例示されているが、本発明は、一
方向印字動作の場合も含むものである。
Further, although FIG. 2 shows a case where a reciprocating printing operation is performed as a printing operation, the present invention also includes a case where a unidirectional printing operation is performed.

以上の様にすることにより、1個の印字ヘツド
センサを用いて正常動作モード時はもちろんのこ
と、特殊動作モード時においても、印字ずれの無
い印字動作が効率良く行うことが出来る。又印字
ヘツドセンサが1個で済むので、コストを低減す
ることが出来る。
By doing as described above, it is possible to efficiently perform a printing operation without print deviation using one printing head sensor not only in the normal operation mode but also in the special operation mode. Furthermore, since only one print head sensor is required, costs can be reduced.

〔実施例〕〔Example〕

本発明の実施例を、第2図、第3図及び第4図
を参照して説明する。
Embodiments of the present invention will be described with reference to FIGS. 2, 3, and 4.

第3図は、本発明の一実施例の構成をブロツク
図で示したものであり、第4図は同実施の動作フ
ローチヤートである。第2図については、既に説
明した通りである。
FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 4 is an operational flowchart of the embodiment. Regarding FIG. 2, it is as already explained.

なお、以下に説明する実施例は、特殊印字動作
モード時に、印字動作の開始前及び終了後の両者
において、印字ヘツド11の位置がモニタされる
場合の実施例である。
The embodiment described below is an embodiment in which the position of the print head 11 is monitored both before the start of the print operation and after the end of the print operation in the special print operation mode.

(A) 実施例の構成 第3図において、印字ヘツド11、印字ヘツ
ド駆動手段12、印字ヘツドセンサ13、印字
動作制御手段14及び印字エリア(PDs,
PDj,PDr)については、第1図で説明した通
りである。
(A) Configuration of Embodiment In FIG. 3, a print head 11, a print head drive means 12, a print head sensor 13, a print operation control means 14, and a print area (PDs,
PDj, PDr) are as explained in FIG.

印字動作制御手段14は、この実施例では、
プリンタの印字動作全般を制御する制御手段と
共用になつている。
In this embodiment, the printing operation control means 14 includes:
It is also used as a control means for controlling the overall printing operation of the printer.

印字動作制御手段14において、141は印
字制御部で、印字ヘツド11における印字動作
を制御する。
In the print operation control means 14, 141 is a print control section that controls the print operation in the print head 11.

142は印字ヘツド制御部で、印字ヘツド駆
動手段12を制御して、印字ヘツド11の桁送
り動作や印字ヘツドセンサ13方向への移動動
作等、各種の印字ヘツド移動動作を制御する。
Reference numeral 142 denotes a print head control unit which controls the print head driving means 12 to control various print head movement operations such as a shift operation of the print head 11 and a movement operation in the direction of the print head sensor 13.

143は印字ヘツド検出部で、印字ヘツドセ
ンサ13からの出力信号により印字ヘツド11
の検出信号を発生する。
Reference numeral 143 denotes a print head detection section, which detects the print head 11 based on the output signal from the print head sensor 13.
generates a detection signal.

144はプラテン制御部で、プラテンのオ
ン、オフを制御する。
144 is a platen control unit that controls turning on and off of the platen.

145は動作モード判定部で、印字動作の印
字動作モードを判定する。
Reference numeral 145 denotes an operation mode determination unit that determines the printing operation mode of the printing operation.

146は共通制御部で、プロセツサ(図示せ
ず)を備え、前記各部の動作を制御する。
A common control unit 146 includes a processor (not shown) and controls the operations of the respective units.

15は入力部で、各種入力キーやスイツチ
(図示せず)を備え、印字動作の選択、印字動
作の開始等、各種の入力を行う。
Reference numeral 15 denotes an input unit, which includes various input keys and switches (not shown), and is used to perform various inputs such as selecting a printing operation and starting a printing operation.

16は印字エリアPDsのプラテンで、プラテ
ン16がオフのとき、プラテン16は開いて印
字用紙のセツト又は切り出しが行われ、オンの
とき閉じて印字用紙のフイード及び印字動作が
行われる。
Reference numeral 16 designates a platen for the printing area PDs. When the platen 16 is off, the platen 16 is opened to set or cut out printing paper, and when it is on, it is closed to feed the printing paper and perform printing operations.

SPは規準位置で、印字ヘツド11は印字ヘ
ツドセンサ13によつてモニタされ、この基準
位置SPにおいて停止及び往復動作時の折り返
しを行う。
SP is a reference position, and the print head 11 is monitored by a print head sensor 13, and stops and turns during reciprocating operation at this reference position SP.

なお、この実施例において、印字エリア
PDs,PDj及びPDrは、それぞれ伝票印字エリ
ア、ジヤーナル印字エリア及びレシート印字エ
リアであるとする(符号は、同じPDs,PDj及
びPDrを用いる)。
In addition, in this example, the printing area
It is assumed that PDs, PDj, and PDr are a slip printing area, a journal printing area, and a receipt printing area, respectively (the same codes are used as PDs, PDj, and PDr).

又、これらの印字エリアは、第3図に示す様
に、左から伝票印字エリアPDs、ジヤーナル印
字エリアPDj、レシート印字エリアPDrの順に
配置され、更に、レシート印字エリアPDrの右
端側に基準位置SP及び印字ヘツドセンサ13
が設けられる。この様に配置することにより、
次の動作説明の項で詳述する様に、1個の印字
ヘツドセンサを用いて印字ずれを防止を効果的
に行うことが出来る。
Furthermore, as shown in Figure 3, these printing areas are arranged in the order of slip printing area PDs, journal printing area PDj, and receipt printing area PDr from the left, and a reference position SP is located at the right end of the receipt printing area PDr. and print head sensor 13
will be provided. By arranging it like this,
As will be explained in detail in the next operation description section, printing misalignment can be effectively prevented using one print head sensor.

(B) 実施例の動作 実施例の動作を、正常印字動作モード及び特
殊印字動作モードに分け、第2及び第4図を参
照して説明する。
(B) Operation of the embodiment The operation of the embodiment will be divided into a normal printing operation mode and a special printing operation mode, and will be explained with reference to FIGS. 2 and 4.

(B‐1) 正常印字動作モード 第2図の〜に示されている正常印字動
作モードによる各印字動作は共通しているの
で、以下これらを区別せず、第4図のステツ
プに従つて説明する。
(B-1) Normal printing operation mode Since each printing operation in the normal printing operation mode shown in ~ in Fig. 2 is common, the following will explain them according to the steps in Fig. 4 without distinguishing between them. do.

ステツプS1 操作者が入力部15より〜の何れか
の印字動作を選択して入力すると、動作モ
ード判定部145は、入力信号より選択さ
れた印字動作の動作モードを判定する。正
常印字動作モードであることが検出された
場合は、共通制御部146に正常印字動作
モードによるその印字動作の開始を指示す
る。
Step S1 When the operator selects and inputs one of the printing operations from the input section 15, the operation mode determining section 145 determines the operation mode of the selected printing operation from the input signal. If the normal printing operation mode is detected, the common control unit 146 is instructed to start the printing operation in the normal printing operation mode.

ステツプS2 共通制御部146は、正常印字動作モー
ドの印字動作の開始指示を受けると、従来
方式と同様にして、〜中の選択された
印字動作を行わせる。
Step S2 When the common control unit 146 receives the instruction to start the printing operation in the normal printing operation mode, it causes the selected printing operation from to to be performed in the same manner as in the conventional method.

即ち、印字ヘツド制御部142及び印字
ヘツド駆動手段12により印字ヘツド11
を順次桁送りしながら、印字制御部141
及び印字ヘツド11により図示しない各印
字用紙に印字動作を行わせる。
That is, the print head 11 is controlled by the print head control section 142 and the print head drive means 12.
While sequentially advancing the digits, the print control unit 141
The printing head 11 then performs a printing operation on each printing paper (not shown).

正常印字動作モードにおいては、印字ヘ
ツド11は印字動作中に印字ヘツドセンサ
13によりその位置が検出される。
In the normal printing operation mode, the position of the print head 11 is detected by the print head sensor 13 during the printing operation.

印字ヘツド検出信号が印字ヘツドセンサ
13及び印字ヘツド検出部143により入
力されると、共通制御部146は、印字ヘ
ツド制御部142に指令して、基準位置
SPにおいて印字ヘツド11を停止させ、
図示の様に返りの印字動作を行わせる。こ
れにより、印字動作中に印字ずれが発生し
ても、印字ヘツド11は常に正しい印字動
作の基準点である基準位置SPで折り返し
て次に行われる返りの印字動作を開始する
ので、その印字ずれは各往復の印字動作毎
に修正され、ずれのない印字動作が行われ
る様になる。
When the print head detection signal is input by the print head sensor 13 and print head detection section 143, the common control section 146 instructs the print head control section 142 to move to the reference position.
Stop the print head 11 at SP,
A return printing operation is performed as shown in the figure. As a result, even if a print misalignment occurs during a printing operation, the print head 11 always turns around at the reference position SP, which is the reference point for correct printing, and starts the next return printing operation. is corrected for each reciprocating printing operation, so that a printing operation without deviation can be performed.

実際のプリンタにおいては、レシート印
字エリアPDrの使用頻度が最も高い。従つ
て、第3図に示す様に、基準位置SP及び
印字ヘツドセンサ13のある右端側にレシ
ート印字エリアPDrを設ける様にすると、
最も頻繁に使用されるレシート印字エリア
PDrにおける印字動作及びこのレシート印
字エリアPDrを含む印字動作に印字ずれを
無くすることが出来るので、印字ずれ防止
効果を高めることが出来る。
In an actual printer, the receipt printing area PDr is used most frequently. Therefore, as shown in FIG. 3, if the receipt printing area PDr is provided on the right end side where the reference position SP and the printing head sensor 13 are located,
Most frequently used receipt printing area
Since it is possible to eliminate printing misalignment in the printing operation in the PDr and the printing operation including this receipt printing area PDr, the effect of preventing printing misalignment can be enhanced.

(B‐2) 特殊印字動作モード 第2図の及びに示されている特殊印字
動作モードによる各印字動作は共通している
ので、以下これらを区別せず、第4図のステ
ツプに従つて説明する。
(B-2) Special printing operation mode Since each printing operation in the special printing operation mode shown in and in Fig. 2 is common, the following will explain them according to the steps in Fig. 4 without distinguishing between them. do.

なお、この実施例では、前述の様に特殊印
字動作モード時に、印字動作の開始前及び終
了後の両者において、印字ヘツド11が基準
位置SPまで戻す処理が行われる。
In this embodiment, as described above, in the special print operation mode, the process of returning the print head 11 to the reference position SP is performed both before the start of the print operation and after the end of the print operation.

ステツプS1 操作者が入力部15より、及びの何
れかの印字動作を選択して入力すると、動
作モード判定部145は、入力信号より選
択された印字動作の動作モードを判定す
る。特殊印字動作モードであることが検出
された場合は、共通制御部に特殊印字動作
モードによるその印字動作の開始を指示す
る。
Step S1 When the operator selects and inputs one of the printing operations from the input section 15, the operation mode determining section 145 determines the operation mode of the selected printing operation from the input signal. If the special printing operation mode is detected, the common control unit is instructed to start the printing operation in the special printing operation mode.

ステツプS3 共通制御部146は、正常印字動作モー
ドの印字動作の開始指示を受けると、プラ
テン制御部144にプラテン16をオンに
させる指令を出し、更に、印字ヘツド制御
部142に印字ヘツド11を基準位置SP
側に移動させる指令を発する。
Step S3 When the common control unit 146 receives the instruction to start the printing operation in the normal printing operation mode, it issues a command to the platen control unit 144 to turn on the platen 16, and further instructs the print head control unit 142 to turn on the print head 11. Reference position SP
Issue a command to move to the side.

プラテン制御部144は、プラテンをオ
ンにする指令を受けると、プラテン16を
閉じて印字動作開始可能状態にする。又、
印字ヘツド制御部142は、印字ヘツド移
動指令を受けると、印字ヘツド駆動手段1
2を制御して印字ヘツド11を基準位置
SP側に移動させる。
When receiving a command to turn on the platen, the platen control unit 144 closes the platen 16 and makes it possible to start printing. or,
Upon receiving the print head movement command, the print head control section 142 controls the print head drive means 1.
2 to move the print head 11 to the reference position.
Move it to the SP side.

ステツプS4 印字ヘツドセンサ13は、印字ヘツド1
1を検出すると、印字ヘツド検出部143
を通して印字ヘツド検出信号を共通制御部
146に送る。
Step S 4 print head sensor 13
1 is detected, the print head detection section 143
The printhead detection signal is sent to the common control unit 146 through the print head detection signal.

共通制御部146は、前述の正常印字動
作モードのの場合を同様に、印字ヘツド
制御部142に指示して基準位置SPに印
字ヘツド11をセツトさせる。この処理を
行うことにより、共通制御部146は印字
ヘツド11の位置を確認する。
Similarly to the normal printing operation mode described above, the common control section 146 instructs the print head control section 142 to set the print head 11 at the reference position SP. By performing this process, the common control unit 146 confirms the position of the print head 11.

これにより、印字ヘツド11の最初の位
置に印字ずれがあつても、印字動作はこの
基準位置SPを基準にして開始されるので、
印字ずれのない印字動作を行うことが出来
る。
As a result, even if there is a printing misalignment at the initial position of the print head 11, the printing operation will be started based on this reference position SP.
It is possible to perform a printing operation without printing misalignment.

ステツプS5 印字ヘツド11を基準位置SPにセツト
する処理が終ると、共通制御部146は、
印字ヘツド制御部142及び印字制御部1
41に指令して、選択された印字動作を実
行させる。
Step S5 When the process of setting the print head 11 to the reference position SP is completed, the common control unit 146
Print head control section 142 and print control section 1
41 to execute the selected printing operation.

特定印字動作モードにおいては、第2図
の及びに示す様に、印字動作の途中で
は印字ヘツドセンサ13によつて検出され
ず、従つてその位置はモニタされない。
In the specific print operation mode, as shown at and in FIG. 2, the print head is not detected by the print head sensor 13 during the print operation, and therefore its position is not monitored.

ステツプS6 印字動作が終了すると、共通制御部14
6は、プラテン16をオフにする指令をプ
ラテン制御部144に発すると共に、更
に、印字ヘツド11を基準位置SPまで移
動させる指令を印字ヘツド制御部142に
発する。
Step S 6 When the printing operation is completed, the common control unit 14
6 issues a command to the platen control section 144 to turn off the platen 16, and also issues a command to the print head control section 142 to move the print head 11 to the reference position SP.

これらの指令をそれぞれ受けると、プラ
テン制御部144はプラテン16をオフ、
即ち開状態にし、印字ヘツド制御部142
は、印字ヘツド駆動手段12を制御して印
字ヘツド11を基準位置SP側に移動させ
る。
Upon receiving each of these commands, the platen control unit 144 turns off the platen 16,
That is, the print head controller 142 is opened.
controls the print head driving means 12 to move the print head 11 toward the reference position SP.

ステツプS7 印字ヘツドセンサ13は、印字ヘツド1
1を検出すると、印字ヘツド検出部143
を通して印字ヘツド検出信号を共通制御部
146に送る 共通制御部146はこの印字ヘツド検出
信号を受けると、前述のと同様に、印字
ヘツド制御部142に指令して、印字ヘツ
ドを基準位置SPにセツトする制御を行わ
せる。この処理を行うことにより、共通制
御部146は印字ヘツド11の位置を確認
する。
Step S 7 The print head sensor 13 is connected to the print head 1.
1 is detected, the print head detection section 143
When the common control section 146 receives this print head detection signal, it instructs the print head control section 142 to set the print head at the standard position SP in the same way as described above. control. By performing this process, the common control unit 146 confirms the position of the print head 11.

ステツプS8 共通制御部146は、更にプラテン制御
部144がプラテン16をオフにしたこと
の確認を行う。
Step S8 The common control section 146 further confirms that the platen control section 144 has turned off the platen 16.

プラテン16がオフになつたことが確認
されると印字動作を終了する。
When it is confirmed that the platen 16 is turned off, the printing operation ends.

この様に、印字動作終了後に印字ヘツド
11を基準位置SPに戻して置くことによ
り、次の取引時に、印字ずれのない正しい
印字位置から印字動作を開始させることが
出来る。又、印字動作の開始前及び終了後
においてのみ印字ヘツドセンサ11を基準
位置SPに戻すだけであるので、印字動作
を効率良く行うことが出来る。
In this way, by returning the print head 11 to the standard position SP after the printing operation is completed, the printing operation can be started from the correct printing position without any printing deviation at the time of the next transaction. Furthermore, since the printing head sensor 11 is only returned to the reference position SP before and after the printing operation is started, the printing operation can be performed efficiently.

以上本発明の一実施例について説明したが、本
発明の各構成は、この実施例の各構成のものに限
定されるものではない。
Although one embodiment of the present invention has been described above, each structure of the present invention is not limited to each structure of this embodiment.

即ち、既に述べた様に特殊印字動作モード時
に、印字動作の開始前又は終了後の何れか一方に
おいて印字ヘツド11を基準位置SPにセツトす
る場合も含むものである。又、印字エリアは、3
個に限定されるものでなく2個以上の複数の場合
も含むものである。
That is, as mentioned above, this also includes the case where the print head 11 is set at the reference position SP either before the start of the print operation or after the end of the print operation in the special print operation mode. Also, the printing area is 3
It is not limited to one number, but also includes a plurality of two or more.

更に、印字ヘツドセンサ13は、印字エリアの
最端位置に限定されるものでなく最左端位置又は
隣接する任意の印字エリアの境界エリアに設定し
てもよい。
Further, the print head sensor 13 is not limited to the extreme position of the print area, but may be set at the leftmost position or the boundary area of any adjacent print area.

例えば、第2図及び第3図において、印字ヘツ
ドセンサ13をジヤーナル印字エリアとレシート
印字エリアの境界エリアのSP′の位置に設ける様
にすると、第2図の〜の他、更にの印字動
作も、その印字ヘツドの位置を印字動作中にモニ
タすることが可能となるので、印字ずれ防止をよ
り効果的に行うことが出来る。
For example, in FIGS. 2 and 3, if the print head sensor 13 is provided at the position SP' in the boundary area between the journal print area and the receipt print area, further printing operations in addition to ~ in FIG. 2 can be performed. Since the position of the printing head can be monitored during the printing operation, it is possible to more effectively prevent printing misalignment.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば次の諸効果
が得られる。
As explained above, according to the present invention, the following effects can be obtained.

(イ) 1個の印字ヘツドセンサを用いて、正常動作
モードのみならず特殊印字動作モードにおいて
も印字ずれのない印字動作を行うことが出来
る。
(a) By using one print head sensor, it is possible to perform a printing operation without print deviation not only in the normal operation mode but also in the special printing operation mode.

(ロ) 印字ヘツドセンサが1個で済むので、プリン
タのコストを低減することが出来る。
(b) Since only one print head sensor is required, the cost of the printer can be reduced.

(ハ) 特殊印字動作モードにおいては、印字動作の
開始前及び終了後の一方又は両方においてのみ
印字ヘツドを基準位置に戻すだけであるので、
その印字動作を効率良く行うことが出来る。
(c) In the special print operation mode, the print head is only returned to the reference position before the start of the print operation and/or after the end of the print operation.
The printing operation can be performed efficiently.

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

第1図……本発明の基本構成の説明図、第2図
……本発明の印字ずれ防止動作説明図、第3図…
…本発明の一実施例の構成の説明図、第4図……
同実施例の動作フローチヤート、第5図……従来
の印字ずれ防止方式の原理説明図。 第1図及び第3図において、11……印字ヘツ
ド、12……印字ヘツド駆動手段、13……印字
ヘツドセンサ、14……印字動作制御手段、15
……入力部、16……プラテン、PDs,PDj,
PDr……印字エリア、SP……基準位置。
Fig. 1: An explanatory diagram of the basic configuration of the present invention; Fig. 2: an explanatory diagram of the printing misalignment prevention operation of the present invention; Fig. 3: an explanatory diagram of the basic configuration of the present invention;
...Explanatory diagram of the configuration of one embodiment of the present invention, FIG. 4...
Operation flowchart of the same embodiment, FIG. 5 is a diagram explaining the principle of the conventional printing misalignment prevention method. 1 and 3, 11...Print head, 12...Print head drive means, 13...Print head sensor, 14...Print operation control means, 15
...Input section, 16...Platen, PDs, PDj,
PDr...Print area, SP...Reference position.

Claims (1)

【特許請求の範囲】 1 複数の印字エリアに対して1個の印字ヘツド
11を備えたプリンタの印字ずれを防止するプリ
ンタの印字ずれ防止装置において、 (a) 印字ヘツド11の移動範囲内の1点に設けら
れ、印字ヘツド11の位置を検出する印字ヘツ
ドセンサ13と、 (b) 印字動作時に、印字ヘツド11が印字ヘツド
センサ13を通過する正常印字動作モードと、
印字ヘツド11が印字ヘツドセンサ13を通過
しない特殊印字動作モードが存在し、特殊印字
動作モードの際には、当該モードの印字動作の
開始前又は終了後の少なくとも一方において、
印字ヘツド11をヘツドセンサ13上を通過又
は停止させて印字ヘツド位置を検出し、印字ず
れを修正して印字動作を制御する印字動作制御
手段14と、 を備えたことを特徴とするプリンタの印字ずれ防
止装置。 2 印字動作制御手段14が、特殊印字動作モー
ドの印字動作の場合は、その印字動作の開始前及
び終了後の両者において印字ヘツド11を印字ヘ
ツドセンサ13上を通過又は停止させて印字ヘツ
ド位置を検出するようにしたことを特徴とする特
許請求の範囲第1項記載のプリンタの印字ずれ防
止装置。
[Scope of Claims] 1. In a printing misalignment prevention device for a printer that prevents printing misalignment in a printer having one print head 11 for a plurality of printing areas, (a) one print head within the movement range of the print head 11; (b) a normal printing operation mode in which the printing head 11 passes through the printing head sensor 13 during printing;
There is a special print operation mode in which the print head 11 does not pass the print head sensor 13, and in the special print operation mode, at least one of before the start or after the end of the print operation in the mode,
Printing operation control means 14 for detecting the position of the printing head by causing the printing head 11 to pass or stop above the head sensor 13, and controlling the printing operation by correcting the printing deviation. Prevention device. 2. In the case of a printing operation in the special printing operation mode, the printing operation control means 14 detects the printing head position by causing the printing head 11 to pass over or stopping the printing head sensor 13 both before and after the printing operation starts and after the printing operation ends. A print misalignment prevention device for a printer according to claim 1, characterized in that the device is configured to:
JP12923986A 1986-06-05 1986-06-05 Printing shift preventing system of printer Granted JPS62286777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12923986A JPS62286777A (en) 1986-06-05 1986-06-05 Printing shift preventing system of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12923986A JPS62286777A (en) 1986-06-05 1986-06-05 Printing shift preventing system of printer

Publications (2)

Publication Number Publication Date
JPS62286777A JPS62286777A (en) 1987-12-12
JPH0560427B2 true JPH0560427B2 (en) 1993-09-02

Family

ID=15004627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12923986A Granted JPS62286777A (en) 1986-06-05 1986-06-05 Printing shift preventing system of printer

Country Status (1)

Country Link
JP (1) JPS62286777A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02287245A (en) * 1989-04-28 1990-11-27 Yokogawa Electric Corp Bm meter
US5258773A (en) * 1990-02-02 1993-11-02 Canon Kabushiki Kaisha Serial recording apparatus for bidirectional recording

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57207080A (en) * 1981-06-17 1982-12-18 Toshiba Corp Carriage error detector

Also Published As

Publication number Publication date
JPS62286777A (en) 1987-12-12

Similar Documents

Publication Publication Date Title
US20100074635A1 (en) Printer
US6592198B2 (en) Recording apparatus with control of a recording medium conveying mechanism
JPH0560427B2 (en)
EP0651317B1 (en) Output method and apparatus for estimating image quality prior to output
JPH02137955A (en) Printer control method
JPH07395B2 (en) Printer
JPH0156675B2 (en)
JP3828756B2 (en) Printer and image data processing method
JPS6213374A (en) Printer-controlling system
JPH0110711Y2 (en)
JPH04310780A (en) printer device
JPH0289120A (en) Centralized supervisory equipment
JPS63122588A (en) printing device
JPS61211051A (en) printer
JPH02143889A (en) color printer
JPH02196323A (en) Bar code reading control system for serial printer
JPH02190366A (en) Moving method for printing head
JPH03231869A (en) thermal printer
JPS63270172A (en) Printer device
JPH06227076A (en) Printhead control device for printer and print control device for document creation device
JPH04334482A (en) Printer device
JPS62278078A (en) recording device
JPS63224977A (en) Printer
JPS62178376A (en) Printer
JPS63216755A (en) Dot serial printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees