JPS6164470A - Printing method of printer - Google Patents

Printing method of printer

Info

Publication number
JPS6164470A
JPS6164470A JP59186956A JP18695684A JPS6164470A JP S6164470 A JPS6164470 A JP S6164470A JP 59186956 A JP59186956 A JP 59186956A JP 18695684 A JP18695684 A JP 18695684A JP S6164470 A JPS6164470 A JP S6164470A
Authority
JP
Japan
Prior art keywords
data
printing
data memory
line
capacity
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
JP59186956A
Other languages
Japanese (ja)
Inventor
Keiichi Horitani
堀谷 恵一
Koichiro Sato
康一郎 佐藤
Kazuhide Takahama
和英 高濱
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP59186956A priority Critical patent/JPS6164470A/en
Publication of JPS6164470A publication Critical patent/JPS6164470A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information
    • B41J5/44Character or syllable selection controlled by recorded information characterised by storage of recorded information

Abstract

PURPOSE:To enable continuous printing operation even if data memory has only data capacity corresponding to one line, by starting printing operation when data filling up capacity are received in the data memory and inputting the remaining data to the part emptied by printing. CONSTITUTION:When data to be printed are slightly more than the capacity of data memory 1, the editing of said is performed in the timing of data input and, when the data corresponding to one line are inputted to the data memory, printing operation is started at this point of time. The data printed by the printing operation are erased from the data memory and the remaining data are inputted to the part emptied by erasion. Subsequently, printing is successively performed as shown by the drawing (e) to finish the printing of one line.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ドツトの集合で文字や図形を印字するプリン
タの印字方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a printing method for a printer that prints characters and figures using a collection of dots.

従来の技術 一般に、この種のプリンタにおいて1価格的な制約から
データメモリーの容量は必要最小限にしているものであ
るが、通常の文字の印字時には充分な容量のものが用い
られている。しかしながら、グラフィックプリントを行
う場合にはデータ量が多くてデータメモリーの容量が不
足するものである。
BACKGROUND OF THE INVENTION Generally, in this type of printer, the capacity of the data memory is kept to the minimum required due to price constraints, but a memory with sufficient capacity is used when printing ordinary characters. However, when performing graphic printing, the amount of data is large and the data memory capacity is insufficient.

発明が解決しようとする問題点 例えば、データメモリーが3にバイトで構成されている
ものとし、グラフィックプリントのモードが144 (
H)X160 (V)=・縦方向1インチ当たり144
ドツトで、水平方向1インチ当たり160ドツト・・・
の場合、1ラインが8インチであるとすると、必要な容
量は、 160X3X8=3840バイト である。但し、1ライン3バイトであるものとする。そ
のため、1ライン分のデータをストアしてプリントアウ
トすることは不可能である。
Problems to be Solved by the Invention For example, assume that the data memory consists of 3 bytes, and the graphic print mode is 144 (
H)X160 (V) = 144 per inch in vertical direction
160 dots per inch horizontally...
In this case, if one line is 8 inches, the required capacity is 160X3X8=3840 bytes. However, it is assumed that one line is 3 bytes. Therefore, it is impossible to store and print out one line of data.

このような条件において、1ライン分を2回に分けてプ
リントする方法が考えられるが、サーマルプリンタで実
際にプリントしてみると、1回目と2回目との境目が明
らかになり、印字品質が低下してしまうものである。こ
れはサーマルプリンタの場合に、蓄熱により印字濃度が
異なり、又。
Under these conditions, it is possible to print one line in two passes, but when you actually print with a thermal printer, the boundary between the first and second passes becomes clear, and the print quality deteriorates. It will decline. This is because in the case of a thermal printer, the print density differs due to heat accumulation.

多少のダンピングの影響もあるためと考えられる。This is thought to be due to the influence of some damping.

問題点を解決するための手段 データメモリー1へのデータ入力を、そのデータメモリ
ー1の容量が一杯になったときにプリント動作を開始さ
せ、プリント動作の継続中にデータメモリー1のプリン
トにより空いた部分に残りのデータを入力するようにし
てデータメモリー1をその容量以上に使用し得るように
したものである。
Means to Solve the Problem Input data into data memory 1 by starting a print operation when the capacity of data memory 1 becomes full, and while the print operation continues, by printing data memory 1, the data becomes free. By inputting the remaining data into the section, the data memory 1 can be used beyond its capacity.

作用 いま、プリントすべきデータがデータメモリー1の容量
よりも少し多いものとする。第1図及び第2図において
、データ入力のタイミングでその編集を行い、1行分の
データがデータメモリー1に入力されると(第2図aと
第2図すの状態)。
Operation Now, assume that the data to be printed is slightly larger than the capacity of the data memory 1. In FIGS. 1 and 2, editing is performed at the timing of data input, and when one row of data is input into the data memory 1 (states shown in FIGS. 2a and 2).

この時点でプリント動作が開始される。そして、第2図
C及び第2図dに示すようにプリント動作でプリントさ
れたデータはデータメモリー1から消去され、この消去
により空いた部分に残りのデータが入力される。ついで
、第2図eに示すように順次プリントされて1行分の印
字が終了する。
At this point, the printing operation begins. Then, as shown in FIGS. 2C and 2D, the data printed in the print operation is erased from the data memory 1, and the remaining data is input into the space vacated by this erasure. Then, as shown in FIG. 2e, printing is performed one after another, and printing for one line is completed.

実施例 まず、ワンチップマイクロコンピュータよりなるCPU
2が設けられ、このCPU2には図示しないホストに接
続されるインターフェース3、リボン検出スイッチ4、
ラインフィードスイッチ(LF)5、オンラインスイッ
チ6、カラーリボンスイッチ7、ペーパーエンドスイッ
チ8がそれぞれ接続されている。また、前記CPU2に
は。
Example First, a CPU consisting of a one-chip microcomputer
2, the CPU 2 is provided with an interface 3 connected to a host (not shown), a ribbon detection switch 4,
A line feed switch (LF) 5, an online switch 6, a color ribbon switch 7, and a paper end switch 8 are connected, respectively. Further, the CPU 2 has the following information.

ROM9.RAMl0が接続されてワンチップマイクロ
コンピュータが形成されている。このROM9の中には
、高解像印字用キャラクタジェネレータと低解像印字用
キャラクタジェネレータとが含まれている。さらに、前
記RAMl0には、前記データメモリー1が設けられて
いる。
ROM9. RAM10 is connected to form a one-chip microcomputer. This ROM 9 includes a character generator for high resolution printing and a character generator for low resolution printing. Furthermore, the data memory 1 is provided in the RAM10.

ついで、前記CPU2には、キャリヤモータドライバー
11、フィードモータドライバー12、サーマルヘッド
ドライバー13.サーマルヘッド用ソレノイドドライバ
ー14がそれぞれ接続されている。そして、前記キャリ
ヤモータドライバー13にはキャリヤモータ15が接続
されており、前記フィードモータドライバー12にはフ
ィードモータ16が接続されている。また、前記サーマ
ルヘッド用ソレノイドドライバー14にはサーマルヘッ
ド用ドライバー17が接続されている。
Next, the CPU 2 includes a carrier motor driver 11, a feed motor driver 12, a thermal head driver 13 . A thermal head solenoid driver 14 is connected to each. A carrier motor 15 is connected to the carrier motor driver 13, and a feed motor 16 is connected to the feed motor driver 12. Further, a thermal head driver 17 is connected to the thermal head solenoid driver 14 .

このような構成において、その動作を説明する。The operation of this configuration will be explained.

まず、第4図にメインフローを説明するが、スタート時
に初期設定をし、印字ヘッドのホームポジションの検知
をする。そして、ONラインか、OFFラインかにより
その動作が相違する。
First, the main flow will be explained with reference to FIG. 4. At the start, initial settings are made and the home position of the print head is detected. The operation differs depending on whether it is an ON line or an OFF line.

まず、ONラインの場合には、ペーパーエンドでない限
り受信データがあるかどうかを見てその受信データがあ
るとデータ編集をしてデータメモリー1に入力する。そ
して、後述の条件のもとにプリントを開始してプリント
設定がなされ、キャリヤ系の割込が開始されてリターン
する。
First, in the case of an ON line, it is checked whether there is received data unless it is a paper end, and if the received data is found, the data is edited and input into the data memory 1. Then, printing is started under conditions to be described later, print settings are made, a carrier system interrupt is started, and the process returns.

また、OFFラインの場合には、ラインフィードスイッ
チ5が押されていればラインフィード処理を行い、つい
で、再処理キーのチェックとペーパーエンドのチェック
とを順次行う。
Further, in the case of an OFF line, if the line feed switch 5 is pressed, line feed processing is performed, and then a reprocessing key check and a paper end check are sequentially performed.

しかして、データ編集は第5図に示すように行ねれる。Thus, data editing is performed as shown in FIG.

いま、データメモリー1の容量が不足するのは、グラフ
ィックプリントの場合であるので、144X160モー
ド中、すなわち、グラフィックモードであるとする。ま
た、前述のようにデータメモリー1の容量は3にバイト
であるものとする。データが3にバイト未満であれば、
通常の処理で良く、3に以上であると[PRINT)フ
ラグをセットし、PREND(プリントエンドマーク)
を+1する。すなわち、PRENDが3000になると
1に戻る。そして、PRENDに続いて新たなデータを
入力し得る状態にして並列フラグを立てる。この時、タ
イミング的にはプリント動作が開始されている。このプ
リント動作と同時に残されたデータが入力されるが、こ
れはデータメモリー1にプリントアウトされたエリアが
あることを条件に入力される。そして、これからプリン
トアウトするデータがあれば前述の状態と同様にプリン
ト動作をし、プリントアウトするデータがなければ、並
列フラグをクリアしてリターンする。
Since the capacity of the data memory 1 is insufficient in the case of graphic printing, it is assumed that the data memory 1 is in the 144×160 mode, that is, in the graphic mode. Further, as mentioned above, it is assumed that the capacity of the data memory 1 is 3 bytes. If the data is less than 3 bytes,
Normal processing is fine, and if it is 3 or more, set the [PRINT] flag and print PREND (print end mark).
Add +1 to That is, when PREND reaches 3000, it returns to 1. Then, following PREND, a parallel flag is set so that new data can be input. At this time, the printing operation has started in terms of timing. At the same time as this printing operation, the remaining data is inputted, but this is inputted on the condition that there is a printed out area in the data memory 1. Then, if there is data to be printed out, the printing operation is performed in the same manner as in the above-mentioned state, and if there is no data to be printed out, the parallel flag is cleared and the process returns.

ついで、第6図に示すものは、印字工程でありデータメ
モリー1からデータを取りだして左端より印字ヘッドに
1ライン分を出力する。そして、待機し、印字ヘッドへ
の出力を停止し、全印字が完了するまで1ライン分の出
方を繰り返して行う。
Next, what is shown in FIG. 6 is a printing process, in which data is taken out from the data memory 1 and one line is output to the print head from the left end. Then, the printer waits, stops outputting to the print head, and repeats output for one line until all printing is completed.

つぎに、第7図に示すものは、キャリヤ系の割込であり
、印字ヘッドをオンさせてがらキャリヤモータ17をス
テップ動作させ、スローアップが終了すると印字系を起
動させる。そして、定速移動を終了するまでキャリヤモ
ータ17をステップ動作させ、その定速移動が終了する
とスローダウンを開始し、そのスローダウンが終了する
とヘッドオフしてホームポジションにリターンする。
Next, what is shown in FIG. 7 is an interruption of the carrier system, in which the carrier motor 17 is operated in steps while the print head is turned on, and when the slow-up is completed, the print system is activated. Then, the carrier motor 17 is operated in steps until the constant speed movement is finished, and when the constant speed movement is finished, slowdown is started, and when the slowdown is finished, the head is turned off and returned to the home position.

発明の効果 ゛ 本発明は、上述のようにデータメモリーにその容量一杯
のデータが収納された時に、プリント動作を開始させ、
同時にプリントで空いた部分に残されたデータが入力さ
れるようにしたので、データメモリーが1ライン分のデ
ータを収納することができない容量のものであっても連
続的なプリント動作を行わせることができるものである
Effects of the Invention The present invention starts the printing operation when the data memory is full of data as described above,
At the same time, the data left in the vacant area by printing is inputted, so that continuous printing can be performed even if the data memory has a capacity that cannot store one line's worth of data. It is something that can be done.

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

図面は本発明の一実施例を示すもので、第1図はデータ
入力とプリント動作との関係を示すタイミングチャート
、第2図はデータメモリーへのデータ収納状態を示す平
面図、第3図はブロック図第4図ないし第7図はフロー
チャートである。 l・・・データメモリー 出 願 人   東京電気株式会社 :パ1
The drawings show one embodiment of the present invention; FIG. 1 is a timing chart showing the relationship between data input and printing operations, FIG. 2 is a plan view showing the state of data storage in the data memory, and FIG. The block diagrams of FIGS. 4 to 7 are flowcharts. l...Data memory applicant Tokyo Electric Co., Ltd.: Pa1

Claims (1)

【特許請求の範囲】[Claims] 一定容量のデータメモリーにその容量一杯のデータが収
納されたことを条件にしてプリント動作を開始させ、こ
のプリント動作でプリント終了したデータを前記データ
メモリーから消去し、この消去により空いた部分に残り
のデータを入力してプリント動作を継続するようにした
ことを特徴とするプリンタの印字方法。
The printing operation is started on the condition that the data memory of a certain capacity has been stored to its full capacity, and the data that has been printed by this printing operation is erased from the data memory, and the data remaining in the empty space due to this erasing is A printing method for a printer, characterized in that the printing operation is continued by inputting data.
JP59186956A 1984-09-06 1984-09-06 Printing method of printer Pending JPS6164470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59186956A JPS6164470A (en) 1984-09-06 1984-09-06 Printing method of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59186956A JPS6164470A (en) 1984-09-06 1984-09-06 Printing method of printer

Publications (1)

Publication Number Publication Date
JPS6164470A true JPS6164470A (en) 1986-04-02

Family

ID=16197665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59186956A Pending JPS6164470A (en) 1984-09-06 1984-09-06 Printing method of printer

Country Status (1)

Country Link
JP (1) JPS6164470A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63145036A (en) * 1986-12-09 1988-06-17 Tokyo Electric Co Ltd Printing method in label printer
JPH02175167A (en) * 1988-12-27 1990-07-06 Matsushita Electric Ind Co Ltd Printer controller
JPH02175168A (en) * 1988-12-27 1990-07-06 Matsushita Electric Ind Co Ltd Printer controller
US5765477A (en) * 1995-10-31 1998-06-16 Riso Kagaku Corporation Method and device for perforating framed stencil sheet with color information mark

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63145036A (en) * 1986-12-09 1988-06-17 Tokyo Electric Co Ltd Printing method in label printer
JPH02175167A (en) * 1988-12-27 1990-07-06 Matsushita Electric Ind Co Ltd Printer controller
JPH02175168A (en) * 1988-12-27 1990-07-06 Matsushita Electric Ind Co Ltd Printer controller
US5765477A (en) * 1995-10-31 1998-06-16 Riso Kagaku Corporation Method and device for perforating framed stencil sheet with color information mark

Similar Documents

Publication Publication Date Title
EP0416508B1 (en) Printer with improved image printing function
JPH0578427B2 (en)
US4531133A (en) Thermal recording device
JPS6144074B2 (en)
JPS6164470A (en) Printing method of printer
EP0435190A2 (en) Dot printer
JPH0359835B2 (en)
JP3296088B2 (en) Thermal printing device
JPS6078770A (en) Driving method of line thermal head
JPS59201870A (en) Printer
JPS5941051A (en) Character pattern generator
JP2989827B2 (en) Document processing device
JPS5941276A (en) Dot-matrix type serial printer
EP0143995A2 (en) Dot-matrix printer
JPH0312332B2 (en)
JPH0211357A (en) Printing apparatus
JPH0357484Y2 (en)
JPS638912B2 (en)
JPS60203476A (en) Recorder
JP2514716B2 (en) Recording device
JP2002137460A (en) Print system and storage control method
JPS6243727A (en) Printer
JPH0120990B2 (en)
JPS62162578A (en) Printing system
JPH0671815B2 (en) Print ribbon winding control method for printer