JPS6144663A - Printing apparatus - Google Patents

Printing apparatus

Info

Publication number
JPS6144663A
JPS6144663A JP59166898A JP16689884A JPS6144663A JP S6144663 A JPS6144663 A JP S6144663A JP 59166898 A JP59166898 A JP 59166898A JP 16689884 A JP16689884 A JP 16689884A JP S6144663 A JPS6144663 A JP S6144663A
Authority
JP
Japan
Prior art keywords
data
printed
gate
printing
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP59166898A
Other languages
Japanese (ja)
Other versions
JPH0530187B2 (en
Inventor
Toshihiko Tokuda
徳田 寿彦
Kazuhiko Shiono
塩野 一彦
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP59166898A priority Critical patent/JPS6144663A/en
Publication of JPS6144663A publication Critical patent/JPS6144663A/en
Publication of JPH0530187B2 publication Critical patent/JPH0530187B2/ja
Granted 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
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Abstract

PURPOSE:To maintain the space between two data constant even though the letter row printed on the left side in the same line printing the left side data is variable in its length by establshing the prescribed space interval at the point of time when the printing of the data to be printed on the left side is accomplished. CONSTITUTION:The data of the letter, mark or the like to be printed on the left side of the same line are housed in a data buffer 2 from the front address continuously, and a content of a address counter 4 is increased by one by the clock signal CL1 when the AND gate 5 opend, and the position data corresponding to the content of the counter 4 is read out by the data buffer 2. The data to be printed on the right side of the same line is read out from the data buffer by the clock signal LC3 in the same manner, and being sent to a printer 9 through OR circuit 8. The space interval as same as the pre-established distance is established at the point of time when the printing of the data to be printed on the left side, then the right side data is printed.

Description

【発明の詳細な説明】[Detailed description of the invention]

(イ)産業上の利用分野 本発明は、2つの印字データを同一行に印刷する場合、
左側の印字データの長さ化考巨し、右側の印字データの
印字開始位置を最211rcとることにより見やすい印
字を行なうための印字装fに関する。 (ロ)従来の技術 同一行に少なくとも一方が可変長でるる2種のデータを
印字する具体的な例としては差込み印刷があろ(昭和5
7年5月20日付で教育社より発行された「N e w
 t o n  別冊1 ワードプロセッサのすべて」
〕。 (ハ)発明が解決しよりとする問題点 熱るFClこのよ5な差込み印刷においてに2つの印字
データが共に固定長でるるなら、予め印字開始位置を定
めておけば、最も児やすく、かつ美しく印字できる。ま
た一方が可変長でも、同一行中の左側に印字されるデー
タが固定長ならば、予め印字開始位置を定めていれば見
やすく印字できる。しかしながら、左側に印字されるデ
ータが可変長の場合、見やすい印字をしようとすると、
右側に印字されるデータの印字開始位置が固定となると
、2つの印字データ間が詰まったり、広がったり、重な
ったりすることが起こり、この場合、印字結果は非常に
見ずらくまたはひどい場合は確認できない事態も起こ〕
得た。 以上の如き不都合について実際の印字例として第2図を
参照し説明する。第2図は従来の名前と敬称の印字の場
合で、左側のデータ(名前〕は可変長で、1文字から3
文字までの長さをとシ、右側のデータ(敬称〕は印字位
置が4文字目に固定されている。このため■の場合はデ
ータ間隔が広くなってしまう。■の場合は詰まってしま
う。■の場合は4文字目が重ね書きされて、文字が確認
できない状態になりてしまう・このよ5 rc s見や
すい印字が行われなかった。 に)問題点を解決するための手段 本発明は斯る点に鑑みてな嘔れたもので、同一行に2つ
のデータを印字する方式に訃いて、左側に印字されるデ
ータが印字終了した時点で予め設定した距離だけのスペ
ース間隔を設定し、その後右側のデータを印字する印字
装置を提供せんとするものでめろ。 (ホ)作 用 このような印字装置では2つのデータ間の距離を常に一
定に保つことができる。 (へ)実 施 例 ° 第1図は本発明の一実施例を示すブロック回路であ
り、(1)は例えばマイク四コンピュータからなる制御
部でるシ、該制御部は以下で説明する主要部の制御を司
6゜ (2]は第1のデータバッファでめり、該データバッフ
ァrcハ同−行の左側に印字されるべき文字・記号等の
1以上のデータが先頭アドレスよシ連続して格納される
。(3Jは第1のクロック信号発生器、+4)t:を第
1のアドレスカウンタ、(5)は第1のアンドゲートで
あり、上記第1のアドレスカウンタ(4]は上記4JF
11のデータバッファ(2)をアドレスするための番地
を格納し、上記!1のアンドゲート(5)が開のとき上
記クロック信号発生器(3)からのクロック信号CLi
によりその内容を1だけ増加する。また上記クロック信
号CLfはjlHのアンドゲート(5)ヲ介して4!1
1のデータバッファ(2)にも送られるが、斯る信号が
入力すると第1のデータバッファ(2)は第1のアドレ
スカウンタ(4Bの内容に対応した位置のデータを読み
出す。 ためのデータであるとき常に%11t−出力し、そうで
ないときには% Ofを出力する。1M第1のゲート回
路でるり、該ゲート回路は上記第1の比較器(6)の出
力が11′であるとき開となし上記第1のデータバッフ
ァ(2)−より読出されたデータをオア回路(8)を介
してプリンタ(9)に送出する。斯るプリンタ(9)は
上記オア回路(8)を介して入力されるデータをその入
力順に印字する。 また上記第1の比較器(6]の出力信号は第1のアンド
ゲート(5)に入力され斯ろゲートの開閉を制御すると
共に第1の反転ゲート明により反転された反転信号が3
人力屋の第2のアンドゲートσDの一入力端に入力され
る。 flati第2のクロック信号発生器であり、該発生器
か゛ら出力される信号CL2は上記$2のアンドゲート
旺υの1入力端に供給される。 (13Fiインクリメントカウンタ、Iは第2のゲート
回路、+15は印字用のスペースコードを常時出力する
スペースレジスタであり、上記第2のアンドゲートaυ
よシ11#が出力されると上記インクリメントカウンタ
(13Fiその内容を1だけカウントアツプし、また上
記!2のゲート回路(141が開とな〕スペースレジス
タC151より出力cれ;!:rスペーステータが斯る
第2のゲート回路ri4及びオア回路(8)を介してプ
リンタ(9)に送出される。 tteは間隔レジスタでめシ、該レジスタには上記スペ
ースレジスタ15よシプリンタ(9)に出力されるスペ
ースコードの数勤が予め設定されている。C171は第
2の比較器でめり、該比較器は上記インクリメントカウ
ンタ口3の内容INと間隔レジスタ161の内容Nとを
比較しN)INのとき11#を出力し、N<INのとき
10#を出力する。斯る4!I2の比較器αDの出力は
上記第2のアンドゲート任υの1入力端に供給されると
共に第2の反転ゲー)tI&で反転され、2人力型の第
3のアンドゲート0の1入力端に供給する。従って、上
記第2のアントゲ−)(Ll)#i第、10反転グー)
(1Gから出力及び第2の比較器−からの出力が共に1
11のときクロック信号CL2をインクリメントカウン
タa3及びtJ2のゲート回路(14rc供給すること
となる。 C2Qt[2のデータバッファでメジ、該データバッフ
ァには同一行の右側に印字されるべき文字・記号等の1
以上のデータが先頭アドレスより連続して格納される。 CI!1iti@3のクロック信号発生器、@は第2の
アドレスカウンタであり、該第2のアドレスカウンタは
上記4!I2のデータバッファ■をアドレスするための
番地を格納し、上記第3のアンドゲート任9が開のとき
(第2反転ゲートロaの出力が111のとき〕、上記第
3のクロック信号発生器t2Dからのクロック信号CL
:51Cよシその内容t1だけカウントアツプする。ま
た上記クロック信号CL3は第3のアンドゲートσ9を
介して第2のデータバッファ■にも送られるが、斯る信
号が入力すると第2のデータバッファ■は第2のアドン
タ(9)に送出する。 次に斯るブロック回路の動作を説明する。 まず、制御部(1)Fi、第1、@2のアドレスカウン
タ(4)(23,第1・、第2のデータバッファ(2)
■、第1.4!I2の比較回路(6)αη、インクリメ
ノトカウンタα3及び間隔゛レジスタ161を初期化す
る。具体的には第1.4I!E2のアドレスカウンタ(
4)■及びインクリメントカウンタa3の内容を′01
とし、ff11、第2の比較器(6撓ηからの出力が1
1−となるようにセットすると共rc第1、第2のデー
タバッファ(2)(2Gには夫々同一行の左側及び右側
に印字される文字・記号等のデータが各々の先頭番地(
1番地)よp連続して格納され、また間隔レジスタ(L
GにはNとして例えば111がセットされる。 以下では上記第1.第2のデータバッファ(2)(21
)に夫々格納されたデータの具体例毎に初期化後の動作
を説明する。 (1)第1のデータバッファ(2)にはその先頭番地よ
り「原」という1文字のデータが格納され、第2のデー
タバッファ囚にはその先端番地より「様」という1文字
のデータが格納されているとき、まず、初期化により第
1の比較器(6)の出力は111となっているので@1
のクロック信号発生器(3Jからの信号CI、↑が¥1
J1のアドレスカウンタ
(a) Industrial application field The present invention is applicable to the case where two print data are printed on the same line.
This invention relates to a printing device f for making the printing easy to see by increasing the length of the print data on the left side and setting the printing start position of the print data on the right side at the maximum of 211rc. (B) Conventional technology A specific example of printing two types of data, at least one of which has a variable length, on the same line is mail merge printing (1932).
“New” published by Kyoikusha on May 20th,
t on Separate volume 1 All about word processors”
]. (c) Problems to be solved by the invention If two pieces of print data are both fixed lengths in hot FCl insert printing, it is easiest to print and Prints beautifully. Even if one of the data is variable length, if the data printed on the left side of the same line is fixed length, it can be printed easily if the printing start position is determined in advance. However, if the data printed on the left side is of variable length, if you try to print it in an easy-to-read manner,
If the print start position of the data printed on the right side is fixed, the space between the two print data may become clogged, spread out, or overlap, and in this case, the print result may be very difficult to see, or if it is severe, it may be difficult to check. Situations that cannot be done also occur]
Obtained. The above-mentioned disadvantages will be explained with reference to FIG. 2 as an example of actual printing. Figure 2 shows the conventional printing of names and titles; the data on the left (name) is of variable length, ranging from 1 to 3 characters.
The printing position of the data on the right (honorific title) is fixed at the 4th character.For this reason, in the case of ■, the data interval becomes wide.In the case of ■, the print position is fixed. In the case of ■, the fourth character is overwritten, making it impossible to confirm the character.・In this case, the printing was not easy to read. In view of the above, I decided to change the method of printing two pieces of data on the same line, and set a space interval of a preset distance when the data printed on the left side is finished printing. After that, it is intended to provide a printing device to print the data on the right side. (E) Function With such a printing device, the distance between two pieces of data can always be kept constant. (F) Embodiment Figure 1 is a block circuit showing an embodiment of the present invention, and (1) is a control section consisting of, for example, a microphone and a computer. 6゜(2), which controls the control, is set in the first data buffer, and the data buffer rc is one or more data such as characters and symbols to be printed on the left side of the same line consecutively from the first address. (3J is the first clock signal generator, +4) t: is the first address counter, (5) is the first AND gate, and the first address counter (4) is the 4JF
Stores the address for addressing the 11 data buffer (2), and the above! When the AND gate (5) of No. 1 is open, the clock signal CLi from the clock signal generator (3)
increases its contents by 1. Further, the clock signal CLf is input to 4!1 through the AND gate (5) of jlH.
When this signal is input, the first data buffer (2) reads the data at the position corresponding to the contents of the first address counter (4B). When it is, it always outputs %11t-, and when it is not, it outputs %Of.The 1M first gate circuit is open when the output of the first comparator (6) is 11'. None The data read from the first data buffer (2) is sent to the printer (9) via the OR circuit (8).The printer (9) receives input via the OR circuit (8). The output signal of the first comparator (6) is input to the first AND gate (5) to control opening/closing of the gate, and also to control the opening/closing of the first inverting gate. The inverted signal inverted by 3
It is input to one input terminal of the second AND gate σD of Jinrikiya. flat is a second clock signal generator, and the signal CL2 outputted from the generator is supplied to one input terminal of the $2 AND gate υ. (13Fi increment counter, I is the second gate circuit, +15 is a space register that always outputs the space code for printing, and the second AND gate aυ
When 11# is output, the increment counter (13Fi) counts up its contents by 1, and the gate circuit !2 (141 is open) outputs the space register C151;!:r space data. is sent to the printer (9) via the second gate circuit ri4 and the OR circuit (8). tte is an interval register, and this register contains the space register 15 and the printer (9). The number shift of the space code to be output is set in advance.C171 is determined by a second comparator, which compares the content IN of the increment counter port 3 with the content N of the interval register 161. ) IN, it outputs 11#, and when N<IN, it outputs 10#.The output of the comparator αD of 4!I2 is supplied to the 1 input terminal of the second AND gate υ, and The second inversion gate) is inverted at tI& and is supplied to one input terminal of the third AND gate 0 of the two-manpower type. Therefore, the above second game) (Ll) #ith, 10th inversion)
(The output from 1G and the output from the second comparator are both 1
11, the clock signal CL2 is supplied to the gate circuit (14rc) of the increment counter a3 and tJ2. 1
The above data is stored consecutively starting from the first address. CI! 1iti@3 clock signal generator, @ is a second address counter, and the second address counter is the same as the above 4! The third clock signal generator t2D stores an address for addressing the data buffer 1 of I2, and when the third AND gate 9 is open (when the output of the second inverting gate low a is 111), the third clock signal generator t2D clock signal CL from
: 51C counts up by the content t1. The clock signal CL3 is also sent to the second data buffer (2) via the third AND gate σ9, but when such a signal is input, the second data buffer (2) sends it to the second addonta (9). . Next, the operation of such a block circuit will be explained. First, control unit (1) Fi, first, @2 address counter (4) (23, first and second data buffers (2)
■, 1.4! The comparison circuit (6) αη of I2, the increment note counter α3, and the interval register 161 are initialized. Specifically, 1.4I! E2 address counter (
4) ■ and the contents of increment counter a3 to '01
and ff11, the output from the second comparator (6 η) is 1
When set to 1-, the rc first and second data buffers (2) (2G contain data such as characters and symbols printed on the left and right sides of the same line, respectively, at their respective starting addresses (
1 address), and is stored consecutively from address 1 to interval register (L address 1).
For example, 111 is set in G as N. Below, the above 1. Second data buffer (2) (21
) The operation after initialization will be explained for each specific example of the data stored in each. (1) The first data buffer (2) stores data of one character "Hara" starting from its leading address, and the second data buffer stores data of one character "Sama" starting from its leading address. When stored, the output of the first comparator (6) is 111 due to initialization, so @1
clock signal generator (signal CI from 3J, ↑ is ¥1
J1 address counter

【4)及び第1のデータバッフ
ァ(2)に入力される。これにより第1のアドレスカウ
ンタ(4]の内容25” 1 ’となシ、かつ斯るカウ
ンタ(4)の内容に対応する第1のデータバッファ(2
)の格納位置、即ち先頭番地に格納されている文字「原
」に対応するデータが斯るバッファ(2)より読出され
る。斯る読出されたデータは印字されるべきものである
ので第1の比較器(6)の出力は111のままでめり、
従ってこの文字「原」に対応するデータFi第1のゲー
ト回路(7)及びオア回路(8)を介してプリ/り(9
)K送出され、斯るプリンタ(9)により「原」という
文字が印字される。 斯る「原」という文字が印字された時点では、上記第1
の比較器(6)の出力は11′でaるので、。 再び第1のクロック信号発生器(3)から発する信号は
第1のアンドゲート(5)を介して第1のアドレスカウ
ンタ(4)及びgIJlのデータバッファ(23K送出
される。従って第1のアドレスカラ/り+43はカウン
トアツプされその内容ri’2’となり、これに伴なっ
て第1のデータバッファ(2)の第2番地に格納された
データが読出される。しかるに斯るデータは印字すべき
ものではないため第1の比較器(6)の出力h ’o’
となり、このため第1のゲート回路(71及びgFll
のアンドゲート【4]に共に閉となり、ilのデータバ
ッファ(2)からのデータの読出しは終了する。 上記第1の比較f:D16)の出力が10′となると第
1の反転ゲートaarcよp反転され1#となり第2の
アンドゲート圓に供給される。このとき第2比較器住η
の出力も11′となっているので第2のアンドゲートa
υは開となり第2のクロック信号発生器α2から発する
クロック信号CL2がインクリメントカウンタa3及び
第2ゲート回路Iに入力される。斯ろ信号がインクリメ
ントカウンタa3に入力されると斯るカウンタ(13の
内容は11#だけカウントアツプされ11#となり、ま
た第2のゲート回路tlJに入力されると斯るゲート回
路α4は開となるためスペースレジスタl19より第2
のゲート回路fi4及びオア回路(8)t−介してスペ
ースデータがプリンタ(9)に送出され、これによシプ
リンタ(9)は既に印字されている文字「原」の直後に
一文字分のスペース領域を確保する。 このとき、上記インクリメントカウンタα3の内容IN
が111となり、かつ間隔レジスタ(tlK格納されて
いる値Nも11′であるので第2の比較器α7)rcお
いて、IN)Nを満足することが判明し。 従って第2の比較器αηの出力は10Iとなる。これに
伴ない、第2のアンドゲートαυは閉となるので、以後
スペースレジスタf15から、プリンタ(9)へのスペ
ースデータの送出及びインクリメントカウン上記第2の
比較口aりの出力が10#となると、斯る出力は第2の
反転ゲー)[18より反転され従って第3のアンドゲー
ト四の1入力端には111が入力されることとなるので
斯るゲー)19は開となる。ゆえに、これ以降路3のク
ロック信号発生器Qυかも発するり臣ツク信号CL3F
i第2のアドレスカウンタ四及び第2のデータバッファ
(21)に入力される。 上記クロック信号CL3の入力に基づいて上記$2のア
ドレスカウンタのの内容は!1′だけカウントアツプさ
れ111となると共に4!I2のデータバッファc!G
Fi斯るカラ/り@の内容に対応する第1番地のデータ
をオア回路【81を介してプリンタ(93rc送出する
。今、第2のデータバッファ■の第1番地に格納された
データは文字「様」に対応するものであるので、上記プ
リンタ(9Jは既に確保されているスペース領域の後に
文字「様」を印字する。 第2図人は上述の動作により得られ九印字状態を示し、
文字「原」の後に一文字分のスペースをおいて文字「様
」が印字されている。 尚、第1図中には図示していないが、第2のデータバッ
ファ■よりのデータの読出し終了は第1のデータバッフ
ァ(2)に訃けるデータの読出し終了を判定するための
第1の比較器(6)及び第1のゲート回路(7)と同様
な機能を付加することにより簡単に行える。 (11)第1のデータバッファ(2)rcはその先頭番
地より連続して「武者小路」という4文字のデータが格
納され、第2のデータバッファCIDrcはその先頭番
地に「様」という1文字のデータが格納されているとき まず、初期化により第1の比較器+6+の出力は111
となっているので第1のクロック信号発生器f37から
の信号CLIが第1のアドレスカウンタ(4)及び第1
のデータバッファ(2)に入力される。これにより第1
のアドレスカウンタ(4)の内容が11′となり、かつ
斯るカウンタ(4)の内容に対応する第1のデータバッ
ファ(2)の格納位置、即ち先頭番地に格納されている
文字「武」に対応するデータが斯るバッファ(2]よシ
読出される。斯る読出されたデータは印字されるべきも
のでるるので@1の比較器(6)の出力は111のまま
であり、従りてこの文字「武」に対応するデータは第1
のゲート回路(7)及びオア回路(81を介してプリン
タ(9)に送出され、斯るプリンタt93により「武」
といり文字が印字される。 斯る「武」という文字が印字された時点では。 上記第1の比較器(6]の出力ri’i’であるので。 再び第1のクロック信号発生器(3Jから発する信号は
第1のアンドゲート(5)を介して第1のアドレスカウ
ンタ【4】及び第1のデータバッファ(2)に送出され
る。従りて第1のアドレスカウンタ+4Jはカウントア
ツプされその内容は12#となシ、これに伴なって@1
のデータバッファ(2)のgIJ2番地に格納された文
字「者」に対応するデータが読出される。 斯る読出されたデータは印字されるべきものであるので
、第1の比較器(6)の出力は111のままでるり、従
ってこの文字「者」に対応するデータは第1のタート回
路(7)及びオア回路(8)を介してプリンタ(93K
送出され、斯るプリ/り(9)より「者」といり文字が
既に印字されている「武」という文字の直後に印字され
る。 上記の動作を繰返すことにょシ、第1のアドレスカウン
タ【4)の内容が13#、%41と順次増加し、これに
伴なって第1のデータバッファ(2)の第3、第4番地
に格納された文字「小」に対応するデータ及び文字「路
」に対応するデータも順次読出されプリンタ(9)に送
出され、斯ろプリンタ(9)よ上記g!51の比較器1
6)の出力Fi’1’であるので。 再び第1のクロック信号発生器(3)から発する信号は
第1のアンドゲート(5)を介して第1のアドレスカウ
ンタ(4)及び第1のデータバッファ(2J K送出さ
れる。従って第1のアドレスカウンタ(4)ハカウント
アップされ、その内容Fi’s’とな)、これに伴なっ
てyElのデータバッファ(2)の第5番地に格りは印
字すべきものではな−ため第1の比較器(6)の出力は
t Oaとなり、このため第1のゲート回路(7]及び
第1のアンドゲート(4)は共に閉となり。 giのデータバッファ(2]からのデータの読出しは終
了する。 上記第1の比較器【6)の出力が%0−となろと第1の
反転ゲートaarcよシ反転され%11とな〕第2のア
ンドゲート11)に供給される。このとき第2比較器α
ηの出力も11″となって−るので第2アントゲ−)(
11)Fi開となり4X2のクロック信号発生器C2か
ら発するクロック信号CL2がインクリメントカウンタ
α3及び第2ゲート回路α4に入力される。斯る信号が
インクリメントカウンタ(13に入力されると斯るカウ
ンタ(13の内容t!’1’だけカウントアツプされ1
11となり、を次第2のゲート回路r14rt入カされ
ると斯るゲート回路Iは開となるためスペースレジスタ
15より第2のゲート回路(141及びオア回路(8)
を介してスペースデータがプリンタ(9)に送出され、
これにょシプリンタ(9Jは既に印字されている文字「
路」の直後に一文字分のスペース領域を確保する〇 このとき、上記インクリメントカウンタ(13の内容I
Nが11#となシ、かつ間隔レジスタcLeに格納され
ている値Nも+111であろので第2の比較器a’nr
c、おいて、IN:>Nを満足することが判明し、従っ
て第2の比較器任ηの出力はllO#となろ。これに伴
ない、第2のアンドゲート111)は閉となるので、以
後スペースレジスタlcJからプリンタ(9)へのスペ
ースデータの送出及びインクリメントカウンタu3のカ
ウントアツプも停止する。 上記第2の比較器(lηの出力が′0−となると。 斯る出力Fi第2の反転ゲー)181より反転され従っ
て第3のアンドゲート19の1入力端にはsltが入力
されることとなるので斯るゲートα9ti開となる。ゆ
えに、これ以降第3のクロック信号発生器Qυから発す
るクロック信号CL3は第2のアドレスカラ/り@及び
第2のデータバッファ■に入力される。 上記クロック信号CL、3の入力rc基づいて上記!2
のアドレスカウンタQの内容i1t%12だけカウント
アツプされ11′となると共に第2のデータバッファc
!Iは斯るカウンタ(27Jの内容に対応する第1番地
のデータをオア回路(8)を介してプリンタ(9)に送
出する。今、第2のデータバッファ■の第1番地に格納
されたデータは文字「様」に対応するものでろ乙ので、
上記プリンタ(9)は既に確保されているスペース領域
の後に文字「様」を印字する口 第2図Bii上述の動作によ〕得られた印字状態を示し
、連続する4文字「武者小路」の後に一文字分のスペー
スをおいて文字「様」が印字されている。 ())効 果 本発明は印字装Rによれば、同一行内で左側に印字する
文字列が可変長であっても、右側に位置する文字列との
間rcVi常に一定の距離を保つことができるので、差
込印刷等に応用して美しい印字が可能となる。
(4) and is input to the first data buffer (2). As a result, the contents of the first address counter (4) are 25" 1 ', and the contents of the first data buffer (2) corresponding to the contents of the counter (4) are
), that is, the data corresponding to the character ``original'' stored at the first address is read out from the buffer (2). Since the read data is to be printed, the output of the first comparator (6) remains at 111.
Therefore, the data Fi corresponding to this character "hara" is pre/reacted (9) via the first gate circuit (7) and the OR circuit (8).
)K is sent out, and the character "Original" is printed by the printer (9). At the time the character "Hara" is printed, the above 1st
The output of the comparator (6) is 11', so. Again, the signal issued from the first clock signal generator (3) is sent out via the first AND gate (5) to the first address counter (4) and the data buffer (23K) of gIJl.Therefore, the first address Color/R+43 is counted up and its content becomes ri'2', and the data stored in the second address of the first data buffer (2) is read out.However, such data should not be printed. Since it is not a kimono, the output h 'o' of the first comparator (6)
Therefore, the first gate circuit (71 and gFll
Both AND gates [4] are closed, and reading of data from the data buffer (2) of il is completed. When the output of the first comparison f:D16) becomes 10', it is inverted by the first inverting gate aarc and becomes 1#, which is supplied to the second AND gate circle. At this time, the second comparator
Since the output of is also 11', the second AND gate a
υ is opened, and the clock signal CL2 generated from the second clock signal generator α2 is input to the increment counter a3 and the second gate circuit I. When this signal is input to the increment counter a3, the contents of the counter (13) are counted up by 11# and become 11#, and when the signal is input to the second gate circuit tlJ, the gate circuit α4 is opened. Therefore, the second space register l19
The space data is sent to the printer (9) through the gate circuit fi4 and the OR circuit (8) t-, and the printer (9) then prints a space for one character immediately after the already printed character "Original". Secure the area. At this time, the content of the increment counter α3 is IN
becomes 111, and since the value N stored in the interval register (tlK is also 11'), the second comparator α7)rc is found to satisfy IN)N. Therefore, the output of the second comparator αη becomes 10I. Along with this, the second AND gate αυ is closed, so that from now on, the space data is sent from the space register f15 to the printer (9) and the output of the increment counter second comparison port a becomes 10#. Then, such an output is inverted from the second inverting gate 18, and therefore 111 is input to one input terminal of the third AND gate 4, so the gate 19 becomes open. Therefore, from now on, the clock signal generator Qυ of path 3 will also generate the clock signal CL3F.
i is input to the second address counter 4 and the second data buffer (21). Based on the input of the clock signal CL3, what is the content of the $2 address counter? The count is increased by 1' and becomes 111, and 4! I2 data buffer c! G
The data at the first address corresponding to the content of the color/re@ is sent to the printer (93rc) via the OR circuit [81.Now, the data stored at the first address of the second data buffer ■ is a character. Since it corresponds to the character "sama", the above printer (9J) prints the character "sama" after the space area that has already been reserved.
The character ``sama'' is printed after the character ``hara'' with a space for one character. Although not shown in FIG. 1, the completion of reading data from the second data buffer (2) is determined by the first test for determining the completion of reading data from the first data buffer (2). This can be easily done by adding the same functions as the comparator (6) and the first gate circuit (7). (11) The first data buffer (2) rc stores four characters of data "Mushakoji" consecutively from its first address, and the second data buffer CIDrc stores one character "sama" at its first address. When data is stored, the output of the first comparator +6+ is 111 due to initialization.
Therefore, the signal CLI from the first clock signal generator f37 is applied to the first address counter (4) and the first clock signal generator f37.
data buffer (2). This allows the first
The content of the address counter (4) becomes 11', and the character "BU" stored at the storage position of the first data buffer (2) corresponding to the content of the counter (4), that is, the first address. The corresponding data is read out from the buffer (2). Since the read data is to be printed, the output of the comparator (6) of @1 remains 111, so The data corresponding to the character “bu” for the lever is the first
is sent to the printer (9) via the gate circuit (7) and the OR circuit (81), and the printer t93 outputs "Wu".
Tori characters are printed. At the time the character ``Take'' was printed. Since the output ri'i' of the first comparator (6) is the output ri'i' of the first comparator (6), the signal emitted from the first clock signal generator (3J) is passed through the first AND gate (5) to the first address counter [ 4] and is sent to the first data buffer (2). Therefore, the first address counter +4J counts up and its content becomes 12#, and accordingly @1
The data corresponding to the character "person" stored at address gIJ2 of the data buffer (2) is read out. Since such read data is to be printed, the output of the first comparator (6) remains 111, and therefore the data corresponding to this character "person" is sent to the first tart circuit ( 7) and the printer (93K) via the OR circuit (8).
The character ``Shi'' is sent out, and the character ``Shi'' is printed immediately after the character ``BU'' which has already been printed. By repeating the above operation, the contents of the first address counter [4] increase sequentially to 13# and %41, and accordingly, the third and fourth addresses of the first data buffer (2) The data corresponding to the character "small" and the data corresponding to the character "ro" stored in are also sequentially read out and sent to the printer (9), and in this way, the printer (9) reads the g! 51 comparator 1
6) is the output Fi'1'. Again, the signal issued from the first clock signal generator (3) is sent to the first address counter (4) and the first data buffer (2JK) via the first AND gate (5). The address counter (4) of yEl is counted up, and its content becomes Fi's'. The output of the comparator (6) of gi becomes t Oa, so the first gate circuit (7) and the first AND gate (4) are both closed.Reading data from the data buffer (2) of gi is as follows. When the output of the first comparator [6] becomes %0-, it is inverted by the first inverting gate aarc and becomes %11) and is supplied to the second AND gate 11). At this time, the second comparator α
Since the output of η is also 11'', the second ant game) (
11) Fi is opened and the clock signal CL2 generated from the 4×2 clock signal generator C2 is input to the increment counter α3 and the second gate circuit α4. When such a signal is input to an increment counter (13), the counter (13 contents t! is counted up by '1' and becomes 1).
11, and as soon as the second gate circuit r14rt is input, such gate circuit I becomes open, so the second gate circuit (141 and OR circuit (8)
The space data is sent to the printer (9) via
This printer (9J is a character that has already been printed.
〇At this time, the above increment counter (content I of 13) is secured.
Since N is 11# and the value N stored in the interval register cLe is also +111, the second comparator a'nr
c, it turns out that IN:>N is satisfied, so the output of the second comparator η should be llO#. Along with this, the second AND gate 111) is closed, so that the sending of space data from the space register lcJ to the printer (9) and the counting up of the increment counter u3 are also stopped. When the output of the second comparator (lη becomes '0-', the output Fi is inverted by the second inverting gate) 181 and therefore slt is input to the 1 input terminal of the third AND gate 19. Therefore, the gate α9ti is opened. Therefore, from now on, the clock signal CL3 generated from the third clock signal generator Qυ is inputted to the second address color /RI@ and the second data buffer (2). The above based on the input rc of the above clock signal CL, 3! 2
The address counter Q is incremented by i1t%12 and becomes 11', and the second data buffer c
! I sends the data at the first address corresponding to the contents of the counter (27J) to the printer (9) via the OR circuit (8). Since the data corresponds to the character "sama",
The printer (9) prints the character "Sama" after the space area that has already been reserved. Figure 2 shows the print state obtained by the above operation, and prints the characters "Mushakoji" after the four consecutive characters. The character ``sama'' is printed afterward with a space for one character. ()) Effect According to the printing device R of the present invention, even if the character string printed on the left side in the same line has a variable length, it is possible to always maintain a constant distance rcVi from the character string located on the right side. This makes it possible to print beautiful characters by applying it to mail-merge printing, etc.

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

第1図は本発明の実施例装置を示すブロック回路図、8
2図は斯る本実施例装置より得られた印字状態を示す模
式図、第3図は従来の印字状態を示す模式図でろる・ (2)・・・第1のデータバッファ、(6)・・・第1
の比較器(検出手段〕、σト・間隔レジスタ、■・・・
第2のデータバッファ。
FIG. 1 is a block circuit diagram showing an embodiment of the present invention, 8
FIG. 2 is a schematic diagram showing the printing state obtained by the apparatus of this embodiment, and FIG. 3 is a schematic diagram showing the conventional printing state. (2)...First data buffer, (6) ...First
comparator (detection means), σto/interval register, ■...
Second data buffer.

Claims (1)

【特許請求の範囲】[Claims] (1)同一行に少なくとも一方が可変長である2種のデ
ータを印字するに際し、 一方の可変長データが導入される第1のデータバッファ
と、他方のデータが導入される第2のデータバッファと
、上記一方のデータと他方のデータとの印字間隔を設定
する間隔レジスタと、上記第1のデータバッファに導入
された一方のデータの終了を検出する検出手段とからな
り、 上記第1のデータバッファに導入されたデータをプリン
タに導出して上記一方の可変長データの印字を行い、上
記検出手段で上記一方のデータの終了を検出すると上記
間隔レジスタで設定された印字間隔に該当するスペース
コードを上記プリンタに導出して上記一方の可変長デー
タの印字の後方に所定間隔を設けた後、上記第2のデー
タバッファの他方のデータをプリンタに導出して印字す
ることを特徴とする印字装置。
(1) When printing two types of data, at least one of which is variable length, on the same line, a first data buffer into which one variable length data is introduced, and a second data buffer into which the other data is introduced. , an interval register for setting the printing interval between the one data and the other data, and a detection means for detecting the end of one data introduced into the first data buffer, the first data The data introduced into the buffer is output to the printer to print one of the variable length data, and when the detection means detects the end of one of the data, a space code corresponding to the printing interval set in the interval register is output. is output to the printer and a predetermined interval is provided after printing of the one variable length data, and then the other data of the second data buffer is output to the printer and printed. .
JP59166898A 1984-08-09 1984-08-09 Printing apparatus Granted JPS6144663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59166898A JPS6144663A (en) 1984-08-09 1984-08-09 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59166898A JPS6144663A (en) 1984-08-09 1984-08-09 Printing apparatus

Publications (2)

Publication Number Publication Date
JPS6144663A true JPS6144663A (en) 1986-03-04
JPH0530187B2 JPH0530187B2 (en) 1993-05-07

Family

ID=15839672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59166898A Granted JPS6144663A (en) 1984-08-09 1984-08-09 Printing apparatus

Country Status (1)

Country Link
JP (1) JPS6144663A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62246767A (en) * 1986-04-18 1987-10-27 Nec Corp Printing control system
JPS62256123A (en) * 1986-04-30 1987-11-07 Canon Inc Document processor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0711546A (en) * 1993-06-25 1995-01-13 Marumiya Shoko Kk Cushioning material made of weft knitted fabric

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62246767A (en) * 1986-04-18 1987-10-27 Nec Corp Printing control system
JPS62256123A (en) * 1986-04-30 1987-11-07 Canon Inc Document processor

Also Published As

Publication number Publication date
JPH0530187B2 (en) 1993-05-07

Similar Documents

Publication Publication Date Title
IT1197425B (en) SERIAL PRINTING APPARATUS IN PARTICULAR WITH PHASE MEMORY AND DISPLAY
JPS6144663A (en) Printing apparatus
JPS6258914B2 (en)
JPS56127286A (en) Electronic register
SU1013992A1 (en) Data registering device
KR910018191A (en) Print Data Aligner of Serial Printer
JPS5742265A (en) Print pulse width control system for heat sensing recorder
JPS6044372A (en) Gradation-type printer
SU1180917A1 (en) Permutation generator
RU1800444C (en) Device for determining pulse center of periodic pulse sequence
SU885078A1 (en) Unit for automatic syllabification
SU638947A1 (en) Information input arrangement
SU562932A1 (en) Telegraph device to eliminate detected errors
SU739527A1 (en) Device for orderly sampling of parameter values
SU862375A1 (en) Device for discrete communication channel error detection and registration
Sturtevant Wackernagel on the Text of Homer
SU369562A1 (en) DEVICE FOR INPUT OF INFORMATION
SU622082A1 (en) Programme arrangement
JPS6363924B2 (en)
SU1160466A1 (en) Indication device
SU1094034A2 (en) Device for majority sampling of signal
JPS6133060A (en) Data transmission circuit
SU809397A1 (en) Storage device with error correction
JPH0379371A (en) Printing control circuit
SU881750A1 (en) Microprogramme-control device