JPS5845986A - Electronic device - Google Patents

Electronic device

Info

Publication number
JPS5845986A
JPS5845986A JP14400781A JP14400781A JPS5845986A JP S5845986 A JPS5845986 A JP S5845986A JP 14400781 A JP14400781 A JP 14400781A JP 14400781 A JP14400781 A JP 14400781A JP S5845986 A JPS5845986 A JP S5845986A
Authority
JP
Japan
Prior art keywords
key
printing
line
control unit
memory
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
JP14400781A
Other languages
Japanese (ja)
Other versions
JPH0380115B2 (en
Inventor
Hiroyuki Ueda
博之 上田
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 JP14400781A priority Critical patent/JPS5845986A/en
Publication of JPS5845986A publication Critical patent/JPS5845986A/en
Publication of JPH0380115B2 publication Critical patent/JPH0380115B2/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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/50Side-stop mechanisms

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To enable to print in the prescribed format irrespective of a sheet inserting position by storing a print starting position by the relative position from a shift margin set in an electronic device. CONSTITUTION:A microprocessor MPU 44 translates a key signal from a keyboard 10 in accordance with a control sequence stored in a read only memory ROM 53, and controls a printing mechanism 41, an indicator 94 or a sentence memory 54, and a speaker 42. An address decoder 45 receives a control AB of an MPU 44 and generates signals of SELROM, SELBF, SELREG, SELM 2, SELFE, SELM1, SELKEY, SELPRT, SELDSP, SELBZ, and specifies and controls an ROM 53, a line buffer 52, a register group 51, an auxiliary memory 57, a flag group 50, a sentence memory 54, a keyboard control unit 24, a printer control unit 16, a display control unit 9L and an alarm controller 49.

Description

【発明の詳細な説明】 本発明はキー制御式の電子タイプライ゛り等の電子機器
、特に記憶された印字開始位置に従って印字する手段な
iえた電子機器に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic device such as a key-controlled electronic typewriter, and more particularly to an electronic device including means for printing according to a stored print start position.

従来、例えぼ電子タイ゛プライタ等のような電子機器が
知られており、このような電子タイブライ主要な゛制御
のほぼ全てをディジタル制御で行なわせることはできな
かった。しかし近年マイクロプロセッサの出現により、
新たに多種多様の機能を備えた電子機器も各種発明され
ている。しかし、それらの機能の中には操作者にとって
使用し難いものもある。例えば、印字対象書式の各印字
開始位置を登録あるいは呼び出しのできる機能、すなわ
ちページフォーマット機能を備えた電子機器が知られて
いるが、用紙の挿入位置が異なると正しいフォーマット
で印字できなくなる等の欠点がある。
Conventionally, electronic devices such as electronic typewriters have been known, and it has not been possible to digitally control almost all of the main controls of such electronic typewriters. However, with the advent of microprocessors in recent years,
Various new electronic devices with a wide variety of functions have also been invented. However, some of these functions are difficult for the operator to use. For example, electronic devices are known that have a function to register or recall each print start position of a print target format, that is, a page format function, but they have drawbacks such as not being able to print in the correct format if the paper is inserted at a different position. There is.

従って本発明はこのような欠点を除去する°もので、用
紙の挿入位置に無関係に所定のフォーマットで印字でき
る電子機器を提供することを目的とする。
SUMMARY OF THE INVENTION Therefore, the present invention aims to eliminate such drawbacks, and aims to provide an electronic device that can print in a predetermined format regardless of the insertion position of the paper.

以下添付図面を参照して本発明の実施例を詳細に説明す
る。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

まず本発明の電子機器の基本構成を第1図に基き説明す
る。1はプラテンノブであり用紙を手動で装填する際、
あるいは印字位置の縦方向の微調をする際に使用される
。ノブ1を内側に押すと、内部の駆動パルスモータ−と
の結合がはず・れ、ノブ1の手動での回転が可能となる
構造となっている。ペーパーサポート2は用紙の案内板
であり薄い用紙を使用した際も印字された面が操作者側
に向く様にする為の物である。ページエンドインジケー
タ3は用紙の終了行までの長さを示す物指しであり、用
紙の縦の長さに合わせてあらかじ冷操作者がインジケー
タ3を矢印の如く上下方向に調整して置きプラテン17
を通過して出て来た用紙の上辺がインジケータ3の目盛
装置に達した時用紙の終了行までの長さを知る事ができ
る。レリー8v、A −4lよ7−、ケア、)下部、ユ
装置あれ、龜るインチローラをプラテンから離し、用紙
の傾きをマニアルで修正する時に用いる。防音カバー5
はインパクト印字の衝撃音を抑える為にあり透明アク5
を通して見る事が可能である。書体の変更、あるいはリ
ボンカセットの交換時は上カバー6を後方に回転させな
がら開け、キャリッジ部(=装荷されている活字ホイー
ルの交換、あるいはリボンカセットの交換を行なう。本
電子タイプライタは横方向の印字ピッチが1インチあた
り10文字、12文字、15文字と活字の大きさにより
印字ピッチが変るプロポーショナル・スペーシング(以
下、  PSと記す)との4種類有している。スケール
8、 は10文字ピッチ、12文字ピッチ、15文字ピ
゛ツチで刻まれた3本の目盛りを有し、またキャリッジ
インジケータ12は3ケのLED等のランプから構成さ
れ、キャリッジに搭載されていてキーボード10か゛ら
指定されたピッチに対応するランプ、を点灯しキャリッ
ジ位置をスケール8上に示す。
First, the basic configuration of the electronic device of the present invention will be explained based on FIG. 1 is the platen knob, which is used when loading paper manually.
Alternatively, it is used to finely adjust the printing position in the vertical direction. When the knob 1 is pushed inward, it is disconnected from the internal drive pulse motor, allowing manual rotation of the knob 1. The paper support 2 is a guide plate for paper, and is used to ensure that the printed side faces the operator even when thin paper is used. The page end indicator 3 indicates the length of the paper to the end line, and the operator adjusts the indicator 3 vertically as shown by the arrow to match the vertical length of the paper and places it on the platen 17.
When the upper side of the paper that has passed through reaches the scale device of the indicator 3, the length to the end line of the paper can be known. Relay 8v, A-4l 7-, Care,) Lower part, U device, is used to move the diagonal inch roller away from the platen and manually correct the inclination of the paper. Soundproof cover 5
Transparent Acrylic 5 is used to suppress the impact noise of impact printing.
It is possible to see through. When changing the typeface or replacing the ribbon cassette, open the upper cover 6 by rotating it backwards and replace the carriage section (= the loaded type wheel or the ribbon cassette. This electronic typewriter is installed horizontally. There are four types of printing pitch: 10 characters, 12 characters, 15 characters per inch, and proportional spacing (hereinafter referred to as PS) in which the printing pitch changes depending on the size of the type.Scale 8, is 10 characters. It has three scales marked with character pitch, 12 character pitch, and 15 character pitch, and the carriage indicator 12 is composed of three lamps such as LEDs, and is mounted on the carriage and can be specified from the keyboard 10. The carriage position is indicated on the scale 8 by lighting the lamp corresponding to the pitch that has been set.

キーボード10は文肇を入力印字する文字キ一群10a
とその両側に配置された制御キ一群10b。
The keyboard 10 has a group of character keys 10a for inputting and printing text.
and a group of control keys 10b arranged on both sides thereof.

10cからなり、入力されたキー信号はキーホード制御
ユニット内で読み込まれ■Uを含む主制御ユニットに送
られる。入力されたキーが印字すべきキーの場合はプリ
ンター制御ユニットへ関連データが主制御ユニットから
送出される。表示すべきキーの場合は主制御ユニットか
ら表示器94の制御ユニットへデータが送出され、表示
器94で表示される。印字ピッチ切換、行送りピッチ切
換あるいは照光式キー等の如く、キーボード10上のラ
ンプの照明を変更する♀−人力の場合は、ランプを点灯
制御するデータが主制御ユニットからキーボード制御ユ
ニットへ送出される。
The input key signal is read in the key fob control unit and sent to the main control unit including ■U. If the input key is a key to be printed, related data is sent from the main control unit to the printer control unit. If the key is to be displayed, the data is sent from the main control unit to the control unit of the display 94 and displayed on the display 94. Changing the illumination of the lamps on the keyboard 10, such as by changing the printing pitch, changing the line feed pitch, or by using illuminated keys, etc. - In the case of manual operation, data for controlling the lighting of the lamps is sent from the main control unit to the keyboard control unit. Ru.

第2図は本実施例の電子タイプライタの操作パネル正面
図である。図(二於いてPitchキニは前述したよう
に1インチあたりの印字文字数を指定するものである。
FIG. 2 is a front view of the operation panel of the electronic typewriter of this embodiment. In Figure 2, the Pitch key specifies the number of characters printed per inch, as described above.

Pitchキーを押下する毎にPitchに関するLE
D等のランプで構成されている表示部L1は10. 1
2. 15. PSの順に、しかもサイ。
Each time you press the Pitch key, the LE related to Pitch is displayed.
The display section L1, which is composed of lamps such as D, is 10. 1
2. 15. In order of PS, and Sai.

クリックに点灯する。10,12.15は文字数/1n
chであるがPSは印字される文字により1インチあた
りの文字数は異なる。Line 5pace キーは、
行送り時の量を示し送り量の基本単位長1はrインチと
している。これも前と同様、キーの押下によりサイクリ
ックにランプL2が点灯する。
Lights up when clicked. 10, 12.15 is the number of characters/1n
ch, but in PS, the number of characters per inch differs depending on the characters to be printed. Line 5pace key is
The basic unit length 1 of the line feed amount is r inches. As before, the lamp L2 is lit cyclically by pressing the key.

KB 5electキーは大文字、小文字等を指定する
一8HI FTキーを用いても選字な行なうことができ
ないようなキー、すなわち、K璽のよう:二重キーで3
種の活字に対応するキーに対して択一的な意味を与える
もので、本例ではKBIのランプL3が点灯していると
き、rt+Jt  ri」を選択し、さらKBIIのラ
ンプ点灯時には縦線文字「1」が選択される0KBSe
lectキーを押下する毎に1.Itの何れかのランプ
が点灯する。
The KB 5select key is used to specify uppercase and lowercase letters, etc. 8HI The 5select key is used to select letters that cannot be selected using the FT key, such as the K seal: 3 with the double key.
This gives an alternative meaning to the key corresponding to the type character, and in this example, when the KBI lamp L3 is lit, rt+Jt ri'' is selected, and when the KBII lamp is lit, the vertical line character is selected. 0KBSe where “1” is selected
1 every time the LECT key is pressed. One of the It lamps lights up.

右上方のR,M Controlキーは右マージンに於
けrUsT、 AUTO,OFFの何れかがR,M C
ontrol  キーを押下する毎に選択され=0これ
もランプL4の点灯により示される。JUSTのランプ
が点灯時はライトジャステイフイケーション(右揃え)
の機能を選択し、AUTOのランプの点灯時はオートラ
インフィードを行なう。OFFは文字通り何も指示しな
い。OP controlキーは電子タイプライタの印
字モードを決定するとき用いられる。これも先と同様に
キー押下毎にC,W、 L、 5TOREのどれかが点
灯し印字モー4ドを示すようになっている。
The upper right R, M Control key is rUsT, AUTO, OFF is R, M C in the right margin.
Each time the ontrol key is pressed, it is selected =0, which is also indicated by the lighting of the lamp L4. When the JUST lamp is lit, light justification (right alignment)
Select the function and perform automatic line feed when the AUTO lamp is lit. OFF literally does not instruct anything. The OP control key is used to determine the print mode of the electronic typewriter. As before, each time a key is pressed, one of C, W, L, and 5TORE lights up to indicate the 4th printing mode.

Cは文字毎印字、Wは単語毎印字、Lは行毎印字、5T
OREは内部記憶装置への登録を意味し、5TOREの
と今は行毎印字りのモードになる。
C: print every character, W: print every word, L: print every line, 5T
ORE means registration in the internal storage device, and 5TORE is now in line-by-line printing mode.

左側縁部の5SWIはデシマルタブ機能に関係し、3桁
位取に関係する。すなわち、5SWIがSPを指定する
ときスーペースによる3桁位取がなされ、「弓を指定す
るとき「す」による3桁位取がなされる。「××」指定
は3桁位取を行なわない。
5SWI on the left edge relates to the decimal tab function and relates to the 3-digit scale. That is, when 5SWI specifies SP, three-digit scale is performed using space, and when 5SWI specifies bow, three-digit scale is performed using 'su'. If "XX" is specified, 3-digit scale is not performed.

5SW2は文字の種類を示している。つまりボールド印
字、あるいはアングライン付印字等に関係する。「××
」はボールド印字でかつ連続するアングライン付、「×
×」はボールド印字で単語毎ののアングライシ付、「×
××」は単にボールド印字、rX:、:Jは通常の印字
で連続するアングライン付、「×:、」は通常の印字で
単語単位のアングライン付、r :、−:?: :、J
は通常の印字を指示している。DECTABキーはデシ
マルタブを指示するとき等、LAYOUTキーはランプ
付でありコラムレイアウトを指示するとき等、INDE
NTキーもランプ付であり、自動インデントモードを指
示するとき等、であり、ページフォーマットに関係する
とき用いられ、またMEMORYキーもランプ付で、メ
モリに関係するとき、MARRELキーは左右のマージ
ンを越えて動作させるとき等、N0NPRTキーは文章
メモリ参照時、REPEATキーは同一文字を連続して
印字または入力するとき、ケキーあるいはψキーは表示
器94のカーソル位置を移動させるとき、右側縁部のB
ACK 5PACEキーは印字位置を左マージン方向へ
移動させるとき、Sキーは文字を消去するとき、 −I
NDEXキーは印字用紙の1行送りを行なうとき、RE
V I NDEXキーは印字用紙の逆方向1行送りを行
なうとき、C0DEキーはランプ付であり、他のキーと
併用して特殊な指示を行なうとき、CENTキーはラン
プ付であり、センタリング印字を指示するとき、☆キー
は印字の中止指示等、LMキーは左マージンの設定、R
Mキニは右マージンの設定、SETキーはタブストップ
の設定、CLRキーはタブストップの消去、RELOC
キーは最終印字場所ヘキャリツジを移動する時等、左方
のSHI FTキーと併用し、小文字を入力する場合あ
るいは特棟な機能を指示するとき、その上のLOCKキ
ーは5HTFTキーにロックを与えるときに用いられる
。BACK−TRACEキーは前行に塑つて印字を訂正
するときに用いる。
5SW2 indicates the type of character. In other words, it relates to bold printing, printing with angle lines, etc. “××
” is printed in bold and with a continuous angle line, “×
×” is printed in bold with annotations for each word, “×
XX" is simply printed in bold, rX:, :J is normal printing with continuous anglines, "×:," is normal printing with word-by-word anglines, r:, -:? : :, J
indicates normal printing. The DECTAB key is used to specify decimal tabs, etc. The LAYOUT key has a lamp and is used to specify column layout, etc.
The NT key also has a lamp, and is used when instructing automatic indentation mode, etc., and is related to page formatting.The MEMORY key also has a lamp, and when related to memory, the MARREL key changes the left and right margins. When operating beyond the cursor position, the N0NPRT key is used to refer to the text memory, the REPEAT key is used to print or input the same character continuously, and the KE key or ψ key is used to move the cursor position on the display 94. B
ACK 5PACE key moves the print position towards the left margin, S key erases characters, -I
The NDEX key is used to advance one line of printing paper.
The V I NDEX key is used to feed printing paper one line in the reverse direction, the C0DE key has a lamp, and when used in conjunction with other keys to issue special instructions, the CENT key has a lamp and is used to perform centering printing. When giving instructions, use the ☆ key to instruct to stop printing, etc., the LM key to set the left margin, and the R
Mkini sets the right margin, SET key sets the tab stop, CLR key deletes the tab stop, RELOC
The key is used in conjunction with the SHI FT key on the left when moving the carriage to the final printing location, to enter lowercase letters or to specify special functions, and the LOCK key above it is used to lock the 5HTFT key. used for. The BACK-TRACE key is used to correct printing by moving to the previous line.

点線内が文字キーCKである。5PAGEキーは空白桁
を設定するためキャリッジの右空送りを1回押す毎に実
行する。RETURNキーはキャリッジの左マージン復
帰と印字用紙の1行給送を実行する。
The character key CK is inside the dotted line. The 5PAGE key is executed every time the carriage is pressed to the right to set a blank digit. The RETURN key executes return of the left margin of the carriage and feeding of one line of printing paper.

図示の如< RETURNキーと5pAct、キーは文
字キ第3図にはその制御ブロック図が示されている。
As shown in the figure, the RETURN key and 5pAct keys are character keys.A control block diagram thereof is shown in FIG.

44はマイクロプロセッサ−MPUであり、読み出し専
用メモリROM53に格納されている制御シーケンスに
従つ−てキーボード10 解釈し、4jの印字機構、94の表示器あるいは54の
文章メモリ、42のスピーカー等に対する制御を行なう
。轡5はアドレスデコーダであり、MPU 44の制御
AB−を受けてSELROM、 5ELBF。
44 is a microprocessor (MPU) which interprets the keyboard 10 according to the control sequence stored in the read-only memory ROM 53, and controls the printing mechanism 4j, the display 94 or the text memory 54, the speaker 42, etc. control.轡5 is an address decoder, which receives control AB- from the MPU 44 to output SELROM and 5ELBF.

5ELREG、 SELM2.5ELFF、 SELM
I、5ELKEY。
5ELREG, SELM2.5ELFF, SELM
I, 5ELKEY.

5ELPRT、 5ELDSP、 5ELBZ (7)
、信号を発生し、それぞれROM 53 、行バッファ
52、レジスタ群51、補助メモリ57、フラッグ群5
0、文章メモリ54、キーボード制御ユニット24、プ
リンタ制御ユニット16、表示器制御ユニツ)9L、警
報制御部49を指定し制御する。なお、キーボード表示
器、印字機構、メモリ、ROM等はMPUの処理のため
、番地が割り当てられている。
5ELPRT, 5ELDSP, 5ELBZ (7)
, and generate signals respectively, ROM 53, row buffer 52, register group 51, auxiliary memory 57, and flag group 5.
0, text memory 54, keyboard control unit 24, printer control unit 16, display control unit) 9L, and alarm control unit 49 are designated and controlled. Note that addresses are assigned to the keyboard display, printing mechanism, memory, ROM, etc. for processing by the MPU.

50はフラグ群であり、タイプライタの指定状態、各種
モード等の記憶をする。51はレジスタ群であり、処理
演算の中間結果等の格納に使われる。52は行バッファ
で既に印字した文字に関する情報の格納や単語単位、行
単位の印字動作の時等に印字すべき情動を格納しておく
。MPU 44は修正の時等、既に印字された文字が何
であるかをこの行バッファ52を逆方向に検索する事に
より知り、キャリッジを既に印字した行の最終印字位置
に自動的に到達するように制御する。5,4は文字列ま
たは文章のメモリで操作者がしかるべき手順に従って登
録した文字列、文章、情報、タブ群情報等をタイトルを
付して、又は場合によってタイトルなしで記憶しておく
。メモリ54は、電池23 (、nよりバックアップさ
れているので、電源スィッチを切ってもメモリ54中の
情報は失われない。電池23は電源センサ56、電池監
視部55′により電源スィッチが投入されている限り監
視されており、電池寿命等により電圧低下を来した時に
は操作者に警告を与える。57の補助メモリはメモリ5
4と同様23の電池でバックアップされてお一す、電源
スイツチオフ直前の各種の動作モード等を記憶させてお
く。
Reference numeral 50 denotes a group of flags, which stores the specified state of the typewriter, various modes, and the like. A group of registers 51 is used to store intermediate results of processing operations. Reference numeral 52 is a line buffer in which information regarding characters that have already been printed is stored, and emotions to be printed during word-by-word or line-by-line printing operations are stored. When making corrections, the MPU 44 finds out what characters have already been printed by searching this line buffer 52 in the reverse direction, and automatically moves the carriage to the final printing position of the already printed line. Control. 5 and 4 are character string or text memories in which character strings, texts, information, tab group information, etc. registered by the operator according to appropriate procedures are stored with titles or without titles as the case may be. Since the memory 54 is backed up by the batteries 23 (, n), the information in the memory 54 will not be lost even if the power switch is turned off. The auxiliary memory of 57 is monitored as long as the voltage drops due to battery life, etc., and a warning is given to the operator.
Similar to 4, it is backed up by 23 batteries and stores various operating modes immediately before the power switch is turned off.

キーボード制御ユニット24は各入カキ−に対応した格
子点をもつマトリックス88を経てキー情報を発生する
とともにカソードドライバ64を介しキーボード10上
の照光式キースイッチのランプあるいはピッチ表示、オ
ペレーティングモード等の表示用う・ンプ89の点灯制
御も行なっている。プリンタ制御ユニット16は旧を経
て印字機構41を制御して印字を行なう。表示部9の表
示器制御ユニツ)SLは表示器94に表示される情報を
制御する。警報制御部49はMPU 44の指示に従っ
て警告音を42のスピーカーにより発生する。13は既
述した如く電源ユニットであり、各部へ電力を供給する
。  。
The keyboard control unit 24 generates key information through a matrix 88 having grid points corresponding to each input key, and also displays the lamp or pitch of the illuminated key switch on the keyboard 10, the operating mode, etc. through the cathode driver 64. It also controls the lighting of the lamp 89. The printer control unit 16 controls the printing mechanism 41 to perform printing. A display control unit (SL) of the display section 9 controls information displayed on the display 94. The alarm control unit 49 generates an alarm sound through 42 speakers according to instructions from the MPU 44 . As mentioned above, 13 is a power supply unit that supplies power to each part. .

なお、各ユニット、メモリ、レジスタ群、フラッグ群等
はMPU44とデータバスDBを介して接続され、MP
U 44からの制御を受けるとともにMPU44に各種
データを送り、そこで所定の演算制御が行なわれる。
In addition, each unit, memory, register group, flag group, etc. are connected to the MPU 44 via a data bus DB, and the
It receives control from U 44 and sends various data to MPU 44, where predetermined arithmetic control is performed.

第4−はフラッグ群50の内部構造である。各々のフラ
ッグの役割は以下の通りである。
The fourth item is the internal structure of the flag group 50. The role of each flag is as follows.

KB2はKB 5electキーの押下により■を選択
したときにセットする(KB2=1)ものである。
KB2 is set (KB2=1) when ``■'' is selected by pressing the KB5 select key.

従ってKB2=1に於いて、第2図KNは縦線文字「1
」の文字キーとして有効になる。KB2がクリアされる
のはKB 5e1ectキーによりIを選択したときで
ある。I NDENTは自動゛インデントモードが開始
されたとき、I NDENT = 1にする。キャリッ
ジを左マージ方向へ戻すとき、いつも監視され、I N
DENT = 1では仮の左マージンを左マージンとし
て動作する。I NDENTのクリアは自動インデント
モードが解除されたときである。
Therefore, when KB2=1, KN in Figure 2 is the vertical line character "1".
” is valid as a character key. KB2 is cleared when I is selected using the KB5e1ect key. INDENT sets INDENT = 1 when automatic indentation mode is started. When moving the carriage back towards the left merge direction, it is always monitored and I N
When DENT=1, the temporary left margin is used as the left margin. INDENT is cleared when automatic indent mode is canceled.

STRはOp Controlキーで5TOREが選択
されたとき、5TR=1にし、5TORE以外を選択し
たとき、 5TR=0になる。TRは文字列の参照等の
操作でタイトル名を入力しRETURNキーを押したと
きTR=1にし、文字列の参照等が解除されたとき、T
R=Oになる。NPはN0NPRTキーが押下されたと
きNP=1にし、文字列の参照等が解除されたときNP
=Oになる。SCは文字列の参照等で、サーチ用文字列
が入力されていることを示す。従って、参照用文字列が
入力されるとき5C=1になり、文字列等の参照が解除
されると5C=Oになる。
When 5TORE is selected using the Op Control key, STR is set to 5TR=1, and when a selection other than 5TORE is selected, 5TR is set to 0. TR is set to 1 when the title name is entered and the RETURN key is pressed during an operation such as character string reference, and when the character string reference is canceled, T
R=O. NP is set to 1 when the N0NPRT key is pressed, and NP is set when the character string reference etc. is released.
=O. SC indicates that a search character string has been input, such as by character string reference. Therefore, when the reference character string is input, 5C=1, and when the reference to the character string, etc. is released, 5C=O.

CMVはセンタリングのモード(4種のうち何れカリが
確立されたとき、CMV = 1になり、センタリング
が解除されると同時にCMV = Oになる。TCNT
はタブ間のセンタリングを指定したときTCNT =1
にすGJ 、 MCNTはマージン間のセンタリングを
指定したとき、PCNTは指定位置間のセンタリングを
指定したとき、WCNTはワード間のセンタリングを指
定したときそれぞれ1(二なる。
TCNT
TCNT = 1 when centering between tabs is specified
NisuGJ, MCNT is 1 (2) when centering between margins is specified, PCNT is 1 (2) when centering between specified positions is specified, and WCNT is 1 (2) when centering between words is specified.

第5図はレジスタ群51の内部構造である。レジスタP
RTEPTは行バッファ52に格納されている文字の最
終点を示している。レジスタPRTEPTは行バツフア
52内に格納されている文字内での印字終了点を示して
いる。本発明に用いられるレジスタCRGPTは印字可
能な最左端からのキャリッジの移動距離が格納される。
FIG. 5 shows the internal structure of the register group 51. Register P
RTEPT indicates the final point of characters stored in the line buffer 52. Register PRTEPT indicates the printing end point within the characters stored in line buffer 52. The register CRGPT used in the present invention stores the moving distance of the carriage from the leftmost printable end.

レジスタDCRGPTは単語毎印字、行毎印字等におい
てキャリッジは文字キーの入力ではすぐには移動印字し
ない。従って仮のキャリッジ位置を知り監視する必要が
ある。このときDCRGPTが用いられ、実際に移動す
べき数量が格納される。P I TCHはPITCHキ
ーを押下し文字の大きさ即ち文字ピッチを指定したとき
、各文字ピッチの情報が格納される。MPU44は文字
ピッチを知るときP I TCHを参照すればよい。L
NSPはP I TCH同様、現在の紙送り量即ちLi
ne 5paceキーの操作状態を記憶する。RMCは
R,M、controlキー、0PCNTはOP Co
ntrolキーの状態を記憶する。LM%RMはCRG
PT等と同じ単位でその時点の左マージンと右マージン
の位置を記憶している。5SW1および5SW2は操作
パネル上の5SWI、 5SW2の状態をそれぞれ記憶
している。DLMは自動インデントモードのときに左マ
ージンLMの退避レジスタである。
In the register DCRGPT, the carriage does not move immediately when a character key is input during word-by-word printing, line-by-line printing, etc. Therefore, it is necessary to know and monitor the temporary carriage position. At this time, DCRGPT is used to store the actual quantity to be moved. When the PITCH key is pressed to specify the character size, that is, the character pitch, information on each character pitch is stored in the PITCH. The MPU 44 can refer to the PITCH to know the character pitch. L
Like PITCH, NSP is the current paper feed amount, that is, Li.
ne Stores the operating state of the 5pace key. RMC is R, M, control key, 0PCNT is OP Co
Stores the state of the ntrol key. LM%RM is CRG
The positions of the left margin and right margin at that point in time are stored in the same unit as PT, etc. 5SW1 and 5SW2 store the states of 5SWI and 5SW2 on the operation panel, respectively. DLM is a register for saving the left margin LM in automatic indent mode.

TABlよりTABnはその時点のタブストップの位置
を記憶し次元はLM等と同様である。WORKは制御あ
るいは処理中に情報の一皓記憶、情報の退避等に用いら
れる。CPTは行バッファ52のあ・   る点を指し
、丁度、キャリッジが位置している文字に対応し、訂正
時等に使用する。即ち、1文学印字毎にその時の印字文
字種類、印字ピッチ等の状態を記憶させておき、訂正必
要時にこれをファーストインファーストアウトスタック
のように古い文字桁から順に若い方に向ってMPU 4
4が取り込み順に解読し、過去のキャリッジ移動状態及
び印字用紙の送り状態を逆再現させることによりキャリ
ッジを過去に印字した行の最終文字位置に到達させるこ
とができるもので粂る。
TABn from TAB1 stores the position of the tab stop at that time, and has the same dimensions as LM and the like. WORK is used for storing information, saving information, etc. during control or processing. CPT points to a certain point in the line buffer 52, corresponds to the character exactly where the carriage is located, and is used when making corrections. That is, the status of the printed character type, printing pitch, etc. at that time is memorized for each literary print, and when correction is necessary, this is stored in the MPU 4 in order from the oldest character digit to the youngest character digit, like a first-in-first-out stack.
4 is decoded in the order of capture, and by reproducing the past carriage movement state and printing paper feeding state in reverse, the carriage can be made to reach the final character position of the line printed in the past.

LCは印字用紙の給送桁数を格納する。LC stores the number of feeding digits of printing paper.

このようなシステム構成に於いて、制御シーケンスは電
子タイプライタに電源が投入された時点から始まる。電
源投入直後、第3図の制御ユニッ)24,16,9L、
49等のイニシャライズな行なう。この後、$3図のレ
ジスタ群51をすべてクリアし、行バッファ52をクリ
アし、フラッグ群50をクリアする。この後、昼前の使
用状態を再現するために第3図の不揮発性メモリ57に
レジスタ群51の全部の情報を保存させているのでこれ
をレジスタ群51に呼び戻す。このとき51の各レジス
タの情報に応じて第2図のPitch。
In such a system configuration, the control sequence begins when power is applied to the electronic typewriter. Immediately after the power is turned on, the control unit (Fig. 3) 24, 16, 9L,
49 etc. Initialize. After this, all the register groups 51 in figure $3 are cleared, the row buffer 52 is cleared, and the flag group 50 is cleared. After this, all the information in the register group 51 is stored in the non-volatile memory 57 of FIG. 3 in order to reproduce the usage state before noon, so it is recalled to the register group 51. At this time, the Pitch of FIG. 2 is set according to the information in each register 51.

Line 5pace、 R,M Control 、
 Operating Contのそれぞれのランプを
再点灯し、またキャリッジインジケータランプの点灯も
行なう。またフラグKB2も補助メモリ57に記憶させ
ているので同様にしてKB 5electのランプも点
灯できる。
Line 5pace, R,M Control,
The Operating Cont lamps are lit again, and the carriage indicator lamp is also lit. Further, since the flag KB2 is also stored in the auxiliary memory 57, the lamp of KB5elect can be lit in the same way.

次に本発明によるページフォーマットの登録及び呼出し
を説明する。例えば第6図に示すように印字用紙Pのエ
ントリポイントが行毎に異なっている場合でも、これら
すべてのエントリポイントEPI〜EP11を登録し、
印字及び紙送り時に自動的にエントリポイントヘキャリ
ッジが移動できれば便利である。このような機能を満足
するために本例では更にページフォーマットの登録機能
と呼出し機能を備えている。
Next, registration and calling of page formats according to the present invention will be explained. For example, even if the entry points of the printing paper P are different for each line as shown in FIG. 6, all these entry points EPI to EP11 are registered,
It would be convenient if the carriage could automatically move to the entry point during printing and paper feeding. In order to satisfy such functions, this example further includes a page format registration function and a call function.

ページフォーマットの登録は第7図に示すように、最初
の操作はOP、C0NTR0Lキーを操作し、5TOR
Eランプが点灯するようにする。次にFORMATキー
を押下し、ページフォーマット登録の開始を宣言する。
To register the page format, as shown in Figure 7, the first operation is to operate the OP, C0NTR0L keys, and press the 5TOR key.
Make sure the E lamp lights up. Next, press the FORMAT key to declare the start of page format registration.

このときFORMATキーランプが点灯し、FORMA
T関係の登録を示す。次にページフォーマットに関する
タイトル名を入力する。タイトル名の入力の区切はRE
TURNキーの押下である。
At this time, the FORMAT key lamp lights up and the FORMAT
Indicates T-related registration. Next, enter the title name for the page format. The delimiter for inputting the title name is RE.
This is when the TURN key is pressed.

このあとタイトル名を印字し、印字用紙が1行給送され
入力されたタイトル名を受けたことを示す。
After that, the title name is printed, and the printing paper is fed one line to indicate that the input title name has been received.

しかし、同一タイトル名が他に登録されていれば警告し
、受は付けない。ま人オペレータは印字用紙の第1行の
エントリポイン゛トヘキャリッジを5PAGEキー等に
上り移動させ、☆キーを押下し、エントリポイントを指
示する。このようにして1行内の入力をす6ベて終了し
たならRETURNキーを押下し、1行内の全てのエン
トリポイントの記憶を指示し、以後第2〜第n行(第6
図例ではn=6)までを繰り返し、ページフォーマット
の記憶が終了したらFORMATキーを押して登録し、
FORMATキーランプを消灯し、終了を受けっけたこ
とをオペレータに示す。なお、第6図でエントリポイン
)EPIOからEPllの間は1行空白行を設定してい
るが、このときはEPIO設定後のRETURNキーに
続いて☆キーなしでRETURNキーを押せば良い。こ
の登録しておいたページフォーマットの呼び出しの操作
手順を第8図に示す。まず、OP、C0NTR0L +
−を操作シ5ToREランフが点灯しないようにする。
However, if the same title name is registered elsewhere, a warning will be given and the application will not be accepted. The human operator moves the carriage up to the entry point on the first line of the printing paper using the 5PAGE key, presses the ☆ key, and designates the entry point. In this way, when all 6 entry points in one line are completed, press the RETURN key to instruct to memorize all the entry points in one line.
In the example shown, repeat the steps up to n=6), and when the page format has been memorized, press the FORMAT key to register it.
The FORMAT key lamp is turned off to indicate to the operator that the termination has been accepted. Note that in FIG. 6, one blank line is set between the entry point (EPIO) and EPll, but in this case, it is sufficient to press the RETURN key without the ☆ key following the RETURN key after setting EPIO. The operating procedure for calling up the registered page format is shown in FIG. First, OP, C0NTR0L +
- to prevent the ToRE lamp from lighting up.

続いてFORMATキーを押下する。このときページフ
ォーマット登録時と同様FORMATキーランプは点灯
する。続いてタイトル名を入力しRETURNキーを押
下してタイトル名人力を締めくくる。この時点で登録さ
れているページフォーマツトルf呼び出されるので☆キ
ーを押下する毎にキャリッジは次のタブストップ位置へ
移動する。従って、☆キーに続いて印字すべき文字列を
入力し、これをくり返すことにより、第6図に示すよう
な形式の文書を何度も作成することができる。終了する
場合、FORMATキーを押下すればよい。このときF
ORMATキーランプは消灯する。゛ 以下キー操作による動作説明をする。
Then press the FORMAT key. At this time, the FORMAT key lamp lights up like when registering the page format. Next, enter the title name and press the RETURN key to complete the title master's power. Since the page format file f registered at this point is called, the carriage moves to the next tab stop position each time the ☆ key is pressed. Therefore, by inputting the character string to be printed after pressing the ☆ key and repeating this, a document in the format shown in FIG. 6 can be created many times. To finish, just press the FORMAT key. At this time F
The ORMAT key lamp goes out.゛Operations using key operations are explained below.

まず第9図に図示したようにフォーマットの登録は最初
にバッファ52のタイトル名をWORKレジスタに退避
、表示させる。5PAGEキー等によりキャリッジをエ
ントリーポイント位置に移動させ、☆キーを押し、CR
GPTの内容即もキャリッジ位置情報(印字可能最左端
基準点からの移動距離)をWORKレジスタに退避させ
る。エントリーポイントが第6図EP2.3.4のよう
に複数ある場合、5PACEキー、☆キーをくり返し、
CRGPTの内容をWORKレジスタに順に格納する。
First, as shown in FIG. 9, to register the format, the title name in the buffer 52 is first saved in the WORK register and displayed. 5Use the PAGE key etc. to move the carriage to the entry point position, press the ☆ key, and press CR.
The contents of the GPT and the carriage position information (the moving distance from the printable leftmost reference point) are saved in the WORK register. If there are multiple entry points as shown in Figure 6 EP2.3.4, press the 5PACE key and the ☆ key repeatedly.
The contents of CRGPT are sequentially stored in the WORK register.

1行のエントリーポイントの登録が終了するとRETU
RNキーを押す。フラッグTRは今度は1にセットされ
ているからYESに進み、行数カウンタLCを0から1
にセットしてその内容なWORKレジスタのエントリー
ポイント格納部に対応的に格納する。
When entry point registration for one line is completed, RETU
Press the RN key. The flag TR is set to 1 this time, so go to YES and change the line counter LC from 0 to 1.
, and its contents are correspondingly stored in the entry point storage section of the WORK register.

上記動作をページフォーマ&)の行数骨くり返し、WO
RKレジスタに各行毎のエントリーポイント情報を格納
して行き、FORMATキー押下によりWORKレジス
タの内容即ちタイトル名、各行数情報、各行のエントリ
ーポイント情報を文章メモリ54に登録し、FORMA
Tランプを消灯してページフォーマットの登録が終了す
る。
Repeat the above operation for the number of lines of page former &), WO
The entry point information for each line is stored in the RK register, and by pressing the FORMAT key, the contents of the WORK register, that is, the title name, the number of lines for each line, and the entry point information for each line, are registered in the text memory 54, and the FORMAT key is pressed.
The T lamp is turned off and page format registration is completed.

この登録されたページフォーマットを呼出すにはOP、
C0NTR0Lを5TORE以外に設定するからフラッ
グSTR= 0でFORMATキーを押したとき第9図
で5TR=17でNOに進み、第10図のFI[)によ
り行なわれる。目的のページフォーマットのタイトル名
を入力しLBFSTRでタイトル名表示を行ない、RE
TUR’NキーでTR=1?がNoに進むまでは前例同
様である。文章メモリ54内の対応ページフォーマット
をWORKレジスタに転送し、フラッグTRを1にセッ
トする。以後☆キー押下によりWORKレジスタ内のエ
ントリーポイント情報のMPU 44の取り込みにより
自動的にキャリッジはエントリーポイントに移動、セッ
トされる。第6図例ではEPI〜EPIIまでRETU
RNキーなしで☆、キーの11回押しでキャリッジの自
動セット及び印字用紙の自動給送が行なわれる。これは
べ″−ジフォーマットの登録時に各行終了時に押したR
ETURNキーでキャリッジ復帰命令、紙送り量等を文
章メモリ54が記・憶していることによる。
To call this registered page format, OP,
Since C0NTR0L is set to a value other than 5TORE, when the FORMAT key is pressed with the flag STR=0, the process proceeds to NO with 5TR=17 in FIG. 9, and is executed by FI[) in FIG. Enter the title name of the desired page format, display the title name with LBFSTR, and press RE.
TR=1 with TUR'N key? The process is the same as the previous example until it goes to No. The corresponding page format in the text memory 54 is transferred to the WORK register, and the flag TR is set to 1. Thereafter, by pressing the ☆ key, the entry point information in the WORK register is taken in by the MPU 44, and the carriage is automatically moved and set to the entry point. In the example in Figure 6, RETU from EPI to EPII
Without the RN key, pressing the ☆ key 11 times will automatically set the carriage and automatically feed the printing paper. This is the R pressed at the end of each line when registering the page format.
This is because the text memory 54 stores the carriage return command, paper feed amount, etc. using the ETURN key.

またこの文章メモリ54からの呼び出し時にはそのとき
キーボード10で設定されているPITCH。
Also, when calling from this text memory 54, the PITCH that is set on the keyboard 10 at that time.

LINE 5PACE、 OP C0NTR0Lを無視
し、文章メモリ54内の登録時の内容が優先する。例え
ば今OP C0NTR0Lが単語毎印字Wに設定されて
いてもページフォーマットを呼び出し☆キーでエントリ
ーポイントヘキャリツジをセット後、文字キーを1つ押
したとき第10図のLBFSTR内のBFPRTルーチ
ンは1文字毎印字即ちOP C0NTR0L=Cのモー
ドで作動させる。
LINE 5PACE and OP C0NTR0L are ignored, and the content at the time of registration in the text memory 54 takes priority. For example, even if OP C0NTR0L is set to print every word W, if you call the page format and set the carriage to the entry point with the ☆ key, then press one character key, the BFPRT routine in LBFSTR in Figure 10 will be 1. It operates in character-by-character printing, that is, OP C0NTR0L=C mode.

これによりエントリーポイントからの印字は1文字キー
人力毎に印字が実行でき極めて便利である。
As a result, printing from the entry point can be performed manually for each character key, which is extremely convenient.

しかし上述した実施例では登録時CRGPTの内容を単
に格納し、実行時には単にそれを呼び出すだけであり、
各行のエントリーポイントは印字可能最左端からの絶対
位置として扱かわれているので不合理が起きる。すなわ
ち、実行時に印字゛用紙CP)を登録時と異なる位置に
セットしたとき、すでに格納されている各行のエントリ
ーポイントは無用となり、さらには印字上の障害にまで
発展することになる。従ってこのことを改めたものが次
に示す実施例であり、登録時、第9図で☆キーを押下し
たときCRGPTの内容からレフトマージンLMの内容
を減算したものをWORKレジスタに退避させ、実行時
、第10図で☆キーを押下したときレフトマージンLM
とWORKレジスタ中のキャリッジ位置情報を加算した
位置をエントリーポイントとしキャリッジをその位置ま
で進めればよい。このことを図に示せば第11図および
第12図になる。
However, in the embodiment described above, the contents of CRGPT are simply stored at the time of registration, and only called at the time of execution.
The irrationality occurs because the entry point of each line is treated as an absolute position from the leftmost printable edge. That is, when the printing paper CP is set at a different position from that at the time of registration at the time of execution, the entry points of each line that have already been stored become useless, and this may even lead to problems in printing. Therefore, the following embodiment is a modification of this. When the ☆ key is pressed in FIG. 9 during registration, the content of the left margin LM is subtracted from the content of CRGPT, and the result is saved in the WORK register and executed. When the ☆ key is pressed in Figure 10, the left margin LM
The carriage position information in the WORK register is added to the entry point, and the carriage is advanced to that position. This is illustrated in FIGS. 11 and 12.

以上説明したように本発明によればページフォーマット
は登録時に定めた最左端基準位置か灸の絶対位置でなく
相対位置で格納するので、実行待印字用紙をプラテン上
の何れの位置にセットしても正確に実行でき、用紙セッ
ト時の自由度が大幅に高められる。
As explained above, according to the present invention, the page format is stored in the leftmost reference position determined at the time of registration, or in the relative position rather than the absolute position of the moxibustion. It can also be executed accurately, greatly increasing the degree of freedom when setting paper.

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

第1図は本発明の一実施例の全体概観を示す斜視図、第
2図はその詳細なキーボード例の配置を示す説明図、第
3図はその全体ブロック図、第4図はそのフラッグ群の
詳細な説明図、第5図はそのレジスタ群の詳細な説明図
、第6図は印字用紙の一例を示す説明図、第7図はペー
ジフォーマツ −ト登録時のキー操作フローチャート図
、第8デはページフォーマット呼出し時のキー操作フロ
ーチャート図、第9図はページフォーマット位置登録 
一時の動作説明用フローチャート図、第10図はページ
フォーマット位置の呼出し時の動作説明用フッオー7ツ
、位置i録時。力作説明。、第、2図は本発明によるペ
ージフォーマット位置呼び出し10・・・キーボード 
50・・フラッグ群 94・・・表示器1114図 第6図 第5図 第7図      第8図
FIG. 1 is a perspective view showing an overall overview of an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a detailed arrangement of an example of the keyboard, FIG. 3 is an overall block diagram, and FIG. 4 is a group of flags. FIG. 5 is a detailed explanatory diagram of the register group, FIG. 6 is an explanatory diagram showing an example of printing paper, FIG. 7 is a key operation flowchart when registering page format, and FIG. Figure 8 is a key operation flowchart when calling a page format, and Figure 9 is a page format position registration.
FIG. 10 is a flowchart for explaining the temporary operation; FIG. A masterpiece explanation. , FIG. 2 shows a page format position call 10 according to the present invention...Keyboard
50... Flag group 94... Display 1114 Figure 6 Figure 5 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] 用紙中の少なくとも1つの印字開始位置を記憶し、記憶
された印字開始位置に従って印字する手、段を備えた電
子機器において、前記印字開始位置は機器に設定されて
いるシフトマージンからの相対位置で記憶されることを
特徴とする電子機器。
In an electronic device that stores at least one print start position on a sheet of paper and includes a means or stage for printing according to the stored print start position, the print start position is a relative position from a shift margin set in the device. An electronic device characterized by being memorized.
JP14400781A 1981-09-14 1981-09-14 Electronic device Granted JPS5845986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14400781A JPS5845986A (en) 1981-09-14 1981-09-14 Electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14400781A JPS5845986A (en) 1981-09-14 1981-09-14 Electronic device

Publications (2)

Publication Number Publication Date
JPS5845986A true JPS5845986A (en) 1983-03-17
JPH0380115B2 JPH0380115B2 (en) 1991-12-20

Family

ID=15352137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14400781A Granted JPS5845986A (en) 1981-09-14 1981-09-14 Electronic device

Country Status (1)

Country Link
JP (1) JPS5845986A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63128968A (en) * 1986-11-18 1988-06-01 Brother Ind Ltd Printer
JPS63205269A (en) * 1987-02-23 1988-08-24 Omron Tateisi Electronics Co Printer
JPS6418637A (en) * 1987-07-13 1989-01-23 Tokyo Electric Co Ltd Method of setting printing position of dot printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63128968A (en) * 1986-11-18 1988-06-01 Brother Ind Ltd Printer
JPS63205269A (en) * 1987-02-23 1988-08-24 Omron Tateisi Electronics Co Printer
JPS6418637A (en) * 1987-07-13 1989-01-23 Tokyo Electric Co Ltd Method of setting printing position of dot printer

Also Published As

Publication number Publication date
JPH0380115B2 (en) 1991-12-20

Similar Documents

Publication Publication Date Title
US5562355A (en) Serial printing apparatus with sentence memory and display having correcting means
JPH0510234B2 (en)
JPS5845986A (en) Electronic device
JPS60111284A (en) Typewriter with display
JPH0315553B2 (en)
JPS59218881A (en) Printing apparatus
US4828414A (en) Output device for automatically changing end of line hot zone
JPH0330513B2 (en)
JPH0313985B2 (en)
JPH0313984B2 (en)
JPH0457512B2 (en)
JPS5870341A (en) Electronic device
JPH05201070A (en) Document processing method
JPS5870340A (en) Electronic device
JPH05204923A (en) Document processor
GB2207267A (en) Text processing apparatus
JPH0315552B2 (en)
JPH05201069A (en) Document processing method
JPS59218882A (en) Printing apparatus
JPS61197271A (en) Output device
JPS6198471A (en) Printer
JPS59209163A (en) Electronic machinery
JPS59209162A (en) Electronic machinery
JPS61162364A (en) Document processor
GB2143353A (en) Printer