JPH082669B2 - Print line feed method in serial printer - Google Patents

Print line feed method in serial printer

Info

Publication number
JPH082669B2
JPH082669B2 JP61182762A JP18276286A JPH082669B2 JP H082669 B2 JPH082669 B2 JP H082669B2 JP 61182762 A JP61182762 A JP 61182762A JP 18276286 A JP18276286 A JP 18276286A JP H082669 B2 JPH082669 B2 JP H082669B2
Authority
JP
Japan
Prior art keywords
line
print
printing
line feed
character
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 - Lifetime
Application number
JP61182762A
Other languages
Japanese (ja)
Other versions
JPS6339348A (en
Inventor
忠雄 清水
浩一 滝澤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP61182762A priority Critical patent/JPH082669B2/en
Publication of JPS6339348A publication Critical patent/JPS6339348A/en
Publication of JPH082669B2 publication Critical patent/JPH082669B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/485Typewriters 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/505Typewriters 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/5056Typewriters 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
    • B41J2/5058Typewriters 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 locally, i.e. for single dots or for small areas of a character

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 [Industrial field of use] The present invention relates to a print line feed method in a serial printer, and particularly when there is a special character protruding above a normal character in the data of the next line to be printed. It relates to the print line feed method of.

〔従来の技術〕[Conventional technology]

第3図はシリアルプリンタにおける印字機構部の一例
を示す概略側面図で、図において1はプラテン、2はこ
のプラテン1に先端面を対向させたワイヤドツト式の印
字ヘツドであり、この印字ヘツド2は前記プラテン1の
軸方向に沿つて移動しつつ印字データに基づいて印字を
行うようになつている。
FIG. 3 is a schematic side view showing an example of a printing mechanism portion in a serial printer. In the figure, 1 is a platen, 2 is a wire dot type printing head with its front end face facing the platen 1, and this printing head 2 is Printing is performed based on the print data while moving along the axial direction of the platen 1.

3は印字用紙、4はシートガイド、5aと5bはプレツシ
ヤローラ、6はトラクタフイード機構であり、ここで印
字用紙3はプラテン1とシートガイド4との間を通り、
プラテン1とプレツシヤローラ5a,5bとの間を経てトラ
クタフイード機構6の位置に導びかれ、このトラクタフ
イード機構6とスプロケツト孔及びスプロケツトピンに
より係合させることで印字可能にセツトされている。
3 is a print sheet, 4 is a sheet guide, 5a and 5b are press rollers, and 6 is a tractor feed mechanism. Here, the print sheet 3 passes between the platen 1 and the sheet guide 4,
It is guided to the position of the tractor feed mechanism 6 through the space between the platen 1 and the press rollers 5a and 5b, and is engaged with the tractor feed mechanism 6 by means of the sprocket hole and the sprocket pin for printing. .

この構成において、通常は印字ヘツド2により1行分
の印字データを印字用紙3に印字し、続いて次行の印字
データが送られてくると、改行用モータによりプラテン
1及びトラクタフイード機構6が正回転して印字用紙3
が矢印α方向に一定量正送りされ、これにより予じめ設
定されている改行量で改行が行われた後、次行の印字デ
ータが前記印字ヘツド2により印字用紙3に印字される
ようになつている。
In this configuration, normally, when one line of print data is printed on the print paper 3 by the print head 2 and then the print data of the next line is sent, the platen 1 and the tractor feed mechanism 6 are driven by the line feed motor. Is rotated positively and printing paper 3
Is forwarded by a fixed amount in the direction of the arrow α, and after this, a line feed is made at the preset line feed amount, and then the print data of the next line is printed on the print sheet 3 by the print head 2. I'm running.

一方、この種のプリンタにおいては1行の印字データ
中に縦長の文字つまり縦拡大文字や、スーパースプリク
ト文字等のように通常文字よりも上方にはみ出す特殊文
字が存在する場合があり、これらの特殊文字は1パスで
印字を行うことができないことがあるので、印字データ
を2パスに分けて印字する方法が採用されている。
On the other hand, in this type of printer, there is a case where vertically long characters, that is, vertically enlarged characters and special characters such as superscript characters that extend above normal characters exist in one line of print data. Since it may not be possible to print characters in one pass, a method is adopted in which print data is divided into two passes and printed.

この場合の従来の印字改行方法を前記第3図と共に第
4図及び第5図を用いて説明する。
The conventional print line feed method in this case will be described with reference to FIG. 3 and FIGS.

第4図は印字すべき通常文字と特殊文字との位置関係
を示す図で、第2行目に縦長の“A"という縦拡大文字
と、“2"というスーパースプリクト文字が存在する場合
を示している。
Fig. 4 is a diagram showing the positional relationship between ordinary characters and special characters to be printed, and shows the case where a vertically elongated vertical character "A" and a superscript character "2" exist on the second line. ing.

また、第5図は印字ヘツド2先端面における印字ワイ
ヤの配列と、印字ドツトの位置関係を示す図で、ここで
は9本の印字ワイヤを縦1列に配列した印字ヘツドを用
いた場合を示している。
Further, FIG. 5 is a diagram showing the arrangement of the print wires on the leading end surface of the print head 2 and the positional relationship of the print dots. Here, the case where a print head in which nine print wires are arranged in one vertical column is used is shown. ing.

ここで、説明をわかり易くするため、第4図に示す第
1行目の通常文字“A,B,C"を印字した後、第2行目の縦
拡大文字“A"を印字する場合を例にとつて説明すると、
まず第4図の第1行目通常文字の“A,B,C"を印字ヘツド
2で印字した後、印字用紙3を矢印α方向に予じめ設定
された改行量だけ正送りする。
Here, in order to make the explanation easier to understand, an example is shown in which the normal characters "A, B, C" on the first line shown in Fig. 4 are printed, and then the vertically enlarged characters "A" on the second line are printed. To explain,
First, the normal characters "A, B, C" on the first line of FIG. 4 are printed by the print head 2, and then the print paper 3 is forward-fed by the preset line feed amount in the direction of the arrow α.

これにより第2行目に印字すべき縦拡大文字“A"に対
する印字ヘツド2の位置は第5図に示す(I)の位置と
なるが、この位置では縦拡大文字“A"における画素つま
りドツトd8〜d14を印字することは不可能である。
As a result, the position of the print head 2 with respect to the vertically enlarged character "A" to be printed on the second line becomes the position of (I) shown in FIG. 5, but at this position, the pixel in the vertically enlarged character "A", that is, the dot. It is impossible to print d8 to d14.

そこで、今度は印字用紙3を矢印β方向に一定量逆送
りし、これにより印字ヘツド2が第5図に示す(II)の
位置となるようにして、この位置で画素d8〜d14を1パ
ス目の印字データとして印字する。
Therefore, this time, the printing paper 3 is fed back by a certain amount in the direction of the arrow β, so that the printing head 2 is brought to the position (II) shown in FIG. 5, and the pixels d8 to d14 are moved by one pass at this position. Print as eye print data.

その後、再び印字用紙3を矢印α方向に正送りして、
印字ヘツド2が前記(I)の位置となるようにし、ここ
でドツトd1〜d7を2パス目の印字データとして印字する
ことにより縦拡大文字“A"を構成する。
After that, the print sheet 3 is forward-fed in the direction of arrow α again,
The print head 2 is set to the position (I), and dots d1 to d7 are printed as print data for the second pass to form a vertically enlarged character "A".

尚、前記印字用紙3の矢印β方向への逆送りは、第3
図におけるプラテン1とトラクタフイード機構6を逆回
転させることにより行われる。
In addition, the reverse feeding of the printing paper 3 in the direction of the arrow β is performed by the third
It is performed by rotating the platen 1 and the tractor feed mechanism 6 in the figure in reverse.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

以上説明したように、従来の印字改行方法では、縦拡
大文字やスーパースプリクト文字つまり通常文字より上
方にはみ出す特殊文字を印字する場合、一度通常の改行
量だけ印字用紙を正送りし、その後印字用紙を逆送りし
てから1パス目の印字を行うという手順をとつているた
め、印字用紙の送りに時間がかかり、またメカニツク的
な要素から改行量の誤差を生じて高い印字品位を得るこ
とが困難であるという問題を有している。
As described above, in the conventional print line feed method, when printing vertically enlarged characters or superscript characters, that is, special characters that extend above normal characters, the print paper is forward-fed by the normal line feed amount, and then the print paper is fed. It takes a long time to feed the printing paper because the procedure is to feed the paper in reverse and then perform the first pass printing, and it is possible to obtain a high printing quality by causing an error in the line feed amount due to mechanical elements. It has the problem of being difficult.

本発明はこれらの問題を解決するためになされたもの
で、特殊文字を印字する場合の印字用紙の送り時間を短
縮することができると共に、高い印字品位を確保するこ
とが可能なシリアルプリンタにおける印字改行方法を実
現することを目的とするものである。
The present invention has been made in order to solve these problems, and printing in a serial printer capable of shortening the feeding time of the printing paper when printing special characters and ensuring a high printing quality. The purpose is to realize the line feed method.

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

この目的を達成するため、本発明は、1行の印字デー
タ中に通常文字よりも上方にはみ出す特殊文字が存在す
るとき、前記印字データを2パスに分けて印字ヘッドに
より印字する場合のシリアルプリンタにおける印字改行
方法において、或る行から、該或る行の次の行である次
行に改行する前に、該次行の印字データ中に前記特殊文
字が存在するか否かを判断して、存在する場合は前記或
る行の印字後、前記次行を印字するのに、前記特殊文字
の最上位にとなる印字位置が前記印字ヘッドにより印字
される最上位置にくるように通常文字印字時の改行量よ
り少ない改行量を設定して改行した後、1パス目の印字
を行い、その後、前記次行の通常文字を印字する位置に
改行して、2パス目の印字を行うことを特徴とする。
In order to achieve this object, the present invention provides a serial printer in which when one line of print data has a special character that extends above a normal character, the print data is divided into two passes and printed by a print head. In the print line feed method in, before a line feed from a certain line to the next line, which is the line next to the certain line, it is judged whether or not the special character is present in the print data of the next line. , If it exists, when printing the next line after printing the certain line, normal character printing is performed so that the printing position that is the highest position of the special character is at the highest position that is printed by the print head. After setting the line feed amount smaller than the line feed amount at the time of line feed, perform the first pass printing, and then perform the line feed at the position where the normal character of the next line is printed and perform the second pass printing. Characterize.

〔作 用〕[Work]

上述した手段を有する本発明では、特殊文字の印字に
際して、最短の改行量で印字用紙の送りを行いつつ2パ
スの印字で特殊文字を通常文字と共に印字することが可
能となり、従来のように印字用紙を逆送りする必要がな
くなるため、特殊文字を印字する場合の印字用紙の送り
時間を短縮することができると共に、メカニツク的な要
素に起因する改行量の誤差をなくして高い印字品位を確
保することが可能になる。
According to the present invention having the above-mentioned means, when printing a special character, it is possible to print the special character together with the normal character by the two-pass printing while feeding the printing paper with the shortest line feed amount, and the conventional printing is performed. Since it is not necessary to reverse feed the paper, it is possible to shorten the feed time of the printing paper when printing special characters, and eliminate the error in the line feed amount due to mechanical elements to ensure high printing quality. It will be possible.

〔実施例〕〔Example〕

以下図面を参照して実施例を説明する。 Embodiments will be described below with reference to the drawings.

第1図は本発明のシリアルプリンタにおける印字改行
方法の一実施例を示すフローチヤート、第2図は第1図
の印字改行方法を実施するシリアルプリンタの機能ブロ
ツク図である。
FIG. 1 is a flow chart showing an embodiment of a print line feed method in a serial printer of the present invention, and FIG. 2 is a functional block diagram of a serial printer which carries out the print line feed method of FIG.

まず、第2図の構成から説明すると、図において7は
CPU(マイクロプロセツサ)、8はプログラム及び文字
や記号等のパターンデータが格納されているROM(リー
ドオンリメモリ)、9は外部からの受信印字データ等を
一時記憶するRAM(ランダムアクセスメモリ)、10はI/O
ドライバ、11は図示しない外部装置とのデータの授受を
行うインターフエース回路、12は第3図に示したプラテ
ン1及びトラクタフイード機構6を回転させる改行用モ
ータ、13は印字ヘツド2をプラテン1の軸方向に沿つて
往復移動させるためのスペーシング用モータ、14はアド
レスバスラインであり、このアドレスバスライン14によ
り前記CPU7、ROM8、RAM9、及びI/Oドライバ10が互いに
接続されている。
First, the structure of FIG. 2 will be explained.
CPU (microprocessor), 8 is a ROM (read only memory) that stores programs and pattern data such as characters and symbols, 9 is a RAM (random access memory) that temporarily stores print data received from the outside, 10 is I / O
A driver, 11 is an interface circuit for exchanging data with an external device (not shown), 12 is a line feed motor for rotating the platen 1 and tractor feed mechanism 6 shown in FIG. 3, and 13 is a print head 2 for the platen 1 A spacing motor 14 for reciprocating along the axial direction is an address bus line, and the address bus line 14 connects the CPU 7, ROM 8, RAM 9, and I / O driver 10 to each other.

この構成において、CPU7はROM8に格納されているプロ
グラムに基づいて外部装置からインターフエース回路11
及びアドレスバスライン14を介して印字データ(文字コ
ード)や制御データ(コントロールデータ)を受信し、
受信した印字データをRAM9に一時記憶させると共に、前
記印字データを基に変換したデータをアドレスとしてRO
M8から文字ドツトパターンを読出して、これをアドレス
バスライン14を介してI/Oドライバ10に出力する他、印
字に必要な動作指示する信号をI/Oドライバ10に出力す
る。
In this configuration, the CPU 7 receives the interface circuit 11 from the external device based on the program stored in the ROM 8.
And print data (character code) and control data (control data) via the address bus line 14,
The received print data is temporarily stored in RAM9, and the data converted based on the print data is used as an address for RO.
The character dot pattern is read from M8 and output to the I / O driver 10 via the address bus line 14, and also outputs to the I / O driver 10 a signal instructing an operation necessary for printing.

従つて、印字ヘツド2、改行用モータ12、及びスペー
シングモータ13等はすべてこのI/Oドライバを介してCPU
7に制御される。
Therefore, the print head 2, line feed motor 12, spacing motor 13, etc. are all connected to the CPU via this I / O driver.
Controlled to 7.

また、CPU7は受信した印字データ1行毎に縦拡大文字
やスーパースプリクト文字等の特殊文字が存在するか否
かを判断する機能を有しており、かつ存在する場合その
印字データを2パスの印字データに分ける機能も持つて
いる。
Further, the CPU 7 has a function of determining whether or not there is a special character such as vertically enlarged characters or superscript characters for each line of the received print data, and if there is, the print data is processed in two passes. It also has the function of dividing into print data.

次に、本実施例の印字改行方法を第1図と共に上述し
た各図を参照して説明する。
Next, the print line feed method of this embodiment will be described with reference to FIG.

但し、印字ヘツド2の移動やその印字動作は前記CPU7
によりI/Oドライバ10を介してヘツド駆動回路やスペー
シングモータ12により制御され、また印字用紙3の送り
も同様にCPU7によりI/Oドライバ10を介して改行用モー
タ12を制御することでプラテン1及びトラクタフイード
機構6により行われるので、これらの詳細については省
略するものとする。
However, the movement of the print head 2 and the print operation are performed by the CPU 7 described above.
Is controlled by the head drive circuit and the spacing motor 12 via the I / O driver 10, and the feeding of the printing paper 3 is also controlled by the CPU 7 via the I / O driver 10 for the line feed motor 12. 1 and the tractor feed mechanism 6, so that their details will be omitted.

またここで通常の1回の改行量は第4図に示すように
48/288=1/6インチ、通常文字の縦の長さは24/288イン
チであるものとし、かつ縦拡大文字“A"は通常文字の上
端より28/288インチ上方にはみ出し、スーパースプリク
ト文字“2"は通常文字の上端より12/288インチ上方には
み出すものとする。
Also, here the normal amount of line feed is as shown in FIG.
48/288 = 1/6 inch, normal character vertical length is 24/288 inch, and vertically expanded character "A" protrudes 28/288 inch above the upper end of normal character, and superscript character The "2" is normally 12/288 inches above the top of the letter.

更に、印字ヘツド2の印字ワイヤ数は第5図に示すよ
うに9本で、その先端は縦1列に配列されているものと
し、各印字ワイヤ間の間隔は4/288=1/72インチである
ものとする。
Further, as shown in FIG. 5, the number of print wires in the print head 2 is 9, and the tips are arranged in one vertical line, and the distance between the print wires is 4/288 = 1/72 inch. Shall be

さて、今印字を行うに際して、第4図に示すように第
1行目は“A,B,C"等の通常文字のみであり、第2行目に
は“D,E,F"の通常文字の他に縦拡大文字“A"とスーパー
スプリクト文字“2"の一方または両方が存在する場合を
考える。
Now, when printing now, as shown in Fig. 4, the first line contains only normal characters such as "A, B, C", and the second line contains normal characters such as "D, E, F". Consider a case where one or both of vertically enlarged characters “A” and superscript characters “2” exist in addition to characters.

この場合、まず印字ヘツド2により第1行目の“A,B,
C"等の通常文字が印字用紙3に印字される。
In this case, the print head 2 is used first to read "A, B,
Normal characters such as C "are printed on the printing paper 3.

第1図のS1(Sはステツプ)に示す印字中は、前記第
1行目の印字を行つている最中ということであり、この
印字中に通常は次行の印字データつまり第2行目の印字
データが受信され、RAM9に一時記憶される。
During the printing shown in S1 (S is step) in FIG. 1, it means that the printing of the first line is being performed, and during this printing, the print data of the next line, that is, the second line is normally printed. Print data is received and temporarily stored in RAM 9.

また、前記第1行目の印字が終了するまでの間、つま
りS5に至る間にS2,S3、及びS4の処理が行われる。
Further, the processing of S2, S3, and S4 is performed until the printing of the first line is completed, that is, until S5 is reached.

すなわち、S2では次行つまり第2行目の印字データが
受信済みであるか否かがCPU7で判断され、S3では第2行
目の印字データ中に縦拡大文字が存在するか否かが同じ
くCPU7で判断され、更にS4では前記第2行目の印字デー
タ中にスーパースプリクト文字が存在するか否かがCPU7
で判断される。
That is, in S2, the CPU 7 determines whether or not the print data of the next line, that is, the second line has been received, and in S3, it also determines whether or not there is a vertically enlarged character in the print data of the second line. It is determined by the CPU7, and in S4, it is determined whether or not the super-script character exists in the print data of the second line.
It is judged by.

前記S2において第2行の印字データが受信済みでない
場合、S2の処理が繰返えされるが、受信済みとなつた
後、S3において縦拡大文字が存在しないと判断された場
合は、S4の処理に移行し、このS4においてスーパースプ
リクト文字も存在しないと判断された場合、つまり第2
行目の印字データ中に特殊文字が存在しないと判断され
た場合、S5の印字終了を待ち、次のS6で印字用紙3を矢
印α方向に48/288インチの改行量となるように正送りし
た後、S13に移行して印字ヘツド2により第2行目の文
字を印字用紙に印字する。
If the print data of the second line has not been received in S2, the process of S2 is repeated. However, if it is determined that the vertically enlarged character does not exist in S3 after the print data has been received, the process of S4 is performed. If it is determined in S4 that there is no superscript character, that is, the second
If it is determined that the special characters do not exist in the print data of the line, wait for the end of printing in S5, and in the next S6, feed the printing paper 3 forward so that the line feed amount is 48/288 inches in the direction of arrow α. After that, the process proceeds to S13 and the printing head 2 prints the characters of the second line on the printing paper.

しかし、前記S3において例えば縦拡大文字“A"が存在
すると判断された場合は、S5の印字終了後S7に移行す
る。
However, if it is determined in S3 that, for example, the vertically enlarged character “A” exists, the process proceeds to S7 after the printing in S5 ends.

このS7では、前記印字用紙3を矢印α方向に20/288イ
ンチの改行量となるように正送りして、印字ヘツド2が
第5図に示す(II)の位置となるように改行する。つま
り、縦拡大文字“A"の最上位の印字位置が印字ヘツド2
の印字ワイヤにより印字される最上位のドツトd14の
位置にくるように改行する。
In step S7, the print sheet 3 is forward-fed in the direction of the arrow α so as to have a line feed amount of 20/288 inches, and the print head 2 is fed so as to be at the position (II) shown in FIG. That is, the highest print position of the vertically enlarged character "A" is the print head 2
Insert a line feed so that it is at the position of the highest dot d14 printed by the print wire of.

その後S8に移行し、このS8でCPU7によりRAM9から読出
した第2行目の1パス目の印字データすなわち縦拡大文
字“A"の上部のドツトd8〜d14、及びこのドツト内に入
るスーパースプリクト文字“2"上部のドツトを印字ヘツ
ド2により印字用紙3に印字し、印字後S9に移行して今
度は印字用紙3を矢印α方向に28/288インチの改行量と
なるように正送りする。
After that, the process shifts to S8, and the print data of the first pass of the second line read from the RAM 9 by the CPU 7 in S8, that is, the dots d8 to d14 above the vertically enlarged character "A" and the super-split characters included in this dot. The dots on the upper part of "2" are printed on the printing paper 3 by the printing head 2, and after printing, the process proceeds to S9, and this time the printing paper 3 is forward fed so that the line feed amount is 28/288 inches in the direction of the arrow α.

これにより印字用紙3は第1行目の通常文字“A,B,C"
の印字位置から合計で48/288インチ改行されたことにな
り、印字ヘツド2は第5図に示す(I)の位置となるの
で、つまり第2行目の通常の文字“D,E,F"の最上位の印
字位置が印字ヘツド2の印字ワイヤにより印字される
最上位のドツトd7の位置にくるように改行されるので、
次のS13で印字ヘツド2により2パス目の印字データと
して第4図に示した第2行目の通常文字“D,E,F"を印字
すると共に、縦拡大文字“A"の下部のドツトd1〜d7、及
びスーパースプリクト文字“2"下部のドツトを印字す
る。
As a result, the printing paper 3 has the normal characters "A, B, C" on the first line.
Since a total of 48/288 inch line feed has been made from the print position of, the print head 2 is at the position of (I) shown in Fig. 5, that is, the normal characters "D, E, F" on the second line. Since the line is placed so that the uppermost printing position of "is at the position of the highest dot d7 printed by the printing wire of the printing head 2,
In next step S13, the print head 2 prints the normal characters "D, E, F" on the second line shown in Fig. 4 as the print data for the second pass, and the dots at the bottom of the vertically enlarged character "A". Print the dots under d1 to d7 and the superscript character "2".

一方、前記S3で縦拡大文字が存在しないと判断され、
S4にてスーパースプリクト文字が存在すると判断された
場合には、S5の印字終了後、S10に移行する。
On the other hand, it is determined that there is no vertically enlarged character in S3,
When it is determined in S4 that the super-script character is present, after the printing in S5 is completed, the process proceeds to S10.

このS10では、矢印α方向に36/288インチの改行量と
なるように正送りされ、これによりスーパースプリクト
文字“2"の最上位の印字位置が印字ヘツド2の印字ワイ
ヤにより印字される最上位のドツトの位置にくるよう
に改行される。
In this S10, the paper is fed forward so that the line feed amount is 36/288 inches in the direction of the arrow α, so that the uppermost printing position of the superscript character "2" is printed by the printing wire of the printing head 2. The line is broken so that it is at the dot position.

そして、次のS11で第2行目の印字データの1パス目
として、印字ヘツド2により前記スーパースプリクト文
字“2"の上部のドツトを印字し、その後S12に移行し
て、印字用紙3を12/288インチの改行量で矢印α方向に
正送りした後、S13に移行して印字ヘツド2により2パ
ス目の印字データつまり通常文字“D,E,F"とスーパース
プリクト文字“2"の下部のドツトを印字する。
Then, in the next S11, as the first pass of the print data of the second line, the dots above the superscript character "2" are printed by the print head 2, then the process proceeds to S12, and the print paper 3 is printed. After forward feed in the direction of arrow α with a line feed amount of / 288 inches, the process moves to S13 and the print head 2 is used to print data for the second pass, that is, the normal character "D, E, F" and the lower part of the superscript character "2" Print the dots.

尚、上述した実施例では印字ヘツド2の印字ワイヤ
の数を9本として説明したが、18本であつても同様の手
順で改行、印字を行うことが可能である。
Although the number of the print wires of the print head 2 is nine in the above-described embodiment, it is possible to perform line feed and print with the same procedure even if the number of print wires is 18.

また、印字ヘツド2はワイヤドツト式のものに限られ
るものではなく、例えばインクジエツト式の印字ヘツド
においても同様に適用できることはいうまでもない。
Needless to say, the printing head 2 is not limited to the wire-dot type printing head, and can be similarly applied to, for example, an ink jet type printing head.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、或る行から、該或る行
の次の行である次行に改行する前に、該次行の印字デー
タ中に通常文字よりも上方にはみ出す特殊文字が存在す
るか否かを判断して、存在する場合は前記或る行の印字
後、前記次行を印字するのに、前記特殊文字の最上位に
となる印字位置が印字ヘッドにより印字される最上位置
にくるように通常文字印字時の改行量より少ない改行量
を設定して改行した後、1パス目の印字を行い、その
後、前記次行の通常文字を印字する位置に改行して、2
パス目の印字を行うようにしている。
As described above, according to the present invention, before a line feed is performed from a certain line to the next line which is the line next to the certain line, the special character protruding above the normal character is included in the print data of the next line. It is judged whether or not it exists, and if it exists, after printing the certain line, when printing the next line, the printing position which is the uppermost position of the special character is printed by the print head. Set a line feed amount that is smaller than the line feed amount when printing normal characters so that the line is placed, start the first pass, and then perform a line feed to the position where the next line of normal characters is printed and
I am trying to print the pass.

従ってこれによれば、印字用紙を通常の改行方向と逆
の方向に改行することなく、つまり逆送りすることな
く、拡大文字やスーパースプリクト等の通常文字より上
方にはみ出す特殊文字を印字することができるという効
果が得られ、これにより特殊文字の印字時における印字
用紙の送り時間を短縮できると共に、メカニック的要素
に起因する改行量の誤差をなくして高い印字品位を確保
できるという効果も得られる。
Therefore, according to this, it is possible to print special characters that extend above normal characters such as enlarged characters and superscripts without feeding the print paper in the direction opposite to the normal line feed direction, that is, without feeding backwards. As a result, it is possible to shorten the feed time of the printing paper at the time of printing the special character, and to obtain the high printing quality by eliminating the line feed amount error caused by the mechanical element.

また、2パス目の改行位置を通常文字を印字する位置
としているため、2パス目の印字後の位置は通常の改行
後と同じ位置になり、そのため、更に次の行の印字に移
る際、余分な改行等の処理を行わなくて済み、処理が容
易になるという効果も得られる。
Also, since the line feed position of the second pass is the position for printing normal characters, the position after printing the second pass will be the same position as after normal line feed, so when moving to the printing of the next line, It is also possible to obtain an effect that processing is easy because it is not necessary to perform processing such as extra line feed.

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

第1図は本発明のシリアルプリンタにおける印字改行方
法の一実施例を示すフローチヤート、第2図は本発明を
実施するシリアルプリンタの機能ブロツク図、第3図は
シリアルプリンタの印字機構部の概略側面図、第4図は
通常文字と特殊文字の位置関係を示す図、第5図は印字
ヘツドと印字ドツトの位置関係を示す図である。 1……プラテン、2……印字ヘツド、3……印字用紙、
6……トラクタフイード機構、7……CPU、8……ROM、
9……RAM
FIG. 1 is a flow chart showing an embodiment of a print line feed method in a serial printer of the present invention, FIG. 2 is a functional block diagram of a serial printer embodying the present invention, and FIG. 3 is an outline of a print mechanism section of the serial printer. FIG. 4 is a side view, FIG. 4 is a diagram showing the positional relationship between normal characters and special characters, and FIG. 5 is a diagram showing the positional relationship between print heads and print dots. 1 ... Platen, 2 ... Printing head, 3 ... Printing paper,
6 ... tractor feed mechanism, 7 ... CPU, 8 ... ROM,
9 ... RAM

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 B41J 3/12 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location B41J 3/12 Z

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】1行の印字データ中に通常文字よりも上方
にはみ出す特殊文字が存在するとき、前記印字データを
2パスに分けて印字ヘッドにより印字する場合のシリア
ルプリンタにおける印字改行方法において、 或る行から、該或る行の次の行である次行に改行する前
に、該次行の印字データ中に前記特殊文字が存在するか
否かを判断して、 存在する場合は前記或る行の印字後、前記次行を印字す
るのに、前記特殊文字の最上位にとなる印字位置が前記
印字ヘッドにより印字される最上位置にくるように通常
文字印字時の改行量より少ない改行量を設定して改行し
た後、1パス目の印字を行い、 その後、前記次行の通常文字を印字する位置に改行し
て、2パス目の印字を行うことを特徴とするシリアルプ
リンタにおける印字改行方法。
1. A print line feed method in a serial printer when a special character protruding above a normal character exists in one line of print data and the print data is divided into two passes and printed by a print head. Before a line feed from a certain line to the next line, which is the next line after the certain line, it is judged whether or not the special character is present in the print data of the next line. After printing a certain line, when printing the next line, the print position that is the uppermost position of the special character is less than the line feed amount during normal character printing so that the printing position becomes the uppermost position printed by the print head. A line printer is characterized in that after setting a line feed amount and performing a line feed, a first pass is printed, and then a line feed is made at a position where the normal character of the next line is printed and a second pass is printed. Print line feed method.
JP61182762A 1986-08-05 1986-08-05 Print line feed method in serial printer Expired - Lifetime JPH082669B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61182762A JPH082669B2 (en) 1986-08-05 1986-08-05 Print line feed method in serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61182762A JPH082669B2 (en) 1986-08-05 1986-08-05 Print line feed method in serial printer

Publications (2)

Publication Number Publication Date
JPS6339348A JPS6339348A (en) 1988-02-19
JPH082669B2 true JPH082669B2 (en) 1996-01-17

Family

ID=16123982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61182762A Expired - Lifetime JPH082669B2 (en) 1986-08-05 1986-08-05 Print line feed method in serial printer

Country Status (1)

Country Link
JP (1) JPH082669B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01242264A (en) * 1988-03-25 1989-09-27 Oki Electric Ind Co Ltd Printer control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5845069A (en) * 1981-09-10 1983-03-16 Fujitsu Ltd Printing system

Also Published As

Publication number Publication date
JPS6339348A (en) 1988-02-19

Similar Documents

Publication Publication Date Title
EP0507328A2 (en) Printing method for serial printer and serial printer
JPH082669B2 (en) Print line feed method in serial printer
JP3016515B2 (en) Character processing apparatus and method
JPH0421482A (en) Printer with paper width detector
JP2750692B2 (en) Recording method
JPH0356549B2 (en)
JPH05205084A (en) Bar code printer
JP3605809B2 (en) Printer
JP2969791B2 (en) Dot line printer
JP2844731B2 (en) Print data processing device
JPH0531998A (en) Journal printing control method
JP2624744B2 (en) How to set character width of printing machine
JP2984156B2 (en) Recording method and apparatus
JPS61123263A (en) Serial printer possible for reading image
KR910009064B1 (en) Method for compensating character size of printer
JP2973634B2 (en) Serial printer
JP2690759B2 (en) Recording device
JP2692203B2 (en) Printer
JPH0434946B2 (en)
JPH0550395B2 (en)
JP2756046B2 (en) Thermal transfer printer
JPS63306052A (en) Impact type dot printer
JPS62211153A (en) Printing control system for wire dot printer
JPH041702B2 (en)
JPH0229347A (en) Ink jet recorder

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term