JPS63249677A - Printing method for printer - Google Patents

Printing method for printer

Info

Publication number
JPS63249677A
JPS63249677A JP8445287A JP8445287A JPS63249677A JP S63249677 A JPS63249677 A JP S63249677A JP 8445287 A JP8445287 A JP 8445287A JP 8445287 A JP8445287 A JP 8445287A JP S63249677 A JPS63249677 A JP S63249677A
Authority
JP
Japan
Prior art keywords
printing
code
line
printer
data
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
JP8445287A
Other languages
Japanese (ja)
Inventor
Kiyoshi Takahashi
清 高橋
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 JP8445287A priority Critical patent/JPS63249677A/en
Publication of JPS63249677A publication Critical patent/JPS63249677A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enhance the accuracy of positioning for printing, by printing in the same direction as that in the preceding printing when a line feed (LF) code is present in continuation to a carriage return (CR) code. CONSTITUTION:When a CR code appears in printing data, it is checked whether an LF code is present precedingly or in continuation to the CR code. When the LF code is present, line feeding by a one-line amount is carried out under predetermined conditions, and rightward or leftward printing in one line is performed. When the LF code is not present precedingly or in continuation to the CR code, printing data for the next one line is printed in the same line and in the same direction as that in the preceding printing operation. Therefore, the accuracy of positioning between the preceding printing and the subsequent printing is made extremely favorable.

Description

【発明の詳細な説明】 え脈□□□旦m [産業上の利用分野] 本発明は、コンピュータ等の印字装置として用いられる
プリンタの印字方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Use] The present invention relates to a printing method for a printer used as a printing device for a computer or the like.

[従来の技術] コンピュータ等の印字装置として用いられるプリンタは
、コンピュータ等から出力される印字データを受け、そ
のデータに従って印字動作を行うが、このデータの中に
は印字すべき文字を表わす文字コードの他、プリンタの
印字動作を制御する制御コードも含まれる。この制御コ
ードの中にキャリッジリターン(CR)コード及びライ
ンフィード(LF)コードがあるが、プリンタはそれら
のデニタを受けると、それまでに受けた文字データを一
行に印字する印字動作を実行する。このうち、CRコー
ドの場合には、上記の印字動作を行った後、行送りを行
わずに印字位置を所定の左マージン位置に移動させ、同
じ行に、そのCRコード以降の文字データを左マージン
位置から印字可能にする。又、LPコードの場合には、
左右方向の位置は変更せず、垂直方向の印字位置を1行
分だけ送る。
[Prior Art] A printer used as a printing device for a computer, etc. receives print data output from a computer, etc., and performs a printing operation according to the data, but this data includes a character code representing the character to be printed. In addition, it also includes control codes that control the printing operations of the printer. These control codes include a carriage return (CR) code and a line feed (LF) code, and when the printer receives these codes, it executes a printing operation to print the character data received so far on one line. Among these, in the case of a CR code, after performing the above printing operation, move the printing position to a predetermined left margin position without performing line feed, and print character data starting from that CR code on the same line to the left. Enable printing from the margin position. Also, in the case of LP code,
The vertical printing position is moved by one line without changing the horizontal position.

通常、コンピュータ等では、文書の改行すべき箇所では
CRコードとLFコードとを対にしてプリンタに送り、
改行動作を実行させるが、強調印字、アンダーライン等
の文字の重ね打ちを行う場合には、CRコードのみをプ
リンタに送るという方法をとることがある。
Normally, computers send pairs of CR code and LF code to the printer at the point where a line break is to be made in a document.
Although a line feed operation is executed, when overprinting characters such as emphasized printing or underlining, a method of sending only the CR code to the printer may be used.

一方、プリンタ側においては印字速度の向上のため、左
右双方向の印字を行うものが考案されている(例えば、
米国特許公報No、 3.764.994号)。
On the other hand, on the printer side, in order to improve the printing speed, printers that print in both left and right directions have been devised (for example,
U.S. Patent Publication No. 3.764.994).

これは、ある行を印字した後、その印字終了位置から次
の行の印字開始位置(この場合、行の印字開始位置は必
ずしも左端とは限らず、右端の方が近い場合には右端か
ら印字が開始される。又、行端のスペースは無視される
)までの距離が最短となるような方向に印字ヘッドを搭
載したキャリッジを移動させるというものである。この
ようなプリンタでは左右いずれの方向からも行印字が行
われる可能性がある。
After printing a certain line, the next line's printing start position is determined from the printing end position (in this case, the printing start position of the line is not necessarily at the left end, but if the right end is closer, printing starts from the right end). The carriage carrying the print head is moved in the direction that minimizes the distance to the print head (the space at the end of the line is ignored). In such a printer, line printing may be performed from either the left or right direction.

[発明が解決しようとする問題点コ 双方向印字方式を採用するプリンタでCRコードにより
同一行位置に文字の重ね打ちを行う場合には、前印字行
の印字終了位置と次の印字行の印字開始位置との関係で
、それら同一印字行位置に印字される両印字行の印字方
向が逆になる場合がある。このような場合には、キャリ
ッジの位置決め機構のバックラッシュやキャリッジ停止
時の振動モードの違いにより、同一文字の重ね打ちを行
おうとしても、文字毎に印字位置が微妙に変化してしま
い、印字品質が低下するという欠点がある。
[Problems to be Solved by the Invention] When using a printer that uses a bidirectional printing method to overprint characters at the same line position using a CR code, the print end position of the previous print line and the print of the next print line are In relation to the start position, the printing directions of both print lines printed at the same print line position may be reversed. In such cases, due to backlash in the carriage positioning mechanism and differences in vibration modes when the carriage stops, even if you try to print the same character over and over, the print position will change slightly for each character, resulting in printing problems. The disadvantage is that the quality deteriorates.

光班Ω復或 [問題点を解決するための手段] 上記問題点を解決するために成された本発明は、その概
要の流れを第1図に示す通り、印字データ中にキャリッ
ジリターンコードが出現すると(Sl)所定の条件によ
り(S3)左右いずれかの方向に1行分の印字動作を行
う(S4.95)プリンタにおいて、前回印字したデー
タの直後のキャリッジリターンコードに連続してライン
フィードコードが存在しない場合には(S2)、前回の
印字動作と同一方向で印字動作を行う(S6)ことを特
徴とする゛プリンタの印字方法をその要旨とするもので
ある。
[Means for solving the problem] The present invention, which was made to solve the above problem, has a carriage return code in print data, as shown in Figure 1. When it appears (Sl) under predetermined conditions (S3) Printing one line in either the left or right direction (S4.95) The printer prints a line feed continuously to the carriage return code immediately after the previously printed data. If the code does not exist (S2), the printer performs a printing operation in the same direction as the previous printing operation (S6).

[作用コ コンピュータ等から印字データが送られてくると、プリ
ンタはそれらの印字データをそれ自身の内部のバッファ
(メモリ)に順番に記憶してゆく。
[Operation] When print data is sent from a cocomputer or the like, the printer sequentially stores the print data in its own internal buffer (memory).

そして、印字データの中にキャリッジリターン(CR)
コードを発見すると(Sl)、それまでにバッファ内に
記憶していた印字データに基き、用紙等の上に1行に印
字を行う。なお、これら印字データの中には文字データ
の他、上付き文字(スーパースクリプト)、下付き文字
(サブスクリプト)等の特殊な印字を行うための印字制
御コードも含まれる。
Then, there is a carriage return (CR) in the print data.
When the code is found (Sl), one line is printed on paper or the like based on the print data stored in the buffer up to that point. In addition to character data, these print data also include print control codes for special printing such as superscripts and subscripts.

このようにして、本プリンタでは1行づつ印字を行って
ゆくのであるが、CRコードが出現すると、印字速度向
上のため、所定の条件、例えば前回の印字行の印字終了
横方向位置と次に印字すべき印字行の印字開始横方向位
置との関係から、キャリッジの移動距離が最も小さくな
るような条件で、次の印字行の印字を開始する(S3)
。このため、行印字は右方向にも左方向にも行われる可
能性がある(S4、S5)。
In this way, this printer prints one line at a time, but when a CR code appears, in order to improve the printing speed, predetermined conditions, such as the horizontal position of the last printed line and the next Printing of the next print line is started under conditions that minimize the carriage movement distance in relation to the print start horizontal position of the print line to be printed (S3).
. Therefore, line printing may be performed both to the right and to the left (S4, S5).

本発明では印字データ中にCRコードが出現したとき(
Sl)に、その前後に連続してラインフィード(LF)
コードが存在するか否かをチェックする(S2)。LF
コードが存在する場合には、上述の通りの所定の条件に
従い、前回印字された印字データ以降の印字データにつ
いて、右方向又は左方向の1行の印字を実行する(S4
、S5)。
In the present invention, when a CR code appears in print data (
Line feed (LF) continuously before and after SL)
It is checked whether the code exists (S2). LF
If the code exists, one line of print data to the right or to the left is printed according to the predetermined conditions as described above for the print data after the print data printed last time (S4
, S5).

この場合には、LFコードがあるため、前回の印字行か
らは所定の1行分の行送りが行われた後、次の行印字が
行われる。
In this case, since there is an LF code, the next line is printed after a predetermined one-line feed from the previous print line.

一方、CRコードの前後に連続してLFコードが存在し
ない場合には、前回の印字行からの行送りは行われず、
同じ行で次の1行分の印字データの印字が実行される。
On the other hand, if there are no LF codes consecutively before and after the CR code, line feed from the previous printed line is not performed,
The next line of print data is printed on the same line.

この際、上述の印字方向に関する条件判断(S3)を行
うことなく、印字方向は前回の印字行と同一にされる(
S6)。
At this time, the printing direction is made the same as the previous printing line without making the above-mentioned conditional judgment regarding the printing direction (S3).
S6).

従って、キャリッジ移動機構のバックラッシュが排除で
き、キャリッジの停止時の振動モードも前回と同一にな
るため、前回の印字とその次の印字との間の位置合わせ
精度が極めて良くなる。
Therefore, backlash in the carriage moving mechanism can be eliminated, and the vibration mode when the carriage stops is also the same as the previous one, resulting in extremely high positioning accuracy between the previous printing and the next printing.

[実施例] 本発明の実施例を以下に図面を用いて説明する。[Example] Embodiments of the present invention will be described below with reference to the drawings.

本実施例は双方向印字を行うディジーホイールプリンタ
に本発明に係る印字方法を取り入れた印字プログラムを
備えるものである。
In this embodiment, a daisy-wheel printer that performs bidirectional printing is provided with a printing program that incorporates the printing method according to the present invention.

第2図は本実施例のプリン°り1の構成を示す図である
。本プリンタ1は大別すると、メカニズム部10及び電
子制御部100から構成される。メカニズム部10は、
フレーム12に固定されたプラテン20と、このプラテ
ン20と平行にフレーム12に固定された案内軸50上
を左右に移動可能なキャリッジ52とを中心に構成され
る。
FIG. 2 is a diagram showing the configuration of the printer 1 of this embodiment. The printer 1 is roughly divided into a mechanism section 10 and an electronic control section 100. The mechanism part 10 is
It is constructed mainly of a platen 20 fixed to a frame 12 and a carriage 52 that is movable left and right on a guide shaft 50 fixed to the frame 12 parallel to the platen 20.

プラテン20には印字用紙22が巻き付けられ、この印
字用紙の上下方向の送りのために、プラテン20を回転
するラインフィード用ステッピングモータ24及びギヤ
機構26が設けられている。
A printing paper 22 is wound around the platen 20, and a line feed stepping motor 24 and a gear mechanism 26 for rotating the platen 20 are provided to feed the printing paper in the vertical direction.

キャリッジ52には、ディジーホイール54と印字ハン
マ56とから構成される印字ヘッド58、印字リボン6
0を内部に収納するリボンカセット62、印字動作時に
印字リボン60を印字位置に上昇させる上昇機構、印字
リボン60の巻取を行う機構等が搭載される。キャリッ
ジ52自体はキャリッジ用ステッピングモータ64、左
右のプーリ66.68及びベルト70により案内軸50
上を移動する。
The carriage 52 includes a print head 58 consisting of a daisy wheel 54 and a print hammer 56, and a print ribbon 6.
A ribbon cassette 62 for storing 0 inside, a lifting mechanism for lifting the printing ribbon 60 to a printing position during a printing operation, a mechanism for winding the printing ribbon 60, and the like are installed. The carriage 52 itself is connected to the guide shaft 50 by a carriage stepping motor 64, left and right pulleys 66, 68, and a belt 70.
move above.

電子制御部100はCPUIIO1ROM120、RA
M130を備えたマイクロコンピュータであり、それら
の他、印字ヘッド5日及びリボン上昇・巻取機構と接続
される印字制御回路140、ラインフィード用ステッピ
ングモータ24及びキャリッジ用ステッピングモータ6
4と接続される印字位置制御回路150、外部のコンピ
ュータ200等と接続するための入出力回路160及び
それら各素子及び回路間を接続するパスライン180等
を備える。CPUll0はROM120に予め記憶され
ている本プリンタ1を制御するための種々のプログラム
に従い、外部のコンピュータ200等から印字データを
受け、印字ヘッド56、キャリッジ52、プラテン20
等を制御回路140.150等を介して制御して、文字
の印字を行う。ROM120は上記制御プログラムの他
、プリンタ1の初期設定のための定数や制御時に参照さ
れるテーブル等を記憶している。RAM130には、1
行分の印字データを記憶しておくラインバッファ(L 
B)領域、印字ヘッド5日の印字方向を記憶しておく印
字方向記憶領域等、本プリンタ1の制御時に一時的にデ
ータを記憶しておくための領域を備える。
The electronic control unit 100 includes CPUIO1ROM120, RA
M130, and in addition to these, a print control circuit 140 connected to the print head and ribbon lifting/winding mechanism, a line feed stepping motor 24, and a carriage stepping motor 6.
4, an input/output circuit 160 for connecting to an external computer 200, etc., and a pass line 180 for connecting each of these elements and circuits. The CPU 110 receives print data from an external computer 200, etc. according to various programs stored in advance in the ROM 120 for controlling the printer 1, and prints data from the print head 56, carriage 52, and platen 20.
etc. are controlled via control circuits 140, 150, etc. to print characters. In addition to the control program described above, the ROM 120 stores constants for initializing the printer 1, tables referenced during control, and the like. RAM130 has 1
A line buffer (L) that stores print data for a line
B) area, print head 5 The printer 1 includes an area for temporarily storing data during control of the printer 1, such as a printing direction storage area for storing the printing direction of the 5th day.

以下に、本プリンタ1の印字動作を第3図のフローチャ
ートに基いて説明する。なお、以下の説明において、簡
単のために文字データはいずれも1バイトで構成される
ものとする。
The printing operation of this printer 1 will be explained below based on the flowchart shown in FIG. In the following description, it is assumed for simplicity that each character data consists of one byte.

第3図のフローチャートで示されるルーチンが開始され
ると、まず、ステップ301で外部コンピュータ200
から入出力回路160を介して印字データを1バイトだ
け人力する。ステップ302ではこの人力データがキャ
リッジリターン(CR)コードであるか否かを判定する
。アスキー(ASCII)コードでは、CRコードはO
DH(Hは16進数表記であることを表す)である。人
力データがCRコードでなければステップ303でその
データをRAM130中のラインバッファ(L B)に
順番に格納し、ステップ301に戻って次の1バイト人
力を行う。
When the routine shown in the flowchart of FIG. 3 is started, first, in step 301, the external computer 200
From there, one byte of print data is manually input via the input/output circuit 160. In step 302, it is determined whether this manual data is a carriage return (CR) code. In ASCII code, the CR code is O
DH (H represents hexadecimal notation). If the manual data is not a CR code, the data is sequentially stored in the line buffer (LB) in the RAM 130 in step 303, and the process returns to step 301 to perform the next 1-byte manual data.

ステップ302で入力データがCRコードであると判定
されると、ステップ304へ移り、更に次の1バイトを
入力する。そしてステップ305でそのデータがライン
フィード(LF)コードであるか否かを判定する。アス
キーコードではLFコードはOAHである。ここでこの
追加入力したデータがLFコードであると判定されると
、ステップ306へ進み、ラインバッファ中に格納され
ているデータ中のスペースコードでない文字データの先
回位置P1と終末位置P2を検出する。そしてステップ
307で現在の印字ヘッドの位置POをRAM130よ
り読み出し、ステップ308でこの位置POがPlとP
2のいずれにより近いかを判定する。POがPlの方に
より近いと判定されると、ステップ309でラインバッ
ファ内の印字データの右方向印字、即ち、左から右の方
向への1行分の印字が実行される。ステップ308の判
定結果が逆の場合には、ステップ310で左方向印字が
実行される。
If it is determined in step 302 that the input data is a CR code, the process moves to step 304 and the next 1 byte is input. Then, in step 305, it is determined whether the data is a line feed (LF) code. In ASCII code, the LF code is OAH. If it is determined that this additionally inputted data is an LF code, the process proceeds to step 306, and the previous position P1 and final position P2 of character data that is not a space code in the data stored in the line buffer are detected. do. Then, in step 307, the current print head position PO is read from the RAM 130, and in step 308, this position PO is
It is determined which of the two is closer. If it is determined that PO is closer to Pl, then in step 309 the print data in the line buffer is printed in the right direction, that is, one line is printed from left to right. If the determination result in step 308 is the opposite, leftward printing is executed in step 310.

ラインバッファ内の印字データには文字コードの他、上
付き文字(スーパースクリプト)、下付き文字(サブス
クリプト)用の制御コード等も含まれるが、それらの制
御コードの場合には各々に応じた動作を行う。また、制
御コードの中に強調印字のための特別のコード、例えば
アスキーコードでIBH・21H等に定められたコード
がある場合には、CPUll0はROM120の記憶す
る強調印字用制御プログラムに従って、キャリッジ52
の特殊な位置決め制御を行い、強調印字解除コード、例
えばIBH・22H等が現われる迄、その間の文字デー
タを2度打ちする。なお、本発明のプリンタ1において
は、このような機能は必ずしも必要なものではない。
In addition to character codes, the print data in the line buffer also includes control codes for superscripts and subscripts. perform an action. In addition, if the control code includes a special code for emphasized printing, for example, an ASCII code defined as IBH/21H, the CPU 110 controls the carriage 52 according to the emphasized printing control program stored in the ROM 120.
A special positioning control is performed, and the character data between them is typed twice until an emphasis printing cancellation code, for example, IBH/22H, etc. appears. Note that in the printer 1 of the present invention, such a function is not necessarily necessary.

ステップ309又は310で1行分の印字が実行された
後、ステップ311では、その印字方向D(右又は左)
をRAM130中に記憶しておく。
After one line of printing is executed in step 309 or 310, in step 311, the printing direction D (right or left) is
is stored in the RAM 130.

最後にステップ312で印字位置制御回路150を介し
てラインフィード用ステッピングモータ24に所定の1
行分の行送りを行うように駆動信号を出力する。これに
よりプラテン20が所定量回転し、印字用紙22が1行
分送られる。そしてラインバッファ内のデータをクリア
した後、ステップ301へ戻って次の1バイトを人力す
る。
Finally, in step 312, a predetermined value is set to the line feed stepping motor 24 via the print position control circuit 150.
A drive signal is output to advance the line by a line. As a result, the platen 20 rotates by a predetermined amount, and the printing paper 22 is fed by one line. After clearing the data in the line buffer, the process returns to step 301 and the next byte is manually written.

ステップ305で追加入力データがLFコードでないと
判定されるとステップ313へ移り、その追加入力デー
タを次の印字行用としてRAMl30中に用意されるネ
クストラインバッファ(NLB)の先頭に格納する。こ
のNLBの内容は、後述するようにラインバッファの1
行分の印字が実行された後に、ラインバッファに転送さ
れる。
If it is determined in step 305 that the additional input data is not an LF code, the process moves to step 313, where the additional input data is stored at the beginning of the next line buffer (NLB) prepared in RAM 130 for the next print line. The contents of this NLB are 1 of the line buffer as described later.
After a line has been printed, it is transferred to the line buffer.

次いでステップ314で、最初に人力したCRコードの
直前のデータをラインバ・ソファから読み出し、ステッ
プ315でそのデータがLFコードであるか否かを判定
する。このデータがLFコードであれば、先に説明した
と同様に、ステップ306〜312に移って、次の行に
ラインバッファ内の印字データの1行分の印字を、左右
何れかの方向で実行する。
Next, in step 314, the data immediately before the first manually generated CR code is read from the line bar sofa, and in step 315, it is determined whether the data is an LF code. If this data is an LF code, the process moves to steps 306 to 312 and prints one line of print data in the line buffer on the next line in either the left or right direction. do.

ステップ315でCRコードの直前のデータがLFコー
ドでないと判定されると、ステップ316へ進んでRA
M130に記憶されている前回の印字方向りを読み出し
、ステップ317でそのD方向と同一方向でラインバ・
ソファ内の印字データの印字を実行する。なお、このと
きにはステップ306に相当する行送りが行われないた
め、前回の印字行と同じ行に印字が実行される。印字実
行後、ラインバッファのデータをクリアした後、ステッ
プ318で前述の通りNLBのデータをラインバッファ
に移してステップ301に戻る。
If it is determined in step 315 that the data immediately before the CR code is not an LF code, the process advances to step 316 and the RA
The previous printing direction stored in M130 is read, and in step 317, the line bar is printed in the same direction as the D direction.
Executes printing of the print data inside the sofa. Note that at this time, since the line feed corresponding to step 306 is not performed, printing is performed on the same line as the previous print line. After printing is completed, the data in the line buffer is cleared, and in step 318 the NLB data is transferred to the line buffer as described above, and the process returns to step 301.

本実施例では以上のように、CRコードの前後にLFコ
ードが存在する場合には通常の双方向印字を行うが、C
Rコードの前後にLFコードが存在しない場合には前回
の印字方向と同じ方向に印字動作を行う。従って、同一
文字の重ね打ち或いは異種文字の重ね打ちによる特殊文
字の印字等を行う際、このプリンタ1に送る印字データ
中にLFコードを伴わないCRコードを入れておくこと
により、プリンタ1に厳しいキャリッジ位置決め精度を
要求することなく、正確かつ美しい重ね打ち印字が行え
る。
In this embodiment, as described above, when an LF code exists before and after a CR code, normal bidirectional printing is performed.
If no LF code exists before or after the R code, the printing operation is performed in the same direction as the previous printing direction. Therefore, when printing special characters by overprinting the same character or overprinting different types of characters, by including a CR code without an LF code in the print data sent to the printer 1, it is possible to Accurate and beautiful overprint printing can be performed without requiring carriage positioning accuracy.

本発明はこれに限られるものではなく、その要旨を逸脱
しない範囲の種々の態様のものが含まれる。
The present invention is not limited to this, but includes various embodiments without departing from the gist thereof.

え五辺用1 以上詳述したように、本発明では、双方向印字を行うプ
リンタにおいても、キャリッジリターン(CR)コード
に連続してラインフィード(LF)コードが存在する場
合には前回と同一の印字方向で印字を行うため、例えば
CRコードのみを介在させることにより同一文字の重ね
打ちによる強調印字を行う場合でも、文字の印字位置の
位置合わせ精度が極めて良好になる。しかもこのような
効果が、キャリッジの位置決め精度を上げるために機械
系の剛性を上げたりすることなく、従来の機構のままで
得られることも本発明の特長である。
1 for 5 sides As detailed above, in the present invention, even in a printer that performs bidirectional printing, if a line feed (LF) code exists consecutively to a carriage return (CR) code, the code is the same as the previous one. Since printing is performed in the printing direction, for example, even when emphasizing printing by overprinting the same character by interposing only the CR code, the positioning accuracy of the character printing position is extremely good. Furthermore, another feature of the present invention is that such effects can be obtained using the conventional mechanism without increasing the rigidity of the mechanical system in order to improve the carriage positioning accuracy.

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

第1図は本発明の概要を例示するフローチャート、第2
図は本発明の実施例であるプリンタの概略構成図、第3
図はその実施例のプリンタの電子制御部が行う処理の流
れを示すフローチャートである。 1 ・・・ プリンタ、  10  ・・・ メカニズ
ム部12  ・・・ フレーム、  20  ・・・ 
プラテン、24  ・・・ ラインフィード用ステッピ
ングモータ52  ・・・ キャリッジ、 58  ・
・・ 印字ヘッド、64  ・・・ キャリッジ用ステ
ッピングモータ100・・・ 電子制御部
FIG. 1 is a flowchart illustrating the outline of the present invention;
The figure is a schematic configuration diagram of a printer that is an embodiment of the present invention.
The figure is a flowchart showing the flow of processing performed by the electronic control section of the printer of this embodiment. 1... Printer, 10... Mechanism part 12... Frame, 20...
Platen, 24... Stepping motor for line feed 52... Carriage, 58.
... Print head, 64 ... Carriage stepping motor 100 ... Electronic control section

Claims (1)

【特許請求の範囲】[Claims] 1 印字データ中にキャリッジリターンコードが出現す
ると所定の条件により左右いずれかの方向に1行分の印
字動作を行うプリンタにおいて、前回印字したデータの
直後のキャリッジリターンコードに連続してラインフィ
ードコードが存在しない場合には、前回の印字動作と同
一方向で印字動作を行うことを特徴とするプリンタの印
字方法。
1 When a carriage return code appears in the print data, in a printer that prints one line in either the left or right direction under certain conditions, a line feed code will appear immediately after the carriage return code immediately after the previously printed data. A printing method for a printer characterized in that, if the printer does not exist, the printing operation is performed in the same direction as the previous printing operation.
JP8445287A 1987-04-06 1987-04-06 Printing method for printer Pending JPS63249677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8445287A JPS63249677A (en) 1987-04-06 1987-04-06 Printing method for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8445287A JPS63249677A (en) 1987-04-06 1987-04-06 Printing method for printer

Publications (1)

Publication Number Publication Date
JPS63249677A true JPS63249677A (en) 1988-10-17

Family

ID=13831011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8445287A Pending JPS63249677A (en) 1987-04-06 1987-04-06 Printing method for printer

Country Status (1)

Country Link
JP (1) JPS63249677A (en)

Similar Documents

Publication Publication Date Title
JPS6118033A (en) Print processor
US4933875A (en) Bi-directional printer for efficient of stored data and real-time input data
JPS63249677A (en) Printing method for printer
JPH08230266A (en) Printer
US4772145A (en) Document preparing apparatus which automatically capitalizes characters at the head of a sentence
KR100206266B1 (en) Carriage control method of printer
EP0186465A2 (en) Printer
JP2844731B2 (en) Print data processing device
JPS6384959A (en) Printer
JPS60115470A (en) Automatic paper supply controlling system for printer
JPS61211051A (en) Printer
EP0143995A2 (en) Dot-matrix printer
JPH0470155B2 (en)
JPS58145480A (en) Driving controller for printer
JP2756046B2 (en) Thermal transfer printer
JPS58145478A (en) Paper feed controller for printer
JP2973543B2 (en) Printer and control method thereof
JPS60248378A (en) Controller for serial printer
JPH07251544A (en) Printer and control thereof
JPH05221070A (en) Serial printer
JPS6367174A (en) Data printing apparatus
EP0795839A2 (en) Printer and method of controlling it
JPS6384973A (en) Color printer
JPH0615892A (en) Printer
JPS62128783A (en) Color printing apparatus