JPH07223338A - Printing position adjusting method in printer device - Google Patents

Printing position adjusting method in printer device

Info

Publication number
JPH07223338A
JPH07223338A JP1752594A JP1752594A JPH07223338A JP H07223338 A JPH07223338 A JP H07223338A JP 1752594 A JP1752594 A JP 1752594A JP 1752594 A JP1752594 A JP 1752594A JP H07223338 A JPH07223338 A JP H07223338A
Authority
JP
Japan
Prior art keywords
printing
print
pattern
character
output
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
JP1752594A
Other languages
Japanese (ja)
Inventor
Masashi Itou
雅師 伊藤
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.)
Star Micronics Co Ltd
Original Assignee
Star Micronics 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 Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP1752594A priority Critical patent/JPH07223338A/en
Publication of JPH07223338A publication Critical patent/JPH07223338A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To provide a printing position adjusting method of a printer device capable of shortening a time therefor and reducing an area of paper to be used. CONSTITUTION:As a line registering recognition pattern, a line of NLQ characters is outputted (s4). Paper is fed (s5). A signal from a panel switch is read by a CPU 13 (s6). If a rightward correction switch is operated (s7) and the line is not maximum rightward (s8), a delay timer value is corrected rightward (s9). If a leftward correction switch is operated (s10) and the line is not maximum leftward (s11), a delay timer value is corrected leftward (s12).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリンタ装置の双方向
印字時に発生する行方向印字位置ずれを補正するための
プリンタ装置の印字位置調整方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing position adjusting method for a printer device for correcting a printing misalignment in a line direction which occurs during bidirectional printing of the printer device.

【0002】[0002]

【従来の技術】通常、双方向印字を可能とするプリンタ
装置が、印字ヘッドを行方向に移動しつつ印字を行い印
字用紙を所定量ずつ改行、引続き前行とは逆方向に印字
ヘッドを移動しながら印字出力を行った場合、この前行
と次行とには行方向に関して印字位置ずれが発生するこ
とがある。
2. Description of the Related Art Normally, a printer device capable of bi-directional printing prints while moving the print head in the line direction, feeds the print paper by a predetermined amount, and then moves the print head in the opposite direction to the previous line. However, when printing is performed, a print position shift may occur between the previous line and the next line in the line direction.

【0003】この印字位置ずれを生じさせる1要因とし
て、印字ヘッドを搭載するキャリッジを移送させる駆動
ベルトにおいて、プリンタ装置の使用環境、メカ駆動に
よる経年変化などにより組立て時に設定された一定の張
力にゆるみが生じることがあり、このゆるみがキャリッ
ジを正確に移送させる妨げとなることが挙げられる。
As one of the factors that cause the print position deviation, the drive belt for moving the carriage carrying the print head is loosened to a constant tension set at the time of assembly due to the use environment of the printer device, aging due to mechanical drive, and the like. May occur, and this looseness may prevent the carriage from being accurately transferred.

【0004】このような問題を解決するために、典型的
な従来技術では、プリンタ装置の双方向印字出力時にお
ける行方向に関して、印字位置ずれが発生しているかど
うかの確認と、もし発生していた場合にはどの程度の位
置ずれなのかを使用者に対して認識させながらこの位置
ずれを補正することを可能とする印字位置補正モードを
設け、認識用パターンを出力しながらプリンタ装置が有
する操作パネルのスイッチなどにより双方向印字出力時
の位置ずれ補正値を調整できるようにしている。
In order to solve such a problem, in a typical prior art, it is confirmed whether or not a print position shift occurs in the line direction at the time of bidirectional print output of a printer device, and if so, it occurs. In this case, a printing position correction mode is provided to enable the user to correct the positional deviation while allowing the user to recognize the positional deviation, and the operation of the printer device while outputting the recognition pattern. It is possible to adjust the misregistration correction value for bidirectional printing output using a switch on the panel.

【0005】前記認識用出力パターンとして、図18に
示すような罫線出力パターンがあり、1行中において所
定の間隔をあけて印字される罫線を縦方向に3パス出力
し構成される。図18(a)は往路印字に対して復路印
字が右方向にずれている出力例、図18(b)は印字位
置ずれが無い場合、図18(c)は往路印字に対して復
路印字が左方向にずれている出力例を示す。このような
各パターンの印字方向について図19を参照して説明す
ると、1パス目の罫線は左から右へ印字されていき、1
行改行されて引続き2パス目の罫線が逆方向の右から左
へ印字されていき、1行改行され、さらに引続き3パス
目の罫線が前行とは逆方向の左から右へ印字されてい
く。
As the recognition output pattern, there is a ruled line output pattern as shown in FIG. 18, which is constituted by vertically outputting three lines of ruled lines printed at a predetermined interval in one line. FIG. 18A shows an output example in which the backward pass printing is shifted to the right with respect to the forward pass printing, FIG. 18B shows the case where there is no printing position shift, and FIG. 18C shows the forward pass printing to the forward pass printing. An example of output shifted to the left is shown. The printing direction of each pattern will be described with reference to FIG. 19. The ruled lines of the first pass are printed from left to right.
The line is broken and the ruled line for the second pass is printed in the reverse direction from right to left. The line is broken for one line, and the ruled line for the third pass is printed in the opposite direction from left to right. Go.

【0006】さらに図20を参照して、1つの罫線は縦
に9個並ぶドットd1〜d9から形成されており、これ
らのドットd1〜d9は、図21に示すように印字ヘッ
ド4に縦に並んで設けられる印字ワイヤw1〜w9に対
応しており、この印字ワイヤw1〜w9でインクリボン
5のインクを叩き、用紙2にインクを付けてドットd1
〜9の印字が行われる。
Further, referring to FIG. 20, one ruled line is formed by nine dots d1 to d9 arranged vertically, and these dots d1 to d9 are vertically arranged on the print head 4 as shown in FIG. It corresponds to the print wires w1 to w9 provided side by side, and the ink of the ink ribbon 5 is struck by the print wires w1 to w9 to attach the ink to the paper 2 to form dots d1.
Printing of 9 is performed.

【0007】[0007]

【発明が解決しようとする課題】上述のような出力パタ
ーンにおいては、縦方向に関して用紙送りを含めながら
3行分もの印字出力が必要であり、認識用パターンを構
成するのに時間と用紙上における出力面積がかかりすぎ
るという問題がある。
In the output pattern as described above, it is necessary to print out as many as three lines including the paper feed in the vertical direction, and it takes time and output on the paper to form the recognition pattern. There is a problem that it takes too much area.

【0008】したがって本発明の目的は、時間の短縮化
を図ることができ、使用される用紙面積を縮小可能とす
るプリンタ装置の印字位置調整方法を提供する。
Therefore, an object of the present invention is to provide a printing position adjusting method for a printer device which can reduce the time and can reduce the area of paper used.

【0009】[0009]

【課題を解決するための手段】本発明は、1列に並ぶ複
数のドットを形成する印字ヘッドを、用紙幅方向に沿っ
て往路の印字を所定の印字タイミングに基づいて行った
後、ドットピッチの半分の紙送りをして復路の印字を所
定の印字タイミングに基づいて行い1文字分の印字を行
う印字モードを備えるプリンタ装置の印字位置調整方法
において、前記印字モードを設定する第1工程と、所定
のドットパターンで印字する第2工程と、前記印字され
た文字から往路印字と復路印字との相互の行方向の位置
ずれを検出して、前記印字タイミングを変化させる第3
工程とを有し、上記第2および第3工程を繰返して印字
位置ずれを調整することを特徴とするプリンタ装置の印
字位置調整方法である。
SUMMARY OF THE INVENTION According to the present invention, a print head for forming a plurality of dots arranged in a row is used to perform forward printing along a paper width direction at a predetermined printing timing, and then a dot pitch. In the printing position adjusting method of the printer apparatus having a printing mode in which the paper is fed by half the number of times and printing is performed on the backward path based on a predetermined printing timing, and printing for one character is performed. A second step of printing with a predetermined dot pattern, and a third step of changing the printing timing by detecting a mutual positional deviation between forward printing and backward printing from the printed characters
A printing position adjusting method for a printer device, comprising the steps of: adjusting the printing position deviation by repeating the second and third steps.

【0010】また本発明は、前記所定のドットパターン
は、文字の全高に及ぶ縦ドット列を有することを特徴と
する。
Further, the present invention is characterized in that the predetermined dot pattern has a vertical dot row extending over the entire height of the character.

【0011】[0011]

【作用】本発明に従えば、たとえばNLQ(ニアーレタ
ークォリティ)モードなどの印字モードを設定し、所定
のドットパターンで印字を行い、この印字された文字か
ら往路印字と復路印字との相互の行方向の位置ずれを検
出して、この位置ずれを補正するように印字タイミング
を変化させ、さらに同様に前記印字を行い、まだ補正が
完了していないなら、また印字タイミングを変化させる
というように、この操作を繰返し行い印字位置ずれを調
整する。
According to the present invention, a printing mode such as an NLQ (near letter quality) mode is set, printing is performed with a predetermined dot pattern, and the forward printing and the backward printing are performed from the printed characters. Detecting the positional deviation in the direction, changing the printing timing so as to correct this positional deviation, further performing the same printing, and if the correction is not completed yet, change the printing timing again. This operation is repeated to adjust the print position deviation.

【0012】前記印字モードは、往路印字をした後、ド
ットピッチの半分の紙送りをして復路印字を行い1文字
分の印字を行うので、この1文字分で往路印字と復路印
字との相互の行方向の位置ずれを検出することができ、
したがって時間の短縮化、使用される用紙面積の縮小化
を図ることができる。
In the print mode, after the forward pass printing, the paper feed of half the dot pitch is performed to perform the backward pass printing and the printing for one character is performed. Therefore, the forward pass printing and the return pass printing are performed by this one character. It is possible to detect misalignment in the row direction of
Therefore, it is possible to reduce the time and the area of the used paper.

【0013】また本発明に従えば、前記所定のドットパ
ターンは、文字の全高に及ぶ縦ドット列を有するので、
調整が容易になる。
Further, according to the invention, since the predetermined dot pattern has a vertical dot row extending over the entire height of the character,
Adjustment becomes easy.

【0014】[0014]

【実施例】図1は、本発明に係る位置調整方法が適用可
能なプリンタ装置の印字機構の一例を示す斜視図であ
る。
1 is a perspective view showing an example of a printing mechanism of a printer device to which a position adjusting method according to the present invention can be applied.

【0015】たとえばシリアルプリンタなどのプリンタ
装置1は、用紙2の幅方向に沿って往復運動を行うキャ
リッジ3と、このキャリッジ3に搭載され、複数の印字
ワイヤを有する印字ヘッド4と、印字ワイヤの衝撃によ
って用紙2にインクを転写するインクリボン5と、用紙
2を所定量ずつ搬送するプラテン6と、キャリッジ3の
往復運動を案内するガイドステー7,8と、キャリッジ
3と連結した駆動ベルト9とを有する。
In a printer device 1 such as a serial printer, a carriage 3 that reciprocates along the width direction of a sheet 2, a print head 4 mounted on the carriage 3 and having a plurality of print wires, and a print wire. An ink ribbon 5 that transfers ink to the paper 2 by impact, a platen 6 that conveys the paper 2 by a predetermined amount, guide stays 7 and 8 that guide the reciprocating movement of the carriage 3, and a drive belt 9 that is connected to the carriage 3. Have.

【0016】駆動ベルト9はプーリ10とキャリッジモ
ータ11とに、一定の張力に保持された状態でかけられ
ており、キャリッジモータ11の回転駆動によりキャリ
ッジ3を移送させる役割をしている。
The drive belt 9 is wound around a pulley 10 and a carriage motor 11 while being kept at a constant tension, and plays a role of transporting the carriage 3 by rotationally driving the carriage motor 11.

【0017】図2は本発明に係る印字位置調整方法が適
用可能なプリンタ装置の電気的構成の一例を示すブロッ
ク図である。このプリンタ装置1は、所定のプログラム
にしたがってデータ転送やデータ演算などのデータ処理
を行うCPU(中央処理装置)13と、CPU13の制
御プログラムや各種文字のビットマップ化された文字パ
ターンなどのデータが格納されたROM(Read Only Me
mory)14と、CPU13のプログラム動作にしたがっ
て発生するデータを記憶するためのRAM(Random Acc
ess Memory)15と、主電源のオフ時にも保存しておく
べきデータを格納可能とする不揮発性メモリ16と、コ
ンピュータなどの外部のホスト装置17から印字コマン
ドや印字データを受取ったり、プリンタ装置1の状態デ
ータをホスト装置17へ送出するためのインタフェイス
18と、使用者が操作するスイッチ類からデータを取込
むための操作パネル19と、CPU13の指示によりプ
リンタ装置出力部である印字ヘッド4、ラインフィード
モータ20およびキャリッジモータ11を駆動させる制
御回路22とを有する。
FIG. 2 is a block diagram showing an example of the electrical construction of a printer device to which the printing position adjusting method according to the present invention can be applied. The printer device 1 includes a CPU (central processing unit) 13 that performs data processing such as data transfer and data calculation according to a predetermined program, and a control program of the CPU 13 and data such as a bit-mapped character pattern of various characters. Stored ROM (Read Only Me
mory) 14 and a RAM (Random Acc) for storing data generated according to the program operation of the CPU 13.
ess Memory) 15, a non-volatile memory 16 capable of storing data to be stored even when the main power is turned off, a print command and print data from an external host device 17 such as a computer, and the printer device 1 Interface 18 for sending the status data of the printer to the host device 17, an operation panel 19 for taking in the data from the switches operated by the user, the print head 4 which is the printer device output section according to the instruction of the CPU 13, It has a line feed motor 20 and a control circuit 22 for driving the carriage motor 11.

【0018】図3はRAM15の構成図である。RAM
15に、プリンタ装置1が文字パターンを用紙上に出力
する際、そのドットイメージを展開させるためのヘッド
出力用印字バッファ24と、CPU13が処理するデー
タを一時的に格納するプログラム処理用ワークレジスタ
エリア25と、不揮発性メモリ16に記憶されている内
容をそのままコピーしてCPU13の処理に使用する不
揮発性メモリコピー用領域26と、インタフェイス18
を介してホスト装置17から送られる印字データを一時
格納する入力データバッファ27と、CPU13が処理
するデータを一時的に格納するCPU13スタック領域
28などが設けられる。
FIG. 3 is a block diagram of the RAM 15. RAM
A print buffer 24 for head output for developing a dot image when the printer device 1 outputs a character pattern on paper, and a work processing register area for temporarily storing data processed by the CPU 13. 25, a non-volatile memory copy area 26 for copying the contents stored in the non-volatile memory 16 as they are for use in the processing of the CPU 13, and an interface 18.
An input data buffer 27 for temporarily storing print data sent from the host device 17 via the CPU 13, a CPU 13 stack area 28 for temporarily storing data processed by the CPU 13, and the like are provided.

【0019】プリンタ装置1の印字動作について簡単に
説明すると、ホスト装置17から印字コマンドおよび印
字データがインタフェイス18を介して、CPU13に
取込まれ、RAM15の入力データバッファ27に一旦
格納される。次にCPU13は入力データバッファ27
に格納された印字データをたとえば1行分毎に解析し
て、ROM14に記憶された文字ドットパターンから対
応するフォントを取出して再びRAM15の印字バッフ
ァ24にドットイメージを展開する。こうして展開され
た1行分のドットパターンは制御回路22を介して印字
ヘッド4へ転送されて、印字ワイヤがドットの有無に応
じて駆動され、キャリッジモータ11の駆動によって印
字ヘッド4がプラテン6の長手方向に沿って移動しなが
らインクリボン5を打点し、1行分の印字が終わるとラ
インフィードモータ20の駆動によって、用紙2を所定
量改行し、引続き前行とは逆方向に同様の方法で印字ヘ
ッド4を移動しながら次行の印字を行う。このような印
字動作を繰返すことによって一連の印字データが用紙2
上に記録される。
The printing operation of the printer device 1 will be briefly described. A print command and print data from the host device 17 are taken into the CPU 13 via the interface 18 and temporarily stored in the input data buffer 27 of the RAM 15. Next, the CPU 13 uses the input data buffer 27
The print data stored in (1) is analyzed line by line, for example, the corresponding font is extracted from the character dot pattern stored in the ROM 14, and the dot image is developed again in the print buffer 24 of the RAM 15. The dot pattern for one row thus developed is transferred to the print head 4 via the control circuit 22, the print wire is driven according to the presence / absence of dots, and the print head 4 is driven by the platen 6 by the drive of the carriage motor 11. The ink ribbon 5 is struck while moving along the longitudinal direction, and when the printing of one line is completed, the line feed motor 20 is driven to feed the paper 2 by a predetermined amount, and subsequently the same method is performed in the opposite direction to the preceding line. The next line is printed while moving the print head 4. By repeating such a printing operation, a series of print data is printed on the paper 2.
Recorded above.

【0020】図4は、操作パネル19を示す正面図であ
る。この操作パネル19は文字の書体を切換えるための
フォント(FONT)スイッチ30と、改行のためのピ
ッチ(PITCH)スイッチ31と、改頁のためのペー
パ(PAPER)スイッチ32と、ホストコンピュータ
の接続を有効/無効に切換えるオンライン(ON−LI
NE)スイッチ33とを備えている。フォントスイッチ
30を操作することによって、文字の書体を示すランプ
34a,34b、34c、34dが点灯し、どの設定モ
ードが選択されたかが表示され、ピッチスイッチ31を
操作することによって改行量を示すランプ35a,35
b、35c、35dが点灯し、どの設定モードが選択さ
れたかが表示される。また、プリンタ装置1が作動中で
あることをパワー(POWER)ランプ36が点灯して
表示し、オンライン出力されていることをランプ37が
表示している。
FIG. 4 is a front view showing the operation panel 19. The operation panel 19 has a font (FONT) switch 30 for switching the typeface of characters, a pitch (PITCH) switch 31 for line feed, a paper (PAPER) switch 32 for page break, and a host computer connection. Online (ON-LI) to enable / disable
NE) switch 33. By operating the font switch 30, the lamps 34a, 34b, 34c, 34d indicating the font of the characters are turned on, which setting mode is selected is displayed, and by operating the pitch switch 31, a lamp 35a indicating the line feed amount is displayed. , 35
b, 35c, and 35d are turned on, and which setting mode has been selected is displayed. Further, the power (POWER) lamp 36 lights up to indicate that the printer device 1 is operating, and the lamp 37 indicates to output online.

【0021】前記フォントスイッチ30、ピッチスイッ
チ31、ペーパスイッチ32(以下スイッチと呼ぶ)
は、図5に示すように双方向の印字動作を行うにあたっ
て発生する前行と次行との印字位置ずれを補正する場合
のスイッチを兼用している。スイッチ31は往路印字に
対して復路印字が右側にずれているとき、左方向に復路
印字を補正するように指示し、スイッチ32は往路印字
に対して復路印字が左側にずれているとき、右方向に復
路印字を補正するように指示する。またスイッチ30
は、これらの指示を終了する場合に操作される。
The font switch 30, the pitch switch 31, and the paper switch 32 (hereinafter referred to as switches)
5 also serves as a switch for correcting the print position deviation between the previous line and the next line, which occurs when a bidirectional printing operation is performed as shown in FIG. The switch 31 instructs to correct the backward printing to the left when the backward printing is shifted to the right side with respect to the forward printing, and the switch 32 to the right side when the backward printing is shifted to the left side with respect to the forward printing. Instruct to correct the backward print in the direction. Also switch 30
Is operated when ending these instructions.

【0022】前述したようにプリンタ装置1には、縦方
向および行方向に複数のドットをマトリクス状に配列し
たビットマップ上に形成された印字出力ドットと、非出
力ドットの組合わせとから成る文字パターンデータをR
OM14内に格納しているけれども、その文字種の中に
NLQ(ニアーレタークォリティ)文字(以下NLQと
略す)というパターンが搭載されている。本実施例に係
る9ドットマトリクスプリンタは、標準機能として図6
に示す構成文字を出力可能としており、印字ヘッド4の
先端に構成されている複数のワイヤw1,w2,〜w9
を有する印字ヘッド4を一定の移動スピードで行方向に
送りながら各出力タイミングにおけるF1,F2,F3
…で出力ドットに対応したワイヤを駆動させることによ
りたとえば「A」文字パターンのように文字を構成する
ものであるが、プリンタ装置1が有する機能として、こ
の文字パターンよりもさらに高品質な文字出力を可能と
するのがNLQ文字パターンである。
As described above, the printer device 1 includes a character consisting of a combination of print output dots and non-output dots formed on a bitmap in which a plurality of dots are arranged in a matrix in the vertical direction and the row direction. R for pattern data
Although stored in the OM 14, a pattern of NLQ (Near Letter Quality) characters (hereinafter abbreviated as NLQ) is mounted in the character type. The 9-dot matrix printer according to this embodiment has a standard function shown in FIG.
It is possible to output the constituent characters shown in FIG. 2 and a plurality of wires w1, w2, ...
F1, F2, F3 at each output timing while feeding the print head 4 having
A character corresponding to, for example, an "A" character pattern is formed by driving a wire corresponding to the output dot with ..., but the function of the printer device 1 is to output a character of higher quality than this character pattern. It is the NLQ character pattern that makes possible.

【0023】NLQによる文字パターン例を図7に示
す。縦方向の位置がH1にある印字ヘッド4に構成され
ているワイヤw1−1,w1−2,〜w1−9に対応し
て出力されるドットが同図中「A」の文字を構成するう
ちの「●」部分であり、加えてH1位置の印字ヘッド4
の縦方向各ワイヤ間W2−1,w2−2〜w2−9にさ
らに文字構成出力ドット「○」を設定することで図6の
出力例よりも高品質の文字パターンを構成している。ま
た「○」ドットの出力はH1位置の印字ヘッド4そのも
のを縦方向に各ワイヤ間の半分の距離だけ移動させ、H
2位置として出力することを意味しており、このことは
出力用印字用紙を縦方向に送ることで実行している。す
なわち、図8(1)の文字を得るために、1パス目とし
て図8(2)に示すパターンを同図A1よりA19方向
にキャリッジ3を移動させながら用紙上に出力、さらに
印字ヘッド4を縦方向にドットピッチの半分移動させた
後、2パス目のデータを1パス目とは行に関して逆方向
にキャリッジ3を移動させながらa19〜a1へと出力
する。
FIG. 7 shows an example of character patterns by NLQ. Of the dots output corresponding to the wires w1-1, w1-2, to w1-9 formed in the print head 4 whose vertical position is H1 form the character "A" in the figure. "●" part of the print head, and in addition, the print head 4 at the H1 position
A character pattern having a higher quality than that of the output example of FIG. 6 is configured by further setting the character configuration output dot “◯” in each of the wires W2-1, w2-2 to w2-9 in the vertical direction. The output of the "○" dot is obtained by moving the print head 4 itself at the H1 position in the vertical direction by half the distance between the wires,
It means outputting as two positions, and this is executed by feeding the output print paper in the vertical direction. That is, in order to obtain the characters of FIG. 8 (1), the pattern shown in FIG. 8 (2) as the first pass is output onto the paper while moving the carriage 3 in the direction A19 from FIG. After the dot pitch is moved by half in the vertical direction, the data of the second pass is output to a19 to a1 while moving the carriage 3 in the direction opposite to the line of the first pass.

【0024】このようなNLQ文字パターンは、図9の
EP−ROM構成図に示すとおり、1パス目と2パス目
とに分けて搭載されている。また図10に示すように、
前述した図7中「○」出力ヘッドのワイヤw2−1は、
ワイヤw1−1より縦方向にたとえば1/144inc
h距離位置にあり、その他のワイヤも同じ関係である。
Such an NLQ character pattern is mounted separately in the first pass and the second pass as shown in the EP-ROM block diagram of FIG. Also, as shown in FIG.
The wire w2-1 of the “◯” output head in FIG.
In the vertical direction from the wire w1-1, for example, 1/144 inc
It is located at the h distance position, and the other wires have the same relationship.

【0025】再び図8を参照して、たとえば図8(1)
における文字構成パターン中N15縦列を得るには、1
パス目A15と2パス目a15を双方向印字において行
方向にずれを生じさせることなく出力する必要があるわ
けであり、双方向印字出力において行方向にずれが生じ
ている場合は、高品質なNLQ文字パターンを鮮明に出
力できない結果となる。したがって、この1パス目と2
パス目を双方向印字により構成するNLQ文字出力にお
いて、その出力文字が鮮明に出力されたか否かという作
用を利用することで印字位置補正モード時のずれ補正認
識用出力パターンとしての利用が可能になる。
Referring again to FIG. 8, for example, FIG. 8 (1)
To get N15 columns in the character composition pattern in
It is necessary to output the pass A15 and the second pass a15 in the bidirectional printing without causing the misalignment in the line direction, and if the bidirectional printing is misaligned in the line direction, high quality is obtained. As a result, the NLQ character pattern cannot be output clearly. Therefore, this 1st pass and 2
In the NLQ character output in which the pass is configured by bidirectional printing, it can be used as a deviation correction recognition output pattern in the print position correction mode by utilizing the effect of whether or not the output character is clearly output. Become.

【0026】図11は、前記ずれ認識用出力パターンを
示す図である。パターン42がずれ補正が正確でNLQ
文字が鮮明に得られている図であり、パターン41,4
3は印字位置ずれが発生し、NLQ文字が鮮明に得られ
なかった出力例を示している。また、各パターン41,
42,43における1出力文字を抜出し、さらにこの文
字を1パス目「●」2パス目を「○」のドット構成に図
式したものをパターン41のうち1文字を図12に、パ
ターン42のうち1文字を図13に、パターン43のう
ち1文字を図14に示し、図12は1パス目のデータ列
に対して右行方向に、図14は1パス目のデータ列に対
して左行方向に2パス目出力がずれている例を示してい
る。
FIG. 11 is a diagram showing the shift recognition output pattern. Accurate correction of pattern 42 deviation and NLQ
It is a figure in which characters are clearly obtained, and patterns 41, 4
Reference numeral 3 shows an output example in which a print position shift occurred and NLQ characters were not clearly obtained. In addition, each pattern 41,
One output character in 42 and 43 is extracted, and further this character is illustrated in a dot configuration of "●" in the first pass and "○" in the second pass. One character in pattern 41 is shown in FIG. One character is shown in FIG. 13, one character of the pattern 43 is shown in FIG. 14, FIG. 12 is in the right row direction with respect to the first pass data string, and FIG. 14 is in the left row with respect to the first pass data string. An example in which the output of the second pass deviates in the direction is shown.

【0027】図15は、ワイヤドット出力のタイミング
チャートである。キャリッジモータ11が駆動され、印
字ヘッド4が左から右方向に移動して波形45に示すよ
うにワイヤドット出力がなされ、往路印字が行われ、ド
ットピッチの半分の紙送りをして、さらにキャリッジモ
ータ11が駆動され、印字ヘッド4が右から左に移動し
てワイヤドット出力がされ、復路印字が行われる。この
とき、波形46の復路印字におけるディレイタイマ値
は、ディレイタイマのスタート時刻T0から時間間隔T
1で、波形45の往路印字のワイヤドット出力タイミン
グと一致しており、パターン42のように印字される。
また波形47の復路印字におけるディレイタイマ値は、
時刻T0から時間間隔T2で、波形46に比べてディレ
イタイマ値が左方向にずれており、このようなときはパ
ターン43のようになる。また波形48の復路印字にお
けるディレイタイマ値は、時刻T0から時間間隔T3
で、波形46に比べてディレイタイマ値が右方向にずれ
ており、このようなときはパターン41のようになる。
したがって、波形47すなわちパターン43の場合は、
ディレイタイマ値を右方向に移動させてT1になるよう
にし、また波形48、すなわちパターン41の場合は、
ディレイタイマ値を左方向に移動させてT1となるよう
にする。
FIG. 15 is a timing chart of wire dot output. The carriage motor 11 is driven, the print head 4 moves from the left to the right, wire dot output is performed as shown by a waveform 45, forward printing is performed, paper feed of half the dot pitch is performed, and the carriage is further moved. The motor 11 is driven, the print head 4 moves from right to left, wire dot output is performed, and reverse pass printing is performed. At this time, the delay timer value in the backward printing of the waveform 46 is the time interval T from the start time T0 of the delay timer.
When the value is 1, it coincides with the wire dot output timing of the forward pass printing of the waveform 45, and the pattern 42 is printed.
Also, the delay timer value in the backward printing of the waveform 47 is
At time interval T2 from time T0, the delay timer value is shifted to the left as compared with waveform 46, and in such a case, pattern 43 is obtained. The delay timer value in the backward printing of the waveform 48 is the time interval T3 from the time T0.
Thus, the delay timer value is shifted to the right as compared with the waveform 46, and in such a case, the pattern 41 is obtained.
Therefore, in the case of the waveform 47, that is, the pattern 43,
The delay timer value is moved to the right to reach T1, and in the case of the waveform 48, that is, the pattern 41,
The delay timer value is moved to the left so that it becomes T1.

【0028】このとき、図16に示すようにディレイタ
イマ値による補正には限界があり、右方向最大値と左方
向最大値との間でディレイタイマ値の補正が行われる。
At this time, as shown in FIG. 16, there is a limit to the correction by the delay timer value, and the delay timer value is corrected between the rightward maximum value and the leftward maximum value.

【0029】たとえばスイッチ32を1回押圧すると、
ディレイタイマ値の補正が行われ、距離にして、たとえ
ば中央値0から右方向に+1移動し、8/360inc
hが7/360inchになり、復路印字位置が右側に
ずれる。また、逆にたとえばスイッチ31を1回押圧す
るとディレイタイマ値の補正が行われ、距離にして、た
とえば中央値0から左方向に−1移動し、8/360i
nchが9/360inchになり復路印字位置が左側
にずれる。
For example, if the switch 32 is pressed once,
The delay timer value is corrected, and the distance is changed, for example, the median value 0 is moved to the right by +1 and 8/360 inc
h becomes 7/360 inch, and the backward print position shifts to the right. Conversely, for example, when the switch 31 is pressed once, the delay timer value is corrected, and the distance is shifted, for example, by -1 to the left from the median value 0, 8 / 360i
The nch becomes 9/360 inch and the backward print position shifts to the left.

【0030】図17は、上述のように構成されるプリン
タ装置1において、印字位置ずれを補正するための動作
を説明するためのフローチャートである。まずステップ
s1から行ずれ補正開始ルーチンが開始して、ステップ
s2において、図11に示される開始メッセージ40が
用紙2に印字出力され、ステップs3に移る。ステップ
s3では所定量紙送りがなされ、ステップs4に移り、
行合わせ認識パターンである、たとえば「H」のNLQ
文字が1行印字出力される。ステップs5では再び紙送
りされ、ステップs6に移り、図5に示される操作パネ
ル19上のスイッチ30〜32が操作されることによっ
て、これらスイッチ30〜32からの信号がCPU13
によって読込まれる。ステップs7では右方向に補正す
るためのスイッチ32が押圧されたか否かの判断がなさ
れ、図14のパターン43のように2パス目が1パス目
より左にずれている場合は、使用者がスイッチ32を押
圧し、ステップs8に移る。ステップs8ではディレイ
タイマ値が右方向へ最大か否かが判断され、最大である
ときは、補正不可能となりそのままステップs4に戻
り、最大でないときは、ステップs9に移り、ディレイ
タイマ値は右方向へ補正された後、ステップs4に戻
る。
FIG. 17 is a flow chart for explaining the operation for correcting the print position deviation in the printer device 1 configured as described above. First, the misregistration correction start routine is started from step s1, the start message 40 shown in FIG. 11 is printed out on the paper 2 in step s2, and the process proceeds to step s3. In step s3, a predetermined amount of paper is fed, and then step s4 is executed.
Alignment recognition pattern, for example "H" NLQ
One line of characters is printed out. In step s5, the paper is fed again, and then step s6 is entered. By operating the switches 30 to 32 on the operation panel 19 shown in FIG. 5, signals from these switches 30 to 32 are sent to the CPU 13.
Read by In step s7, it is determined whether or not the switch 32 for correcting in the right direction is pressed, and if the second pass is displaced to the left of the first pass as in the pattern 43 of FIG. 14, the user The switch 32 is pressed, and the process proceeds to step s8. In step s8, it is determined whether or not the delay timer value is maximum in the rightward direction. If it is maximum, correction is impossible and the process directly returns to step s4. If it is not maximum, the process proceeds to step s9, and the delay timer value is set in the rightward direction. After being corrected to, the process returns to step s4.

【0031】ステップs7で右方向へ補正するためのス
イッチ32を押圧しないときは、ステップs10に移
り、左方向に補正するためのスイッチ31が押圧された
か否かの判断がなされ、図12のパターン41のように
2パス目が1パス目より右にずれている場合は使用者が
スイッチ31を押圧し、ステップs11に移る。ステッ
プs11では、ディレイタイマ値が左方向へ最大か否か
が判断され、最大であるときは、補正不可能となりその
ままステップs4に戻り、最大でないときは、ステップ
s12に移り、ディレイタイマ値は左方向へ補正された
後ステップs4に戻る。
If the switch 32 for correcting the rightward direction is not pressed in step s7, the process proceeds to step s10, and it is judged whether or not the switch 31 for correcting the leftward direction is pressed, and the pattern of FIG. When the second pass is shifted to the right from the first pass as in 41, the user presses the switch 31 and the process proceeds to step s11. In step s11, it is determined whether or not the delay timer value is maximum to the left. If it is maximum, correction is impossible and the process directly returns to step s4. If it is not maximum, the process proceeds to step s12 and the delay timer value is left. After the direction is corrected, the process returns to step s4.

【0032】ステップs10で左方向に補正するための
スイッチ31を押圧しないときは、ステップs13に移
り、補正を終了するためのスイッチ30が押圧されたか
否かの判断がなされ、図13のパターン42のように2
パス目と1パス目のずれがない場合は、使用者がスイッ
チ30を押圧し、ステップs14に移り、そのときのデ
ィレイタイマ値が不揮発性メモリ16に登録され、ステ
ップs15に移り補正を終了する。ステップs13で補
正を終了するためのスイッチ30を押圧しないときはス
テップs6に戻る。
If the switch 31 for correcting leftward is not pressed in step s10, the process proceeds to step s13, and it is judged whether or not the switch 30 for ending correction is pressed, and the pattern 42 of FIG. Like 2
If there is no deviation between the first pass and the first pass, the user presses the switch 30 to move to step s14, the delay timer value at that time is registered in the nonvolatile memory 16, and the process moves to step s15 to end the correction. . When the switch 30 for ending the correction is not pressed in step s13, the process returns to step s6.

【0033】上述のような動作を図11と比較して簡単
に例を挙げて説明すると、NLQ文字を1行出力した
ら、パターン43が出力されたとすると、2パス目が左
側にずれているので右方向補正スイッチ32を1回押圧
し、ディレイタイマ値を右側に移動させると、図16に
おける距離が、たとえば9/360inchから8/3
60inchに移動する。次にまた1行出力したら、ま
だ2パス目が左側にずれているのが検出され、再度スイ
ッチ32を1回押圧し、ディレイタイマ値を右側に移動
させると、図16における距離が8/360inchか
ら7/360inchに移動し、さらに1行出力すると
パターン42が出力され、印字位置ずれがないことが認
識され、補正終了スイッチ30を押圧し、補正が終了す
る。
The above-mentioned operation will be briefly described with reference to FIG. 11 by way of example. If one line of NLQ characters is output and the pattern 43 is output, the second pass is shifted to the left. When the rightward correction switch 32 is pressed once and the delay timer value is moved to the right, the distance in FIG. 16 changes from 9/360 inch to 8/3, for example.
Move to 60 inches. Next, when another line is output, it is detected that the second pass is still shifted to the left side, and when the switch 32 is pressed once again and the delay timer value is moved to the right side, the distance in FIG. 16 becomes 8/360 inch. From 7 to 360 inch, and when one line is further output, the pattern 42 is output, it is recognized that there is no print position deviation, the correction end switch 30 is pressed, and the correction ends.

【0034】以上のようにしてNLQ文字を利用して双
方向印字出力時に発生し得る行方向印字ずれの補正を行
うので、パターン41,42,43のような1つのパタ
ーンが占める出力時の用紙面積は従来の方法に比べて小
さくなり、パターン出力回数が多くなるほど、大きな用
紙節約となる。
As described above, the NLQ characters are used to correct the line-direction print misalignment that may occur during bidirectional print output, so that the paper at the time of output occupied by one pattern such as the patterns 41, 42, and 43. The area is smaller than the conventional method, and the larger the number of times the pattern is output, the larger the paper saving.

【0035】また、パターンを構成する上で必要な用紙
の紙送りに関しても、ドットピッチの半分の微小な送り
で済み、パターン出力時の紙送り時間の短縮につなが
る。
Further, as for the paper feeding of the paper necessary for constructing the pattern, the minute feeding of half the dot pitch is sufficient, which leads to the reduction of the paper feeding time at the time of outputting the pattern.

【0036】なお、上述の実施例においてはNLQ文字
書体のうち、文字形「H」を使用しているけれども、同
印字手法を必要とする文字であればこれに限定されるも
のではなく、好ましくは、文字の全高に及ぶ縦線を有す
る、たとえばB,D,E,F,I,K,L,M,N,
P,R,Tなどの英字、Γ,Πなどのギリシア文字、1
などの数字などであってもよい。
Although the character form "H" is used among the NLQ character typefaces in the above-mentioned embodiment, the character is not limited to this as long as the character requires the same printing method, and it is preferable. Has a vertical line that spans the entire height of the character, eg B, D, E, F, I, K, L, M, N,
English letters such as P, R, T, Greek letters such as Γ, Π, 1
It may be a number such as.

【0037】[0037]

【発明の効果】以上のように本発明によれば、たとえば
NLQモードなどの半ピッチの紙送りをして往復で1文
字分の印字を作成する印字モードのドットパターンを利
用して、双方向印字出力時における往路印字と復路印字
との行方向の印字位置ずれを補正する。このようにし
て、前記1文字分で、印字位置ずれを検出することがで
きるので、使用する用紙面積を節約でき、またパターン
出力に係わる時間の短縮を可能とし、作業性が向上され
る。
As described above, according to the present invention, bidirectional printing is performed by using a dot pattern in a printing mode, such as NLQ mode, in which a half-pitch paper is fed to print one character back and forth. Corrects the print position deviation in the line direction between the forward pass printing and the backward pass printing at the time of printing output. In this way, the printing position shift can be detected by the one character, so that the area of paper to be used can be saved, the time required for pattern output can be shortened, and the workability is improved.

【0038】また、通常機能している前記印字モードを
利用するので、補正モードに係るパターン出力専用処理
を構成する必要もなくなり、これに係る処理プログラム
も容易に構成可能になる。
Further, since the printing mode which is normally functioning is used, it is not necessary to configure the pattern output dedicated processing relating to the correction mode, and the processing program relating to this can be easily configured.

【0039】また本発明によれば、前記所定のドットパ
ターンは、文字の全高に及ぶ縦ドット例を有するので、
調整が容易になり作業性が向上される。
Further, according to the present invention, since the predetermined dot pattern has an example of vertical dots extending over the entire height of the character,
Adjustment is easy and workability is improved.

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

【図1】本発明に係る印字位置調整方法が適用可能なプ
リンタ装置の印字機構の一例を示す斜視図である。
FIG. 1 is a perspective view showing an example of a printing mechanism of a printer device to which a printing position adjusting method according to the present invention can be applied.

【図2】本発明に係る印字位置調整方法が適用可能なプ
リンタ装置の電気的構成の一例を示すブロック図であ
る。
FIG. 2 is a block diagram showing an example of an electrical configuration of a printer device to which a printing position adjusting method according to the present invention can be applied.

【図3】RAM15の構成詳細図である。FIG. 3 is a detailed configuration diagram of a RAM 15.

【図4】操作パネル19を示す正面図である。FIG. 4 is a front view showing an operation panel 19.

【図5】操作パネル19を示す正面図である。5 is a front view showing an operation panel 19. FIG.

【図6】標準機能で出力される構成文字を示す図であ
る。
FIG. 6 is a diagram showing constituent characters output by a standard function.

【図7】NLQ文字パターン例を示す図である。FIG. 7 is a diagram showing an example of an NLQ character pattern.

【図8】NLQ文字パターンの構成過程を説明するため
の図である。
FIG. 8 is a diagram for explaining a process of forming an NLQ character pattern.

【図9】EP−ROM構成図である。FIG. 9 is an EP-ROM block diagram.

【図10】出力ヘッドのワイヤの1パス目と2パス目と
の縦間隔を説明するための図である。
FIG. 10 is a diagram for explaining the vertical interval between the first pass and the second pass of the wire of the output head.

【図11】ずれ補正認識用出力パターンを示す図であ
る。
FIG. 11 is a diagram showing an output pattern for deviation correction recognition.

【図12】パターン41のうち1文字をドット構成に図
式した図である。
FIG. 12 is a diagram schematically showing one character in a pattern 41 in a dot configuration.

【図13】パターン42のうち1文字をドット構成に図
式した図である。
FIG. 13 is a diagram schematically showing one character in a pattern 42 in a dot configuration.

【図14】パターン43のうち1文字をドット構成に図
式した図である。
FIG. 14 is a diagram schematically showing one character in a pattern 43 in a dot configuration.

【図15】ワイヤドット出力のタイミングチャートであ
る。
FIG. 15 is a timing chart of wire dot output.

【図16】ディレイタイマ値の限界を示す図である。FIG. 16 is a diagram showing a limit of a delay timer value.

【図17】プリンタ装置1において、印字位置ずれを補
正するための動作を説明するためのフローチャートであ
る。
FIG. 17 is a flowchart for explaining an operation for correcting a print position deviation in the printer device 1.

【図18】典型的な従来技術の罫線出力パターンを示す
図である。
FIG. 18 is a diagram showing a typical prior art ruled line output pattern.

【図19】図18の罫線出力パターンの一部の拡大図で
ある。
FIG. 19 is an enlarged view of a part of the ruled line output pattern of FIG.

【図20】図19の罫線をドット構成に図式化した図で
ある。
FIG. 20 is a diagram schematically showing the ruled line of FIG. 19 in a dot configuration.

【図21】罫線を形成するドットと印字ワイヤの対応を
示す図である。
FIG. 21 is a diagram showing correspondence between dots forming ruled lines and printing wires.

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

1 プリンタ装置 3 キャリッジ 4 印字ヘッド 11 キャリッジモータ 13 CPU 14 ROM 15 RAM 1 Printer Device 3 Carriage 4 Print Head 11 Carriage Motor 13 CPU 14 ROM 15 RAM

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1列に並ぶ複数のドットを形成する印字
ヘッドを、用紙幅方向に沿って往路の印字を所定の印字
タイミングに基づいて行った後、ドットピッチの半分の
紙送りをして復路の印字を所定の印字タイミングに基づ
いて行い1文字分の印字を行う印字モードを備えるプリ
ンタ装置の印字位置調整方法において、 前記印字モードを設定する第1工程と、 所定のドットパターンで印字する第2工程と、 前記印字された文字から往路印字と復路印字との相互の
行方向の位置ずれを検出して、前記印字タイミングを変
化させる第3工程とを有し、 上記第2および第3工程を繰返して印字位置ずれを調整
することを特徴とするプリンタ装置の印字位置調整方
法。
1. A print head, which forms a plurality of dots arranged in a row, performs forward printing along a paper width direction at a predetermined print timing, and then feeds paper at half the dot pitch. In a print position adjusting method of a printer device having a print mode in which a return pass is printed based on a predetermined print timing and one character is printed, a first step of setting the print mode and printing with a predetermined dot pattern A second step; and a third step of changing the printing timing by detecting a positional deviation between the forward printing and the backward printing in the row direction from the printed character, and the second and third steps described above. A printing position adjusting method for a printer, wherein the printing position deviation is adjusted by repeating the steps.
【請求項2】 前記所定のドットパターンは、文字の全
高に及ぶ縦ドット列を有することを特徴とする請求項1
記載のプリンタ装置の印字位置調整方法。
2. The predetermined dot pattern has a vertical dot row that extends over the entire height of the character.
A printing position adjusting method for the printer device described.
JP1752594A 1994-02-14 1994-02-14 Printing position adjusting method in printer device Pending JPH07223338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1752594A JPH07223338A (en) 1994-02-14 1994-02-14 Printing position adjusting method in printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1752594A JPH07223338A (en) 1994-02-14 1994-02-14 Printing position adjusting method in printer device

Publications (1)

Publication Number Publication Date
JPH07223338A true JPH07223338A (en) 1995-08-22

Family

ID=11946357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1752594A Pending JPH07223338A (en) 1994-02-14 1994-02-14 Printing position adjusting method in printer device

Country Status (1)

Country Link
JP (1) JPH07223338A (en)

Similar Documents

Publication Publication Date Title
JPH0149632B2 (en)
JPH1058757A (en) Character information printing device
JPH0569595A (en) Serial printer
JPH07223338A (en) Printing position adjusting method in printer device
JPH0528669B2 (en)
JPS60110478A (en) Bar code printing apparatus
JP3605809B2 (en) Printer
US5114253A (en) Dot printing method for dot printer
JP2008250799A (en) Print system and control method of print system
JP3514405B2 (en) Serial printer bidirectional printing position adjustment device
US5408592A (en) Printer having a data output time controller
JPH0771860B2 (en) Printer paper feed control method
JP3292811B2 (en) Printing device
JPH05330118A (en) Thermal printer
JPH079723A (en) Control method of printer
JP2756046B2 (en) Thermal transfer printer
JPH0811379A (en) Form-feeding device and controlling method thereof
JP2651013B2 (en) Recording device
KR100306753B1 (en) Method for printing alignment of inkjet printer
JP2690759B2 (en) Recording device
JPH0798416B2 (en) Printer device
JPH11198450A (en) Printing method for ink jet printer
JPH03161376A (en) Serial printer
JPS63134276A (en) Printer
JPH0747752A (en) Printer