JPH0145424B2 - - Google Patents
Info
- Publication number
- JPH0145424B2 JPH0145424B2 JP56180652A JP18065281A JPH0145424B2 JP H0145424 B2 JPH0145424 B2 JP H0145424B2 JP 56180652 A JP56180652 A JP 56180652A JP 18065281 A JP18065281 A JP 18065281A JP H0145424 B2 JPH0145424 B2 JP H0145424B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- dot
- adjustment
- signal generating
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/485—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
- B41J2/505—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements
- B41J2/5056—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements using dot arrays providing selective dot disposition modes, e.g. different dot densities for high speed and high-quality printing, array line selections for multi-pass printing, or dot shifts for character inclination
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Dot-Matrix Printers And Others (AREA)
- Character Spaces And Line Spaces In Printers (AREA)
Description
【発明の詳細な説明】
本発明は印字装置、特にマイクロプロセツサの
制御のもとに正逆両方印字を行うドツトマトリツ
クス型シリアルプリンタ装置において、正方向の
印字結果と逆方向の印字結果との縦方向のずれ
を、外部から簡単に調整し、合致させ得るように
した印字ずれ調整機構付印字装置に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a printing device, particularly a dot matrix type serial printer device that performs both forward and reverse printing under the control of a microprocessor. This invention relates to a printing device with a printing misalignment adjustment mechanism that allows the vertical misalignment of the two to be easily adjusted from the outside and matched.
最近の印字装置には、縦横罫線による作表能力
や、グラフ等の図形作成能力がしばしば要求さ
れ、正方向と逆方向との印字結果をより高い精度
で合致させることが強く望まれている。また、印
字品質向上の必要性から、近年は印字パターンを
構成するドツト径がだんだん細くなつてきてお
り、ドツト径が細い場合、特に正逆の印字結果が
少しでも合致しないと非常にみにくい結果とな
る。この点からも、正逆印字結果の合致が強く要
望されている。 Modern printing devices are often required to have the ability to tabulate tables using vertical and horizontal ruled lines and to create figures such as graphs, and it is strongly desired to match printing results in the forward and reverse directions with higher accuracy. In addition, due to the need to improve printing quality, the diameter of the dots that make up the printing pattern has become smaller and smaller in recent years, and when the diameter of the dots is small, the results can be very unsightly, especially if the forward and reverse printing results do not match even slightly. Become. From this point of view as well, there is a strong demand for consistency between forward and reverse printing results.
従来の正逆方向印字の印字ずれ対策としては、
設計時に印字ずれ調整のための一定の補正値を固
定値として設定しておくのが一般的であつた。し
かし、メカ部の工作精度や経年変化等のため、必
ずしも高い精度で合致するとは限らなかつた。ま
た、正逆印字ずれ調整のための補正時間を1個の
可変抵抗付ワンシヨツト出力で設定し、外部から
可変とする方式も考えられているが、大きな範囲
にわたつて緻密に調整することはできず、1ドツ
ト分以上の補正が困難であることや、例えば漢字
と英数字など印字速度が異なる場合の制御が複雑
になる等の欠点がある。また、特に正逆印字ずれ
によつて問題となる縦罫線印字や図形作成のため
の印字については、正逆印字ずれを生じさせない
ようにするため、片方向印字とする方式が用いら
れることもあるが、この場合には処理速度が非常
に遅くなるという欠点を有する。 As a countermeasure for printing misalignment in conventional forward/reverse printing,
At the time of design, it was common to set a certain correction value as a fixed value for adjusting printing misalignment. However, due to the precision of mechanical work and changes over time, it was not always possible to achieve a high degree of accuracy. Another method has been considered in which the correction time for forward and reverse printing misalignment adjustment is set using a one-shot output with a variable resistor and made variable externally, but this method cannot be precisely adjusted over a large range. First, it has drawbacks such as difficulty in making corrections of one dot or more, and complicated control when printing speeds are different, such as when printing Chinese characters and alphanumeric characters. In addition, in order to prevent forward/reverse printing misalignment, a unidirectional printing method is sometimes used, especially for vertical ruled line printing or printing for graphic creation, where misalignment of forward/reverse printing poses a problem. However, this case has the disadvantage that the processing speed is extremely slow.
本発明は上記問題点の解決を図り、正逆印字ず
れ調整を外部から比較的大きな範囲にわたり緻密
に、かつ容易に行うことができるようにすること
を目的としている。そのため本発明の印字ずれ調
整機構付印字装置は、マイクロプロセツサを内蔵
すると共に、該マイクロプロセツサの制御によつ
て、印字するドツトパターンデータが格納された
領域へのデータポインタを更新して正逆両方向印
字を行うドツトマトリツクス型シリアルプリンタ
装置において、1ドツト列の印字時間内における
複数用意された印字ずれ調整時間のうち1つを指
示する第1の信号発生手段および複数用意された
印字開始ドツト位置のうち1つを指示する第2の
信号発生手段からなる調整指示部をそなえると共
に、上記第1の信号発生手段および上記第2の信
号発生手段の指示内容に従つて、正方向印字また
は逆方向印字の一方に対して、印字ずれ調整時間
による印字タイミングの調整および印字開始ドツ
ト位置によるデータポインタの調整を行う制御部
をそなえ、外部からの上記調整指示部への設定指
示により正方向の印字結果と逆方向の印字結果と
の縦方向の印字ずれが調整されるようにしたこと
を特徴としている。以下図面を参照しつつ説明す
る。 SUMMARY OF THE INVENTION The present invention aims to solve the above-mentioned problems and to enable forward/reverse printing misalignment adjustment to be precisely and easily performed over a relatively large range from the outside. Therefore, the printing device with a printing misalignment adjustment mechanism of the present invention has a built-in microprocessor, and under the control of the microprocessor, updates the data pointer to the area where the dot pattern data to be printed is stored, thereby correcting the printing error. In a dot matrix type serial printer device that performs reverse bidirectional printing, a first signal generation means for instructing one of a plurality of print shift adjustment times within a printing time of one dot row and a plurality of print start means are provided. An adjustment instructing section including a second signal generating means for instructing one of the dot positions is provided, and according to the instruction content of the first signal generating means and the second signal generating means, forward direction printing or printing is performed. For one side of reverse direction printing, a control section is provided to adjust the printing timing using the print deviation adjustment time and to adjust the data pointer according to the printing start dot position. It is characterized in that the vertical printing deviation between the printed result and the printed result in the opposite direction is adjusted. This will be explained below with reference to the drawings.
本発明の実施例を説明するに先立ち、まず本発
明に係る調整の原理について説明する。第1図な
いし第3図は、本発明に係る印字タイミング設定
の具体例を示す。正方向の印字と逆方向の印字と
の印字ずれは、相対的なものと捉えてよいので、
正方向印字または逆方向印字のいずれか一方を調
整可能とすれば十分である。以下の説明において
は、スイツチによつて正方向印字時の印字タイミ
ングを調整する場合について述べる。また、デジ
タルスイツチを2個設けた場合について説明する
が、デジタルスイツチの代わりに可変抵抗付ワン
シヨツト出力回路を用い、そのワンシヨツト出力
の長さによつて調整するようにしてもよいし、2
個のスイツチでなく3個以上のスイツチを設ける
ようにしてもよい。原理については同様である。 Before describing embodiments of the present invention, the principle of adjustment according to the present invention will be explained first. 1 to 3 show specific examples of print timing settings according to the present invention. The printing misalignment between forward printing and reverse printing can be considered to be relative, so
It is sufficient to be able to adjust either forward printing or reverse printing. In the following description, a case will be described in which the print timing during forward direction printing is adjusted by a switch. In addition, although we will explain the case where two digital switches are provided, it is also possible to use a one-shot output circuit with a variable resistor instead of the digital switches and adjust the output according to the length of the one-shot output.
Instead of one switch, three or more switches may be provided. The principle is the same.
第1図において、符号1は印字処理開始の契機
を与えるドツトパルス、2は印字位置を表わす。
ドツトパルス1の立上がりによつて印字処理開始
の契機が与えられ、或る時間Tが経過した後に実
際の印字がなされることになる。時間Tは、調整
時間T1、ピン(ハンマーマグネツト)通電時間
T2およびピンが印字するためのメカ的な遅れ時
間T3からなる。このうち、ピン通電時間T2お
よびメカ的な遅れ時間T3は、固定的に定まり、
調整時間T1は可変にされる。即ち、デジタルス
イツチの1つをオフ/オンにすることによつて、
調整時間T1が例えばaマイクロ秒(μs)になつ
たりbμsになつたりするようにされ、全体の時間
Tが変化することとなるのでその分だけ印字ずれ
の調整が可能となることになる。 In FIG. 1, numeral 1 represents a dot pulse that triggers the start of printing processing, and 2 represents a printing position.
The rise of dot pulse 1 provides an opportunity to start the printing process, and actual printing is performed after a certain time T has elapsed. The time T consists of an adjustment time T1, a pin (hammer magnet) energization time T2, and a mechanical delay time T3 for the pin to print. Among these, pin energization time T2 and mechanical delay time T3 are fixedly determined,
The adjustment time T1 is made variable. That is, by turning one of the digital switches off/on,
The adjustment time T1 is set to, for example, a microsecond (μs) or bμs, and the total time T changes, so that the printing deviation can be adjusted by that amount.
第2図において、符号1,2は第1図に対応
し、3は編集されたドツトパターンが格納される
編集データ格納エリア、4および4′はそれぞれ
編集データ格納エリア3の先頭および最終の位置
に設けられ印字開始ドツト位置の調整を考慮して
固定的にオール・ゼロが設定されるエリアを表わ
す。編集データ格納エリア3内のデータは、1列
ごとに出力されるようにされ、例えば図示P2の
列については、P21,P22,……,P27の各ドツ
トのデータについて同時にピンが駆動するように
される。各ドツトパルス1の立上がりごとに、正
方向印字であれば順次、例えばP1列、P2列、…
…,P7列と出力され、逆方向印字であれば例え
ばP7列,P6列,……,P1列と出力されることに
なる。第1図において説明した調整例について
は、1ドツト分以上の補正が一般に困難である
が、1ドツト分以上の調整が必要な場合には、例
えば以下の如くすることによつて調整することが
できる。デジタルスイツチの1つを該調整のため
に割当て、例えば該デジタルスイツチがオンの場
合には、最初のドツトパルス1に対応して出力さ
れる編集データ格納エリア3上の列をP1とする。
以後、各ドツトパルス1毎にP2列,P3列,……
と順次出力されるようにする。こうすることによ
つて、第2図図示Aの如く、所定の遅れ時間Tの
経過後に印字動作がなされることになる。また、
上記デジタルスイツチがオフの場合には、例えば
最初のドツトパルス1に対応して出力される列を
P2とし、以後各ドツトパルス1毎にP3列,P4列
……と順次出力されるようにする。こうすること
によつて、第2図図示Bの如く印字出力が実行さ
れることとなるが、第2図図示Aの場合に比べ
て、丁度1ドツト分印字が早くなされることとな
る。換言すれば、印字開始ドツト位置を示すイニ
シヤル・データポインタDPは、デジタルスイツ
チがオンの場合には、P1の列をポイントするよ
うにされ、デジタルスイツチがオフの場合には、
P2の列をポイントするようにされて、そのデー
タポインタDPの示す列からデータが取出される
ようにされ、1ドツト分の調整がなされる。 In FIG. 2, numerals 1 and 2 correspond to those in FIG. 1, 3 is an edited data storage area where the edited dot pattern is stored, and 4 and 4' are the beginning and end positions of the edited data storage area 3, respectively. This area represents an area in which all zeros are fixedly set in consideration of adjustment of the printing start dot position. The data in the edit data storage area 3 is output column by column. For example, for the column P2 shown in the figure, the pins are driven simultaneously for the data of each dot P21, P22, ..., P27. be done. At each rising edge of each dot pulse 1, if printing in the forward direction, print sequentially, for example, P1 column, P2 column, etc.
..., P7 column will be output, and if printing in the reverse direction, for example, P7 column, P6 column, ..., P1 column will be output. Regarding the adjustment example explained in FIG. 1, it is generally difficult to correct for more than one dot, but if adjustment for more than one dot is required, it can be done by, for example, the following procedure. can. One of the digital switches is assigned for this adjustment, and when the digital switch is on, for example, the column on the edit data storage area 3 that is output in response to the first dot pulse 1 is designated P1.
After that, for each dot pulse 1, P2 row, P3 row, etc.
will be output sequentially. By doing so, the printing operation will be performed after the predetermined delay time T has elapsed, as shown in FIG. 2, illustration A. Also,
When the above digital switch is off, for example, the row output corresponding to the first dot pulse 1 is
P2, and thereafter the P3 column, P4 column, etc. are output sequentially for each dot pulse 1. By doing this, printing is performed as shown in FIG. 2 B, but printing is performed exactly one dot faster than in the case shown in FIG. 2 A. In other words, the initial data pointer DP indicating the printing start dot position is set to point to column P1 when the digital switch is on, and when the digital switch is off,
The column P2 is pointed to, data is extracted from the column indicated by the data pointer DP, and an adjustment of one dot is made.
第1図に示した調整と第2図に示した調整とを
組合せて調整した例が第3図に示してある。図
中、符号1および2は第1図等に対応する。第1
図で説明した調整時間T1の調整のためのデジタ
ルスイツチをSW1で表わし、第2図で説明した
印字開始ドツト位置の指示のためのデジタルスイ
ツチをSW2で表わしている。T1,T2および
T3は第1図の場合と同様それぞれ調整時間、ピ
ン通電時間およびメカ的な遅れ時間を表わしてい
る。 FIG. 3 shows an example in which the adjustment shown in FIG. 1 and the adjustment shown in FIG. 2 are combined. In the figure, numerals 1 and 2 correspond to FIG. 1, etc. 1st
The digital switch for adjusting the adjustment time T1 explained in the figure is represented by SW1, and the digital switch for instructing the printing start dot position explained in FIG. 2 is represented by SW2. As in the case of FIG. 1, T1, T2 and T3 represent the adjustment time, pin energization time and mechanical delay time, respectively.
デジタルスイツチSW1がオフの場合には、調
整時間T1はaμsとされ、オンの場合にはbμsと
なるようにされる。また、デジタルスイツチSW
2がオフの場合には、オンの場合に比べてデータ
ポインタが1ドツト分先をポイントするようにさ
れる。従つて、デジタルスイツチSW1および
SW2の両方がオフの場合には、第3図1図示の
如く、先のパルスを基準として調整時間T1が
aμsで印字されることとなる。デジタルスイツチ
SW1がオンでSW2がオフの場合には、第3図
2図示の如く、先のパルスを基準として調整時間
T1がbμsで印字されることとなる。また、デジ
タルスイツチSW1がオフでSW2がオンの場合
には、第3図3図示の如く、2番目のパルスを基
準として調整時間T1がaμsで印字されることと
なる。デジタルスイツチSW1およびSW2が共
にオンの場合には、第3図4図示の如く、2番目
のパルスを基準として調整時間T1がbμsで印字
されることとなる。なお、逆方向印字の場合に
は、デジタルスイツチSW1,SW2のオン/オ
フにかかわらず、調整時間T1はaμsに固定さ
れ、イニシヤル・データポインタも固定的に定め
られる。 When the digital switch SW1 is off, the adjustment time T1 is aμs, and when it is on, it is bμs. Also, digital switch SW
When 2 is off, the data pointer points one dot further than when it is on. Therefore, digital switch SW1 and
When both SW2 are off, the adjustment time T1 is set based on the previous pulse as shown in Figure 3.
It will be printed in aμs. digital switch
When SW1 is on and SW2 is off, as shown in FIG. 3, the adjustment time T1 is printed in bμs based on the previous pulse. Further, when the digital switch SW1 is off and the digital switch SW2 is on, as shown in FIG. 3, the adjustment time T1 is printed in aμs with the second pulse as a reference. When the digital switches SW1 and SW2 are both on, as shown in FIG. 3, the adjustment time T1 is printed in bμs with the second pulse as a reference. In the case of reverse printing, the adjustment time T1 is fixed to aμs and the initial data pointer is also fixed, regardless of whether the digital switches SW1 and SW2 are turned on or off.
以上デジタルスイツチが2個の場合について説
明したが、3個以上の場合には、調整時間T1を
種々選択できるようにすることも可能であり、ま
た2ドツト分以上の印字ずれの調整をできるよう
にすることも可能であることは言うまでもない。 The case where there are two digital switches has been explained above, but when there are three or more digital switches, it is possible to select various adjustment times T1, and it is also possible to adjust printing deviation of two dots or more. Needless to say, it is also possible to do so.
第4図は第3図図示調整による印字結果の例を
示す。文字「I」について正方向で印字し、次に
逆方向で印字した場合について示している。第3
図図示1,2,3,4のそれぞれの印字タイミン
グ設定に対応して、例えば第4図1,2,3,4
の如くに印字される。第4図図示の例において
は、2が最も良くそろつているが、メカのバラツ
キや経年変化によつて、1,3または4が最適調
整値ともなり得る。印字ずれが生じている場合に
は、外部からのデジタルスイツチの切替えによつ
て上記の如く簡易に調整することができる。 FIG. 4 shows an example of a printing result obtained by the adjustment shown in FIG. 3. A case is shown in which the letter "I" is printed in the forward direction and then printed in the reverse direction. Third
For example, in accordance with the print timing settings shown in Figures 1, 2, 3, and 4,
It will be printed as follows. In the example shown in FIG. 4, 2 is the best adjustment value, but 1, 3, or 4 may be the optimal adjustment value depending on mechanical variations and changes over time. If printing misalignment occurs, it can be easily adjusted as described above by switching the digital switch from the outside.
第5図は本発明の一実施例構成、第6図は印字
ずれ調整制御のための全体制御部の動作説明図を
示す。図中、5はインタフエース回路、6は印字
処理についての全体制御部、7はマイクロプロセ
ツサ、8は例えばRAMで構成される印字コード
バツフア、9は例えばROMで構成されるキヤラ
クタジエネレータ用メモリ、10はデジタルスイ
ツチSW1およびSW2による調整指示部、11
はキヤリア動作制御回路、12は印字データ1列
分のラツチ回路、13はキヤリア駆動ドライバ、
14はピン(ハンマーマグネツト)駆動ドライ
バ、15はキヤリア駆動モータ、16は印字タイ
ミングエンコーダ、17はキヤリア、18は印字
ヘツドを表わす。 FIG. 5 shows the configuration of an embodiment of the present invention, and FIG. 6 is an explanatory diagram of the operation of the overall control section for controlling printing misalignment. In the figure, 5 is an interface circuit, 6 is an overall control unit for printing processing, 7 is a microprocessor, 8 is a print code buffer composed of, for example, RAM, and 9 is a memory for a character generator composed of, for example, ROM. , 10 is an adjustment instruction unit using digital switches SW1 and SW2, 11
is a carrier operation control circuit, 12 is a latch circuit for one column of print data, 13 is a carrier drive driver,
14 is a pin (hammer magnet) drive driver, 15 is a carrier drive motor, 16 is a print timing encoder, 17 is a carrier, and 18 is a print head.
第5図において、計算機本体側から印字データ
がインタフエース回路5に入力されると、印字デ
ータは順次印字コードバツフア8に格納される。
印字データ格納後、印字指令がインタフエース回
路5を経由して、マイクロプロセツサ7を含む全
体制御部6へ通知されると、マイクロプロセツサ
7は印字コードバツフア8上の印字データを取出
し、キヤラクタジエネレータ用メモリ9の内容に
従つてドツトパターンのデータに変換し、例えば
全体制御部6の内部メモリである第2図図示編集
データ格納エリア3に、第2図図示の如く整理し
て格納する。また、調整指示部10のデジタルス
イツチSW2のオン/オフに従つて、第2図にお
いて説明したイニシヤル・データポインタDPを
所定のアドレスにセツトする。次に、現在のキヤ
リア位置と今回の印字領域とを比較し、キヤリア
17の移動量を最小にするように、キヤリア動作
を決定し、キヤリア動作制御回路11を通して、
必要ならばキヤリア17を印字領域の左または右
へ一旦出した後、実際の印字を行なうため、キヤ
リア17の正方向走行あるいは逆方向走行を指示
する。走行指示後、キヤリア17が印字領域に入
ると、キヤリア動作制御回路11により、印字文
字を構成するドツト数分だけドツトパルスが生成
されて出力される。マイクロプロセツサ7はこの
パルスを検出すると、調整指示部10のデジタル
スイツチSW1のオン/オフに基づく正逆印字ず
れ調整のための規定時間分待ち時間を入れた後、
データポインタの指すドツト1列分のデータを、
ラツチ回路12にセツトし、ピン駆動電流をオン
にする。なお、該電流のオフは所定時間経過後ハ
ード回路によつて自動的に行われる。次にデータ
ポインタを次のドツト位置に移動し、次のドツト
パルスを待つ。印字文字のドツト数分ドツトパル
スを処理し終わるとキヤリア動作制御回路11に
停止指令を発行して動作終了する。なお、デジタ
ルスイツチSW1,SW2は、アースされずに+
5Vの状態となつているときに、オン状態を意味
する。 In FIG. 5, when print data is input to the interface circuit 5 from the computer main body side, the print data is sequentially stored in the print code buffer 8.
After the print data is stored, a print command is sent via the interface circuit 5 to the overall control unit 6 including the microprocessor 7, and the microprocessor 7 takes out the print data on the print code buffer 8 and converts it into a character. The data is converted into dot pattern data according to the contents of the generator memory 9, and stored in the edited data storage area 3 shown in FIG. 2, which is the internal memory of the overall control unit 6, in an organized manner as shown in FIG. . Further, in accordance with the on/off of the digital switch SW2 of the adjustment instruction section 10, the initial data pointer DP explained in FIG. 2 is set to a predetermined address. Next, the current carrier position and the current printing area are compared, the carrier operation is determined so as to minimize the amount of movement of the carrier 17, and the carrier operation control circuit 11
If necessary, after the carrier 17 is moved to the left or right of the printing area, the operator instructs the carrier 17 to run in the forward direction or in the reverse direction in order to perform actual printing. When the carrier 17 enters the printing area after the travel instruction is given, the carrier operation control circuit 11 generates and outputs dot pulses equal to the number of dots forming the printed character. When the microprocessor 7 detects this pulse, it waits for a predetermined amount of time to adjust the forward/reverse printing misalignment based on the on/off of the digital switch SW1 of the adjustment instruction section 10, and then waits for a specified time.
The data for one column of dots pointed to by the data pointer is
Set the latch circuit 12 and turn on the pin drive current. Note that the current is automatically turned off by the hardware circuit after a predetermined period of time has elapsed. Next, move the data pointer to the next dot position and wait for the next dot pulse. When the processing of dot pulses equal to the number of dots of printed characters is completed, a stop command is issued to the carrier operation control circuit 11 to terminate the operation. In addition, digital switches SW1 and SW2 are connected to + without being grounded.
When the voltage is 5V, it means the on state.
特に、全体制御部6による印字ずれ調整の動作
について詳述すると、以下の如くになる。第6図
図示の如く、まず印字開始に当つて、キヤリア1
7の位置によつて、正方向印字を行うか逆方向印
字を行うかを決定する。正方向印字を行う場合に
は、調整指示部10のデジタルスイツチSW1の
オン/オフを調べ、オンであれば、調整時間を
bμsに設定し、オフであればaμsに設定する。次
に調整指示部10のデジタルスイツチSW2のオ
ン/オフを調べ、オンであればデータポインタを
例えば第2図図示P1にセツトし、オフであれば
データポインタを例えば第2図図示P2にセツト
する。該セツトを終えたならば、キヤリア動作を
指示し、ドツトパルスがオンになるのを待つ。ド
ツトパルスがオンになつたならば、先に設定した
調整時間(aμsまたはbμs)分だけウエイトする。
なお、この調整時間は、ドツトパルスの生成周期
よりも長くすることはできない、なぜならば、こ
の調整時間を長くすれば、次のドツトパルスを検
出することはできず、印字タイミングを失うこと
となるからである。従つて、上述の如く1ドツト
分以上の調整は、デジタルスイツチSW2のオ
ン/オフによつて行うようにされる。調整時間分
ウエイトしたならば、データポインタの指すデー
タをラツチ回路12にセツトし、ピン駆動電流を
オンにすることとなる。以下の処理については既
述の通りである。 In particular, the operation of adjusting printing misalignment by the overall control section 6 will be described in detail as follows. As shown in Figure 6, first, when starting printing, the carrier 1
Depending on the position of 7, it is determined whether to print in the forward direction or in the reverse direction. When performing forward printing, check whether the digital switch SW1 of the adjustment instruction section 10 is on or off, and if it is on, set the adjustment time.
Set to bμs, and if off, set to aμs. Next, check whether the digital switch SW2 of the adjustment instruction section 10 is on/off, and if it is on, the data pointer is set to, for example, P1 shown in the second figure, and if it is off, the data pointer is set to, for example, P2 shown in the second figure. . After completing the setting, instruct the carrier operation and wait for the dot pulse to turn on. When the dot pulse is turned on, it waits for the previously set adjustment time (aμs or bμs).
Note that this adjustment time cannot be made longer than the dot pulse generation cycle, because if this adjustment time is made longer, the next dot pulse will not be detected and the printing timing will be lost. be. Therefore, as described above, adjustments for one dot or more are performed by turning on/off the digital switch SW2. After waiting for the adjustment time, the data pointed to by the data pointer is set in the latch circuit 12, and the pin drive current is turned on. The following processing is as described above.
逆方向印字の場合には、データポインタは例え
ば第2図においてP7に固定的にセツトされ、調
整時間もaμsに固定的に設定されるようにされ
る。以下の動作については、正方向印字の場合と
同様である。上記の如くすることによつて、例え
ば第3図図示の如き調整が実現されることとな
る。 In the case of reverse printing, the data pointer is fixedly set to, for example, P7 in FIG. 2, and the adjustment time is also fixedly set to aμs. The following operations are the same as in the case of forward direction printing. By doing the above, adjustment as shown in FIG. 3, for example, can be realized.
以上、デジタルスイツチが2個で印字速度が一
定の場合について説明したが、スイツチの数を増
すことによつて、さらにきめ細かい調整値を得る
ことも可能であるし、調整幅を大きくとることも
でき、印字速度が異なる場合には、マイクロプロ
セツサがそれに応じた調整時間を設定することが
でき、非常に柔軟な調整制御を行うことができ
る。 Above, we have explained the case where there are two digital switches and the printing speed is constant, but by increasing the number of switches, it is possible to obtain finer adjustment values, and it is also possible to increase the adjustment range. If the printing speed is different, the microprocessor can set the adjustment time accordingly, allowing very flexible adjustment control.
また、デジタルスイツチの代わり可変抵抗付ワ
ンシヨト出力をマイクロプロセツサの入力ポート
として与え、そのワンシヨツト出力の長さによ
り、正逆印字ずれ調整時間や印字ドツト開始アド
レスをマイクロプロセツサが設定するようにして
も同様の効果を得ることができることは言うまで
もない。 In addition, instead of a digital switch, a one-shot output with a variable resistor is provided as an input port of the microprocessor, and the microprocessor sets the forward/reverse printing misalignment adjustment time and printing dot start address depending on the length of the one-shot output. Needless to say, similar effects can be obtained.
以上説明した如く本発明によれば、正逆両方向
印字による正逆印字ずれを比較的大きな範囲にわ
たり、緻密に行うことができ、縦横罫線による作
表処理やグラフ等の図形処理についても両方向印
字でスピーデイに行うことができる。また、メカ
部のガタや経年変化による劣化をも制御部でもつ
て簡易にカバーすることが可能となる。 As explained above, according to the present invention, it is possible to precisely correct forward/reverse printing misalignment over a relatively large range by printing in both forward and reverse directions, and tabulation processing using vertical and horizontal ruled lines and graphic processing such as graphs can also be performed in both directions. It can be done quickly. Furthermore, it becomes possible to easily compensate for the backlash of the mechanical part and deterioration due to aging by using the control part.
第1図ないし第3図は本発明に係る印字タイミ
ング設定の具体例説明図、第4図は印字結果の
例、第5図は本発明の一実施例構成、第6図は全
体制御部の動作説明図を示す。
図中、1はドツトパルス、2は印字位置、3は
編集データ格納エリア、4はオール・ゼロ・エリ
ア、5はインタフエース回路、6は全体制御部、
7はマイクロプロセツサ、8は印字コードバツフ
ア、9はキヤラクタジエネレータ用メモリ、10
は調整指示部、11はキヤリア動作制御回路、1
2はラツチ回路、13はキヤリア駆動ドライバ、
14はピン駆動ドライバ、15はキヤリア駆動モ
ータ、16は印字タイミングエンコーダ、17は
キヤリア、18は印字ヘツドを表わす。
1 to 3 are explanatory diagrams of specific examples of print timing settings according to the present invention, FIG. 4 is an example of printing results, FIG. 5 is a configuration of an embodiment of the present invention, and FIG. 6 is an illustration of the overall control section. An operation explanatory diagram is shown. In the figure, 1 is a dot pulse, 2 is a print position, 3 is an editing data storage area, 4 is an all zero area, 5 is an interface circuit, 6 is an overall control unit,
7 is a microprocessor, 8 is a print code buffer, 9 is a memory for character generator, 10
1 is an adjustment instruction section, 11 is a carrier operation control circuit, 1
2 is a latch circuit, 13 is a carrier drive driver,
14 is a pin drive driver, 15 is a carrier drive motor, 16 is a print timing encoder, 17 is a carrier, and 18 is a print head.
Claims (1)
イクロプロセツサの制御によつて、印字するドツ
トパターンデータが格納された領域へのデータポ
インタを更新して正逆両方向印字を行うドツトマ
トリツクス型シリアルプリンタ装置において、 1ドツト列の印字時間内における複数用意され
た印字ずれ調整時間のうちの1つを指示する第1
の信号発生手段および複数用意された印字開始ド
ツト位置のうちの1つを指示する第2の信号発生
手段からなる調整指示部をそなえると共に、 上記第1の信号発生手段および上記第2の信号
発生手段の指示内容に従つて、正方向印字または
逆方向印字の一方に対して、印字ずれ調整時間に
よる印字タイミングの調整および印字開始ドツト
位置によるデータポインタの調整を行う制御部を
そなえ、 外部からの上記調整指示部への設定指示により
正方向の印字結果と逆方向の印字結果との縦方向
の印字ずれが調整されるようにしたことを特徴と
する印字ずれ調整機構付印字装置。 2 上記第1の信号発生手段および上記第2の信
号発生手段は、デジタルスイツチにより構成され
たことを特徴とする特許請求の範囲第1項記載の
印字ずれ調整機構付印字装置。[Scope of Claims] 1. A dot that has a built-in microprocessor and that performs forward and reverse printing by updating a data pointer to an area in which dot pattern data to be printed is stored under the control of the microprocessor. In a matrix type serial printer device, a first one is used to instruct one of a plurality of print deviation adjustment times within the printing time of one dot row.
and a second signal generating means for instructing one of a plurality of prepared print start dot positions, the first signal generating means and the second signal generating means It is equipped with a control unit that adjusts the printing timing using the print deviation adjustment time and the data pointer according to the printing start dot position for either forward printing or reverse printing according to the instructions from the means, and it A printing device with a print deviation adjustment mechanism, characterized in that a vertical printing deviation between a printing result in a forward direction and a printing result in a reverse direction is adjusted by setting instructions to the adjustment instruction section. 2. The printing device with a printing misalignment adjustment mechanism according to claim 1, wherein the first signal generating means and the second signal generating means are constituted by digital switches.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18065281A JPS5882764A (en) | 1981-11-11 | 1981-11-11 | Printer with print-deviation regulating mechanism |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18065281A JPS5882764A (en) | 1981-11-11 | 1981-11-11 | Printer with print-deviation regulating mechanism |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5882764A JPS5882764A (en) | 1983-05-18 |
| JPH0145424B2 true JPH0145424B2 (en) | 1989-10-03 |
Family
ID=16086939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18065281A Granted JPS5882764A (en) | 1981-11-11 | 1981-11-11 | Printer with print-deviation regulating mechanism |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5882764A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS615953A (en) * | 1984-06-07 | 1986-01-11 | Fujitsu Ltd | Minute correction of printing position |
| JPS62105639A (en) * | 1985-11-05 | 1987-05-16 | Hitachi Ltd | Print control method |
| JPS62279957A (en) * | 1986-05-29 | 1987-12-04 | Alps Electric Co Ltd | Shifted printing correcting system for bidirectional printing |
| JP2906400B2 (en) * | 1992-04-22 | 1999-06-21 | 富士ゼロックス株式会社 | Inkjet printer |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59396B2 (en) * | 1975-10-08 | 1984-01-06 | ブラザー工業株式会社 | Dot matrix type serial printer |
| JPS5425828A (en) * | 1977-07-29 | 1979-02-27 | Ricoh Co Ltd | Dot deviation correcting system |
| JPS5634464A (en) * | 1979-08-31 | 1981-04-06 | Seiko Epson Corp | Drive circuit for dot matrix printing head |
-
1981
- 1981-11-11 JP JP18065281A patent/JPS5882764A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5882764A (en) | 1983-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE2920597C2 (en) | Method for repositioning the printing position in typewriters | |
| JPH0145424B2 (en) | ||
| JPS63112182A (en) | Printer device | |
| JPWO1991017892A1 (en) | Printing control device | |
| US4971464A (en) | Dot serial printer | |
| JPH0420788B2 (en) | ||
| JPS588666A (en) | Bidirectional printing system of serial dot printer | |
| JPS59165661A (en) | Dot matrix printer capable of varying size of character | |
| JPH0528669B2 (en) | ||
| JPS62279957A (en) | Shifted printing correcting system for bidirectional printing | |
| US4758104A (en) | Printing device | |
| JPH08118731A (en) | Printer and printing method | |
| JPS61277545A (en) | Printer paper control method | |
| JP3050259B2 (en) | Printing control device | |
| JPH0270470A (en) | Printer | |
| JP2836061B2 (en) | Serial dot printer | |
| JPS6274664A (en) | Printer print start position adjustment device | |
| JP3514405B2 (en) | Serial printer bidirectional printing position adjustment device | |
| JPS6367174A (en) | Data printing apparatus | |
| JPH03106671A (en) | Printing head | |
| JP2756046B2 (en) | Thermal transfer printer | |
| JPH0815798B2 (en) | Printer device | |
| JPS59124880A (en) | Serial printer | |
| JPS5782071A (en) | Controlling method for carriage | |
| JPH0263879A (en) | Printer |