JPS6117675B2 - - Google Patents
Info
- Publication number
- JPS6117675B2 JPS6117675B2 JP53083250A JP8325078A JPS6117675B2 JP S6117675 B2 JPS6117675 B2 JP S6117675B2 JP 53083250 A JP53083250 A JP 53083250A JP 8325078 A JP8325078 A JP 8325078A JP S6117675 B2 JPS6117675 B2 JP S6117675B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- underline
- character
- control circuit
- line
- 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
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Document Processing Apparatus (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Description
【発明の詳細な説明】
本発明は、アンダーラインを印字する装置にお
けるアンダーライン印字方法に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an underline printing method in an underline printing apparatus.
タイプライタ装置には、オペレータが文字を印
字した後、バツク・スペースを行つて手動により
アンダーラインを印字するもの、および他からの
入力により自動的にバツク・スペースを行つた
後、アンダーラインを印字するものがある。自動
アンダーライン機能を有するタイプライタ装置に
おいては、第1図aに示すように、キヤラクタ単
位にアンダーラインを印字する方法が知られてい
る。すなわち、第1図aにおいては、文字Aを印
字した後、バツク・スペースを行つてアンダーラ
インを印字し、次に文字Bを印字した後、バツ
ク・スペースを行つてアンダーラインを印字し、
同じようにして文字C,Dのアンダーラインを印
字するので、アンダーラインを有する文字につい
ては、印字ヘツドの動作が完全に重複し、印字速
度、印字品質の点で問題が生ずる。 Some types of typewriter devices print underlines manually after the operator prints a character by backspace, and others automatically backspace and then print an underline based on input from another device. There is something to do. In a typewriter device having an automatic underline function, a method is known in which an underline is printed character by character, as shown in FIG. 1a. That is, in FIG. 1a, after printing the character A, backspace is performed and an underline is printed, then after character B is printed, a backspace is performed and an underline is printed,
Since the underlines of characters C and D are printed in the same manner, the operations of the print heads are completely redundant for characters with underlines, causing problems in printing speed and print quality.
本発明の目的は、このような欠点を解消するた
め、印字速度を向上させるとともに、印字品質も
向上させるようなアンダーライン印字方法を提供
することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide an underline printing method that improves printing speed and print quality in order to eliminate such drawbacks.
本発明においては、文字を第1の方向に複数印
字し、しかる後に、第1の方向とは逆方向の第2
の方向へ印字ヘツドを移動せしめて、アンダーラ
インを印字し、アンダーラインの印字後にその後
の紙送りを行うことを特徴としている。 In the present invention, a plurality of characters are printed in a first direction, and then a second character is printed in a direction opposite to the first direction.
The printing head is moved in the direction of , an underline is printed, and the paper is then fed after the underline is printed.
以下、図面により本発明の実施例を詳細に説明
する。 Embodiments of the present invention will be described in detail below with reference to the drawings.
第2図は、タイプライタ装置のインターフエイ
スの説明図である。 FIG. 2 is an explanatory diagram of the interface of the typewriter device.
第2図aに示すように、タイプライタ装置
TYPにはデータDATA(データ・バス)および
スペースSP,ライン・フイードLF,印字PWの
各ストローブ信号STBが入力する。そして、第
2図bに示すように、文字、アンダーライン等を
印字する場合には、最初にデータDATAとして
印字データ(例えば文字A)を、またストローブ
信号STBとして印字信号PWを入力した後、次
に、データDATAとしてスペース量(距離a)
を、またストローブ信号STBとしてスペースSP
を入力する。また、第2図cに示すように、印字
することなく、単にスペース動作を行わそる場合
には、データDATAとしてスペース量aを、ま
たストローブ信号STBとしてスペースSPを入力
する。さらに、第2図dに示すように、ライン・
フイードを行わせる場合には、データDATAと
して通常は一定量であるフイード量(距離b)
を、またストローブ信号STBとしてライン・フ
イードLFを入力する。 As shown in Figure 2a, a typewriter device
Data DATA (data bus) and strobe signals STB for space SP, line feed LF, and print PW are input to TYP. As shown in FIG. 2b, when printing characters, underlines, etc., first input the print data (for example, character A) as data DATA, and then input the print signal PW as the strobe signal STB. Next, the amount of space (distance a) as data DATA
, also space SP as strobe signal STB
Enter. Further, as shown in FIG. 2c, when a space operation is simply performed without printing, a space amount a is input as data DATA and a space SP is input as a strobe signal STB. Furthermore, as shown in Figure 2d, the line
When performing feed, the feed amount (distance b), which is usually a constant amount, is used as data DATA.
and input the line feed LF as the strobe signal STB.
ここで、スペース量aは、文字の大きさ(例え
ばIとW)に比例して文字間隔を異ならせるた
め、種々の値をとることもでき、また、アンダー
ラインを連続して印字し、一本に見せるために、
文字間隔すなわちスペース量aを小さくして、ア
ンダーライン相互間隔をなくすこともできる。 Here, the space amount a can take various values in order to vary the character spacing in proportion to the size of the characters (for example, I and W). To make it look like a book,
It is also possible to reduce the character spacing, that is, the space amount a, and eliminate the spacing between underlines.
第3図は、本発明の実施例を示すタイプライタ
装置のブロツク図である。 FIG. 3 is a block diagram of a typewriter device showing an embodiment of the present invention.
第3図においては、アンダーライン開始/終了
コードが連続して印字すべきアンダーラインを有
する文字群の頭尾に挿入され、印字すべき他の文
字とともにバツフア・メモリ1に格納されてい
る。 In FIG. 3, underline start/end codes are inserted at the beginning and end of a group of characters having underlines to be printed consecutively, and are stored in the buffer memory 1 together with other characters to be printed.
例えば、バツフア・メモリ1からスペースSP
のコードが文字識別回路2に入力すると、文字識
別回路2はこれをデコードしてスペースSPのラ
インに信号「1」を送る。同じようにして、アル
フアニユーメリツクのコードがデコードされる
と、A/Nラインに信号「1」が送られ、キヤリ
ツジ・リターンCR,アンダーライン・スター
ト/ストツプUNLまたはライン・フイードLFの
各コードがデコードされると、それぞれCR,
UNL,LFの各ラインに信号「1」が送られる。 For example, from buffer memory 1 to space SP
When the code is input to the character recognition circuit 2, the character recognition circuit 2 decodes it and sends a signal "1" to the line of space SP. In the same way, when the alphanumeric code is decoded, a signal "1" is sent to the A/N line, and each code of carriage return CR, underline start/stop UNL or line feed LF is decoded. are decoded, CR,
A signal "1" is sent to each line of UNL and LF.
以下、動作順序にしたがつて、説明する。 The operation will be explained below in the order of operation.
1行印字制御回路8に1行印字開始命令RWS
が与えられると、1行印字制御回路8は先ずクリ
ア信号CLを出力して、アドレス・カウンタ6,
印字方向フリツプ・フロツプ9およびアンダーラ
イン・フリツプ・フロツプ11をクリアした後、
1文字印字制御回路4に対して1文字印字開始信
号CHSを出力する。 1 line print start command RWS to 1 line print control circuit 8
is given, the one-line print control circuit 8 first outputs a clear signal CL, and the address counters 6,
After clearing print direction flip-flop 9 and underline flip-flop 11,
A single character printing start signal CHS is output to the single character printing control circuit 4.
1文字印字制御回路4は、1行印字制御回路8
からの印字開始信号CHSを受けると、文字識別
回路2からの入力にしたがい、次の動作を行う。 The one-character printing control circuit 4 is a one-line printing control circuit 8.
When receiving the print start signal CHS from the character identification circuit 2, the following operation is performed according to the input from the character identification circuit 2.
A/Nラインに入力「1」があるとき、キヤリ
ツジ・リターンCRのラインは「0」であるた
め、フリツプ・フロツプ9はクリアされたままで
あり、(C=0)、制御回路4の順序回路が動作し
て、A=0,B=0を出力するとともに、印字装
置5に印字ストロープPW・STBを出力する。A
=0になるとアンド・ゲート12が開くので、バ
ツフア・メモリ1からバスを通つてアルフアニユ
ーメリツク・コードがそのままデータDATAと
して印字装置5に入力する。印字装置5は入力デ
ータDATAを印字すると、動作終了信号FNを1
文字印字制御回路4に出力する。 When there is an input "1" on the A/N line, the carriage return CR line is "0", so the flip-flop 9 remains cleared (C=0), and the sequential circuit of the control circuit 4 operates and outputs A=0, B=0, as well as printing strokes PW and STB to the printing device 5. A
When =0, the AND gate 12 opens, and the alphanumeric code is directly input from the buffer memory 1 to the printing device 5 as data DATA via the bus. When the printing device 5 prints the input data DATA, it outputs the operation end signal FN to 1.
Output to character printing control circuit 4.
次に、順序回路の動作により、アンド・ゲート
12,13にA=1,エンコーダ3にSP=1,
印字装置5にB=0(印字ヘツドは正方向移動)
をそれぞれ出力するとともに、スペース・ストロ
ーブSP STBを出力する。印字装置5は、アン
ド・ゲート13を通つてエンコーダ3から送られ
たスペース量aだけ正方向に印字ヘツドを移動さ
せた後、動作終了信号FNを1文字印字制御回路
4に出力する。 Next, by the operation of the sequential circuit, A=1 is input to the AND gates 12 and 13, SP=1 is input to the encoder 3,
B=0 for printing device 5 (print head moves in forward direction)
and space strobe SP STB. After the printing device 5 moves the printing head in the positive direction by the space amount a sent from the encoder 3 through the AND gate 13, it outputs an operation end signal FN to the one-character printing control circuit 4.
次に、SPラインに入力「1」があるとき、フ
リツプ・フロツプ9はクリアされたまま(C=
0)であるため、1文字印字制御回路4は、アン
ド・ゲート12,13にA=1,エンコーダ3に
SP=1,印字装置5にB=0(正方向移動)を
出力するととともに、スペース・ストローブSP
STBを出力する。印字装置5は、エンコーダ3
からのスペース量aだけ正方向に印字ヘツドを移
動させた後、動作終了信号FNを1文字印字制御
回路4に出力する。 Next, when there is an input “1” on the SP line, flip-flop 9 remains cleared (C=
0), the single character print control circuit 4 outputs A=1 to the AND gates 12 and 13, and A=1 to the encoder 3.
SP=1, B=0 (forward movement) is output to the printing device 5, and the space strobe SP
Output STB. The printing device 5 is the encoder 3
After moving the print head in the positive direction by the space amount a from , an operation end signal FN is output to the one-character print control circuit 4.
次に、LFラインに入力「1」があるとき、制
御回路4は、アンド・ゲート12,13にA=
1,エンコーダ3にLF=1,印字装置5にB=
0とした後、ライン・フイード・ストローブLF
STBを出力する。このとき、エンコーダ3はラ
イン・フイード量bを出力するので、印字装置3
はライン・フイード量bだけライン・フイード動
作を行つた後、動作終了信号FNを1文字印字制
御回路4に出力する。 Next, when there is an input "1" on the LF line, the control circuit 4 inputs A= to the AND gates 12 and 13.
1, LF=1 for encoder 3, B= for printing device 5
After setting it to 0, line feed strobe LF
Output STB. At this time, the encoder 3 outputs the line feed amount b, so the printing device 3
After performing the line feed operation by the line feed amount b, outputs the operation end signal FN to the one character printing control circuit 4.
これらの場合、1文字印字制御回路4は動作終
了信号FNを受けると、1行印字制御回路8に対
して1文字印字終了信号CHFを出力する。 In these cases, upon receiving the operation end signal FN, the one character print control circuit 4 outputs the one character print end signal CHF to the one line print control circuit 8.
次に、CRラインに入力「1」があるとき、フ
リツプ・フロツプ9がセツトされ、C=1とな
る。このとき1文字印字制御回路4は、1行印字
制御回路8に対して直ちに1文字印字終了信号
CHFを出力する。 Next, when there is an input "1" on the CR line, flip-flop 9 is set and C=1. At this time, the one-character printing control circuit 4 immediately sends a one-character printing end signal to the one-line printing control circuit 8.
Output CHF.
次に、UNLラインに入力「1」があるときに
は、フリツプ・フロツプ11がセツトされ、F=
1になる。そして、1文字印字制御回路4は1行
印字制御回路8に対して直ちに1文字印字終了信
号CHFを出力する。 Next, when there is an input "1" on the UNL line, flip-flop 11 is set and F=
Becomes 1. Then, the one-character printing control circuit 4 immediately outputs a one-character printing end signal CHF to the one-line printing control circuit 8.
1行印字制御回路8は、1文字印字終了信号
CHFを受けると、C=0の場合には、印字ヘツ
ドは正方向に移動するので、アドレス・カウンタ
6に対してインクリメント信号INCを出力する。
アドレス・カウンタ6は、バツフア・メモリ1に
次のアドレスを指示する。 The 1-line printing control circuit 8 outputs a 1-character printing end signal.
When CHF is received, if C=0, the print head moves in the positive direction, so it outputs an increment signal INC to the address counter 6.
Address counter 6 indicates the next address to buffer memory 1.
1行印字制御回路8は、再び1文字印字開始信
号CHSを1文字印字制御回路4に送出する。ま
た、文字識別回路2からは、1文字印字制御回路
4にA/N,SP,CR,UNL,LFの識別信号を
出力する。 The one-line printing control circuit 8 again sends the one-character printing start signal CHS to the one-character printing control circuit 4. Further, the character identification circuit 2 outputs identification signals of A/N, SP, CR, UNL, and LF to the single character printing control circuit 4.
これにより、1文字印字制御回路4では順序回
路が動作て、印字装置5に与えるデータDATA
とストローブ信号STBの出力を制御する。 As a result, the sequential circuit operates in the single character printing control circuit 4, and the data DATA to be sent to the printing device 5 is activated.
and controls the output of strobe signal STB.
また、1行印字制御回路8は、1文字印字終了
信号CHFを受けたとき、C=1の場合には、印
字ヘツドが逆方向に移動するので、アドレス・カ
ウンタ6に対してデイクリメント信号DCRを出
力する。 Furthermore, when the one-line printing control circuit 8 receives the one-character printing end signal CHF, if C=1, the printing head moves in the opposite direction, so the one-line printing control circuit 8 sends a decrement signal DCR to the address counter 6. Output.
アドレス・カウンタ6の内容は、デイクリメン
ト信号DCRにより順次マイナス1されて、バツ
フア・メモリ1に対し1つ前のアドレスを指示す
る。 The contents of the address counter 6 are sequentially decremented by one by the decrement signal DCR to instruct the buffer memory 1 to the previous address.
1行印字制御回路8が1文字印字開始信号
CHSを1文字印字制御回路4に送出するととも
に、文字識別回路2から識別信号が1文字印字制
御回路4に出力されると、1文字印字制御回路4
は順序回路の動作により、次の信号を送出する。 1 line printing control circuit 8 sends 1 character printing start signal
When the CHS is sent to the one-character printing control circuit 4 and the identification signal is output from the character identification circuit 2 to the one-character printing control circuit 4, the one-character printing control circuit 4
sends out the following signal by the operation of the sequential circuit.
識別信号がA/NおよびSPの場合に、C=1
であると、先ず、アンド・ゲート12,13にA
=1,エンコーダ3にSP=1,印字装置5にB
=1(逆方向移動)およびスペース・ストローブ
SP STBをそれぞれ出力する。 When the identification signal is A/N and SP, C=1
Then, first, A is applied to AND gates 12 and 13.
= 1, SP = 1 for encoder 3, B for printing device 5
=1 (reverse movement) and space strobe
Output each SP STB.
次に、識別信号がUNLでなければ、フリツ
プ・フロツプ11はクリアされれたままで、F=
0であるため直ちに印字装置5より動作終了信号
FNが送出され、1文字印字制御回路4から1行
印字制御回路8に対し1文字印字終了信号CHF
が出力される。 Next, if the identification signal is not UNL, flip-flop 11 remains cleared and F=
Since it is 0, the printing device 5 immediately sends an operation end signal.
FN is sent, and the 1 character printing end signal CHF is sent from the 1 character printing control circuit 4 to the 1 line printing control circuit 8.
is output.
また、識別信号2からのUNLラインに入力
「1」があるとき、フリツプ・フロツプ11がセ
ツトされ、F=1となるため、印字装置5より動
作終了信号FNが入力さされると、1文字印字制
御回路4はアンド・ゲート12,13にA=1,
エンコーダ3にUNL=1を与えて、エンコーダ
3によりアンダーライン・コードを発生させ、ア
ンド・ゲート13を通つて印字装置5に送出す
る。また、同時に、印字ストローブPW STBを
印字装置5に出力する。 Furthermore, when there is an input "1" on the UNL line from the identification signal 2, the flip-flop 11 is set and F=1, so when the operation end signal FN is input from the printing device 5, one character is printed. The control circuit 4 inputs A=1 to the AND gates 12 and 13.
By applying UNL=1 to the encoder 3, the encoder 3 generates an underline code and sends it to the printing device 5 through the AND gate 13. At the same time, the printing strobe PW STB is output to the printing device 5.
印字装置5は、キヤリツジ・リターンの際に、
アンダーラインを逆方向に印字した後、動作終了
信号FNを出力すると、1文字印字制御回路4は
1行印字制御回路8に対し1文字印字終了信号
CHFを出力する。 The printing device 5, upon carriage return,
After printing the underline in the reverse direction, when the operation end signal FN is output, the 1-character print control circuit 4 sends the 1-character print end signal to the 1-line print control circuit 8.
Output CHF.
このように、第3図においては、正方向印字つ
まりC=0,B=0の場合には、最初に印字を行
つてから、次にスペース動作を行うのに対して、
逆方向印字つまりC=1,B=1の場合には、最
初にスペース動作を行つてから、次に印字(アン
ダーライン)を行うので、印字ヘツドの動作位置
がずれることはない。 In this way, in FIG. 3, in the case of forward printing, that is, C=0, B=0, printing is performed first and then space operation is performed, whereas
In the case of reverse printing, that is, C=1, B=1, a space operation is first performed and then printing (underline) is performed, so that the operating position of the print head does not shift.
1行印字制御回路8は、1文字印字終了信号
CHFを受けると、C=1の間はアドレス・カウ
ンタ6にデイクリメント信号DCRを送出する。 The 1-line printing control circuit 8 outputs a 1-character printing end signal.
When receiving CHF, it sends a decrement signal DCR to the address counter 6 while C=1.
アドレス・カウンタ6の内容がマイナス1され
たとき、初期値を越えるとボロー信号BRWが出
力されるので、1行印字制御回路8は1文字印字
制御回路4に対してライン・フイード識別信号
LFを送出する。1文字印字制御回路4は、アン
ド・ゲート12,13にA=1,エンコーダ3に
LF=1,印字装置5にB=0をそれぞれ出力た
後、ライン・フイード・ストローブLF STBを出
力する。このとき、エンコーダ3はライン・フイ
ード量を発生し、データDATAとして印字装置
5に出力する。 When the contents of the address counter 6 are decremented by 1 and exceed the initial value, a borrow signal BRW is output, so the 1-line print control circuit 8 sends a line feed identification signal to the 1-character print control circuit 4.
Send LF. The one character printing control circuit 4 inputs A=1 to the AND gates 12 and 13, and inputs A=1 to the encoder 3.
After outputting LF=1 and B=0 to the printing device 5, the line feed strobe LF STB is output. At this time, the encoder 3 generates a line feed amount and outputs it to the printing device 5 as data DATA.
印字装置5は、ライン・フイードを行つた後、
動作終了信号FNを出力する。1文字印字制御回
路4から1文字印字終了信号CHFを受けた1行
印字制御回路8は、アドレス・カウンタ6からの
ボロー信号がBRW=1のとき、1行印字終了信
号RWFを出力する。 After the printing device 5 performs line feed,
Outputs operation end signal FN. The one-line printing control circuit 8, which receives the one-character printing end signal CHF from the one-character printing control circuit 4, outputs the one-line printing end signal RWF when the borrow signal from the address counter 6 is BRW=1.
第5図a,bは、第3図の動作説明図である。 FIGS. 5a and 5b are explanatory diagrams of the operation of FIG. 3.
例えば、第3図のバツフア・メモリ1にアンダ
ーライン開始終了コードを付加したAutomaticの
コード群と、スペース・コードと、Underlineの
コード群とキヤリツジ・リターンが格納されてい
るものとする(第5図a)。 For example, assume that buffer memory 1 in Figure 3 stores a group of Automatic codes with an underline start/end code, a space code, a group of Underline codes, and a carriage return (Figure 5). a).
アドレス・カウンタ6によりこのアドレスが指
示されると、印字装置5は、第5図b−1〜b−
2のように、印字ヘツドPHDを文字Aから正方
向に移動させて各文字群を印字し、スペース動作
を行つてキヤリツジ・リターンC/Rを検出す
る。キヤリツジ・リターンの際に、アンダーライ
ンのある文字の位置では、第5図b−3〜b−4
のように、逆方向にアンダーラインを印字して、
印字ヘツドPHDを初期位置に戻す。初期位置を
検出すると、印字装置5はライン・フイードを行
つて、次の行に移る。 When this address is specified by the address counter 6, the printing device 5 prints the data in FIGS.
2, the print head PHD is moved in the forward direction from character A to print each character group, and a space operation is performed to detect the carriage return C/R. At the time of carriage return, at the position of underlined characters, please refer to Figure 5 b-3 to b-4
Print an underline in the opposite direction, as in
Return the print head PHD to its initial position. When the initial position is detected, the printing device 5 performs line feed and moves to the next line.
第4図は、本発明の他の実施例を示すタイプラ
イタ装置のブロツク図である。 FIG. 4 is a block diagram of a typewriter device showing another embodiment of the present invention.
第4図においては、文字コードの特定ビツトの
有無によりアンダーラインの有無を指定するコー
ドをバツフア・メモリ1に格納する。例えば、ア
スキー・コード7ビツトの頭に1ビツトを付加し
て、その特定1ビツトの「1」または「0」によ
りアンダーラインの有無を定める。 In FIG. 4, a code is stored in the buffer memory 1 that specifies the presence or absence of an underline based on the presence or absence of a specific bit of a character code. For example, 1 bit is added to the beginning of 7 bits of ASCII code, and the presence or absence of an underline is determined by that particular 1 bit being ``1'' or ``0''.
そして、印字ヘツドが正方向に移動するときに
は、特定ビツトの内容に関係なく文字を印字し、
キヤリツジ・リターンのときに、特定ビツトが
「1」のコードを検出して逆方向に移動しながら
アンダーラインを印字する。 Then, when the print head moves in the forward direction, characters are printed regardless of the contents of specific bits,
During carriage return, a code in which a specific bit is "1" is detected and an underline is printed while moving in the opposite direction.
第4図は第3図の構成と異る点は、アンダーラ
イン開始、終了コードの識別信号UNLによりセ
ツトされるフリツプ・フロツプ11を除去し、バ
ツフア・メモリ1内の特定ビツトを検出してアン
ダーライン・コードとスペース・コードを発生す
るエンコーダ7を追加したことである。したがつ
て、エンコーダ3は、スペース量とライン・フイ
ード量のみを発生するとともに、文字識別回路2
からの識別信号にUNLは不要となる。 4 differs from the configuration in FIG. 3 in that the flip-flop 11, which is set by the underline start and end code identification signals UNL, is removed, and a specific bit in the buffer memory 1 is detected to detect the underline. The main difference is that an encoder 7 that generates a line code and a space code is added. Therefore, the encoder 3 generates only the space amount and the line feed amount, and the character recognition circuit 2
UNL is no longer required for the identification signal from.
第4図では、第3図とほゞ同一の動作を行う
が、異なる点は、C=1のとき1行印字制御回路
8から1文字印字開始信号CHSが出力されたと
き、アンド・ゲート16が開いて、バツフア・メ
モリ1のアンダーライン・ビツト部がエンコーダ
7を通つて文字識別回路2に、またアンド・ゲー
ト12を通つて印字装置5にそれぞれ送出される
ことである。すなわち、エンコーダ7は、アンダ
ーライン・ビツトの「1」,「0」に対応して各々
アンダーライン・コードUNLとスペース・コー
ドSPを発生し、文字識別回路2でこれをデコー
ドしてアンダーライン・コードUNLのときには
A/Nラインに、またスペース・コードSPのと
きにはSPラインにそれぞれ出力する。 In FIG. 4, the operation is almost the same as that in FIG. is opened, and the underline bit part of the buffer memory 1 is sent through the encoder 7 to the character recognition circuit 2 and through the AND gate 12 to the printing device 5, respectively. That is, the encoder 7 generates an underline code UNL and a space code SP in response to the underline bits "1" and "0", respectively, and the character identification circuit 2 decodes these to generate the underline bit. When the code is UNL, it is output to the A/N line, and when the space code is SP, it is output to the SP line.
A/Nラインに入力「1」があると、1文年印
字制御回路4は、C=1であるため、先ずアン
ド・ゲート12,13にA=1,エンコーダ3に
SP=1印字装置5にB=1(逆方向移動)およ
びスペース・ストローブSP STBをそれぞれ出力
する。 When there is an input "1" on the A/N line, the 1st sentence year printing control circuit 4 first inputs A=1 to the AND gates 12 and 13 and inputs A=1 to the encoder 3 since C=1.
SP=1 Outputs B=1 (reverse movement) and space strobe SP STB to the printing device 5, respectively.
印字装置5より動作終了信号FNが入力される
と、次に1文字印字制御回路4は、アンド・ゲー
ト12,13にA=0を出力してエンコーダ7か
らのアンダーライン・コードUNLをデータ
DATAとして印字装置5に入力させると同時
に、印字装置5に印字ストローブPW STBを出
力する。 When the operation end signal FN is input from the printing device 5, the single character printing control circuit 4 outputs A=0 to the AND gates 12 and 13, and reads the underline code UNL from the encoder 7 as data.
At the same time as inputting DATA to the printing device 5, a printing strobe PW STB is output to the printing device 5.
印字装置5は、キヤリツジ・リターンの際にア
ンダーラインを逆方向に印字する。この場合、第
3図と同じように、C=1のときには最初にスペ
ースを、次にアンダーラインの印字を行うので、
C=0の場合と逆の移動関係となり、印字ヘツド
の印字および停止位置がずれることはない。 The printing device 5 prints an underline in the opposite direction when the carriage returns. In this case, as in Figure 3, when C=1, a space is printed first and an underline is printed next, so
The movement relationship is opposite to that when C=0, and the printing and stopping positions of the print head will not deviate.
C=1の期間、1行印字制御回路8からアドレ
ス・カウンタ6にデイクリメント信号DCRを送
出することにより、アドレス・カウンタ6の内容
はマイナス1される。アドレス・カウンタ6の内
容が初期値を越えてマイナス1されると、ボロー
信号BRWが出力されるので、1行印字制御回路
8はエンコーダ7にLF=1を出力し、エンコー
ダ7にライン・フイード・コードLFを発生させ
る。 During the period when C=1, the contents of the address counter 6 are decremented by one by sending the decrement signal DCR from the one-line print control circuit 8 to the address counter 6. When the contents of the address counter 6 exceed the initial value and are decremented by 1, the borrow signal BRW is output, so the 1-line print control circuit 8 outputs LF=1 to the encoder 7, and the encoder 7 receives the line feed signal.・Generate code LF.
これにより、識別信号としてLFが入力するの
で、1文字印字制御回路4は、アンド・ゲート1
2,13にA=1を、エンコーダ3にLF=1
を、印字装置5にB=0およびライン・フイー
ド・ストローブLF STBを出力する。 As a result, LF is input as an identification signal, so the single character printing control circuit 4 inputs the AND gate 1.
A=1 for 2 and 13, LF=1 for encoder 3
and outputs B=0 and line feed strobe LF STB to the printing device 5.
第4図においても、第3図と同じように、1行
印字制御回路8は、BRW=1および1文字印字
終了信号CHFの受信により、1行印字終了信号
RWFを出力する。 In FIG. 4, as in FIG. 3, the one-line printing control circuit 8 receives the one-line printing end signal by receiving BRW=1 and the one-character printing end signal CHF.
Output RWF.
第5図c,dは、第4図の動作説明図である。 FIGS. 5c and 5d are explanatory diagrams of the operation of FIG. 4.
例えば、第5図cに示すように、バツフア・メ
モリ1にアンダーライン情報の特定ビツトを有す
るA,B,C……のコードが格納されているもの
とする。 For example, as shown in FIG. 5c, it is assumed that the buffer memory 1 stores codes A, B, C, . . . having specific bits of underline information.
アドレス・カウンタ6の指示により、印字装置
5は第5図d−1のように、正方向移動の際に
は、特定ビツトに関係なく文字を印字した後、キ
ヤリツジ・リターンCRを検出すると、第5図d
−2〜d−3のように、逆方向移動の際に特定ビ
ツトの内容を識別して、「1」のときには逆方向
にアンダーラインを印字し、「0」のときにはス
ペース動作を行つて印字ヘツドPHDを初期位置
に停止させる。初期位置に到達すると、印字装置
5はライン・フイードを行つて次に行に移る。 According to the instruction from the address counter 6, the printing device 5 prints characters regardless of the specific bit during forward movement as shown in FIG. Figure 5 d
-2 to d-3, the content of a specific bit is identified when moving in the reverse direction, and when it is "1", an underline is printed in the reverse direction, and when it is "0", a space operation is performed and printed. Stop the head PHD at the initial position. Once the initial position is reached, the printing device 5 performs a line feed to move to the next line.
以上説明したように、本発明によれば、アンダ
ーラインを逆方向に複数回まとめてて印字するの
で、印字速度と印字品質を上げることが可能であ
る。また、印字装置としては、従来のものをその
まま使用することができる。 As described above, according to the present invention, since the underline is printed multiple times in reverse directions, it is possible to increase the printing speed and print quality. Further, as a printing device, a conventional one can be used as is.
第1図は従来のアンダーライン印字方式の説明
図、第2図はタイプライタ装置のインターフエイ
スの説明図、第3図は本発明の実施例を示すタイ
プライタ装置のブロツク図、第4図は本発明の他
の実施例を示すタイプライタ装置のブロツク図、
第5図は第3図および第4図の動作説明図であ
る。
1:バツフア・メモリ、2:文字識別回路、
3,7:エンコーダ、4:1文字印字制御回路、
5:印字装置、6:アドレス・カウンタ、8:1
行印字制御回路、9,11:フリツプ・フロツ
プ、12,13,15,16:アンド・ゲート、
14,17:オア・ゲート、18:ワイヤー・オ
ア・ゲート、20;アンダーライン開始コード、
30:アンダーライン終了コード。
Fig. 1 is an explanatory diagram of a conventional underline printing method, Fig. 2 is an explanatory diagram of an interface of a typewriter device, Fig. 3 is a block diagram of a typewriter device showing an embodiment of the present invention, and Fig. 4 is an explanatory diagram of a typewriter device. A block diagram of a typewriter device showing another embodiment of the present invention,
FIG. 5 is an explanatory diagram of the operations in FIGS. 3 and 4. 1: buffer memory, 2: character recognition circuit,
3, 7: Encoder, 4: 1 character printing control circuit,
5: Printing device, 6: Address counter, 8:1
Line print control circuit, 9, 11: flip-flop, 12, 13, 15, 16: AND gate,
14, 17: OR gate, 18: Wire or gate, 20; Underline start code,
30: Underline end code.
Claims (1)
モリと、アンダーライン情報によりアンダーライ
ンを印字するアンダーライン印字機能とを具備し
てなる逐次印字装置のアンダーライン印字方法に
おいて、前記データ・バツフア・メモリに格納さ
れた印字データにもとづいて文字を第1の方向に
複数印字し、しかる後に、印字ヘツドを前記第1
の方向とは逆方向の第2の方向に移動せしめ、前
記アンダーライン情報にもとづいてアンダーライ
ンの必要な部分に第2の方向にアンダーラインを
複数回印字せしめ、該アンダーラインの複数回印
字の後、その行の紙送りを行うことを特徴とする
逐次印字装置のアンダーライン印字方法。1. In an underline printing method for a sequential printing device that is equipped with a data buffer memory that stores print data and an underline printing function that prints an underline based on underline information, A plurality of characters are printed in a first direction based on the print data, and then the print head is moved in the first direction.
The underline is moved in a second direction opposite to the direction of the underline, and the underline is printed multiple times in the second direction on the necessary part of the underline based on the underline information, and the underline is printed multiple times in the second direction. An underline printing method for a sequential printing device, characterized in that the paper is then fed for that line.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8325078A JPS5510667A (en) | 1978-07-08 | 1978-07-08 | Underline printing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8325078A JPS5510667A (en) | 1978-07-08 | 1978-07-08 | Underline printing system |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62068599A Division JPS62231781A (en) | 1987-03-23 | 1987-03-23 | Underline printing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5510667A JPS5510667A (en) | 1980-01-25 |
| JPS6117675B2 true JPS6117675B2 (en) | 1986-05-08 |
Family
ID=13797078
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8325078A Granted JPS5510667A (en) | 1978-07-08 | 1978-07-08 | Underline printing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5510667A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5714979A (en) * | 1980-06-30 | 1982-01-26 | Toshiba Corp | Processing system of underline and ruled line |
| JPS60239269A (en) * | 1984-05-14 | 1985-11-28 | Fujitsu Ltd | Controlling system for printing rule |
| JP2620735B2 (en) * | 1991-07-30 | 1997-06-18 | 株式会社沖データ | Printer control device |
| JPH06342437A (en) * | 1994-04-04 | 1994-12-13 | Canon Inc | Information processor |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2158816A5 (en) * | 1971-09-29 | 1973-06-15 | Olivetti & Co Spa | |
| JPS5153918A (en) * | 1974-11-05 | 1976-05-12 | Hitachi Ltd | RAITOBATSUKUKIKOTSUKI PURUINTA |
-
1978
- 1978-07-08 JP JP8325078A patent/JPS5510667A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5510667A (en) | 1980-01-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4376588A (en) | Bi-directional serial printer with look-ahead | |
| EP0077892B1 (en) | Word processing system having a formatting bidirectional printer | |
| JPS6117675B2 (en) | ||
| JPS6118033A (en) | print processing device | |
| US4933875A (en) | Bi-directional printer for efficient of stored data and real-time input data | |
| JPS6159920B2 (en) | ||
| JPS62231781A (en) | Underline printing system | |
| KR900005767B1 (en) | Arbitrary line spacing method in electronic typewriter | |
| JP3029067B2 (en) | Label printer | |
| JP2683468B2 (en) | Printer | |
| JPS6261436B2 (en) | ||
| JPS63312845A (en) | Page managing system | |
| JPS60230854A (en) | Printing method | |
| JPH0470155B2 (en) | ||
| JPH0431313B2 (en) | ||
| KR970011235B1 (en) | Dot-printer graphic data printing velocity improving method | |
| JPS62103164A (en) | Dot printing device | |
| JPH0592649A (en) | Label printer | |
| JPH06183064A (en) | Serial printer | |
| JPS62248651A (en) | Printing method | |
| JPS63249677A (en) | Printer printing method | |
| JPS6124484A (en) | Space control system for printer | |
| JPS63315277A (en) | document printing device | |
| JPS6161861A (en) | Printer control apparatus | |
| JPH06126991A (en) | Recording method and apparatus |