JPS6331777A - Printer - Google Patents

Printer

Info

Publication number
JPS6331777A
JPS6331777A JP17632886A JP17632886A JPS6331777A JP S6331777 A JPS6331777 A JP S6331777A JP 17632886 A JP17632886 A JP 17632886A JP 17632886 A JP17632886 A JP 17632886A JP S6331777 A JPS6331777 A JP S6331777A
Authority
JP
Japan
Prior art keywords
pitch
printing
switching
pitch mode
mode
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.)
Pending
Application number
JP17632886A
Other languages
Japanese (ja)
Inventor
Koji Hattori
浩司 服部
Shigeto Yamada
山田 重人
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP17632886A priority Critical patent/JPS6331777A/en
Publication of JPS6331777A publication Critical patent/JPS6331777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To contrive the conservation of memory capacity, by controlling the position of a printing head in terms of the column number of a printing position based on an absolute origin in the current pitch mode. CONSTITUTION:A pitch mode memory stores a pitch mode designated through a pitch mode key. A column number counter stores the current position of a printing head in terms of the column number of a printing position counted on the basis of an absolute origin in the current pitch mode. On receiving a mode switching signal from the pitch mode key, a converting means obtains one of printing positions capable of being reached by the printing head in the pitch mode after the switching which is the nearest to the current position of the head before the switching, in terms of the number of columns from an absolute origin in the pitch mode after the switching. On receiving an output from the converting means, a corrective movement controlling means for converting the content of the column number counter into a column number after the switching calculates a corrective movement quantity for moving the head from the current position before the switching to the printing position corresponding to the column number obtained by the converting means, and outputs to a printing mechanism a control signal for moving the head by the corrective movement quantity.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、印字装置に関し、特に印字行の途中で印字ピ
ッチ(パイ力、エリート、ミクロンなど)を切換えるこ
とが出来るようにした印字装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a printing device, and more particularly to a printing device that is capable of changing the printing pitch (pitch, elite, micron, etc.) in the middle of a printing line. .

(従来技術) 電子タイプライタ、ワードプロセッサー或いはパーソナ
ルコンピュータ等に用いられている印字装置においては
、一般に複数の印字ピッチ(印字文字の間隔)のうちの
何れかを選択して指定するようになっている。
(Prior Art) In printing devices used in electronic typewriters, word processors, personal computers, etc., one of a plurality of printing pitches (intervals between printed characters) is generally selected and specified. .

例えば、電子タイプライタの場合、印字文字の印字ピン
チとして一般にパイカビノチ(1インチ当り10文字)
とエリートピンチ(1インチ当り12文字)とを選択し
得るようになっており、機種によっては更にミクロンピ
ッチ(1インチ当り15文字)をも選択し得るようにな
っている。
For example, in the case of electronic typewriters, the printing pinch for printed characters is generally Paikabinochi (10 characters per inch).
and elite pinch (12 characters per inch), and depending on the model, it is also possible to select micron pitch (15 characters per inch).

前記印字ピッチは、印字ヘッドの位置制御、印字ヘッド
の現在位置を記憶する現在位置メモリ或いは左右のマー
ジンやタブ位置を設定するタブ位置メモリなどと密接な
関連を有し、従来では印字位置を記憶する方式として次
の2種類の方式が用いられていた。
The printing pitch is closely related to the position control of the print head, the current position memory that stores the current position of the print head, or the tab position memory that sets the left and right margins and tab positions. The following two methods were used to do this.

第1の方式は、パイ力ピッチ:エリートピッチ=6:5
パイ力ピンチ二ミクロンピノチ=6:4であることから
、パイ力ピッチの1/6つまり1/60インチ(これを
、共通ピンチという)を単位とする値を用い、絶対原点
を基準として前記共通ピンチの数で印字位置を表わすも
のである。
The first method is Pi force pitch: Elite pitch = 6:5
Since the pi force pinch is 2 micron pinochons = 6:4, we use a value with the unit of 1/6 of the pi force pitch, or 1/60 inch (this is called a common pinch), and calculate the common pinch with the absolute origin as a reference. The printing position is expressed by the number of .

第2の方式は、各印字ピッチ毎にその印字ピッチを単位
とする値を用い、絶対原点を基準として各印字ピッチの
数(これを、桁数という)で印字位置を表わすものであ
る。
The second method uses a value for each printing pitch with the printing pitch as a unit, and expresses the printing position by the number of each printing pitch (this is called the number of digits) with the absolute origin as a reference.

(発明が解決しようとする問題点) タイプライタなどでテーブル等を印字する場合或いは誤
印字の単語を消去しそこにそれよりも字数の多い単語を
印字し直す場合などにおいて、1印字行の途中で印字ピ
ッチを変更したいという要言1がある。
(Problem to be solved by the invention) When printing a table etc. using a typewriter, or when erasing an incorrectly printed word and reprinting a word with a larger number of characters, etc. Summary 1 is that you want to change the printing pitch.

ところで、前記第1の方式の場合、パイ力、エリート及
びミクロンに共通のピッチで印字位置を制御するので、
印字行の途中で印字ピッチを切換えることは可能である
By the way, in the case of the first method, since the printing position is controlled at a pitch common to pi force, elite, and micron,
It is possible to change the printing pitch in the middle of a printing line.

しかし、例えば1印字行が8インチの装置の場合、印字
位置がO〜480〔但し、480=8÷(1/60))
の範囲の数値で表わされることになるので、現在位置メ
モリや約20個前後必要なタブ位置メモリとしてそれぞ
れ2バイトのメモリが必要となって所要メモリ容量が非
常に太きくなってしまうという問題がある。
However, for example, in the case of a device where one printing line is 8 inches, the printing position is O to 480 [however, 480 = 8 ÷ (1/60)]
Since it is expressed as a number in the range of , the problem is that 2 bytes of memory are required for each of the current position memory and about 20 tab position memories, making the required memory capacity extremely large. be.

他方、前記第2の方式の場合、各印字ピッチ毎に桁数で
印字位置を制御するので、現在位置メモリや多数のタブ
位置メモリとして1バイトのメモリを用いることが出来
るけれども、各印字ピッチ毎に印字ヘッドの移動可能な
位置が異なっている(各印字ピンチの桁数は独立で相互
に対応づけられていない)ので、1印字行の途中で印字
ピッチを切換えることが出来ず、改行等によって印字へ
ノドを一旦左端の絶対原点まで復帰させなければ印字ピ
ッチを切換えることが出来ないという問題がある。
On the other hand, in the case of the second method, since the print position is controlled by the number of digits for each print pitch, 1 byte of memory can be used as the current position memory and multiple tab position memories, but the print position is controlled by the number of digits for each print pitch. Since the movable position of the print head is different between the two (the number of digits of each print pinch is independent and not correlated with each other), it is not possible to change the print pitch in the middle of one print line, and it is not possible to change the print pitch in the middle of one print line. There is a problem in that the printing pitch cannot be changed unless the printing gutter is once returned to the absolute origin at the left end.

(発明の目的) 本発明の目的は、印字行の途中で印字ピッチの変更が可
能で、且つメモリ容量を節減し得るような印字装置を提
供することである。
(Object of the Invention) An object of the present invention is to provide a printing device that can change the printing pitch in the middle of a printing line and can save memory capacity.

(問題点を解決するための手段) 本発明に係る印字装置は、第1図の機能ブロック図に示
すように、印字文字の印字ピッチを指定するピッチモー
ドキーと各種の文字キー及び機能キーとを備えたキーボ
ードと、前記キーボードから入力されたデータに対応し
た文字や記号等を印字用紙に印字する印字機構とを備え
た印字装置において、前記ピッチモードキーで指定され
たピッチモードを記憶するピッチモードメモリを設け、
前記印字機構の印字ヘッドの現在位置を、現在のピッチ
モードにおいて絶対原点を基準としてカウントされる印
字位置の桁数により記憶する桁数カウンタを設け、前記
ピッチモードキーからモード切換信号を受けたとき、切
換後のピッチモードにおいて印字ヘッドが移動可能な印
字位置のうち、切換前の印字ヘッドの現在位置に対応し
た最寄りの位置を切換後のピッチモードにおける絶対原
点からの桁数として求め、前記桁数カウンタの内容を該
切換後の桁数に変換する変換手段を設け、この変換手段
からの出力を受けて、前記印字ヘッドを切換前の現在位
置から変換手段で求められた桁数の印字位置へ移動させ
るだめの補正移動量を演算し、印字ヘッドを補正移動量
だけ移動させる制御信号を印字機構へ出力する補正移動
制御手段を設けたものである。
(Means for Solving the Problems) As shown in the functional block diagram of FIG. and a printing mechanism that prints characters, symbols, etc. corresponding to data input from the keyboard on printing paper, a pitch that stores the pitch mode specified by the pitch mode key. Equipped with mode memory,
A digit counter is provided for storing the current position of the print head of the printing mechanism by the number of digits of the print position counted based on the absolute origin in the current pitch mode, and when a mode switching signal is received from the pitch mode key. , Among the printing positions where the print head can move in the pitch mode after switching, find the nearest position corresponding to the current position of the print head before switching as the number of digits from the absolute origin in the pitch mode after switching, and calculate the number of digits from the absolute origin in the pitch mode after switching. Conversion means for converting the contents of the number counter into the number of digits after switching is provided, and upon receiving the output from the conversion means, the print head is moved from the current position before switching to the print position of the number of digits determined by the conversion means. A corrective movement control means is provided for calculating a corrected movement amount to move the print head to and outputting a control signal to the printing mechanism to move the print head by the corrected movement amount.

(作用) 本発明に係る印字装置は以上のように構成されるから、
ピッチモードキーで指定されたピッチモードがピッチモ
ードメモリに記憶され、桁数カウンタによって印字ヘッ
ドの現在位置が、現在のピッチモードにおいて絶対原点
を基準としてカウントされる印字位置の桁数で記憶され
る。
(Operation) Since the printing device according to the present invention is configured as described above,
The pitch mode specified by the pitch mode key is stored in the pitch mode memory, and the current position of the print head is stored by the digit counter as the number of digits of the print position counted based on the absolute origin in the current pitch mode. .

そして、ピッチモードキーからモード切換信号が変換手
段へ出力されると、変換手段はピッチモードメモリと桁
数カウンタとに基いて、切換後のビ・ノチモードにおい
て印字へ・ノドが移動可能な印字位置のうち、切換前の
印字ヘッドの現在位置に対応した最寄りの位置を切換後
のピッチモードにおける絶対原点からの桁数として求め
、前記桁数カウンタの内容を切換後の内容に変換する。
Then, when a mode switching signal is output from the pitch mode key to the converting means, the converting means uses the pitch mode memory and the digit counter to move the print position to printing in the bi/notch mode after switching. Among them, the nearest position corresponding to the current position of the print head before switching is found as the number of digits from the absolute origin in the pitch mode after switching, and the content of the digit number counter is converted to the content after switching.

そして、補正移動制御手段は、前記変換手段からの出力
を受けて、印字ヘッドを切換前の現在位置から変換手段
で求められた桁数の印字位置へ移動させる為の補正移動
量を演算し、印字ヘッドを補正移動量だけ移動させる制
御信号を印字機構へ出力し、これにより印字ヘッドは補
正移動量だけ移動することになる。
The correction movement control means receives the output from the conversion means and calculates a correction movement amount for moving the print head from the current position before switching to a printing position of the number of digits determined by the conversion means, A control signal for moving the print head by the corrected movement amount is output to the printing mechanism, thereby causing the print head to move by the corrected movement amount.

(発明の効果) 本発明に係る印字装置によれば、以上説明したように、
印字ヘッドの位置を、現在のピッチモードにおいて絶対
原点を基準として桁数カウンタによりカウントされる印
字位置の桁数で制御していくようにしたので、桁数は2
56以上の大きな値にならず桁数のデータは1バイトの
メモリに記憶し得ることから、約20個程度乃至それ以
上もあるタブ位置メモリなどをそれぞれ1バイトのメモ
リで構成することが出来、メモリ容量を大幅に節減でき
る。
(Effects of the Invention) According to the printing device according to the present invention, as explained above,
The position of the print head is controlled by the number of digits of the print position counted by the digit counter with the absolute origin as a reference in the current pitch mode, so the number of digits is 2.
Since data with a large number of digits such as 56 or more can be stored in 1 byte of memory, it is possible to configure about 20 or more tab position memories with 1 byte of memory each. Memory capacity can be significantly reduced.

しかも、変換手段と補正移動制御手段とによって、ピッ
チ切換時には切換前の印字ヘッドの現在位置に対応する
切換後のピッチモードの桁数を求めてDi数カウンタの
内容を切換後の桁数に切換えるとともに、補正移動量を
演算して印字ヘッドを補正移動量だけ補正移動させるよ
うにしたので、印字行の途中で必要に応じて印字ピッチ
を切換えることが可能となり、これにより印字装置の機
能が増し、能率的且つ使い易くなって商品価値が高くな
る。
Moreover, when the pitch is changed, the conversion means and the correction movement control means calculate the number of digits of the pitch mode after the change corresponding to the current position of the print head before the change, and change the contents of the Di number counter to the number of digits after the change. At the same time, the correction movement amount is calculated and the print head is moved by the correction movement amount, making it possible to change the printing pitch as necessary in the middle of a printing line, thereby increasing the functionality of the printing device. , it becomes efficient and easy to use, and the product value increases.

(実施例) 以下、本発明を電子タイプライタに適用した場合の実施
例について図面に基いて説明する。
(Example) Hereinafter, an example in which the present invention is applied to an electronic typewriter will be described with reference to the drawings.

第2図に示すように、タイプライタの本体ケース1の後
側部にはプラテン2が支持され、その前方にはプラテン
2と平行に延びるガイドロフト4が配設されている。こ
のガイドロッド4にはキャリッジ3がプラテン2に沿っ
て左右に移動可能に支持されている。前記キャリッジ3
にはサーマルヘッド5が装着され、このサーマルヘッド
5がプラテン2の前面の印字用紙Pに押し付けられる印
字位置と、印字用紙Pから前方へ離間する非印字位置と
の間で位置切換えされるようになっている。
As shown in FIG. 2, a platen 2 is supported on the rear side of the main body case 1 of the typewriter, and a guide loft 4 extending parallel to the platen 2 is disposed in front of the platen 2. As shown in FIG. A carriage 3 is supported by the guide rod 4 so as to be movable left and right along the platen 2. Said carriage 3
A thermal head 5 is attached to the platen 2 so that the thermal head 5 can be switched between a printing position where it is pressed against the printing paper P on the front side of the platen 2 and a non-printing position where it is separated from the printing paper P forward. It has become.

本体ケースlの側面には電源スィッチ7が設けられてい
る。また、前記本体ケース1の前部にはキーボー1″1
0が設けられ、そのキーボード10には1行より短い1
5桁の液晶ディスプレイ (LCD)11が設けられて
いる。
A power switch 7 is provided on the side surface of the main body case l. In addition, a keyboard 1″1 is provided at the front of the main body case 1.
0 is provided, and the keyboard 10 is provided with 1, which is shorter than one line.
A 5-digit liquid crystal display (LCD) 11 is provided.

さらに、キーボード10上にはタイプライタを操作する
ための各種キー、切換スイッチなど次のような操作部材
が配設されている。すなわち、アルファベットの各文字
を入力するためのアルファベット$−12と0〜9の数
字を入力するための数字キー13とスペースキー14と
を含む文字記号キー、バックスペースキー15、キャリ
、ジリダーンキ−16、シフトキー17、セカンドシフ
トキー18、左マージンセットキー19、右マージンセ
ットキー20、タブセットキー21、タブクリアー1−
−22、タブキー23、印字用紙Pを紙送りする紙送り
キー24、印字用紙Pを祇戻しする祇戻しキー25、リ
ピートキー26、コードキー27、第1・第2モード選
択スイッチ28・29、インサートキー3°O、デリー
トキー31、ディスプレイ11上においてデータ人力位
置を示すカーソル33を移動させるためのカーソル移動
キー78・79、印字文字の印字ピッチを、パイカピッ
チ送りにするためのパイ力ピッチキー69、同じくエリ
ートピンチ送りにするためのエリ−トビ、チキー70な
どである。
Furthermore, the following operating members such as various keys and changeover switches for operating the typewriter are arranged on the keyboard 10. Namely, character symbol keys including the alphabet $-12 for inputting each letter of the alphabet, numeric keys 13 and space key 14 for inputting numbers 0 to 9, backspace key 15, carry, and jiridan key 16. , shift key 17, second shift key 18, left margin set key 19, right margin set key 20, tab set key 21, tab clear 1-
-22, tab key 23, paper feed key 24 for feeding the printing paper P, return key 25 for returning the printing paper P, repeat key 26, code key 27, first and second mode selection switches 28 and 29, Insert key 3°O, delete key 31, cursor movement keys 78 and 79 for moving the cursor 33 indicating the data manual position on the display 11, pie force pitch key 69 for changing the printing pitch of printed characters by pica pitch. , Elite Bi, Chikey 70, etc., which are also used for elite pinch feeding.

これらの各キー及びスイッチのうち、コードキー27は
他のキーすなわち、オートキャリッジリターンモード、
ライトマージンフラッシュモード、センタリングモード
、ラインハイラインモード、アンダーラインモードの各
種の印字ファンクションに夫々対応する数字キー34〜
39などのうちのいずれかとともに操作された時、それ
らのキーが単独で操作された場合に発生するコードデー
タとは異なるコードデータを発生させて、各印字ファン
クションを選択するためのものである。
Among these keys and switches, the code key 27 is used for other keys, namely auto carriage return mode,
Numerical keys 34 to 34 correspond to various printing functions such as light margin flash mode, centering mode, line high line mode, and underline mode.
39, etc., to select each printing function by generating code data different from the code data generated when those keys are operated alone.

第1モード選択スイッチ28は、タイプライタモード及
びターミナルモードの2モードのいずれかを選択するた
めの二位置スライド式のスイッチである。
The first mode selection switch 28 is a two-position sliding switch for selecting one of two modes: typewriter mode and terminal mode.

第2モード選択スイッチ29は、ノンプリントモード、
コレクションプリントモード及びダイレクトプリントモ
ードの3モードのいずれかを選択するための三位置スラ
イド弐のスイッチである。
The second mode selection switch 29 is a non-print mode,
This is a three-position slide 2 switch for selecting one of three modes: collection print mode and direct print mode.

尚、その他のキーについては通常のタイプライタに備え
られているものであるため説明を省略する。
Note that the other keys are provided in a normal typewriter, so their explanation will be omitted.

また、サーマルヘッド5を有するキャリッジ3を左右に
往復移動させるキャリッジ送り機構とキャリッジ3に組
込まれたリボン送り機構については、特開昭60−87
085号公報に示される構成と同様であるため、その詳
細な説明は省略し、ごこてはその構成を簡単に説明する
Furthermore, regarding the carriage feeding mechanism for reciprocating the carriage 3 having the thermal head 5 from side to side and the ribbon feeding mechanism incorporated in the carriage 3, Japanese Patent Laid-Open No. 60-87
Since the configuration is similar to that shown in Publication No. 085, a detailed explanation thereof will be omitted, and the configuration of the iron will be briefly described.

印字時にサーマルヘッド5が印字方向に移動するときに
は、巻取りスプールが回転して熱転写リボンが巻取りス
プールに巻取られるが、サーマルヘッド5を反印字方向
に移動させる場合には、サーマルヘッド5を非印字位置
に後退させることにより、巻取りスプールを回転しない
ようにしている。
When the thermal head 5 moves in the printing direction during printing, the take-up spool rotates and the thermal transfer ribbon is wound onto the take-up spool, but when the thermal head 5 is moved in the opposite direction to print, the thermal head 5 is By retreating to the non-printing position, the take-up spool is prevented from rotating.

次に、前記電子タイプライタの制御装置について第4図
のブロック図により説明する。
Next, the control device for the electronic typewriter will be explained with reference to the block diagram shown in FIG.

CPU (中央演算装置)60には、印字機構61と、
表示機構62と、外部インターフェイス63に接続され
た外部インターフェイス用ドライバ・レシーバ77と、
キーボード10と、ROM(リード・オンリ・メモリ)
64と、RAM (ランダム・アクセス・メモリ)65
とが図示のように接続されている。
The CPU (central processing unit) 60 includes a printing mechanism 61,
a display mechanism 62; an external interface driver/receiver 77 connected to the external interface 63;
Keyboard 10 and ROM (read only memory)
64 and RAM (Random Access Memory) 65
are connected as shown.

上記印字機構61は、紙送りローラを駆動する紙送りモ
ータ66及び紙送りモータドライバ72と、前記キャリ
ッジ3を移動させるキャリッジ送りモータ67及びキャ
リフジ送りモータドライバ73と、前記サーマルヘッド
5を印字位置と非印字位置との間で選択的に切換える切
換ソレノイド68及びソレノイドドライバ74と、サー
マルへノド5及びサーマルヘッドドライバ75などを備
えている。
The printing mechanism 61 includes a paper feed motor 66 and a paper feed motor driver 72 that drive the paper feed roller, a carriage feed motor 67 and a carriage feed motor driver 73 that move the carriage 3, and the thermal head 5 at a printing position. It is provided with a switching solenoid 68 and a solenoid driver 74 that selectively switch between the non-printing position and a non-printing position, a thermal gutter 5, a thermal head driver 75, and the like.

前記表示機構62は、前記ディスプレイ (液晶表示器
)11及びディスプレイコントローラ76とで構成され
ている。
The display mechanism 62 includes the display (liquid crystal display) 11 and a display controller 76.

また前記ROM64には、各文字や記号などのパターン
データを記憶しているパターンメモリ100と、印字機
構61及び表示機構62を制御する制御プログラム及び
後述の印字文字の印字ピッチをパイ力ピッチからエリ−
トビ・ノチへあるいはエリートピッチからパイ力ピッチ
へ切換える印字ピンチ切換制御のための制御プログラム
等を記憶しているプログラムメモリ102とを備えてい
る。
The ROM 64 also includes a pattern memory 100 that stores pattern data such as each character and symbol, a control program that controls the printing mechanism 61 and the display mechanism 62, and a control program that controls the printing pitch of printed characters (described later) from the force pitch. −
The printer is also provided with a program memory 102 that stores a control program for printing pinch switching control for switching from pitch to pitch or from elite pitch to sharp pitch.

前記RAM65には、少なくともキーボード10から入
力されたコードデータを印字位置と対応させて記憶する
印字データメモリ106と、パイガビソチからエリート
ピッチに、あるいはエリートピッチからパイカピノチに
切換があったときにセットされて1を書込むピッチ切換
フラグ107と、サーマルヘッド5の現在位置を現在の
ピッチモードにおいてサーマルヘッド5の絶対原点(文
字印字可能な左端の原点)を基準としてカウントされる
印字位置の桁数により記憶する桁数カウンタ109と、
現在のピッチモードを記憶するピッチモードメモリ11
0と、ピッチモードを切換えたときにサーマルヘッド5
を補正移動させるための補正移動量を記憶するための移
動量メモリ108と、印字機構61や表示機構62を制
御するのに必要な各種−時記憶メモリなどが設けられて
いる。
The RAM 65 includes at least a print data memory 106 that stores code data input from the keyboard 10 in correspondence with the print position, and a print data memory 106 that stores code data input from the keyboard 10 in correspondence with print positions, and a print data memory 106 that stores code data input from the keyboard 10 in correspondence with print positions, and a print data memory 106 that stores code data input from the keyboard 10 in correspondence with print positions, and a print data memory 106 that stores code data input from the keyboard 10 in correspondence with print positions, and a print data memory 106 that stores code data input from the keyboard 10 in correspondence with print positions, and a print data memory 106 that stores code data input from the keyboard 10 in correspondence with print positions. The pitch switching flag 107 that writes 1 and the current position of the thermal head 5 are stored in the current pitch mode by the number of digits of the print position counted based on the absolute origin of the thermal head 5 (the origin at the left end where characters can be printed). a digit counter 109,
Pitch mode memory 11 that stores the current pitch mode
0 and the thermal head 5 when switching the pitch mode.
A movement amount memory 108 for storing a corrected movement amount for correcting the movement, and various time storage memories necessary for controlling the printing mechanism 61 and the display mechanism 62 are provided.

前記CPU60は、キーボードの文字記号キーから入力
されるアルファベット、数字、スペース、演算記号、そ
の他の記号などの各文字や記号に対応するコードデータ
をRAM65の印字データメモリ106に順次記憶させ
るとともに、これらのコードデータに対応するパターン
データをROM64のパターンメモリ100から順々に
読出してディスプレイコントローラ76及び印字機構6
1のサーマルヘッドドライバ75及びキャリッジ送りモ
ータドライバ73へ出力する。
The CPU 60 sequentially stores in the print data memory 106 of the RAM 65 code data corresponding to each character and symbol such as alphabets, numbers, spaces, arithmetic symbols, and other symbols input from the character symbol keys of the keyboard, and also stores these code data in the print data memory 106 of the RAM 65. The pattern data corresponding to the code data of are sequentially read from the pattern memory 100 of the ROM 64, and
1 thermal head driver 75 and carriage feed motor driver 73.

更に、CPU60は、キーボード10の各種機能キーか
ら入力されるコードデータをROM64のプログラムメ
モリ102から読出した制御プログラムで処理すること
により入力コードデータに対応する制御信号を印字機構
61の紙送りモータドライバ72、キャリッジ送りモー
タドライバ73、ソレノイドドライバ74&びディスプ
レイコントローラ76へ出力する。
Further, the CPU 60 processes the code data input from various function keys of the keyboard 10 using a control program read from the program memory 102 of the ROM 64 to send control signals corresponding to the input code data to the paper feed motor driver of the printing mechanism 61. 72, a carriage feed motor driver 73, a solenoid driver 74, and a display controller 76.

ところで、本発明はピッチ切換キーの操作により印字行
の途中でピッチモードを切換えたときに、サーマルヘッ
ド5の印字ピンチを切換える印字ピンチ切換制御に特徴
を有するものであり、先ずフローチャートの説明を理解
し易くするためにこの印字ピッチ切換制御の概要につい
て説明する。
By the way, the present invention is characterized by printing pinch switching control that switches the printing pinch of the thermal head 5 when the pitch mode is switched in the middle of a printing line by operating the pitch switching key.First, it is important to understand the explanation of the flowchart. To make it easier to understand, an outline of this printing pitch switching control will be explained below.

1インチ当りの印字文字数は、パイ力ピッチでは10文
字、エリートピンチでは12文字であり、パイカピンチ
:エリートピッチ=6=5である。
The number of characters printed per inch is 10 characters for pi-force pitch and 12 characters for elite pinch, and pica-pinch: elite pitch=6=5.

従って、印字行の途中でパイ力ピソチモードからエリー
トピッチモードに切換えたときに、サーマルヘッド5を
桁数カウンタ109でカウントされているそのときのサ
ーマルヘット5の位置(桁数)に最も近い、エリートピ
ッチでの絶対原点からの整数倍の位置に移動(補正移動
)させるとともに桁数カウンタ109の内容を切換後の
桁数に変更する必要がある。
Therefore, when switching from pitch pitch mode to elite pitch mode in the middle of a printing line, the thermal head 5 is moved to the elite pitch mode that is closest to the position (number of digits) of the thermal head 5 counted by the digit number counter 109. It is necessary to move (correction movement) to a position that is an integral multiple of the absolute origin in terms of pitch, and to change the contents of the digit number counter 109 to the number of digits after switching.

また、エリートピッチモードからパイカピノチモードに
ピッチモードを切換たときには、サーマルヘット5をそ
のときのサーマルへラド5の位置(桁数)に最も近い、
パイカピンチでの絶対原点からの整数倍の位置に移動(
補正移動)させるとともに桁数カウンタ109の内容を
切換後の桁数に変更する必要がある。
Also, when switching the pitch mode from elite pitch mode to pica pinoch mode, the thermal head 5 is moved to the thermal head 5 closest to the position (number of digits) of the radar 5 at that time.
Move to a position that is an integer multiple from the absolute origin in a pica pinch (
It is necessary to change the contents of the digit number counter 109 to the number of digits after switching.

第5図は、パイ力ピッチの印字位置とエリートピンチの
印字位置との対応関係を示すもので、図中Pn  (n
−0,1,2、・・・)とEn  (n=O11,2、
・・・)は絶対原点からの印字位置の桁数を示し、矢印
はバイカピッチからエリートピッチへ変換する第1変換
のときの対応関係及びエリ−トビ、チからパイカピッチ
へ変換する第2変換のときの対応関係を示している。
Figure 5 shows the correspondence relationship between the printing position of the pie force pitch and the printing position of the elite pinch.
-0,1,2,...) and En (n=O11,2,
...) indicates the number of digits of the printing position from the absolute origin, and the arrows indicate the correspondence during the first conversion from Baica pitch to Elite pitch and the second conversion from Elite pitch to Pica pitch. It shows the correspondence relationship.

そして、前記第1変換及び第2変換を第8図と対応させ
て簡単な式で表わすと次のピッチ変換表のようになる。
When the first conversion and the second conversion are expressed in a simple formula in correspondence with FIG. 8, the following pitch conversion table is obtained.

      (本頁以下余白)ピッチ変換表1 (但し、n=o、1.2、・・・) 第5図から判るように、前記第1変換の際にも第2変換
の際にもサーマルヘッド5の位置を補正する必要がある
ので、サーマルヘッド5の補正移動量(ΔP)を求め、
つぎのサーマルヘット5の移動のときに、補正移動量(
ΔP)を含めて移動させるものである。
(Margins below this page) Pitch Conversion Table 1 (However, n=o, 1.2,...) As can be seen from Figure 5, the thermal head Since it is necessary to correct the position of the thermal head 5, find the corrected movement amount (ΔP) of the thermal head 5,
When moving the thermal head 5 next, the corrected movement amount (
ΔP).

次に、前記電子タイプライタの制御装置で行なわれる印
字ピッチ切換制御のルーチンについて、第6図のフロー
チャートにより説明する。
Next, a routine for controlling printing pitch switching performed by the control device of the electronic typewriter will be explained with reference to the flowchart shown in FIG.

タイプライタに電源が投入されるとともにこの制御が開
始されステップSl(以下、単に31で表わし、他のス
テップについても同様に扱う。)へ移行する。
When the typewriter is powered on, this control is started and the process moves to step Sl (hereinafter simply denoted by 31, and other steps are handled in the same way).

Slにおいては、初期化されS2へ移行する。In Sl, it is initialized and moves to S2.

S2においては、キーボード10においてパイ力ピッチ
キー69あるいはエリートピッチキー70の何れかの選
択されているピッチキーに対応する現在のピッチモード
が読込まれる。
In S2, the current pitch mode corresponding to the selected pitch key of the pitch key 69 or the elite pitch key 70 on the keyboard 10 is read.

次に83においては、S2において読込んだピッチモー
ドがRAM65のピッチモードメモリ110に書込まれ
る。
Next, in 83, the pitch mode read in S2 is written into the pitch mode memory 110 of the RAM 65.

S4においては、キー人力があったか否か(キーボード
10においてキーが操作されたか否か)が判定され、キ
ー人力がないときにはキーが操作されるまで繰返し、キ
ーが操作されると35へ移行する。
In S4, it is determined whether there is any key force (whether or not a key has been operated on the keyboard 10), and if there is no key force, the process is repeated until a key is operated, and if a key is operated, the process moves to 35.

S5においては、操作されたキーはピンチ切換キーか否
か(パイカピッチキー69あるいはエリートピンチキー
70か否か)が判定され、ピッチ切換キーのときにはS
6へ移行しまたピッチ切換キーでないときにはS14八
手多行する。
In S5, it is determined whether the operated key is a pinch switching key (whether it is a pica pitch key 69 or an elite pinch key 70), and if it is a pitch switching key, S
6, and if the key is not a pitch switching key, S14 is performed for eight moves.

S6においては、S5において入力されたピッチ切換キ
ーに対応したピッチモードをピッチモードメモリ110
に書込むことによりピッチモードが切換えられる。
In S6, the pitch mode corresponding to the pitch switching key input in S5 is stored in the pitch mode memory 110.
The pitch mode can be switched by writing to .

次に87においては、サーマルヘッド5の現在位置を絶
対原点を基準とする桁数で計数する桁数カウンタ109
の値が読込まれる。
Next, at 87, a digit counter 109 counts the current position of the thermal head 5 in digits based on the absolute origin.
The value of is read.

次に88においては、ピッチモードメモリ110゛のデ
ータに基いてパイカビフチモードからエリートピッチモ
ードへの変換か否かが判定され、エリートピッチモード
への切換のときにはS9へ移行しピッチ切換計算処理(
第1変換)を実行し、またパイカビフチモードへの切換
のときにはS10へ移行しピッチ切換計算処理(第2変
換)を実行する。
Next, in step 88, it is determined whether or not to convert from the pica edge mode to the elite pitch mode based on the data in the pitch mode memory 110, and when switching to the elite pitch mode, the process moves to S9 to perform pitch switching calculation processing. (
In addition, when switching to the pica-cabin edge mode, the process moves to S10 and a pitch switching calculation process (second conversion) is executed.

ここで、前記第1変°換の計算処理のルーチンについて
、第7図のフローチャートにより説明すると、S8から
331へ移行し、S31においては、S7において読込
まれた値即ち桁数(Pn )が5で割算され、商をnま
た余りを81に設定する。
Here, the calculation processing routine of the first conversion will be explained with reference to the flowchart of FIG. The quotient is set to n and the remainder to 81.

例えば、第5図において第8桁(ps )のときには、
n−1、e、=3となる。
For example, at the 8th digit (ps) in Figure 5,
n-1, e, = 3.

次に332においては、S31において求めたelが3
以上か否かが判定され、3以上のときには333へ移行
しまた2以下のときにはS34へ移行する。
Next, in 332, el obtained in S31 is 3
It is determined whether or not the number is 3 or more, and if it is 3 or more, the process moves to 333, and if it is 2 or less, the process moves to S34.

S33においては、e、に1を加算したものをe、の値
とする。
In S33, the value of e is determined by adding 1 to e.

次に534においては、n×6にelを加算して求めた
値をエリートピッチでのサーマルヘッド5の桁数(En
 )とする。
Next, in 534, the value obtained by adding el to n×6 is the number of digits (En) of the thermal head 5 at elite pitch.
).

第5図においてバイカピッチの第8桁(ps )は、エ
リートピッチの第10桁(E、。)となる。
In FIG. 5, the 8th digit (ps) of the Baika pitch becomes the 10th digit (E, .) of the elite pitch.

次に335においては、図示のような計算式により補正
移動量(ΔP)が求められる。
Next, in step 335, the corrected movement amount (ΔP) is determined using a calculation formula as shown.

尚、Eはエリートピッチのピッチ定数(但し、これはR
OM64に格納されている)であり、Pはパイ力ピッチ
のピンチ定数(但し、これはROM64に格納されてい
る)である。
In addition, E is the pitch constant of elite pitch (however, this is R
(stored in the ROM 64), and P is the pinch constant of the pi-force pitch (however, this is stored in the ROM 64).

次に、836においては、(P+ΔP)≧(CP +C
E )/2か否かが判定され、YesのときはS11へ
移行しまたNoのときにはS37へ移行する。但し、C
1はバイカピンチの印字文字の文字幅、coはエリート
ピンチの印字文字の文字幅であり、CPとCえはROM
64に格納されている。
Next, at 836, (P+ΔP)≧(CP +C
E)/2 is determined, and if Yes, the process moves to S11, and if No, the process moves to S37. However, C
1 is the character width of the printed character of Baika pinch, co is the character width of the printed character of Elite pinch, and CP and Ce are the ROM
64.

(P+ΔP)≧(cr +CE ”)/2でないときに
はピッチ変換前に印字した最後の印字文字と、ピッチ変
換後に最初に印字する印字文字とが重なることになるの
で、S37においては、ΔPにエリートのピッチ定数E
を加算したものを補正移動量ΔPとする。
If (P+ΔP)≧(cr +CE ”)/2 is not true, the last printed character printed before pitch conversion will overlap with the first printed character after pitch conversion, so in S37, elite Pitch constant E
The sum of these is set as the corrected movement amount ΔP.

即ち、印字文字が重ならないように、印字位置を更に1
つ下位側(印字方向)の印字位置へ移動させるためであ
る。
In other words, move the printing position one more time so that the printed characters do not overlap.
This is to move the printing position to the lower side (printing direction).

次に338においては、S34において求めた桁数En
に1を加算した値をエリートピッチに変換後のエリート
ピッチでのサーマルヘッド5の桁数に設定し、338か
らSllへ移行する。
Next, in 338, the number of digits En obtained in S34 is
The value obtained by adding 1 to the elite pitch is set as the number of digits of the thermal head 5 at the elite pitch after conversion, and the process moves from 338 to Sll.

前記第2変換の計算処理のルーチンについて、第8図の
フローチャートにより説明すると、S8から341へ移
行し、S41においては、S7において読込まれた値即
ち桁数(En )が6で割算され、商をnまた余りをe
2に設定する。
The calculation processing routine of the second conversion will be explained with reference to the flowchart of FIG. 8. The process moves from S8 to 341, and in S41, the value read in S7, that is, the number of digits (En), is divided by 6, The quotient is n and the remainder is e.
Set to 2.

例えば、第5図において第10桁(El。)のときには
、n−1、e2=4となる。
For example, in the case of the 10th digit (El.) in FIG. 5, n-1 and e2=4.

次に、S42においては、S41において求めたe2が
4以上か否かが判定され、4以上のときには、S43へ
移行しまた3以下のときにはS44へ移行する。
Next, in S42, it is determined whether e2 obtained in S41 is 4 or more. If e2 is 4 or more, the process moves to S43, and if it is 3 or less, the process moves to S44.

S43においては、e2から1を減算したものをe2の
値とする。
In S43, the value obtained by subtracting 1 from e2 is set as the value of e2.

次に344においては、n×5にe2を加算して求めた
値をパイカビフチでのサーマルヘッド5の桁数(Pn 
)とする。
Next, in 344, the value obtained by adding e2 to n×5 is the number of digits (Pn
).

第5図においてエリートピンチで第10桁(El。)の
ときには、パイカビフチで第8桁(P8)となる。
In FIG. 5, when the 10th digit (El.) is in the elite pinch, the 8th digit (P8) is in the pi-cabin edge.

次に、S45においては、図示のような計算式により補
正移動量(ΔP)が求められる。
Next, in S45, the corrected movement amount (ΔP) is calculated using a calculation formula as shown in the figure.

次に、S46においては、(E+ΔP)≧(C,+CE
 )/2か否かが判定され、YesのときにはSllへ
移行しまたNoのときにはS47へ移行する。
Next, in S46, (E+ΔP)≧(C,+CE
)/2 is determined, and if Yes, the process moves to Sll, and if No, the process moves to S47.

前記と同様に、ピッチ変換前に印字した最後の印字文字
と、ピッチ変換後に最初に印字する印字文字とが重なる
のを防ぐため、S47においては、ΔPにパイ力のピッ
チ定数Pを加算したものを補正移動量ΔPとする。
Similarly to the above, in order to prevent the last printed character printed before pitch conversion from overlapping with the first printed character printed after pitch conversion, in S47, the pitch constant P of the pi force is added to ΔP. is the corrected movement amount ΔP.

即ち、印字文字が重ならないように、印字位置を更に1
つ下位側の印字位置へ移動させる。
In other words, move the printing position one more time so that the printed characters do not overlap.
Move to the lower printing position.

次に348においては、S44において求めた桁数に1
を加算した値をパイカビフチに変換後のパイカビフチで
のサーマルヘッド5の桁数に設定し348から311へ
移行する。
Next, in 348, 1 is added to the number of digits obtained in S44.
The added value is set as the number of digits of the thermal head 5 at the pi-cabin edge after conversion to the pi-cabi edge, and the process moves from 348 to 311.

次にSllにおいては、S9あるいは310において計
算されたサーマルヘッド5の補正移動量(ΔP)をRA
M65の移動量メモリ108に記憶する。
Next, in Sll, the corrected movement amount (ΔP) of the thermal head 5 calculated in S9 or 310 is RA
It is stored in the movement amount memory 108 of M65.

次に312においては、ピッチ切換があったのでRAM
65のピッチ切換フラグ107に1を書込んでピンチ切
換フラグ107をセットする。
Next, in 312, since there was a pitch change, the RAM
65 is written in the pitch switching flag 107 to set the pinch switching flag 107.

次に313においては、桁数カウンタ109の値を89
あるいはShoで求めたピッチモード変換後の桁数の値
EnまたはPnに変換して、S13から34へ移行する
Next, in step 313, the value of the digit counter 109 is set to 89.
Alternatively, it is converted to the value En or Pn of the number of digits after pitch mode conversion determined by Sho, and the process moves from S13 to S34.

S14においては、S4において操作されたキーは文字
記号キー12・13、スペースキー14、バックスペー
スキー15、キャリフジリターンキー16等のキャリッ
ジ移動キーか否かが判定され、キャリッジ移動キーのと
きには°S15へ移行しまたキャリッジ移動キーでない
(祇送りキーや機能キー等)ときにはS19へ移行し、
そのキーの内容に対応する処理が実行され、S19から
84へ移行する。
In S14, it is determined whether the key operated in S4 is a carriage movement key such as character symbol keys 12 and 13, space key 14, backspace key 15, carriage return key 16, etc., and if it is a carriage movement key, ° Proceeds to S15, and if the key is not a carriage movement key (such as a feed key or a function key), the process proceeds to S19.
Processing corresponding to the content of the key is executed, and the process moves from S19 to S84.

S15においては、ピンチ切換フラグ107がセットさ
れているか否かが判定され、セ・ノドされているときに
はS16へ移行しまたセットされていないときには32
0へ移行する。
In S15, it is determined whether or not the pinch switching flag 107 is set, and if the pinch switching flag 107 is set, the process moves to S16, and if it is not set, the pinch switching flag 107 is set.
Transition to 0.

S16おいては、移動量メモリ108に格納されている
補正移動!(ΔP)に応じてサーマルヘッド5を補正移
動させる。
In S16, the corrected movement stored in the movement amount memory 108! The thermal head 5 is corrected and moved according to (ΔP).

即ち、S16においてサーマルヘッド5を移動させるこ
とにより、サーマルヘッド5の位置は絶対原点からピッ
チ切換後のピッチ(パイカビフチあるいはエリートピッ
チ)の整数倍の位置になる。
That is, by moving the thermal head 5 in S16, the position of the thermal head 5 becomes a position that is an integral multiple of the pitch after pitch switching (picture edge or elite pitch) from the absolute origin.

この場合、CPU60においては、前記移動量メモリ1
08に格納されているデータに基いて、m字機構61の
キャリッジ送りモータドライハフ3へ制御信号を出力す
ることになる。
In this case, in the CPU 60, the movement amount memory 1
Based on the data stored in 08, a control signal is output to the carriage feed motor dry huff 3 of the M-shaped mechanism 61.

次に517においては、816においてピッチ切換処理
を実行したのでピッチ切換フラグ107にOを書込んで
ピッチ切換フラグ107をリセットする。
Next, in 517, since the pitch switching process was executed in 816, O is written in the pitch switching flag 107 and the pitch switching flag 107 is reset.

次に318においては、キーボード10において操作さ
れたキーの内容に応じて、印字処理とサーマルヘッド5
の移動、或いはサーマルヘッド5の移動が実行される。
Next, in step 318, the printing process and the thermal head 5
, or the movement of the thermal head 5 is executed.

印字処理の場合、CPtJ60においてはキーボ−ド1
0から入力されたコードデータに対応するパターンメモ
リ100のデータに基いて、印字機構61のサーマルヘ
ッドドライハフ5とキャリッジ送りモータドライバ73
とへ制御信号を出力することになる。
For print processing, keyboard 1 is used for CPtJ60.
Based on the data in the pattern memory 100 corresponding to the code data input from 0, the thermal head drying huff 5 of the printing mechanism 61 and the carriage feed motor driver 73
A control signal will be output to and.

また、サーマルヘッド5の移動の場合、CPU60から
入力コードデータに応じてキャリッジ送りモータドライ
バ73へ制御信号が出力することになる。
Further, in the case of movement of the thermal head 5, a control signal is output from the CPU 60 to the carriage feed motor driver 73 according to input code data.

以上のように、サーマルヘッド5の現在位置を、現在の
ピッチモードにおいて絶対原点を基準としてカウントさ
れる印字位置の桁数により記憶しておき、ピッチモード
の切換時には切換後のピッチモードにおける印字位置で
あって移動可能且つ最寄りの印字位置を切換後のピッチ
モードにおける絶対原点からの桁数として演算し、桁数
カウンタ109の内容を切換後の桁数に変換する。そし
て、サーマルヘッド5を切換後の印字位置へ移動させる
補正移動量を演算し、サーマルヘッド5の補正移動をピ
ッチ切換操作したときに実行させずに、つぎのキャリッ
ジ移動キーが入力されたときにその指令に基くキャリフ
ジ移動に先行して略同時に実行させるものである。
As described above, the current position of the thermal head 5 is stored in the current pitch mode by the number of digits of the printing position counted with reference to the absolute origin, and when switching the pitch mode, the printing position in the pitch mode after switching is stored. The movable and nearest printing position is calculated as the number of digits from the absolute origin in the pitch mode after switching, and the contents of the digit number counter 109 are converted to the number of digits after switching. Then, the correction movement amount to move the thermal head 5 to the print position after switching is calculated, and the correction movement of the thermal head 5 is not executed when the pitch switching operation is performed, but when the next carriage movement key is input. The carriage movement based on the command is executed prior to and substantially simultaneously with the movement of the carriage.

但し、サーマルヘッド5の補正移動は、ピッチモード切
換の直後に実行させるようにしてもよい。
However, the correction movement of the thermal head 5 may be executed immediately after switching the pitch mode.

次に上記実施例の変形例として、このピッチモード切換
制御をパイカビソチモード、エリートピッチモード及び
ミクロンピッチモードを有す電子タイプライタに適用し
た場合について説明する。
Next, as a modification of the above embodiment, a case will be described in which this pitch mode switching control is applied to an electronic typewriter having a pica-sochi mode, an elite pitch mode, and a micron pitch mode.

−1インチ当りの印字文字数は、パイカピッチでは10
文字、エリートピンチでは12文字またミクロンピッチ
では15文字であり、印字ピッチの比は、パイカピソチ
二ミクロンピンチ=3:2、エリートピンチ二ミクロン
ピッチ=5=4となる。
-The number of characters printed per inch is 10 at pica pitch.
There are 12 characters in elite pinch and 15 characters in micron pitch, and the printing pitch ratio is picapisochi2micronpinch=3:2, elite pinch2micron pitch=5=4.

第9図は、パイカビソチの印字位置とミクロンピンチの
印字位置との対応関係を示すもので、図中Pn  (n
=0.1、°2、・・・)とMn  (n=O11,2
、・・・)は絶対原点からの印字位置の桁数を示し、矢
印はパイ力ピッチからミクロピッチへ変換する第3変換
のときの対応関係及びミクロンピッチからパイ力ピッチ
へ変換する第4変換のときの対応関係を示している。
FIG. 9 shows the correspondence between the printing position of Pika Isochi and the printing position of Micron Pinch, and in the figure, Pn (n
=0.1,°2,...) and Mn (n=O11,2
,...) indicates the number of digits of the printing position from the absolute origin, and the arrows indicate the correspondence during the third conversion from pi-force pitch to micro-pitch and the fourth conversion from micro-pitch to pi-force pitch. It shows the correspondence relationship when .

第10図は、エリートピッチの印字位置とミクロンピッ
チの印字位置との対応関係を示すもので、図中En  
(n=o、1.2、・・・)とMn (n=0、■、2
、・・・)は絶対原点からの印字位置の桁数を示し、矢
印はエリートピッチからミクロンピッチへ変換する第5
変換のときの対応関係及びミクロンピッチからエリート
ピッチへ変換する第6変換のときの対応関係を示してい
る。
Figure 10 shows the correspondence between the elite pitch printing position and the micron pitch printing position.
(n=o, 1.2,...) and Mn (n=0, ■, 2
,...) indicates the number of digits of the printing position from the absolute origin, and the arrow indicates the fifth point for converting from elite pitch to micron pitch.
It shows the correspondence at the time of conversion and the correspondence at the time of the sixth conversion from micron pitch to elite pitch.

前記第3変換及び第4変換を第9図と対応させて簡単な
式で表わすと次のピンチ変換表2のようになる。
If the third conversion and fourth conversion are expressed in a simple formula corresponding to FIG. 9, the following pinch conversion table 2 is obtained.

ピッチ変換表2 (但し、n=Q、l、2、・・・) そして、前記第5変換及び第6変換を第10図と対応さ
せて簡単な式で表わすと次のピッチ変換表3のようにな
る。
Pitch Conversion Table 2 (However, n=Q, l, 2,...) Then, if the fifth and sixth conversions are expressed in a simple formula in correspondence with FIG. 10, the following pitch conversion table 3 is obtained. It becomes like this.

(但し、n=0,1.2、・・・) 即ち、印字文字間のピッチが最も細かいミクロンピンチ
を基準にしてピッチモード切換制御を行なうようにしで
ある。
(However, n=0, 1.2, . . . ) That is, the pitch mode switching control is performed based on the micron pinch, which is the smallest pitch between printed characters.

そして、パイカピソチ→エリートピッチの変換のときに
は、第3変換及び第6変換を組合わせることによりピン
チを切換え、またエリートピノチーパイ力ピッチ変換の
ときには、第5変換及び第4変換を組合わせることによ
りピッチを切換えて、切換後のピッチでの桁数を求める
Then, when converting from Pica Pisochi to Elite pitch, the pinch is switched by combining the third and sixth conversions, and when converting elite Pinochi pie force pitch, the pinch is switched by combining the fifth and fourth conversions. Switch the pitch and find the number of digits at the pitch after switching.

そして、サーマルヘッド5を補正移動させるための補正
移動量(ΔP)を求める計算処理及びピッチ送りモード
切換制御は前記実施例の制御と同様の考え方で行なうこ
とが出来るので詳しい説明を省略する。
The calculation process for determining the corrected movement amount (ΔP) for correcting movement of the thermal head 5 and the pitch feed mode switching control can be performed using the same concept as the control in the previous embodiment, so a detailed explanation will be omitted.

尚、本実施例ではサーマルヘッドを備えた電子タイプラ
イタ−に基いて説明したが、ディシイホイール弐の印字
機構や活字ボール式の印字機構を備えた印字装置にも本
発明を適用し得ることは勿論である。
Although the present embodiment has been explained based on an electronic typewriter equipped with a thermal head, the present invention can also be applied to a printing device equipped with a printing mechanism of the second wheel or a type ball type printing mechanism. Of course.

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

第1図は本発明の構成を示す機能ブロック図、第2図〜
第10図は本発明の実施例を示すもので、第2図は電子
タイプライタの斜視図、第3図はキーボードの平面図、
第4図はタイプライタの制御系のブロック図、第5図は
パイ力ピッチの印字位置とエリートピッチの印字位置と
の対応関係を示す説明図、第6図はピッチモード切換制
御のルーチンを示すフローチャート、第7図は第6図の
ステップS9のルーチンを示すフローチャート、第8図
は第6図のステップSIOのルーチンを示すフローチャ
ート、第9図はパイカピソチの印字位置とミクロンピッ
チの印字位置との対応関係を示す説明図、第10図はエ
リートピッチの印字位置とミクロンピッチの印字位置と
の対応関係を示す説明図である。 2−・・プラテン、  3・・キャリッジ、  4・・
ガイドロフト、  5・・サーマルヘッド、  lO・
・キーボード、 60・・CPU (中央演算装置)、
 6エ・・印字機構、 64・・ROM(リードオンリ
メモリ)、  65・・RAM (ランダムアクセスメ
モ1月、 66・・紙送りモータ、67・・キャリフジ
送りモータ、 68・・切換ソレノイド、 69・・パ
イカビフチキー、70・・エリ−トビフチキー、72・
・紙送りモータドライバ、  73・・キャリフジ送す
モータドライバ、  74・・ソレノイドドライバ、7
5・・サーマルヘッドドライバ、  100°。 パターンメモリ、  102・・プログラムメモリ、1
07・・ピッチ切換フラグ、  108・・移動量メモ
リ、  109・・桁数カウンタ、110・・ピッチモ
ードメモリ。 第1図
Figure 1 is a functional block diagram showing the configuration of the present invention, Figures 2-
Fig. 10 shows an embodiment of the present invention, Fig. 2 is a perspective view of an electronic typewriter, Fig. 3 is a plan view of a keyboard,
Fig. 4 is a block diagram of the control system of the typewriter, Fig. 5 is an explanatory diagram showing the correspondence between the printing position of pie force pitch and the printing position of elite pitch, and Fig. 6 shows the routine of pitch mode switching control. Flow chart, FIG. 7 is a flow chart showing the routine of step S9 in FIG. 6, FIG. 8 is a flow chart showing the routine of step SIO in FIG. 6, and FIG. 9 is a flow chart showing the routine of step SIO in FIG. FIG. 10 is an explanatory diagram showing the correspondence between elite pitch printing positions and micron pitch printing positions. 2-...platen, 3...carriage, 4...
Guide loft, 5. Thermal head, lO.
・Keyboard, 60...CPU (Central Processing Unit),
6E... Printing mechanism, 64... ROM (read only memory), 65... RAM (Random access memo January, 66... Paper feed motor, 67... Carriage feed motor, 68... Switching solenoid, 69...・Pikabifchi key, 70・・Elite bifuchi key, 72・
・Paper feed motor driver, 73... Carriage feed motor driver, 74... Solenoid driver, 7
5. Thermal head driver, 100°. Pattern memory, 102...Program memory, 1
07...Pitch switching flag, 108...Movement amount memory, 109...Digit number counter, 110...Pitch mode memory. Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)印字文字の印字ピッチを指定するピッチモードキ
ーと各種の文字キー及び機能キーとを備えたキーボード
と、 前記キーボードから入力されたデータに対応した文字や
記号等を印字用紙に印字する印字機構とを備えた印字装
置において、 前記ピッチモードキーで指定されているピッチモードを
記憶するピッチモードメモリと、 前記印字機構の印字ヘッドの現在位置を、現在のピッチ
モードにおいて絶対原点を基準としてカウントされる印
字装置の桁数により記憶する桁数カウンタと、 前記ピッチモードキーからモード切換信号を受けたとき
、切換後のピッチモードにおいて印字ヘッドが移動可能
な印字位置のうち、切換前の印字ヘッドの現在位置に対
応した最寄りの位置を切換後のピッチモードにおける絶
対原点からの桁数として求め、前記桁数カウンタの内容
を該切換後の桁数に変換する変換手段と、 この変換手段からの出力を受けて、前記印字ヘッドを切
換前の現在位置から変換手段で求められた桁数の印字位
置へ移動させるための補正移動量を演算し、印字ヘッド
を補正移動量だけ移動させる制御信号を印字機構へ出力
する補正移動制御手段と を備えたことを特徴とする印字装置。
(1) A keyboard equipped with a pitch mode key that specifies the printing pitch of printed characters, various character keys, and function keys, and a printer that prints characters, symbols, etc. on printing paper that correspond to the data input from the keyboard. a pitch mode memory that stores the pitch mode specified by the pitch mode key; and a pitch mode memory that stores the pitch mode specified by the pitch mode key, and counts the current position of the print head of the printing mechanism with respect to the absolute origin in the current pitch mode. a digit counter that stores the number of digits of the printing device to be used; and a digit counter that stores the number of digits of the printing device to be used, and when receiving a mode switching signal from the pitch mode key, one of the printing positions to which the print head can move in the pitch mode after switching, the print head before switching. a conversion means for determining the nearest position corresponding to the current position of the pitch mode as the number of digits from the absolute origin in the pitch mode after switching, and converting the contents of the digit number counter into the number of digits after the switching; Upon receiving the output, calculates a corrected movement amount for moving the print head from the current position before switching to a printing position of the number of digits determined by the conversion means, and sends a control signal to move the print head by the corrected movement amount. A printing device characterized by comprising: correction movement control means for outputting to a printing mechanism.
JP17632886A 1986-07-25 1986-07-25 Printer Pending JPS6331777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17632886A JPS6331777A (en) 1986-07-25 1986-07-25 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17632886A JPS6331777A (en) 1986-07-25 1986-07-25 Printer

Publications (1)

Publication Number Publication Date
JPS6331777A true JPS6331777A (en) 1988-02-10

Family

ID=16011666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17632886A Pending JPS6331777A (en) 1986-07-25 1986-07-25 Printer

Country Status (1)

Country Link
JP (1) JPS6331777A (en)

Similar Documents

Publication Publication Date Title
GB2044969A (en) Electronic typewriter with display device
US4548520A (en) Electronic typewriter
US4556332A (en) Electronic typewriter including right margin adjusting means
EP0238328B1 (en) Printing apparatus
JPS6331777A (en) Printer
US4624587A (en) Electronic typewriter with removable display cursor
JPH05185695A (en) Printing device
US4820069A (en) Sheet-feeding apparatus with selectable unit feed and coefficient therefor
JPH0457512B2 (en)
JPS62278075A (en) Printer
JPH01114474A (en) Electronic typewriter
JPS6225370A (en) Layout display system
JPS62222865A (en) Printer provided with calculation function
JPS60109867A (en) Typewriter with calculator
JPS59188456A (en) Typewriter capable of exchanging print mode
JPS62218166A (en) Printer capable of correcting word
JPS59188476A (en) Electronic typewriter with display device
JPS62271747A (en) Printer
JPS59188455A (en) Typewriter
JPS60109874A (en) Typewriter
JPS59188454A (en) Electronic typewriter
JPS63189279A (en) Printer
JPH0583389B2 (en)
JPS59159376A (en) Electronic typewriter
JPS60205742A (en) Electronic typewriter