JPH0158074B2 - - Google Patents

Info

Publication number
JPH0158074B2
JPH0158074B2 JP14721087A JP14721087A JPH0158074B2 JP H0158074 B2 JPH0158074 B2 JP H0158074B2 JP 14721087 A JP14721087 A JP 14721087A JP 14721087 A JP14721087 A JP 14721087A JP H0158074 B2 JPH0158074 B2 JP H0158074B2
Authority
JP
Japan
Prior art keywords
printing
carriage
character
paper
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
Application number
JP14721087A
Other languages
Japanese (ja)
Other versions
JPS631573A (en
Inventor
Hiroyuki Ueda
Yasuaki Yamada
Toshiaki Ozawa
Juji Nakajima
Hiroatsu Kondo
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP14721087A priority Critical patent/JPS631573A/en
Publication of JPS631573A publication Critical patent/JPS631573A/en
Publication of JPH0158074B2 publication Critical patent/JPH0158074B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、印字装置に関し、特に紙送り方向の
距離情報、区切り情報、ヘツド移動方向の距離情
報により先行する行に印字ヘツドを容易かつ正確
に位置づけることができる印字装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a printing device, and particularly to a printing device that can easily and accurately place a print head on a preceding line using distance information in the paper feed direction, delimiter information, and distance information in the head movement direction. The present invention relates to a printing device that can be positioned in

[従来の技術] 従来のオフイスコンピユータ、電卓等に装備さ
れている印字装置もしくは電子タイプライタ等の
キー制御式印字装置においては、その印字文字の
修正、補充等は目測によるキヤリツジ及び印字用
紙の移動操作や、印字用紙を本体印字部から取り
外して机上に置き、特別の修正、加筆用具を用い
て行なう等に頼つていたため、熟熱オペレータに
とつても極めてわずらわしい作業の1つであつ
た。
[Prior Art] In conventional printing devices installed in office computers, calculators, etc., or key-controlled printing devices such as electronic typewriters, correcting or replenishing printed characters is done by moving a carriage and printing paper by visual estimation. This was one of the most troublesome tasks even for seasoned operators, as it required manual operation, removing the printing paper from the printing section of the main body and placing it on the desk, and making special corrections and additions using tools.

特開昭54−152515号公報には、印字行内におけ
る既に印刷したものを訂正または削除した後、そ
の行の最後に印刷した文字の右側に印刷キヤリア
を移動させ、次のタイプ動作を続行する技術が開
示されており、また、特開昭54−135011号公報に
は、電動タイプライタにおいて異なる印字色の重
ね打ちにより記録の修正を行なうとともにメモリ
内の文字コードを修正するような構成が記載され
ている。
Japanese Patent Application Laid-open No. 152515/1984 discloses a technology that after correcting or deleting what has already been printed in a printing line, moves the print carrier to the right side of the last printed character in that line and continues the next typing operation. is disclosed, and Japanese Patent Application Laid-Open No. 135011/1983 describes a configuration in which records are corrected by overprinting different printing colors in an electric typewriter, and character codes in memory are corrected. ing.

この電動タイプライタでは一旦修正を受けた印
字用紙は下書きに用い、メモリ内の修正後のデー
タに基づいて記録を別の用紙に最初から再度行な
うことにより、清書が完成する技術が開示されて
いる。また、特公昭53−27054号公報には、印字
行内の文字を補正を行に対応したメモリを設ける
ことにより行なう印字方法が、さらに特開昭51−
51239号公報にはタブ等を含むフオーマツトに従
つて印字を行なう場合に、タブの機能を有し、高
速に移動を行なう技術が記載されている。しか
し、いずれの方法もその行内の印字文字の修正や
タブフオーマツトによる印字ヘツドの移動を行な
うだけで、先行に戻るためには、プラテンを例え
ば手動で逆回転させ、印字ヘツドを修正すべき文
字に正確に対応づけさせる等の操作が必要にな
る。
This electric typewriter discloses a technology in which the printed paper that has been corrected is used as a draft, and a clean copy is completed by re-recording from the beginning on another paper based on the corrected data in memory. . In addition, Japanese Patent Publication No. 53-27054 further describes a printing method in which characters within a printed line are corrected by providing a memory corresponding to the line.
Japanese Patent No. 51239 describes a technology that has a tab function and moves at high speed when printing according to a format that includes tabs and the like. However, with either method, you only need to correct the printed characters in that line or move the print head using the tab format. It is necessary to perform operations such as making it correspond to .

プラテンの逆回転に対しては、従来の電子タイ
プライタ(例えば、オリベツテイ電子タイプライ
タET221取扱説明書)等のように人力でプラテン
を逆回転させたり、あるいはキー操作によりプラ
テンを逆方向に所定量回転させる方法(実開昭55
−14891号公報)が知られているが、いずれの方
法もメモリ上のヘツド位置と実際のヘツドの位置
を対応させるのが困難である。
To reverse the rotation of the platen, you can manually rotate the platen in the opposite direction as in conventional electronic typewriters (for example, Olivetsu Tei Electronic Typewriter ET221 Instruction Manual), or you can rotate the platen in the opposite direction by a predetermined amount by key operation. How to rotate (1975)
However, in both methods, it is difficult to make the head position on the memory correspond to the actual head position.

また、特開昭51−78132号公報には行ピツチメ
モリに格納された行ピツチ情報に基づいてプラテ
ンを正方向に移動させる方法が開示されている
が、上述した従来の方法と同様にプラテンを逆転
させメモリ上のヘツド位置と実際のヘツド位置を
対応させることは出来ず、延いては先行での印字
文字の修正は困難であつた。このように、従来で
は既印字文字に対して数行前であつても正確にか
つ容易に印字ヘツドを位置づけることは出来なか
つた。
Furthermore, Japanese Patent Application Laid-Open No. 78132/1983 discloses a method of moving the platen in the forward direction based on line pitch information stored in the line pitch memory, but similar to the conventional method described above, the platen is reversed. It was not possible to make the head position on the memory correspond to the actual head position, and furthermore, it was difficult to correct the printed characters in advance. As described above, in the past, it has not been possible to accurately and easily position the print head even if it is several lines in front of the already printed characters.

[発明が解決しようとする課題] 従つて、本発明は、このような問題点を解決す
るためになされたもので、先行する行に印字ヘツ
ドを容易かつ正確に位置づけることが可能な印字
装置を提供することを目的とする。
[Problems to be Solved by the Invention] Therefore, the present invention has been made to solve these problems, and provides a printing device that can easily and accurately position the print head in the preceding line. The purpose is to provide.

[課題を解決するための手段] 上記の課題を解決するために本発明によれば、
印字用紙を正逆送りせしめるための紙送り手段
と、前記紙送り手段による紙送り方向と直交する
方向に移動可能であつて、印字用紙に印字を行な
う印字ヘツドと、前記印字用紙に複数行にわたり
印字すべき文字列を記憶する記憶手段と、先行す
る行に印字ヘツドを対向せしめることを指示する
指示手段と、前記指示手段から指示に応答して、
印字ヘツドを現在行より先行する行に移動させる
と共に、紙送り方向の距離情報、行区切り情報、
ヘツド移動方向の距離情報により前記印字用紙上
の印字ヘツド位置と前記記憶手段に記憶された文
字列上の位置が対応する如く制御する制御手段と
を有する構成が採用されている。
[Means for Solving the Problems] According to the present invention, in order to solve the above problems,
a paper feeding means for forwarding and reversing the printing paper; a print head that is movable in a direction perpendicular to the paper feeding direction by the paper feeding means and prints on the printing paper; a storage means for storing a character string to be printed; an instruction means for instructing the printing head to face the preceding line; and in response to an instruction from the instruction means,
Moves the print head to the line preceding the current line, and also displays distance information in the paper feed direction, line separation information,
A configuration is adopted that includes a control means for controlling the position of the printing head on the printing paper and the position on the character string stored in the storage means based on distance information in the direction of movement of the head.

[実施例] 以下、図面に示す実施例に従い本発明を詳細に
説明する。
[Example] Hereinafter, the present invention will be described in detail according to an example shown in the drawings.

第1図は印字用紙P上の印字例で、例えば花弁
式活字ホイールを用いた印字ヘツドをキヤリツジ
に搭載して、左側から右側にキヤリツジが移動す
るときアルフアベツト文字A,B,a,b等がキ
ーの指令に基づいて任意の桁位置に図のように印
字される。
Figure 1 shows an example of printing on printing paper P. For example, when a printing head using a petal type wheel is mounted on a carriage and the carriage moves from the left side to the right side, the alphabet letters A, B, a, b, etc. are printed. It is printed at any digit position as shown in the figure based on the key command.

また小文字アルフアベツトa,b等の印字のと
きには紙送りピツチを例えば3/4に縮小し、
3、4行目のように印字する。
Also, when printing lowercase letters a, b, etc., the paper feed pitch is reduced to, for example, 3/4.
Print as in the 3rd and 4th lines.

第2図は本発明の一実施例のブロツク図であ
る。KBはキーボードで、通常のアルフアベツト
文字キーKA〜KZ、数字キー、その他のキヤリ
ツジに移動命令を与える種々の制御キーK1〜K
5、小文字指示を与えるシフトキーK6その他を
備えている。
FIG. 2 is a block diagram of one embodiment of the present invention. KB is a keyboard with regular alphanumeric character keys KA~KZ, numeric keys, and various control keys K1~K that give movement commands to other cartridges.
5. It is equipped with a shift key K6 for giving a lowercase letter instruction.

CPUは中央処理装置、PFは印字用紙Pの給送
制御部、HDは活字ホイールKHの駆動制御部、
CAは活字ホイールKHを搭載して左右に移動す
るキヤリツジ、CDはキヤリツジCAの駆動制御部
で駆動用パルスモータ等を備える。CCはキヤリ
ツジ位置を検出するためのキヤリツジ位置カウン
タで、前記駆動用パルスモータ等の駆動パルスを
適宜計数してキヤリツジ移動距離を記憶する。
LBは印字文字修正、補充等のために設けられた
記憶装置(以下行バツフアと称す)で、例えば2
行分、300文字桁の容量を備える。その内部は例
えば第3図の如く1文字桁が3つの番地、、
に分けられ、各1番地には印字した文字の種類
例えばA、B、a、b=,,,$等がコード化して
記憶される。各番地には各文字の大きさに対応
したキヤリツジの移動量即ち印字ピツチがコード
化して記憶される。また各文字に対する印字ピツ
チが各々同値の場合も、一応同値が各々の番地
に格納、記憶される。番地にはアンダーライン
付印字、重ね印字等の印字形式に関連した情報が
各々格納される。
CPU is a central processing unit, PF is a feed control unit for printing paper P, HD is a drive control unit for type wheel KH,
CA is a carriage equipped with a type wheel KH that moves from side to side, and CD is a drive control section of the carriage CA, which is equipped with a pulse motor for driving. CC is a carriage position counter for detecting the carriage position, which appropriately counts drive pulses from the drive pulse motor, etc., and stores the carriage movement distance.
LB is a storage device (hereinafter referred to as line buffer) provided for correcting and replenishing printed characters.
It has a capacity of 300 characters per line. Inside, for example, as shown in Figure 3, each character is a three-digit address.
The types of printed characters, such as A, B, a, b=, . . . , $, etc., are coded and stored at each address. At each address, the amount of carriage movement, ie, the printing pitch, corresponding to the size of each character is coded and stored. Further, even if the printing pitches for each character are the same value, the same value is temporarily stored at each address. Information related to printing formats such as underlined printing, overlapping printing, etc. is stored in each address.

また前提条件として印字すべき文字の大きさに
かかわらず、印字ピツチは各文字毎に一定の1印
字ピツチに設定し、かつ印字形式も文字の単純印
字でアンダーライン付、重ね印字等の等殊仕様の
指示は行なわないものとし、また印字用紙Pの紙
送りピツチも通常の1ピツチ1PFと設定する。キ
ヤリツジCAをキヤリツジ復帰命令キーK1によ
り印字用紙Pの左端にセツトする。また印字用紙
Pは1行給送される。印字すべきアルフア文字A
をキーボードKBから入力するとアドレス回路
ADの指示により行バツフアLBの1文字桁目の
1番地に文字種類Aを表すコード情報が格納され
る。また番地には前記一定の印字ピツチ情報
1PTが、番地には単純印字を意味するコード情
報NMPが格納される。
In addition, as a prerequisite, regardless of the size of the characters to be printed, the printing pitch is set to a constant 1 printing pitch for each character, and the printing format is also simple printing of characters, with underlining, overlapping printing, etc. No specifications are given, and the paper feed pitch for printing paper P is also set to the normal 1 pitch 1PF. Set the carriage CA to the left end of the printing paper P using the carriage return command key K1. Further, the printing paper P is fed one line. Alpha character A to be printed
When inputting from the keyboard KB, the address circuit
In response to an instruction from AD, code information representing character type A is stored in the first address of the first character column of row buffer LB. In addition, the address has the above-mentioned fixed printing pitch information.
1PT, and code information NMP, which means simple printing, is stored in the address.

また活字ホイールKHが回転を始め、活字Aが
印字位置に到来すると、行バツフアLBの1文字
桁目の1番地の内容をCPUが取り込み、周知の
1致回路が一致信号を出力し、文字Aが第1図1
行列目に示す如く印字され、キヤリツジCAは
キヤリツジ駆動制御部HDにより1文字桁分右へ
送られる。次に文字BをキーボードKBから入力
するとアドレス回路ADは1つ進み、行バツフア
LBの2文字桁目の1番地を指定し、文字Bを表
すコード情報が格納され、次に、番地には先
の文字Aと同様の情報1PT、NMPが格納され
る。
When the type wheel KH starts rotating and the type A arrives at the printing position, the CPU takes in the contents of the first address of the first character digit of the line buffer LB, the well-known match circuit outputs a match signal, and the character A is Fig. 1
The characters are printed as shown in the row and column, and the carriage CA is sent one character digit to the right by the carriage drive control unit HD. Next, when character B is input from the keyboard KB, the address circuit AD advances by one, and the row buffer
The first address of the second character digit of LB is designated, and code information representing the character B is stored. Next, information 1PT and NMP similar to those for the previous character A are stored at the address.

またアドレス回路ADは行バツフアLBの2文
字桁1番地を指定しているからCPUはそれを取
り込み、先の文字Aの場合と同様に比較1致出力
の検出を行ない周知の如く文字Bの印字が第1図
1行列目に示すように行なわれる。
Also, since the address circuit AD specifies the 2nd character digit 1 address of the row buffer LB, the CPU takes it in, performs comparison match output detection as in the case of the character A, and prints the character B as is well known. is performed as shown in the first column of FIG.

またこのときキヤリツジ位置カウンタCCが1
つ進み、キヤリツジの左端から距離、例えば
「2」を記憶している。
Also, at this time, the carriage position counter CC is 1.
The distance from the left end of the carriage, for example "2", is stored.

同様に文字CDをキーボードKBから入力する
とアドレス回路ADにより3、4文字桁の各1番
地に文字C、Dのコード情報、、番地には前
述同様の情報1PT、NMPが格納され、第1図1
行、列目に示すごとく文字C、Dが印字さ
れ、また、キヤリツジ位置カウンタCCは「4」
を計数、格納して左端からのキヤリツジ移動距離
を記憶している。ここでキーボードKBのキヤリ
ツジ複帰命令キーK1を押す。これによりアドレ
ス回路ADは行バツフアLBの5文字桁目の1番
地を指定し、キヤリツジCAの復帰、後退を表す
コード情報RETを格納し、またキヤリツジCAの
左端からの移動距離「4」をキヤリツジ位置カウ
ンタCCから取り出し、アドレス回路ADの指示に
よりその番地に4STとして格納する。また通常
の紙送り1ピツチのの情報1PFもCPU内からア
ドレス回路ADの指定によりその番地に格納さ
れる。
Similarly, when the character CD is input from the keyboard KB, the address circuit AD stores the code information of the characters C and D in each of the 3rd and 4th character digits, and the same information 1PT and NMP as described above are stored in the addresses, as shown in Figure 1. 1
The letters C and D are printed as shown in the row and column, and the carriage position counter CC is "4".
is counted and stored, and the distance traveled by the carriage from the left end is memorized. Here, press the carriage double-return command key K1 on the keyboard KB. As a result, the address circuit AD specifies the first address of the fifth character digit of the row buffer LB, stores the code information RET indicating the return or retraction of the carriage CA, and also specifies the moving distance "4" from the left end of the carriage CA. It is taken out from the position counter CC and stored as 4ST at that address according to the instruction from the address circuit AD. Information 1PF for normal paper feed of 1 pitch is also stored at the address specified by the address circuit AD from within the CPU.

第3図には各々印字状態を記憶した行バツフア
の内容が示されている。キヤリツジCAは左端ま
で復帰し、また印字用紙Pの上方への給送を通常
の紙送り1ピツチだけ給送ゴムローラROの正回
転により周知の如く行なう。またキヤリツジ駆動
制御部CD内のキヤリツジ位置カウンタCCをリセ
ツトする。第1図に示すように次の2行目の印字
は1文字空白とて印字させる場合であるから、キ
ーボードKBのスペースキーK3を押してキヤリ
ツジCAを1文字分右に空送りする。このときア
ドレス回路ADは行バツフアの6文字桁目の1番
地を指定し、空送りを意味するコード情報SPA
を格納する。番地には空白文字桁の印字ピツチ
1PTが、番地には無印字を意味する情報NOP
が格納される。またキヤリツジ位置カウンタCC
は前列同様に「2」を計数し、以後文字E、Fを
入力して文字E、Fを表すコード情報、印字ピツ
チ、印字種類が行バツフアLBの7、8文字桁目
の各々の各番地、、に格納していく。第1
図に示すように文字E、Fが印字され、またキヤ
リツジ位置カウンタCCは「3」を計数、記憶し
ている。ここで1行列目の文字Cを例えば文字
Yに修正する必要のあることを発見したとする。
そこで修正、補充等の専用に設けられたバツクト
レースキーK2を1回押すと(第4図ステツプ
S1)CPUはアドレス回路ADを1つ減らし(ステ
ツプS2)、行バツフアLBの7文字桁目の内容を取
り込み解読する(ステツプS3)。第3図に示すよ
うにその内容はNMP、1PTであるから、CPUは
キヤリツジCAを1印字ピツチ分だけ左へ送る
(ステツプS4)。バツクトレースキーK2をさらに
1回押すと(ステツプS1)、アドレス回路ADは
「7」から「6」になり(ステツプS2)、行バツフ
アLBの6文字桁目を指示し、同様にCPUはそれ
を解読し(ステツプS3)、さらに1印字ピツチ分
だけ左に送られた左端に到達する(ステツプS4)。
バツクトレースキーK2をさらにもう1回押すと
(ステツプS1)、行バツフアLBの5文字桁目が
CPUに解読される(ステツプS2、S3)。今度は紙
送り1ピツチ、キヤリツジ移動距離4ステツプ、
キヤリツジ復帰命令をCPUは解読するから、キ
ヤリツジCAは左端から4文字桁分右へ進み、第
1図1行列目の印字文字Dの所で自動停止す
る。またこのとき印字用紙Pは紙送りゴムローラ
ROの逆回転により1紙送りピツチ分だけ下方に
逆給送される(ステツプS4)。
FIG. 3 shows the contents of the row buffers in which each printing state is stored. The carriage CA returns to the left end, and the printing paper P is fed upward by one normal paper feed pitch by the forward rotation of the feeding rubber roller RO, as is well known. It also resets the carriage position counter CC in the carriage drive control section CD. As shown in FIG. 1, the next second line is to be printed with one character blank, so press the space key K3 on the keyboard KB to move the carriage CA one character to the right. At this time, the address circuit AD specifies the 1st address of the 6th character digit of the row buffer, and the code information SPA indicating a blank feed is sent.
Store. The street address is printed with blank character digits.
1PT is the information NOP that means no printing on the address.
is stored. Also, the carriage position counter CC
counts "2" in the same way as the previous row, and then inputs the letters E and F to enter the code information representing the letters E and F, print pitch, and print type for each address of the 7th and 8th character digits of the row buffer LB. , , will be stored in . 1st
As shown in the figure, letters E and F are printed, and the carriage position counter CC counts and stores "3". Suppose that it is discovered that the character C in the first row needs to be modified to, for example, the character Y.
If you press the backtrace key K2, which is provided exclusively for corrections and replenishment, once (see step 4 in Figure 4),
S1 ) The CPU decrements the address circuit AD by one (step S2 ), takes in and decodes the contents of the seventh character column of the row buffer LB (step S3 ). As shown in FIG. 3, the contents are NMP, 1PT, so the CPU sends the carriage CA to the left by one print pitch (step S4 ). When the back trace key K2 is pressed once more (step S 1 ), the address circuit AD changes from "7" to "6" (step S 2 ), indicating the 6th character digit of the row buffer LB, and the CPU decodes it (step S 3 ) and reaches the left end, which is moved one print pitch further to the left (step S 4 ).
When the back trace key K2 is pressed one more time (step S 1 ), the 5th character column of the line buffer LB is
It is decoded by the CPU (steps S 2 and S 3 ). This time, the paper feed is 1 pitch, the carriage travel distance is 4 steps,
Since the CPU decodes the carriage return command, the carriage CA advances four character digits to the right from the left end and automatically stops at the printed character D in the first column in FIG. Also, at this time, the printing paper P is moved by the paper feed rubber roller.
Due to the reverse rotation of the RO, the paper is fed backwards by one paper feed pitch (step S 4 ).

これによりキヤリツジCAを1行前の最終文字
位置の所に自動的に到達させることができる。そ
の後さらにバツクトレースキーK2を1回押せば
(ステツプS1)キヤリツジCAは1印字ピツチ分左
へ送られ1行列目の印字文字Cの位置に到達で
きるので(ステツプS2、S3、S4)、修正命令キー
K6を押せば修正用のリボンにより印字文字Cを
消すことができ、その後文字Yを入力すればその
上に文字Yが印字でき、前述したアドレス回路
ADの動きに従つて行バツフアLBの内容はCか
らYに変更される。バツクトレースキーK2と修
正命令キーK6との繰り返し操作による修正が終
了した後、リロケート・キーK5を押下すると、
CPUはバツクトレースキーK2の押下される直
前のアドレス「8」を読み出し現在のアドレス値
と元の「8」なるアドレスとにより示される行バ
ツフアLBの水平方向の演算、紙送り方向の演算
を行ないK2の押下される直前の用紙上の位置へ
戻る。このように行バツフアLBは印字ヘツドを
搭載したキヤリツジCAの移動に関する情報の記
憶手段となつており、またCPUは、改行後、前
の印字文字の修正が必要な時記憶手段に記憶され
ているキヤリツジCAの移動距離情報をさかのぼ
つて解読し、その後解読結果に基づいて既に印字
されている前行までさかのぼつてキヤリツジCA
を位置づける制御を行ない、さらに修正後キヤリ
ツジを制御手段によつて位置づけられる以前の状
態に復帰させていることが理解できる。以後前述
同様に文字G、H、Iを入力し、行バツフアLB
にアドレス回路ADにより順に格納され、またキ
ヤリツジ位置カウンタCCも歩進し、「6」とな
る。文字G、H、Iの印字が終了するとキヤリツ
ジ復帰命令キーK1を押し、キヤリツジCAを左
端に復帰させ、また印字用紙Pを1行給送する。
ここで、3行目には小文字のアルフアベツト印字
させたい場合は、キーK1を押す前に紙送りピツ
チ1から例えば3/4に変更する指示をキーボード
KBから与えれば、キーK1を押したとき印字用
紙Pは3/4行しか送られない。以後先と同様に小
文字a、b、…等が印字され、また次の4行目へ
の給送時に3/4だけ送つて小文字h、i、…等を
印字させれば第1図のようになる。また行バツフ
アLBは第3図に示す如く、前述同様に印字文字
に関する情報及びキヤリツジ復帰命令、キヤリツ
ジ移動距離、紙送り量を次に記憶していく。この
ように紙送り量が変つても各々の紙送り量を記憶
させ、同様に印字ピツチ情報が各文字毎に変つて
もCPU内の固定記憶装置には各文字に対する印
字ピツチ情報が備えられているから、その度に行
バツフアLBに異なる印字情報を格納すれば良い。
また修正のためにバツクトレースを行なわせると
きは、バツクトレースキーK2を1回押した後は
リピートキーK4を押し続ければアドレス回路
ADは減算を繰り返すので行バツフアLBの内容
はCPUに次々に読み込まれ、またキヤリツジCA
は連続的に復帰するので高速に修正位置に到達で
きる。またこのときキーボードKBの数値キー等
を用いて戻す行数を指定した後、バツクトレース
キーK2及びリピートキーK4の操作を行なえば
さらに先に印字を終えた行にまで戻すことができ
る。
This allows the carriage CA to automatically reach the final character position one line before. Thereafter, by pressing the back trace key K2 once more (step S 1 ), the carriage CA is sent one print pitch to the left and reaches the position of the printed character C in the first column (steps S 2 , S 3 , S 4 ). ), by pressing the correction command key K6, the printed character C can be erased with a correction ribbon, and if the character Y is then input, the character Y can be printed on top of it, and the address circuit described above
The contents of the row buffer LB are changed from C to Y according to the movement of AD. After completing the correction by repeatedly operating the backtrace key K2 and correction command key K6, press the relocate key K5.
The CPU reads the address "8" immediately before the back trace key K2 was pressed and performs calculations in the horizontal direction and paper feed direction of the line buffer LB indicated by the current address value and the original address "8". Return to the position on the paper immediately before K2 was pressed. In this way, the line buffer LB serves as a storage means for information regarding the movement of the carriage CA equipped with the print head, and the CPU stores information in the storage means when it is necessary to correct the previous printed character after a line feed. The travel distance information of the carriage CA is traced back and deciphered, and then based on the decoding results, the carriage CA is traced back to the previous line that has already been printed.
It can be seen that the control means performs control to position the carriage, and further returns the carriage after correction to the state before it was positioned by the control means. After that, enter the letters G, H, and I in the same way as above, and move to the line buffer LB.
are sequentially stored by the address circuit AD, and the carriage position counter CC also increments to "6". When printing of the characters G, H, and I is completed, the carriage return command key K1 is pressed to return the carriage CA to the left end and feed the printing paper P one line.
If you want to print lowercase alphanumeric characters on the third line, enter an instruction on the keyboard to change the paper feed pitch from 1 to, for example, 3/4 before pressing the key K1.
If given from KB, printing paper P will only be fed 3/4 lines when key K1 is pressed. From then on, lowercase letters a, b, etc. are printed in the same way as before, and when feeding to the next 4th line, feed by 3/4 and print lowercase letters h, i, etc. as shown in Figure 1. become. Further, as shown in FIG. 3, the line buffer LB subsequently stores information regarding printed characters, a carriage return command, a carriage movement distance, and a paper feed amount in the same manner as described above. In this way, even if the paper feed amount changes, each paper feed amount is memorized, and similarly, even if the print pitch information changes for each character, the print pitch information for each character is stored in the fixed storage device in the CPU. Therefore, it is sufficient to store different print information in the line buffer LB each time.
Also, when performing backtrace for correction, press the backtrace key K2 once and then keep pressing the repeat key K4 to trace the address circuit.
Since AD repeats subtraction, the contents of the row buffer LB are read into the CPU one after another, and the contents of the row buffer LB are read into the CPU one after another.
Since it returns continuously, it can reach the corrected position at high speed. At this time, after specifying the number of lines to be returned using the numerical keys on the keyboard KB, by operating the backtrace key K2 and repeat key K4, it is possible to return to the line that was printed earlier.

即ち例えば印字文字が300文字以内であれば何
行でも前に戻つてその最終印字文字の位置までキ
ヤリツジを到達させることができる。
That is, for example, if the number of printed characters is 300 or less, it is possible to go back any number of lines and bring the carriage to the position of the last printed character.

第1図例の場合、5行目が印字位置とすると数
値キー4を入力後、キーK2、K4を操作すると
4行戻り1行列目の印字文字Dの位置にキヤリ
ツジCAを到達させることができる。これには値
4を格納するレジスタを準備し、途中で検出する
キヤリツジ復帰命令RETではまだキヤリツジCA
を停止させず、RETの検出回数とそのレジスタ
の内容が一致したときのRETでキヤリツジCAを
始めて停止させるように構成すれば良い。
In the case of the example in Figure 1, if the 5th line is the printing position, after inputting numeric key 4 and operating keys K2 and K4, the carriage CA can be moved back 4 lines to the position of the printed character D in the 1st column. . For this purpose, a register is prepared to store the value 4, and when the carriage return command RET is detected midway, the carriage CA is still detected.
Instead of stopping the carriage CA, the carriage CA may be configured to start and stop at RET when the number of RET detections matches the contents of the register.

第1図例のように印字用紙Pに例えば最高文字
数約150字を全て印字する場合は少ないので、本
実施例のように行バツフアを管理する方法は有用
である。
Since it is rare that a maximum of about 150 characters, for example, are all printed on the printing paper P as in the example in FIG. 1, the method of managing line buffers as in this embodiment is useful.

また第3図34文字桁、35文字桁のようにキヤリ
ツジ復帰命令、移動距離、紙送り量等の全てを記
憶させる必要もない。
Further, there is no need to store all of the carriage return command, travel distance, paper feed amount, etc. as shown in the 34 character digits and 35 character digits in Figure 3.

例えば紙送りは手動にて行なつても良く、また
キヤリツジ復帰命令はキヤリツジ移動距離情報自
身に含ませてもCPUは解読、判別ができる。
For example, paper feeding may be performed manually, and the CPU can decipher and determine the carriage return command even if it is included in the carriage movement distance information itself.

また第2図のように行バツフアLBに電池Bを
備えておけば、仕事途中に電源スイツチを切つて
も行バツフアLBの内容は揮発しないから、仕事
再開時に先の修正も容易に行なうことができる。
Furthermore, if the row buffer LB is equipped with a battery B as shown in Figure 2, the contents of the row buffer LB will not volatize even if the power switch is turned off during work, making it easier to make previous corrections when resuming work. can.

[発明の効果] 以上、詳述したように本発明によれば、既印字
文字に対して数行前であつても正確にかつ容易
に、印字ヘツドを位置づけることが可能となつ
た。
[Effects of the Invention] As described in detail above, according to the present invention, it has become possible to accurately and easily position the printing head even if it is several lines in front of the already printed characters.

また、本発明により、既印字文字の何行前に、
印字ヘツドを位置づけるかを容易に指定すること
が可能となつた。
Also, according to the present invention, how many lines before the already printed characters?
It is now possible to easily specify the position of the print head.

さらに、本発明により、紙送り方向の距離情
報、行区切り情報、ヘツド移動方向の距離情報に
より、先行する行に印字ヘツドを容易にかつ正確
にヘツドを位置づけることが可能となつた。
Further, according to the present invention, it has become possible to easily and accurately position the print head in the preceding line using distance information in the paper feed direction, line separation information, and distance information in the head movement direction.

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

第1図は印字例を示す説明図、第2図は本発明
の一実施例のブロツク図、第3図は行バツフアの
記憶例を示す表図、第4図は本発明の印字修正時
の制御の流れを示すフローチヤート図である。 CA…キヤリツジ、LB…行バツフア、CPU…
中央処理装置、KB…キーボード。
Fig. 1 is an explanatory diagram showing an example of printing, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a table showing an example of storing a row buffer, and Fig. 4 is a diagram for correcting printing according to the present invention. FIG. 3 is a flowchart showing the flow of control. CA...carriage, LB...row buffer, CPU...
Central processing unit, KB...Keyboard.

Claims (1)

【特許請求の範囲】 1 印字用紙を正逆送りせしめるための紙送り手
段と、 前記紙送り手段による紙送り方向と直交する方
向に移動可能であつて、印字用紙に印字を行なう
印字ヘツドと、 前記印字用紙に複数行にわたり印字すべき文字
列を記憶する記憶手段と、 先行する行に印字ヘツドを対向せしめることを
指示する指示手段と、 前記指示手段からの指示に応答して、印字ヘツ
ドを現在行より先行する行に移動させると共に、
紙送り方向の距離情報、行区切り情報、ヘツド移
動方向の距離情報により前記印字用紙上の印字ヘ
ツド位置と前記記憶手段に記憶された文字列上の
位置が対応する如く制御する制御手段とを有する
印字装置。 2 前記記憶手段は、前記印字用紙に複数行にわ
たり印字される最大N(N≧1:整数)文字分の
文字列を記憶可能であることを特徴とする特許請
求の範囲第1項に記載の印字装置。 3 前記紙送り方向の距離情報は、前記印字用紙
の送り量であることを特徴とする特許請求の範囲
第1項に記載の印字装置。
[Scope of Claims] 1. A paper feeding means for forwarding and reversing printing paper; a printing head that is movable in a direction perpendicular to the paper feeding direction by the paper feeding means and prints on the printing paper; a storage means for storing a character string to be printed over a plurality of lines on the printing paper; an instruction means for instructing the print head to face the preceding line; and an instruction means for moving the print head in response to an instruction from the instruction means. Move to the line preceding the current line, and
control means for controlling the position of the printing head on the printing paper and the position on the character string stored in the storage means based on distance information in the paper feeding direction, line separation information, and distance information in the head movement direction; Printing device. 2. The storage device according to claim 1, wherein the storage means is capable of storing a character string for a maximum of N characters (N≧1: an integer) to be printed over multiple lines on the printing paper. Printing device. 3. The printing device according to claim 1, wherein the distance information in the paper feeding direction is a feeding amount of the printing paper.
JP14721087A 1987-06-12 1987-06-12 Printer Granted JPS631573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14721087A JPS631573A (en) 1987-06-12 1987-06-12 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14721087A JPS631573A (en) 1987-06-12 1987-06-12 Printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP9777382A Division JPS5816880A (en) 1982-06-09 1982-06-09 Printer

Publications (2)

Publication Number Publication Date
JPS631573A JPS631573A (en) 1988-01-06
JPH0158074B2 true JPH0158074B2 (en) 1989-12-08

Family

ID=15425056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14721087A Granted JPS631573A (en) 1987-06-12 1987-06-12 Printer

Country Status (1)

Country Link
JP (1) JPS631573A (en)

Also Published As

Publication number Publication date
JPS631573A (en) 1988-01-06

Similar Documents

Publication Publication Date Title
US4558965A (en) Printing apparatus controlling advancement of printing paper, actuation of a hammer, and advancement of an ink ribbon
US4880325A (en) Ink ribbon cassette including means for identifying the type of ink ribbon contained therein and containing an ink ribbon having end indication means
CA1092244A (en) System for automatically proofreading a document
JPS6134398B2 (en)
US4618275A (en) Method for resetting the printing head of a typewriter
JPH0326409B2 (en)
US5529406A (en) Document processing apparatus and method for printing a document read out of a memory
JPH0158074B2 (en)
JPS6134991B2 (en)
US4564304A (en) Typewriter with resetting function for margin position and tab position
JPS62218167A (en) Printer
JPS59188453A (en) Electronic typewriter
JPS6391271A (en) Electronic typewriter
JPS59188476A (en) Electronic typewriter with display device
JPS6354273A (en) Electronic typewriter
JPS60109872A (en) Typewriter with text memory
JPS627583A (en) Electronic typewriter
JPH01234968A (en) Document editing device
JPS629982A (en) Printing apparatus
JPS62181170A (en) Printer
JPH06238980A (en) Printer
JPS6151374A (en) Electronic typewriter
JPS63128968A (en) Printer
JPH0236020B2 (en)
JPH0671810B2 (en) Electronic typewriter