JPH04294182A - Printer - Google Patents

Printer

Info

Publication number
JPH04294182A
JPH04294182A JP8351091A JP8351091A JPH04294182A JP H04294182 A JPH04294182 A JP H04294182A JP 8351091 A JP8351091 A JP 8351091A JP 8351091 A JP8351091 A JP 8351091A JP H04294182 A JPH04294182 A JP H04294182A
Authority
JP
Japan
Prior art keywords
printing
line
data
time
transmission
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
JP8351091A
Other languages
Japanese (ja)
Inventor
Naoki Aisaka
直樹 逢坂
Hiroshi Tanihata
博司 谷畑
Shinya Tokida
常田 真也
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.)
Shimadzu Corp
Original Assignee
Shimadzu Corp
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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP8351091A priority Critical patent/JPH04294182A/en
Publication of JPH04294182A publication Critical patent/JPH04294182A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To provide a printer wherein printing can be performed at a constant speed regardless of speed for transmitting data and without print irregularity, which can be obtained at low cost. CONSTITUTION:A printer comprises an image memory for storing several lines of receiving data for 1 page to be printed, a transmission average time calculating means for measuring input transmission time for 1 line of the receiving data and calculating transmission average time for 1 line based on the input transmission time of a plurality of lines, and a print control means for carrying out printing with the average transmission time calculated by the transmission average time calculating means as a printing speed for 1 line.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プリンタに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to printers.

【0002】0002

【従来の技術】一般に、プリンタはページメモリを備え
るものと、備えていないものとに大別できる。ページメ
モリを備えたプリンタでは、印字すべきデータを受信す
ると、1頁分を一旦、ページメモリに記憶し、このメモ
リからデータを読み出して、等速印字する。また、ペー
ジメモリを持たないプリンタでは、印字すべきデータを
受信すると、待ち時間なく直ちに印字を実行するもので
ある。
2. Description of the Related Art In general, printers can be roughly divided into those equipped with page memory and those without. When a printer equipped with a page memory receives data to be printed, it temporarily stores one page in the page memory, reads the data from this memory, and prints the data at a constant speed. Further, in a printer without a page memory, when data to be printed is received, printing is immediately executed without waiting time.

【0003】0003

【発明が解決しようとする課題】上記、従来のページメ
モリを持たないプリンタでは、データの伝送速度が遅い
ときは低速で印字し、伝送速度が速いときは機構的に対
応できる限り高速で印字を実行するようになっている。 従って、印字速度は入力(伝送)されるデータの速度に
左右される。このため、印字速度の変化により印字品質
にムラができる不利がある。一方、ページメモリを備え
たプリンタでは、データの伝送速度に関係なく、等速で
印字されるため上記不利がない反面、大量の記憶容量を
もつ(少なくとも1頁分の記憶容量をもつ)メモリが必
要となる結果、コスト高となる等の不利があった。
[Problems to be Solved by the Invention] The above-mentioned conventional printers without page memory print at a low speed when the data transmission speed is slow, and print at a high speed that is mechanically compatible when the data transmission speed is high. It is set to run. Therefore, the printing speed depends on the speed of input (transmitted) data. For this reason, there is a disadvantage that print quality may become uneven due to changes in printing speed. On the other hand, printers equipped with page memory do not have the above disadvantages because they print at a constant speed regardless of the data transmission speed, but they do not have the disadvantage of having a large amount of memory (capacity for at least one page). As a result, there were disadvantages such as high cost.

【0004】この発明では、以上のような課題を解消さ
せ、データの伝送速度に関係なく等速で印字でき、且つ
印字ムラのない安価なプリンタを提供することを目的と
する。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and provide an inexpensive printer that can print at a constant speed regardless of the data transmission speed and is free from uneven printing.

【0005】[0005]

【課題を解決するための手段】この目的を達成させるた
めに、この発明では次のような構成としている。プリン
タは、印字すべき1頁分の数行の受信データを記憶する
イメージメモリと、受信データの1ライン分の入力伝送
時間を計測すると共に、複数ラインの入力伝送時間から
1ライン伝送の平均時間を算出する伝送平均時間算出手
段と、この伝送平均時間算出手段により算出された平均
伝送時間を1ラインの印字速度として印字を実行させる
印字制御手段とから成ることを特徴としている。
[Means for Solving the Problems] In order to achieve this object, the present invention has the following configuration. The printer has an image memory that stores several lines of received data for one page to be printed, measures the input transmission time for one line of received data, and calculates the average time of one line transmission from the input transmission time of multiple lines. The present invention is characterized by comprising a transmission average time calculation means for calculating the average transmission time, and a printing control means for executing printing by setting the average transmission time calculated by the transmission average time calculation means to the printing speed of one line.

【0006】このような構成を有するプリンタでは、イ
メージメモリは例えばNライン分(1頁分の数十乃至数
百分の1程度)の記憶容量をもつ小容量のメモリが使用
される。データ(例えばイメージデータ)を受信すると
、このデータをイメージメモリに記憶する。1ラインは
、数十乃至数百のデータよりなる。そして、イメージメ
モリに記憶した1ライン分のデータ伝送時間を記憶する
。所定数ラインのデータ伝送時間が得られると、これら
の伝送時間の総和を所定数で割り、1ラインの平均伝送
時間を算出する。また、この平均伝送時間は、順次、受
信するイメージデータの1ライン分の伝送時間を加味し
て、平均伝送時間が更新され、且つこの最新の平均伝送
時間に基づいて1ラインの印字速度も更新される。そし
て、イメージメモリに記憶された受信データが、印字開
始の所定数ラインに到達した時、この平均伝送時間を1
ラインの印字速度に設定して印字を実行する。
[0006] In a printer having such a configuration, a small-capacity memory having a storage capacity of, for example, N lines (approximately 1/several tens to several hundredths of one page) is used as the image memory. When data (eg, image data) is received, this data is stored in an image memory. One line consists of several tens to hundreds of pieces of data. Then, the data transmission time for one line stored in the image memory is stored. Once the data transmission time for a predetermined number of lines is obtained, the sum of these transmission times is divided by a predetermined number to calculate the average transmission time for one line. In addition, this average transmission time is updated sequentially by taking into account the transmission time for one line of received image data, and the printing speed for one line is also updated based on this latest average transmission time. be done. Then, when the received data stored in the image memory reaches a predetermined number of lines to start printing, the average transmission time is 1
Execute printing by setting the line printing speed.

【0007】かくして、印字データの伝送時間と印字時
間とを対応させているから、つまり伝送速度に応じて1
ライン毎の印字時間(速度)を設定するから、等速印字
が可能となり印字ムラが解消できる許かりでなく、イメ
ージメモリはページメモリに比較して小容量のメモリで
あり、製品コストアップを解消できる。
[0007] In this way, since the transmission time of print data and the printing time are made to correspond to each other, that is, depending on the transmission speed,
Since the printing time (speed) is set for each line, uniform speed printing is possible and uneven printing can be eliminated. Image memory has a smaller capacity than page memory, which eliminates increased product costs. can.

【0008】[0008]

【実施例】図3は、この発明に係るプリンタの具体的な
回路構成を示すブロック図である。
Embodiment FIG. 3 is a block diagram showing a specific circuit configuration of a printer according to the present invention.

【0009】印字すべきイメージデータが、I/Oポー
ト5を介してイメージメモリ2に記憶される。ROM(
リードオンリメモリ)3は、後述するCPU(セントラ
ルプロセッシングユニット)1の制御プログラムを記憶
しており、RAM(ランダムアクセスメモリ)4は各種
演算の過程で各種データをやりとりするためのメモリで
ある。また、制御回路6はCPU1の制御のもとに、印
字を実行するサーマルヘッド7およびモータ(ヘッド送
りおよび紙おくり用モータ)8の駆動を制御する。上記
イメージメモリ2は、図4で示すように実施例では、N
ライン分、つまり1頁分の数十ないし数百分の1程度の
データを記憶する小容量のメモリが使用される。前記C
PU1は、受信するイメージデータの1ライン分(1ラ
インは数十乃至数百のデータより成る)の入力伝送時間
(t)を計測する機能、及び複数ラインの伝送時間の総
和から1ライン伝送の平均時間(T)を算出する伝送平
均時間算出機能を有する。また、イメージメモリ2が所
定ライン数(Mライン)を記憶したか否かを判断し、M
ライン数に到達した時点で、Mライン数の平均伝送時間
(T)を1ラインの印字速度として印字を実行させる印
字速度設定機能とを有している。実施例では、Mライン
はNと等しいか小さい数に設定してある。つまり、(N
ーM)ライン分のイメージメモリは、データ伝送時間の
バラツキを吸収するためのものである。
Image data to be printed is stored in the image memory 2 via the I/O port 5. ROM(
A read-only memory (read-only memory) 3 stores a control program for a CPU (central processing unit) 1, which will be described later, and a RAM (random access memory) 4 is a memory for exchanging various data in the course of various calculations. Further, the control circuit 6 controls the driving of the thermal head 7 that performs printing and the motor (head feeding and paper feeding motor) 8 under the control of the CPU 1. As shown in FIG. 4, the image memory 2 has N
A small-capacity memory is used that stores data for a line, that is, several tens to several hundredths of one page. Said C
PU1 has the function of measuring the input transmission time (t) of one line of received image data (one line consists of several tens to hundreds of data), and the function of measuring the input transmission time (t) of one line of image data from the sum of the transmission times of multiple lines. It has a transmission average time calculation function that calculates the average time (T). Also, it is determined whether the image memory 2 has stored a predetermined number of lines (M lines), and M
It has a printing speed setting function that executes printing by setting the average transmission time (T) of the number of M lines to the printing speed of one line when the number of lines reaches the number of lines. In the embodiment, M lines are set to a number equal to or smaller than N. In other words, (N
-M) The line image memory is for absorbing variations in data transmission time.

【0010】図1は、実施例プリンタの具体的な処理動
作を示すフローチャートである。印字すべきデータ(イ
メージデータ)を受信すると〔ステップ(以下、STと
いう)1〕、ST2では受信したデータがイメージデー
タか否かを判定している。仮に、受信データが印字指令
以外の指令データであるとすると、このST2の判定が
NOとなり、ST11で指令に応じた処理が実行される
。いま、受信したデータがイメージデータ(印字すべき
データ)であると、ST2の判定がYESとなり、受信
データをイメージメモリ2に記憶する(ST3)。ST
4では、1ライン分のデータの記憶が終了したか否かを
判定している。1ライン分のデータの記憶が終了したと
すると、このST4の判定がYESとなる。上記ST2
でイメージデータであると判定された時に、同時にタイ
マが起動し、1ライン分の記憶時間、つまり、1ライン
分の伝送入力時間を計測する。従って、1ライン分のデ
ータの記憶が終了した時点で、1ライン分の伝送時間(
t)が得られ記憶する(ST5)。そして、1ラインの
伝送平均時間(T)が演算される(ST6)。この場合
、イメージデータを1回取り込んだだけであるから、(
t)が(T)とされる。そして、n(イメージデータを
取り込んだ回数を示すn)に1を加算する。nは、当初
「0」であるから、ここでnが「1」とされる(ST7
)。ST8では、nがM(所定ライン数)か否かを判定
している。従って、nがMとなるまで、つまりイメージ
メモリ2へのデータの記憶が、Mライン分となるまで繰
り返され、且つnが増えるごとにST6で平均伝送時間
(T)が演算される。イメージメモリ2にMライン分の
データが記憶されたとすると、例えば12ラインがイメ
ージメモリ2に記憶されたとすると(M=12、n=1
2)、この時点で12回のライン分の伝送時間の平均伝
送時間(T)がST6で演算されている。従って、ST
8がYESとなり、印字ルーチンが起動される(ST9
)と共に、nが「0」にセットされる(ST10)。 この時、平均伝送時間(T)に等しい時間が1ライン分
の印字速度に設定される。
FIG. 1 is a flowchart showing specific processing operations of the printer of the embodiment. When data to be printed (image data) is received [step (hereinafter referred to as ST) 1], in ST2 it is determined whether the received data is image data. Assuming that the received data is command data other than a print command, the determination in ST2 is NO, and in ST11, processing according to the command is executed. If the received data is image data (data to be printed), the determination in ST2 is YES, and the received data is stored in the image memory 2 (ST3). ST
In step 4, it is determined whether or not storage of one line of data has been completed. Assuming that one line of data has been stored, the determination in ST4 is YES. Above ST2
When it is determined that the data is image data, a timer is activated at the same time and measures the storage time for one line, that is, the transmission input time for one line. Therefore, when one line of data has been stored, the transmission time for one line (
t) is obtained and stored (ST5). Then, the average transmission time (T) of one line is calculated (ST6). In this case, since the image data has only been imported once, (
t) is assumed to be (T). Then, 1 is added to n (n indicating the number of times image data has been captured). Since n is initially "0", n is now set to "1" (ST7
). In ST8, it is determined whether n is M (predetermined number of lines). Therefore, the storage of data in the image memory 2 is repeated until n becomes M, that is, until M lines are stored, and each time n increases, the average transmission time (T) is calculated in ST6. Suppose that M lines of data are stored in the image memory 2. For example, if 12 lines are stored in the image memory 2 (M=12, n=1).
2) At this point, the average transmission time (T) of the transmission times for 12 lines is calculated in ST6. Therefore, ST
8 becomes YES, and the printing routine is started (ST9
), and n is set to "0" (ST10). At this time, a time equal to the average transmission time (T) is set to the printing speed for one line.

【0011】図2は、印字ルーチンの具体的な処理動作
を示すフローチャートである。印字ルーチンが起動する
と、サーマルヘッド7及びモータ8の駆動が制御され、
印字処理を実行する(ST21)。1ライン分は、平均
伝送時間(T)に対応して印字され、1ライン分の印字
が終了すると、(T)時間待機する(ST22)。この
処理動作を繰り返し実行する。
FIG. 2 is a flowchart showing specific processing operations of the printing routine. When the printing routine starts, the driving of the thermal head 7 and motor 8 is controlled,
Print processing is executed (ST21). One line is printed corresponding to the average transmission time (T), and when printing for one line is completed, the printer waits for (T) time (ST22). This processing operation is executed repeatedly.

【0012】かくして、印字データの伝送時間と印字時
間とを対応させているから、つまり伝送速度に応じて1
ライン毎の印字時間(速度)を設定するから、等速印字
が可能となり印字ムラが解消できる許かりでなく、イメ
ージメモリはページメモリに比較して小容量のメモリで
あり、製品コストアップを解消できる。
[0012] In this way, since the transmission time of print data and the printing time are made to correspond to each other, that is, depending on the transmission speed,
Since the printing time (speed) is set for each line, uniform speed printing is possible and uneven printing can be eliminated. Image memory has a smaller capacity than page memory, which eliminates increased product costs. can.

【0013】尚、実施例では受信データはイメージデー
タである例を示したが、キャラクタコードであっても対
応できる。また、実施例ではパラレルヘッド式のプリン
タの例を示したが、シリアルヘッドを用いたプリンタで
あっても、ヘッドを等速に動かすことにより、印字品質
の向上を図ることができる。
[0013] In the embodiment, an example is shown in which the received data is image data, but character codes can also be used. Further, in the embodiment, an example of a parallel head type printer is shown, but even in a printer using a serial head, printing quality can be improved by moving the head at a constant speed.

【0014】[0014]

【発明の効果】この発明では、以上のように、印字すべ
き1頁分の数行の印字データを記憶するイメージメモリ
と、伝送される印字データの1ライン分の入力伝送時間
を計測すると共に、複数ラインの入力伝送時間から1ラ
イン伝送の平均時間を算出する伝送平均時間算出手段と
、この伝送平均時間算出手段により算出された平均伝送
時間を1ラインの印字速度として印字を実行させる印字
制御手段とを設けることとしたから、印字データの伝送
時間と印字時間とを対応させ、伝送速度に応じて1ライ
ン毎の印字時間(速度)を設定するから、等速印字が可
能となり印字ムラが解消できる許かりでなく、イメージ
メモリはページメモリに比較して小容量のメモリであり
、製品コストアップを解消できる等、発明目的を達成し
た優れた効果を有する。
Effects of the Invention As described above, the present invention includes an image memory that stores several lines of print data for one page to be printed, and an image memory that measures the input transmission time for one line of print data to be transmitted. , a transmission average time calculation means that calculates the average transmission time of one line from the input transmission time of a plurality of lines, and a printing control that executes printing by setting the average transmission time calculated by the transmission average time calculation means at the printing speed of one line. Since the transmission time of the print data and the printing time are made to correspond, and the printing time (speed) for each line is set according to the transmission speed, uniform speed printing is possible and printing unevenness is prevented. The image memory has a smaller capacity than the page memory, and has an excellent effect of achieving the purpose of the invention, such as eliminating the increase in product costs.

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

【図1】実施例プリンタの処理動作を示すフローチャー
トである。
FIG. 1 is a flowchart showing processing operations of an embodiment printer.

【図2】実施例プリンタの印字ルーチンを示すフローチ
ャートである。
FIG. 2 is a flowchart showing a printing routine of the embodiment printer.

【図3】実施例プリンタの回路構成を示すブロック図で
ある。
FIG. 3 is a block diagram showing the circuit configuration of the embodiment printer.

【図4】実施例プリンタのイメージメモリを示す説明図
である。
FIG. 4 is an explanatory diagram showing an image memory of the embodiment printer.

【符号の説明】[Explanation of symbols]

1    CPU 2    イメージメモリ 1 CPU 2 Image memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】印字すべき1頁分の数行の受信データを記
憶するイメージメモリと、受信データの1ライン分の入
力伝送時間を計測すると共に、複数ラインの入力伝送時
間から1ライン伝送の平均時間を算出する伝送平均時間
算出手段と、この伝送平均時間算出手段により算出され
た平均伝送時間を1ラインの印字速度として印字を実行
させる印字制御手段とから成るプリンタ。
1. An image memory that stores several lines of received data for one page to be printed, and an image memory that measures the input transmission time for one line of received data, and calculates the transmission time of one line from the input transmission time of multiple lines. A printer comprising a transmission average time calculation means for calculating an average time, and a print control means for executing printing by setting the average transmission time calculated by the transmission average time calculation means to the printing speed of one line.
JP8351091A 1991-03-22 1991-03-22 Printer Pending JPH04294182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8351091A JPH04294182A (en) 1991-03-22 1991-03-22 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8351091A JPH04294182A (en) 1991-03-22 1991-03-22 Printer

Publications (1)

Publication Number Publication Date
JPH04294182A true JPH04294182A (en) 1992-10-19

Family

ID=13804485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8351091A Pending JPH04294182A (en) 1991-03-22 1991-03-22 Printer

Country Status (1)

Country Link
JP (1) JPH04294182A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0616896A2 (en) * 1993-03-26 1994-09-28 Canon Kabushiki Kaisha Image recording apparatus
JP2011084044A (en) * 2009-10-19 2011-04-28 Noritsu Koki Co Ltd Printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0616896A2 (en) * 1993-03-26 1994-09-28 Canon Kabushiki Kaisha Image recording apparatus
EP0616896A3 (en) * 1993-03-26 1995-01-18 Canon Kk Image recording apparatus.
JP2011084044A (en) * 2009-10-19 2011-04-28 Noritsu Koki Co Ltd Printer

Similar Documents

Publication Publication Date Title
US6545766B1 (en) Printer having a print management device for interrupting print jobs during intermediate data generation
JPH04294182A (en) Printer
EP1107104B1 (en) Printing system with standby and/or sleep mode
JPS6159920B2 (en)
US5822522A (en) System for transferring data through a communication interface using control information in request data for controlling data receiving rates independent of the CPU
JP3017713B2 (en) Digital copying method
JPH08258365A (en) Image outputting apparatus, image outputting system, image outputting method and information processor
JP3083251B2 (en) Page printer
JP2780974B2 (en) Printer
JPH09109515A (en) Image forming device
JP3225096B2 (en) Image forming device
JP3460379B2 (en) Printing system
JP2907697B2 (en) Printer control device
JP2000225734A (en) Printer
JPH111048A (en) Printing control method and printing apparatus
JP2003140863A (en) Printer device and record control method
JP2785813B2 (en) Data output device
JPH08244318A (en) Printer
JPH10114127A (en) Printer
JP3027849B2 (en) Printing device
JP3596974B2 (en) Image forming device
JPH05221070A (en) Serial printer
JP3045077B2 (en) Printing device
CN100546834C (en) Thermal printer and control method thereof
JPH03164927A (en) Printer job display system