JP2003231332A - Printer - Google Patents

Printer

Info

Publication number
JP2003231332A
JP2003231332A JP2002031453A JP2002031453A JP2003231332A JP 2003231332 A JP2003231332 A JP 2003231332A JP 2002031453 A JP2002031453 A JP 2002031453A JP 2002031453 A JP2002031453 A JP 2002031453A JP 2003231332 A JP2003231332 A JP 2003231332A
Authority
JP
Japan
Prior art keywords
print
data
printer
printing
buffer memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002031453A
Other languages
Japanese (ja)
Inventor
Yuji Kawase
裕司 川瀬
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002031453A priority Critical patent/JP2003231332A/en
Publication of JP2003231332A publication Critical patent/JP2003231332A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a printer of such a system as not having a page mode but printing print data being transferred from a host sequentially in which uneven print due to temporary print stop in the way of page print is prevented without increasing the constitutional scale of the printer. <P>SOLUTION: Print speed is decreased when the volume of not yet printed data being left in a buffer memory 12 under print waiting state is decreased. Alternatively, print start is delayed by a set time when print data in a print stop prohibiting section is printed. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は逐次印字方式のプ
リンタに関し、とくに、ページ印刷途中での一時的な印
字停止による印字ムラの防止に有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer of a sequential printing system, and more particularly to a technique effective in preventing uneven printing due to temporary stoppage of printing during page printing.

【0002】[0002]

【従来の技術】ページモードを有するプリンタでは大容
量のページメモリを使用して印字データをページ単位で
蓄積し、ホストコンピュータ(以下、ホスト)から転送
された印字データが1ページ分揃ってから印字を開始す
る。この方式のプリンタでは、印字データの転送が遅延
あるいは一時中断しても、ページ印刷途中での印字停止
がなく、これによってページ内で印字ムラを防ぐことが
できる。
2. Description of the Related Art A printer having a page mode uses a large-capacity page memory to store print data page by page, and prints the print data transferred from a host computer (hereinafter referred to as a host) for one page. To start. In this type of printer, even if the transfer of print data is delayed or temporarily interrupted, there is no stoppage of printing in the middle of printing a page, and thus uneven printing can be prevented within the page.

【0003】一方、たとえばPOS端末に装備されてい
るような小規模プリンタでは、上記ページメモリを使用
せず、ホストから転送されてくる印字データをライン単
位で逐次印字する方式を採っている。この方式のプリン
タは大容量のページメモリが不要なので小規模に構成で
きる。ページメモリが不要だと、プリンタ制御システム
のメモリ負荷を軽減でき、その分、プリンタ内でのデー
タ処理能力いわゆるスループットを高めることができ
る。また、ホストから通信回線等を介して印字データが
配信されたときに、プリンタ側にて印字データが1ペー
ジ分揃うのを待たずに印字を開始できるので、データ配
信から印字開始までの待ち時間を短くできるという利点
もある。印字開始が早ければ、ユーザはその印字開始に
よってホストからの応答(レスポンス)を早く確認する
ことができる。
On the other hand, a small-scale printer, such as a POS terminal, does not use the page memory but employs a method of sequentially printing the print data transferred from the host line by line. This type of printer does not require a large-capacity page memory and can be constructed in a small scale. If the page memory is unnecessary, the memory load of the printer control system can be reduced, and the so-called throughput of data processing in the printer can be increased accordingly. Also, when print data is delivered from the host via a communication line, etc., the printer can start printing without waiting for the print data to be completed for one page, so the waiting time from data delivery to the start of printing There is also an advantage that can be shortened. If the printing starts early, the user can quickly confirm the response from the host by starting the printing.

【0004】[0004]

【発明が解決しようとする課題】上述した逐次印字方式
のプリンタでは、通信状態等によってホストからのデー
タ転送が円滑に行なわれなかったり、あるいは複雑な文
字装飾などによってプリンタ側の印字データ処理に遅れ
が生じたりすると、印字に必要なデータ(ラインデー
タ)が揃うまで印字動作が一時的に停止することがあ
る。この印字停止がページ印刷途中で生じると、その停
止の前後で印字ピッチ(ライン間隔)が乱れたり、印字
濃度が微妙に変化したりして、ページ内に印字ムラが生
じる。この印字ムラを防止するためには前述したページ
モードの機能を持たせれば良いが、そのためには大容量
のページメモリが必要になって、プリンタの構成が大規
模化してしまうとともに、プリンタ制御システムのメモ
リ負荷が重くなってスループットが低下してしまい、さ
らに、データ配信から印字開始までの待ち時間が長くな
ってしまうなどの問題が生じる。
In the above-described printer of the sequential printing system, the data transfer from the host is not smoothly performed due to the communication state, or the print data processing on the printer side is delayed due to complicated character decoration. In some cases, the printing operation may be temporarily stopped until the data (line data) necessary for printing is prepared. If the print stop occurs during page printing, the print pitch (line interval) is disturbed before and after the stop, and the print density is slightly changed, resulting in print unevenness in the page. In order to prevent the print unevenness, the page mode function described above may be provided, but this requires a large-capacity page memory, resulting in a large-scale printer configuration and a printer control system. There is a problem that the memory load becomes heavy, the throughput is lowered, and the waiting time from the data distribution to the start of printing becomes long.

【0005】この発明は以上のような問題に鑑みてなさ
れたもので、その目的は、ページモードを持たない逐次
印字方式のプリンタにおいて、その構成規模を大きくす
ることなく、ページ印刷途中での一時的な印字停止によ
る印字ムラを効果的に防止できるようにすることにあ
る。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a temporary printing method in the middle of page printing without increasing the configuration scale in a sequential printing type printer having no page mode. Another object is to effectively prevent uneven printing due to the temporary stop of printing.

【0006】[0006]

【課題を解決するための手段】本発明による第1の手段
では、ページモードを持たず、ホストから転送されてく
る印字データを逐次印字する方式のプリンタにおいて、
ホストから転送されて印字されるまでのデータを一時的
に蓄積するバッファメモリと、このバッファメモリに印
字待ち状態で残されている未印字データ量が少なくなっ
たときに印字速度を遅くする印字速度制御手段を備え
る。これにより、プリンタの構成規模を大きくすること
なく、ページ印刷途中での一時的な印字停止による印字
ムラを効果的に防止することができる。
According to a first means of the present invention, in a printer of a system which does not have a page mode and sequentially prints print data transferred from a host,
A buffer memory that temporarily stores the data that is transferred from the host and is printed, and a print speed that slows the print speed when the amount of unprinted data remaining in the print wait state in this buffer memory decreases. A control means is provided. As a result, it is possible to effectively prevent print unevenness due to a temporary print stop during page printing without increasing the printer configuration scale.

【0007】上記第1の手段において、印字速度制御手
段は、未印字データ量が所定以下のときにその未印字デ
ータ量に応じて印字速度を低下させるように構成したも
のでよい。印字速度の制御は、印字用のイメージデータ
を一時的に蓄積するイメージバッファメモリの未印字デ
ータ量に基づいて行うようにしてもよい。印字速度制御
値の変化量を制限する手段を備えれば、印字速度の急変
による印字ムラも防止できるようになる。
In the first means, the printing speed control means may be configured to reduce the printing speed according to the unprinted data amount when the unprinted data amount is less than a predetermined value. The control of the printing speed may be performed based on the amount of unprinted data in the image buffer memory that temporarily stores the image data for printing. If a means for limiting the amount of change in the printing speed control value is provided, it is possible to prevent uneven printing due to a sudden change in the printing speed.

【0008】本発明の第2の手段では、上述した逐次印
字方式のプリンタにおいて、ホストから転送されて印字
されるまでのデータを一時的に蓄積するバッファメモリ
と、印字停止禁止区間の印字データが印字されるとき
に、その区間の印字開始を設定時間だけ遅延させる制御
手段を備えることにより、上記印字停止禁止区間内での
印字停止を回避させる。これにより、必要最小限のバッ
ファメモリ容量でもって、上記印字停止禁止区間での印
字ムラを防止することができる。
According to the second means of the present invention, in the printer of the above-mentioned sequential printing system, the buffer memory for temporarily storing the data transferred from the host to the printing and the print data in the print stop prohibited section are provided. When printing is performed, the control means for delaying the start of printing in the section by the set time is provided to prevent the printing from being stopped in the printing stop prohibited section. As a result, it is possible to prevent the print unevenness in the print stop prohibition section with the minimum required buffer memory capacity.

【0009】上記第2の手段において、印字停止禁止区
間はホストから配信される印字停止禁止コードに基づい
て判定させることができる。上記第2の手段は、たとえ
ば次の(1)〜(3)で特定される構成によって実現す
ることができる。 (1)プリンタ制御システムで使用するシステムメモリ
の一部を、転送データを一時的に蓄積するためのバッフ
ァメモリに割り当てる。 (2)印字停止禁止区間内における転送データ量推移が
印字データ量推移を常に上回るための必要最小限の印字
開始遅延時間を設定する。 (3)上記印字開始遅延時間の間に転送されてくるデー
タを一時蓄積するのに必要なだけのバッファメモリ容量
を上記システムメモリから割り当てる。
In the second means, the print stop prohibition section can be determined based on the print stop prohibition code distributed from the host. The second means can be realized by, for example, the configuration specified by the following (1) to (3). (1) A part of the system memory used in the printer control system is allocated to a buffer memory for temporarily storing transfer data. (2) The minimum required print start delay time is set so that the transfer data amount transition in the print stop prohibited section always exceeds the print data amount transition. (3) The buffer memory capacity necessary for temporarily storing the data transferred during the print start delay time is allocated from the system memory.

【0010】上記第2の手段において、印字速度を一定
に設定すれば、プリンタの構成をさらに簡略化できる。
In the second means, if the printing speed is set constant, the printer structure can be further simplified.

【0011】[0011]

【発明の実施の形態】図1は、本発明によるプリンタの
第1実施例を機能ブロック図で示す。同図に示すプリン
タの主要部は、通信I/F(インターフェイス)10、
受信バッファメモリ12、イメージ変換部14、イメー
ジバッファメモリ16、印字部18、データ量計測部2
0、および印字速度制御部22等によって構成される。
1 is a functional block diagram showing a first embodiment of a printer according to the present invention. The main part of the printer shown in the figure is a communication I / F (interface) 10,
Reception buffer memory 12, image conversion unit 14, image buffer memory 16, printing unit 18, data amount measuring unit 2
0, and the print speed control unit 22 and the like.

【0012】同図において、通信I/F10は、ホスト
から公衆通信網および/またはLAN等の通信回線を介
して配信される印字データを受信する。受信した印字デ
ータは受信バッファメモリ12に一時的に蓄積する。こ
のときの印字データは印字用のイメージデータではな
く、そのイメージデータを生成するための情報を所定フ
ォーマットに従って記述したコード(符号化)データで
ある。
In FIG. 1, a communication I / F 10 receives print data distributed from a host via a public communication network and / or a communication line such as a LAN. The received print data is temporarily stored in the reception buffer memory 12. The print data at this time is not image data for printing, but is code (encoding) data in which information for generating the image data is described according to a predetermined format.

【0013】受信バッファメモリ12に蓄積された印字
データは順次読み出されてイメージ変換部14へ転送さ
れる。イメージ変換部14は、印字データをコード解析
して印字用のイメージデータを生成する。生成したイメ
ージデータはイメージバッファメモリ16でいったん保
持された後、印字部18にてライン単位で印字される。
印字部18は、記録紙を主走査方向(ラインと直交方
向)にピッチ送りしながら、イメージバッファメモリ1
6を介して与えられるイメージデータを副走査方向(ラ
イン方向)に印字する。印字は1ラインまたは複数ライ
ンずつ行われる。
The print data accumulated in the reception buffer memory 12 are sequentially read out and transferred to the image conversion unit 14. The image conversion unit 14 performs code analysis on the print data to generate print image data. The generated image data is once held in the image buffer memory 16 and then printed by the printing unit 18 line by line.
The printing unit 18 feeds the recording paper in the main scanning direction (the direction orthogonal to the line) while pitching the image buffer memory 1.
The image data given via 6 is printed in the sub-scanning direction (line direction). Printing is performed one line or a plurality of lines at a time.

【0014】データ量計測部20は、上記受信バッファ
メモリ12に印字待ちの状態で残されている印字データ
の量すなわち印字待ちデータ残量(未印字データ量)を
計測する。印字速度制御部22は、その印字待ちデータ
残量に応じて印字部18での印字速度(ピッチ速度)を
可変制御する。データ量計測部20および印字速度制御
部22はいずれも、プリンタ制御システムの中核をなす
マイクロコンピュータを用いてソフトウェア的に構成す
ることができる。
The data amount measuring unit 20 measures the amount of print data remaining in the reception buffer memory 12 in the print waiting state, that is, the print waiting data remaining amount (unprinted data amount). The print speed control unit 22 variably controls the print speed (pitch speed) in the print unit 18 according to the remaining amount of print waiting data. Both the data amount measuring unit 20 and the printing speed control unit 22 can be configured by software using a microcomputer that is the core of the printer control system.

【0015】図2は上記印字待ちデータ残量に対する印
字速度の制御プログラム例をグラフ化して示す。同図に
示すように、上述したプリンタでは、印字待ちデータ残
量が少なくなったときに、その残量の減少に応じて印字
速度を遅く設定するような速度制御プログラムが組み込
まれている。この制御プログラムは、たとえば印字デー
タ量と印字速度制御値とを対応させて適当な不揮発性メ
モリに格納したテーブルデータを用いて構成することが
できる。
FIG. 2 is a graph showing an example of a control program of the print speed with respect to the remaining amount of the print waiting data. As shown in the figure, the printer described above incorporates a speed control program for setting the printing speed to be slower according to the decrease of the remaining amount of the print waiting data when the remaining amount of the print waiting data becomes small. This control program can be constructed using, for example, table data stored in an appropriate non-volatile memory in which the print data amount and the print speed control value are associated with each other.

【0016】図2において、印字待ちデータ残量がある
程度以上ある場合、プリンタは所定の定常速度で印字を
実行するが、印字待ちデータ残量が一定以下に減少する
と、その減少に応じて印字速度を遅くする。これによ
り、ページメモリを使用しなくても、印字データの途切
れによる印字停止を回避させることができる。印字停止
がなければ、つまり低速でも印字動作が継続されていれ
ば、印字ピッチの乱れ等による印字ムラは生じない。
In FIG. 2, the printer executes printing at a predetermined steady speed when the remaining amount of data waiting to be printed is above a certain level, but when the remaining amount of data waiting to be printed decreases below a certain level, the printing speed is correspondingly reduced. Slow down. As a result, it is possible to avoid the printing stop due to the interruption of the print data without using the page memory. If the printing is not stopped, that is, if the printing operation is continued even at a low speed, the printing unevenness due to the disturbance of the printing pitch does not occur.

【0017】上述した実施例では、印字速度の制御を受
信バッファメモリ12の印字待ちデータ残量に基づいて
行うようにしていたが、イメージバッファメモリ16の
印字待ちデータ残量(未印字データ量)に基づいて行う
ようにしてもよい。イメージバッファメモリ16には、
受信データ(コードデータ)から生成された印字用イメ
ージデータが保持されるが、このイメージデータの印字
待ち残量に基づいて印字速度を制御すれば、たとえば複
雑な文字装飾などによってイメージデータの生成処理が
遅れたような場合でも、そのイメージデータの処理遅れ
による印字停止を回避させることができる。これによ
り、印字の一時停止による印字ムラをさらに確実に防止
することができる。
In the above-mentioned embodiment, the control of the printing speed is carried out based on the print waiting data remaining amount of the receiving buffer memory 12, but the print waiting data remaining amount (unprinted data amount) of the image buffer memory 16 is provided. You may make it based on. In the image buffer memory 16,
The image data for printing generated from the received data (code data) is held, but if the printing speed is controlled based on the remaining print waiting amount of this image data, the image data generation process can be performed by, for example, complicated character decoration. Even if there is a delay in printing, it is possible to avoid printing stop due to the processing delay of the image data. As a result, it is possible to more reliably prevent uneven printing due to a temporary stop of printing.

【0018】図3は本発明の第2実施例を機能ブロック
図で示す。上述した第1実施例との相違について説明す
ると、この第2実施例では、印字待ちデータ残量の変化
による印字速度の変化量に一定の制限を加えるリミッタ
部24を設けたことを特徴とする。印字ムラは印字の一
時停止によって生じるが、印字速度が急変した場合でも
多少生じることがある。上記リミッタ部24を設けるこ
とで、印字待ちデータ残量が急変しても印字速度制御値
が急変しないようにすることができ、これにより、印字
ムラをさらに確実に防止することができる。リミッタ部
24はデータ量計測部20および印字速度制御部22と
同様、ソフトウェア的に構成することができる。
FIG. 3 is a functional block diagram showing a second embodiment of the present invention. Explaining the difference from the above-described first embodiment, the second embodiment is characterized in that a limiter unit 24 is provided to apply a certain limit to the amount of change in the printing speed due to the change in the remaining amount of print waiting data. . The printing unevenness is caused by a temporary stop of printing, but may occur to some extent even when the printing speed suddenly changes. By providing the limiter unit 24, it is possible to prevent the printing speed control value from changing suddenly even if the remaining amount of print waiting data changes suddenly, and thus it is possible to prevent printing unevenness more reliably. Like the data amount measuring unit 20 and the printing speed control unit 22, the limiter unit 24 can be configured by software.

【0019】図4は第2実施例の構成において、印字待
ちデータ残量の経時変化状態(実線曲線)と印字速度の
経時変化状態(破線)の例を示す。
FIG. 4 shows an example of a state in which the remaining amount of print waiting data changes with time (solid line curve) and a state in which the printing speed changes with time (broken line) in the configuration of the second embodiment.

【0020】図5は本発明の第3実施例を機能ブロック
図で示す。この第3実施例は、POS端末のように、ホ
ストおよびホストとの通信接続環境がそれほど大きく変
動しない装置に装備され、かつ定形的なフォーマットを
印字することが多い用途のプリンタに適用してとくに有
効である。
FIG. 5 is a functional block diagram showing a third embodiment of the present invention. The third embodiment is particularly applied to a printer such as a POS terminal, which is equipped in a device in which the environment for communication with the host and the host does not change so much and which often prints a fixed format. It is valid.

【0021】この第3実施例のプリンタは、通信I/F
10、受信バッファメモリ12、イメージ変換部14、
イメージバッファメモリ16、印字部18などを有する
逐次印字方式のプリンタに、印字停止禁止区間判定部3
0、データ転送レート計測部32、転送中断期間計測部
34、印字タイミング設定部36、バッファ容量設定部
38を加えて構成される。
The printer of the third embodiment has a communication I / F.
10, a reception buffer memory 12, an image conversion unit 14,
In the sequential printing type printer having the image buffer memory 16, the printing unit 18, etc., the print stop prohibited section determination unit 3
0, a data transfer rate measuring unit 32, a transfer interruption period measuring unit 34, a print timing setting unit 36, and a buffer capacity setting unit 38.

【0022】印字停止禁止区間判定部30は、印字を停
止させずに連続して行うべき区間すなわち印字停止禁止
区間を判定する。この判定は、ホストから配信された印
字データに埋めこまれている印字停止禁止コードに基づ
いて行う。印字停止禁止コードは、印字停止の禁止とと
もに、その禁止の範囲(たとえば印字ライン数)を指示
する。たとえばロゴなどのように、印字停止による印字
ムラが目立ちやすい特定範囲の印字データ部には、その
データ部が印字される間の印字停止を禁止する印字停止
禁止コードが付加される。
The print stop inhibition section determination unit 30 determines a section which should be continuously executed without stopping printing, that is, a print stop inhibition section. This determination is made based on the print stop prohibition code embedded in the print data delivered from the host. The print stop prohibition code indicates the prohibition of the print stop and the range of the prohibition (for example, the number of print lines). For example, a print stop prohibition code for prohibiting the print stop while the data part is printed is added to the print data part of a specific range such as a logo where print unevenness due to the print stop is conspicuous.

【0023】データ転送レート計測部32は、上記印字
停止禁止区間内のデータ転送レートを計測する。転送中
断期間計測部34は、上記印字停止禁止区間内で生じた
データ転送中断期間を計測する。これらの計測結果は必
要最小限のバッファメモリ容量を算出するための演算パ
ラメータとして使用される。
The data transfer rate measuring unit 32 measures the data transfer rate in the print stop prohibited section. The transfer interruption period measuring unit 34 measures the data transfer interruption period occurring in the print stop prohibition section. These measurement results are used as calculation parameters for calculating the minimum required buffer memory capacity.

【0024】印字タイミング設定部36は、印字停止禁
止コードが検出されたときに、その禁止コードが指示す
る印字停止禁止区間の印字開始タイミングを遅延させる
ポーズ(一時停止)制御を行う。そのポーズ期間(印字
開始遅延時間)Tdは、上記転送レートと、上記転送中
断期間と、印字部18の印字速度とに基づいて算出され
る。この算出は、印字停止禁止区間内の印字データが転
送および印字される期間(印字停止禁止期間)におい
て、転送データ量(転送済データ量)推移が印字データ
量(印字済データ量)推移を常に上回るために必要最小
限の時間という条件で行う。
When the print stop prohibition code is detected, the print timing setting section 36 performs a pause (temporary stop) control for delaying the print start timing of the print stop prohibition section designated by the prohibition code. The pause period (print start delay time) Td is calculated based on the transfer rate, the transfer interrupt period, and the print speed of the printing unit 18. In this calculation, the transfer data amount (transferred data amount) change is always the print data amount (printed data amount) change during the period (print stop prohibition period) during which the print data in the print stop prohibited area is transferred and printed. The minimum time required to exceed this is the condition.

【0025】すなわち、図6にグラフ化して示すよう
に、印字停止禁止区間内の印字データが転送開始された
ときに、その印字停止禁止区間内データの印字開始タイ
ミングを遅延させるポーズ期間(Td)を置く。このポ
ーズ期間(Td)内に転送された印字データはバッファ
メモリ12に蓄積される。ポーズ期間(Td)が経過す
ると、印字部18はバッファメモリ12に蓄積された印
字データを一定速度で印字する。バッファメモリ12内
の印字待ちデータ残量は、印字使用による減少と新規転
送による増大とによって一種の平衡状態を呈しながら浮
動するが、それがゼロ以下とならないように上記ポーズ
期間(Td)を設定する。
That is, as shown in the graph of FIG. 6, when the print data in the print stop prohibited section is started, the pause period (Td) for delaying the print start timing of the data in the print stop prohibited section. Put. The print data transferred within this pause period (Td) is accumulated in the buffer memory 12. When the pause period (Td) has elapsed, the printing unit 18 prints the print data accumulated in the buffer memory 12 at a constant speed. The remaining amount of data waiting to be printed in the buffer memory 12 floats while exhibiting a kind of equilibrium state due to a decrease due to printing use and an increase due to new transfer, but the pause period (Td) is set so as not to become zero or less. To do.

【0026】このように、転送データ量推移が印字デー
タ量推移を常に上回るように上記ポーズ期間(Td)が
設定されていれば、印字部18は上記印字停止禁止区間
内にて印字データが途切れることなく一定速度で印字を
継続することができる。つまり、上記印字停止禁止区間
内のデータを印字停止させずに印字することができる。
In this way, if the pause period (Td) is set so that the transition of the transfer data amount always exceeds the transition of the print data amount, the printing unit 18 interrupts the print data in the print stop prohibition section. It is possible to continue printing at a constant speed. That is, it is possible to print the data in the print stop prohibition section without stopping the print.

【0027】上記ポーズ期間(Td)は、転送データ量
推移と印字データ量推移から必要最小値を算出すること
ができる。転送データ量推移は、データ転送レート計測
部32による転送レートの計測と、転送中断期間計測部
34による転送中断期間の計測とによって得ることがで
きる。印字データ量推移は印字速度によって与えられる
が、図6に示すように印字速度を一定にすれば、転送デ
ータ量推移から一義的に必要最小限のポーズ期間(T
d)を算出することができる。この必要最小限のポーズ
期間(Td)と印字速度(すなわ単位時間当たりの印字
データ量)によって、必要最小限のバッファメモリ容量
を算出することができる。バッファ容量設定部38は、
算出された最小容量のバッファメモリ12を確保するた
めのメモリ領域設定を行う。このようにして、バッファ
メモリ12の容量を必要最小限だけ確保すれば、上記印
字停止禁止区間内のデータを印字停止させずに印字して
印字ムラを防止することができる。
For the pause period (Td), the minimum required value can be calculated from the transition of the transfer data amount and the transition of the print data amount. The transfer data amount transition can be obtained by measuring the transfer rate by the data transfer rate measuring unit 32 and measuring the transfer suspending period by the transfer suspending period measuring unit 34. The change in the amount of print data is given by the print speed, but if the print speed is made constant as shown in FIG. 6, the minimum pause period (T
d) can be calculated. The minimum required buffer memory capacity can be calculated from the minimum required pause period (Td) and the printing speed (that is, the amount of print data per unit time). The buffer capacity setting unit 38
A memory area is set to secure the calculated minimum capacity buffer memory 12. In this way, if the capacity of the buffer memory 12 is secured to the required minimum, the data in the print stop prohibited section can be printed without stopping the printing, and the print unevenness can be prevented.

【0028】上記バッファメモリ12は、プリンタ制御
システムの構成を複雑にしないために、そのプリンタ制
御システム(マイクロコンピュータ)が使用しているシ
ステムメモリの一部を割り当てて使用する。この場合、
上述のように必要最小限のバッファメモリ容量を算出し
て割り当たるようにすれば、プリンタ制御システムのメ
モリ負荷を最大限に軽減してそのスループット(データ
処理能力)を向上させることができる。
The buffer memory 12 is used by allocating a part of the system memory used by the printer control system (microcomputer) so as not to complicate the configuration of the printer control system. in this case,
By calculating and allocating the minimum required buffer memory capacity as described above, it is possible to reduce the memory load of the printer control system to the maximum and improve its throughput (data processing capacity).

【0029】上記バッファメモリ容量の算出および設定
は、印字停止禁止区間のデータ転送が行われる度に、前
回のデータ転送時に計測された転送データ量推移に基づ
いて行うようにしてもよいが、POS端末のように、デ
ータ転送条件がそれほど大きく変動せず、かつ定形的な
フォーマットを印字する用途に使用されるプリンタの場
合は、初回だけ行って、次回以降はその初回の設定状態
をそのまま保持して使用することができる。つまり、い
ったん設定した必要最小限のバッファメモリ容量は、ホ
ストや印字フォーマットなどの条件が変化しない限り、
変更しなくてもよい。
The buffer memory capacity may be calculated and set based on the transition of the transfer data amount measured at the previous data transfer each time the data transfer in the print stop prohibited section is performed. For printers such as terminals that do not change data transfer conditions so much and that are used for printing standard formats, do this only the first time, and keep the initial settings as they are from the next time. Can be used. In other words, the minimum required buffer memory capacity that has been set once will not change unless conditions such as the host or print format change.
You do not have to change it.

【0030】上記バッファメモリ容量の設定または更新
は、たとえば次のようなタイミングで自動的に行わせる
ことができる。すなわち、(a)プリンタ側にてリセッ
ト等のシステム初期化が行なわれたとき、(b)ホスト
から初期設定を指示する制御コードを受信したとき、
(c)ユーザが所定のコマンド入力操作を行ったとき、
(d)たとえば電源遮断などのイベントが生じたときな
どに、行わせることができる。
The setting or updating of the buffer memory capacity can be automatically performed at the following timings, for example. That is, (a) when the printer initializes the system such as resetting, (b) when a control code instructing initialization is received from the host,
(C) When the user performs a predetermined command input operation,
(D) It can be performed, for example, when an event such as power shutdown occurs.

【0031】また、同じ構成のプリンタを同一条件下で
複数台使用する場合は、いずれか1台のプリンタにて行
ったバッファメモリ容量の設定を他のプリンタにコピー
する形で設定してもよい。さらに、上記バッファメモリ
容量の設定は、たとえば種々の使用条件を想定して作成
した設定データ表などを用いて行うようにしてもよい。
この場合は、上記データ転送レート計測部32と転送中
断期間計測部34を省略できる。
When a plurality of printers having the same configuration are used under the same condition, the buffer memory capacity setting made by any one printer may be set in a form of copying to another printer. . Further, the buffer memory capacity may be set using a setting data table created under various usage conditions, for example.
In this case, the data transfer rate measuring unit 32 and the transfer interruption period measuring unit 34 can be omitted.

【0032】上述した第3実施例では、ロゴ部などの特
定範囲を一時停止させずに連続的に印字して印字ムラを
防止することができる。また、印字中の印字速度は一定
で良く、印字速度を可変制御する必要はない。これによ
り、前述した第1および第2実施例よりもさらに構成を
簡単にすることができる。
In the third embodiment described above, it is possible to prevent uneven printing by continuously printing without pausing a specific area such as the logo portion. Further, the printing speed during printing may be constant, and it is not necessary to variably control the printing speed. As a result, the structure can be further simplified as compared with the first and second embodiments described above.

【0033】なお、上述した第3実施例では、印字停止
禁止区間内のデータ印字開始に際してポーズ期間(T
d)が挿入されるが、このポーズ期間(Td)は、上述
したように、その印字停止禁止区間内のデータ印字を連
続実行させるための最小限必要な時間だけなので、印字
開始によるホストの応答確認にはとくに支障ない。
In the above-described third embodiment, the pause period (T
Although d) is inserted, the pause period (Td) is the minimum time required to continuously execute the data printing within the print stop prohibition section as described above, and therefore the response of the host upon the start of printing There is no particular problem in confirmation.

【0034】[0034]

【発明の効果】以上、実施例の説明からもあきらかなよ
うに、本発明は、ページモードを持たず、ホストから転
送されてくる印字データを逐次印字する方式のプリンタ
において、ホストから転送されて印字されるまでのデー
タを一時的に蓄積するバッファメモリと、このバッファ
メモリに印字待ち状態で残されている未印字データ量が
少なくなったときに印字速度を遅くする印字速度制御手
段を備えることにより、プリンタの構成規模を大きくす
ることなく、ページ印刷途中での一時的な印字停止によ
る印字ムラを効果的に防止できる。
As is apparent from the description of the embodiments above, the present invention is a printer of a system which does not have a page mode and sequentially prints print data transferred from the host, and is transferred from the host. A buffer memory that temporarily stores data until printing and a print speed control unit that slows the print speed when the amount of unprinted data remaining in the print wait state in this buffer memory decreases As a result, it is possible to effectively prevent print unevenness due to a temporary print stop during page printing without increasing the printer configuration scale.

【0035】また、ホストから転送されて印字されるま
でのデータを一時的に蓄積するバッファメモリと、印字
停止禁止区間の印字データが印字されるときに、その区
間の印字開始を設定時間だけ遅延させる制御手段を備え
ることにより、上記印字停止禁止区間内での印字停止を
回避させるように構成すれば、必要最小限のバッファメ
モリ容量でもって、上記印字停止禁止区間での印字ムラ
を防止することができる。
In addition, when the buffer memory for temporarily storing the data transferred from the host to the printing and the print data in the print stop prohibited section are printed, the print start of the section is delayed by the set time. By providing the control means for preventing the print stop in the print stop prohibition section, it is possible to prevent the print unevenness in the print stop prohibition section with the minimum required buffer memory capacity. You can

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

【図1】本発明によるプリンタの第1実施例を示す機能
ブロック図である。
FIG. 1 is a functional block diagram showing a first embodiment of a printer according to the present invention.

【図2】印字待ちデータ残量に対する印字速度の制御プ
ログラム例を示すグラフである。
FIG. 2 is a graph showing an example of a print speed control program with respect to the remaining amount of print waiting data.

【図3】本発明によるプリンタの第2実施例を示す機能
ブロック図である。
FIG. 3 is a functional block diagram showing a second embodiment of the printer according to the present invention.

【図4】印字待ちデータ残量と印字速度の各経時変化状
態例を示すグラフである。
FIG. 4 is a graph showing an example of changes over time in the remaining amount of print waiting data and the print speed.

【図5】本発明によるプリンタの第3実施例を示す機能
ブロック図である。
FIG. 5 is a functional block diagram showing a third embodiment of the printer according to the present invention.

【図6】転送データ量推移と印字データ量推移を示すグ
ラフである。
FIG. 6 is a graph showing changes in transfer data amount and changes in print data amount.

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

10 通信I/F 12 受信バッファメモリ 14 イメージ変換部 16 イメージバッファメモリ 18 印字部 20 データ量計測部 22 印字速度制御部 24 リミッタ部 30 印字停止禁止区間判定部 32 データ転送レート計測部 34 転送中断期間計測部 36 印字タイミング設定部 38 バッファ容量設定部 Td 印字開始遅延時間 10 Communication I / F 12 Receive buffer memory 14 Image converter 16 image buffer memory 18 Printing section 20 Data amount measuring unit 22 Print speed controller 24 Limiter section 30 Print stop prohibited area determination unit 32 Data transfer rate measurement unit 34 Transfer interruption period measurement unit 36 Print timing setting section 38 Buffer capacity setting section Td Print start delay time

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】ホストから転送されてくる印字データを逐
次印字する方式のプリンタにおいて、ホストから転送さ
れて印字されるまでのデータを一時的に蓄積するバッフ
ァメモリと、このバッファメモリに印字待ち状態で残さ
れている未印字データ量が少なくなったときに印字速度
を遅くする印字速度制御手段を備えたことを特徴とする
プリンタ。
1. In a printer of a type that sequentially prints print data transferred from a host, a buffer memory for temporarily storing data transferred from the host and printed, and a print standby state in this buffer memory. 2. A printer comprising a printing speed control means for slowing the printing speed when the amount of unprinted data remaining in 1. becomes small.
【請求項2】 請求項1において、未印字データ量が所
定以下のときにその未印字データ量に応じて印字速度を
低下させる印字速度制御手段を備えたことを特徴とする
プリンタ。
2. The printer according to claim 1, further comprising a print speed control unit that reduces the print speed according to the amount of unprinted data when the amount of unprinted data is less than a predetermined value.
【請求項3】 請求項1または2において、印字用のイ
メージデータを一時的に蓄積するイメージバッファメモ
リの未印字データ量に基づいて印字速度を制御すること
を特徴とするプリンタ。
3. The printer according to claim 1, wherein the printing speed is controlled based on the amount of unprinted data in the image buffer memory that temporarily stores the image data for printing.
【請求項4】 請求項1から3のいずれか1において、
印字速度制御値の変化量を制限する手段を備えたことを
特徴とするプリンタ。
4. The method according to any one of claims 1 to 3,
A printer comprising means for limiting the amount of change in the print speed control value.
【請求項5】 ホストから転送されてくる印字データを
ライン単位で逐次印字する方式のプリンタにおいて、ホ
ストから転送されて印字されるまでのデータを一時的に
蓄積するバッファメモリと、印字停止禁止区間の印字デ
ータが印字されるときに、その区間の印字開始を設定時
間だけ遅延させる制御手段を備えることにより、上記印
字停止禁止区間内での印字停止を回避させるようにした
ことを特徴とするプリンタ。
5. In a printer of a type that sequentially prints print data transferred from a host on a line-by-line basis, a buffer memory that temporarily stores data transferred from the host until it is printed, and a print stop prohibited section. When the print data is printed, the printer is provided with a control means for delaying the start of printing in the section by a set time, thereby avoiding the print stop in the print stop prohibited section. .
【請求項6】 請求項5において、印字停止禁止区間は
ホストから配信される印字停止禁止コードに基づいて判
定することを特徴とするプリンタ。
6. The printer according to claim 5, wherein the print stop prohibition section is determined based on a print stop prohibition code distributed from the host.
【請求項7】 請求項5または6において、次の(1)
〜(3)で特定されるプリンタ。 (1)プリンタ制御システムで使用するシステムメモリ
の一部を、転送データを一時的に蓄積するためのバッフ
ァメモリに割り当てる。 (2)印字停止禁止区間内における転送データ量推移が
印字データ量推移を常に上回るための必要最小限の印字
開始遅延時間を設定する。 (3)上記印字開始遅延時間の間に転送されてくるデー
タを一時蓄積するのに必要なだけのバッファメモリ容量
を上記システムメモリから割り当てる。
7. The method according to claim 5 or 6, wherein
A printer specified by (3). (1) A part of the system memory used in the printer control system is allocated to a buffer memory for temporarily storing transfer data. (2) The minimum required print start delay time is set so that the transfer data amount transition in the print stop prohibited section always exceeds the print data amount transition. (3) The buffer memory capacity necessary for temporarily storing the data transferred during the print start delay time is allocated from the system memory.
【請求項8】 請求項5から7のいずれか1において、
印字速度を一定に設定することを特徴とするプリンタ。
8. The method according to any one of claims 5 to 7,
A printer characterized by setting a constant print speed.
JP2002031453A 2002-02-07 2002-02-07 Printer Pending JP2003231332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002031453A JP2003231332A (en) 2002-02-07 2002-02-07 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002031453A JP2003231332A (en) 2002-02-07 2002-02-07 Printer

Publications (1)

Publication Number Publication Date
JP2003231332A true JP2003231332A (en) 2003-08-19

Family

ID=27774858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002031453A Pending JP2003231332A (en) 2002-02-07 2002-02-07 Printer

Country Status (1)

Country Link
JP (1) JP2003231332A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008021024A (en) * 2006-07-11 2008-01-31 Ricoh Co Ltd Information processor and data communication equipment
JP2008114510A (en) * 2006-11-06 2008-05-22 Fuji Xerox Co Ltd Image forming apparatus
JP2009073131A (en) * 2007-09-24 2009-04-09 Brother Ind Ltd Printing device
EP2325780A2 (en) 2009-11-11 2011-05-25 Seiko Epson Corporation Recording control device, recording apparatus, method of controlling recording apparatus, and recording medium
JP2011213098A (en) * 2010-03-17 2011-10-27 Ricoh Co Ltd Printing system and printing method
WO2012093060A3 (en) * 2011-01-03 2012-10-18 OCé PRINTING SYSTEMS GMBH Method for controlling a printing device and corresponding printing device, computer system and computer program product
JP2016221705A (en) * 2015-05-27 2016-12-28 セイコーインスツル株式会社 Printer, control method and program
CN108773206A (en) * 2018-06-27 2018-11-09 阜阳市易邦办公设备销售有限公司 A kind of control method for printer

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008021024A (en) * 2006-07-11 2008-01-31 Ricoh Co Ltd Information processor and data communication equipment
JP2008114510A (en) * 2006-11-06 2008-05-22 Fuji Xerox Co Ltd Image forming apparatus
JP4735514B2 (en) * 2006-11-06 2011-07-27 富士ゼロックス株式会社 Image forming apparatus
JP2009073131A (en) * 2007-09-24 2009-04-09 Brother Ind Ltd Printing device
EP2325780A2 (en) 2009-11-11 2011-05-25 Seiko Epson Corporation Recording control device, recording apparatus, method of controlling recording apparatus, and recording medium
CN102079182A (en) * 2009-11-11 2011-06-01 精工爱普生株式会社 Recording control device, recording apparatus, method of controlling recording apparatus, and recording medium
RU2443569C1 (en) * 2009-11-11 2012-02-27 Сейко Эпсон Корпорейшн Recording control device, recording device, method of operation recording device, and recording medium
US8804183B2 (en) 2009-11-11 2014-08-12 Seiko Epson Corporation Recording control device, recording apparatus, method of controlling recording apparatus, and recording medium
JP2011213098A (en) * 2010-03-17 2011-10-27 Ricoh Co Ltd Printing system and printing method
WO2012093060A3 (en) * 2011-01-03 2012-10-18 OCé PRINTING SYSTEMS GMBH Method for controlling a printing device and corresponding printing device, computer system and computer program product
JP2016221705A (en) * 2015-05-27 2016-12-28 セイコーインスツル株式会社 Printer, control method and program
CN108773206A (en) * 2018-06-27 2018-11-09 阜阳市易邦办公设备销售有限公司 A kind of control method for printer

Similar Documents

Publication Publication Date Title
US8139435B2 (en) Data storage apparatus and control method of data storage apparatus
KR102372289B1 (en) Memory access system, method for controlling the same, computer-readable storage medium, and image forming apparatus
JP2003231332A (en) Printer
EP2696565A1 (en) Power control of an image processing apparatus
JP2000181637A5 (en) Data transfer control method, data processing device and storage medium
JP2005018394A (en) Print data processor and data processor
JP2006343946A (en) Memory access controller, and computer program
JP2006099569A (en) Memory interface circuit and clock control method
US9060087B2 (en) Apparatus and method for determining a storage location based on the amount of electricity stored in a secondary battery of an image processing apparatus
JP2002091748A (en) Image processor
JP2014135584A (en) Image forming apparatus
US20200250125A1 (en) Electronic apparatus including device configured to be shifted to power saving state and connected to pci device, and control method thereof
JP2016197324A (en) Information processing device, control method for information processing device, and program
JP5480194B2 (en) Image forming apparatus and system management program
JP5701034B2 (en) Data processing apparatus, data processing apparatus control method, and program
JP4211375B2 (en) Data transfer control method, data transfer circuit device, and printing apparatus having the same
JPH1097433A (en) Multifunctional parallel processing type electronic device
JP2012250394A (en) Image forming apparatus, power control method therefor, and program
JP7314533B2 (en) Image processing device and program
JP2000229451A (en) Method and apparatus for printer control
JP5834973B2 (en) Print controller
JP2005174145A (en) Data processing method, data processor, program, and storage medium
JP2019165373A (en) Image forming apparatus and program
JP2002196903A (en) Image forming device
JP2004241854A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061122

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090108

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090826

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090929