JP3321323B2 - Print management method - Google Patents

Print management method

Info

Publication number
JP3321323B2
JP3321323B2 JP30853494A JP30853494A JP3321323B2 JP 3321323 B2 JP3321323 B2 JP 3321323B2 JP 30853494 A JP30853494 A JP 30853494A JP 30853494 A JP30853494 A JP 30853494A JP 3321323 B2 JP3321323 B2 JP 3321323B2
Authority
JP
Japan
Prior art keywords
print
line
printer
mechanical
buffer
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.)
Expired - Fee Related
Application number
JP30853494A
Other languages
Japanese (ja)
Other versions
JPH08166857A (en
Inventor
泰道 大西
峰之 金子
奈津彦 平山
昭 本多
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP30853494A priority Critical patent/JP3321323B2/en
Publication of JPH08166857A publication Critical patent/JPH08166857A/en
Application granted granted Critical
Publication of JP3321323B2 publication Critical patent/JP3321323B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、プリンタの印刷管理技
術に関し、特にメモリ容量の低減を考慮した印刷データ
の取り扱いにおいて、主に印刷データの印刷バッファへ
の展開および印刷バッファからプリンタへの転送を行う
ための印刷管理方法に適用して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print management technique for a printer, and more particularly to the handling of print data in consideration of a reduction in memory capacity, mainly for expanding print data into a print buffer and transferring the print data from the print buffer to the printer. The present invention relates to a technology that is effective when applied to a print management method for performing an operation.

【0002】[0002]

【従来の技術】たとえば、印刷データを印刷バッファに
展開し、この印刷データを印刷バッファから転送して印
刷するプリンタにおいては、1ページ分の印刷データを
印刷する場合、メモリ容量の低減を考慮した印刷管理方
法では3通りの方法が考えられ、下記において順に説明
する。この1ページ分の印刷データは、たとえば図6に
示すように「イ」,「ロ」,「ハ」,「ニ」による機械
的な1行分のデータから構成されているものとする。
2. Description of the Related Art For example, in a printer which develops print data in a print buffer and transfers the print data from the print buffer for printing, when printing one page of print data, a reduction in memory capacity is considered. There are three types of print management methods, which will be described below in order. It is assumed that the print data for one page is composed of one line of mechanical data of “A”, “B”, “C”, and “D” as shown in FIG. 6, for example.

【0003】まず、第1の印刷管理方法は印刷バッファ
を論理的な1行分の容量だけ持つ方法である。この方法
で図6に示す1ページ分の印刷データを印刷する場合、
図7に示すように印刷バッファへの行データの展開と、
印刷バッファの内容のプリンタへの転送を順次繰り返さ
なければならないために印刷時間の無駄が多い。この方
法を以後「従来技術1」とする。
First, a first print management method is a method in which a print buffer has a capacity of one logical line. When printing one page of print data shown in FIG. 6 by this method,
As shown in FIG. 7, the line data is expanded in the print buffer,
Since the transfer of the contents of the print buffer to the printer must be sequentially repeated, there is much waste of printing time. This method is hereinafter referred to as “prior art 1”.

【0004】この従来技術1での印刷時間の無駄を解消
するために、印刷バッファを複数行分有する方法が一般
に知られている。この方法(以後「従来技術2」とす
る)では、図8に示すように印刷バッファへの行データ
の展開と、印刷バッファの内容のプリンタへの転送を見
かけ上同時に行うことができるため、従来技術1に比べ
て印刷時間を短縮することができる。
[0004] In order to eliminate the waste of printing time in the prior art 1, a method of providing a print buffer for a plurality of lines is generally known. According to this method (hereinafter referred to as “prior art 2”), as shown in FIG. 8, the line data can be developed into the print buffer and the contents of the print buffer can be apparently transferred to the printer at the same time. The printing time can be reduced as compared with the technique 1.

【0005】ところが、図9に示すように機械的な複数
の行にまたがって論理的な行が存在する場合、従来技術
2では図10に示すように、1行の機械的な行について
印刷バッファへの行データの展開と、印刷バッファの内
容のプリンタへの転送をそれぞれ2回ずつ繰り返さなけ
ればならなくなり、印刷時間が増大する。この場合、従
来技術1においても同様に印刷時間が増大することは明
らかである。
However, when a logical line exists over a plurality of mechanical lines as shown in FIG. 9, in the prior art 2, as shown in FIG. And the transfer of the contents of the print buffer to the printer must be repeated twice, which increases the printing time. In this case, it is apparent that the printing time similarly increases in the related art 1.

【0006】この機械的な複数の行にまたがって論理的
な行が存在する場合について、従来技術1および従来技
術2での印刷時間の増大を解消するため、従来技術3が
考えられている。この従来技術3での機械的な複数の行
にまたがって論理的な行が存在する場合の印刷実施例を
図11により説明する。
In the case where a logical row exists over a plurality of mechanical rows, Conventional Technique 3 is considered in order to eliminate the increase in printing time in Conventional Techniques 1 and 2. A printing example in the case where a logical line exists over a plurality of mechanical lines in the prior art 3 will be described with reference to FIG.

【0007】この従来技術3では、3つ以上の印刷バッ
ファを有し、この印刷バッファに順次交互に印刷データ
を格納する。このとき、2つ以上の機械的な行に渡って
いる論理的な行の入力データは2つ以上の印刷バッファ
にまとめて展開するとともに、印刷バッファにすでに展
開されている印刷データをプリンタに転送するように繰
り返して制御が行われている。このような従来技術1〜
3については特開平6−19652号公報に記載されて
いる。
In the prior art 3, three or more print buffers are provided, and print data is sequentially and alternately stored in the print buffers. At this time, the input data of the logical line extending over two or more mechanical lines is expanded into two or more print buffers, and the print data already expanded in the print buffer is transferred to the printer. The control is performed repeatedly. Such conventional technologies 1
No. 3 is described in JP-A-6-19652.

【0008】[0008]

【発明が解決しようとする課題】ところが、前記のよう
な従来技術3の印刷管理方法においては、従来技術2と
比較するとCPUの効率は向上して印刷時間は短縮され
ているが、3つ以上の印刷バッファを有するためにメモ
リの容量は従来技術1および従来技術2と比べて増大し
ている。
However, in the print management method of the prior art 3 as described above, the efficiency of the CPU is improved and the printing time is shortened as compared with the prior art 2, but three or more print management methods are used. , The capacity of the memory is increased as compared with the prior arts 1 and 2.

【0009】また、従来技術1、従来技術2および従来
技術3においては、1行に印刷できる機械的な幅中に論
理的な行がまたがって存在する場合、またがっている部
分、すなわち図4における「B」,「D」,「F」の文
字をまたがっていない部分とは別にプリンタに転送して
いるため、これらの方法をラインプリンタに適用した場
合には処理速度が増大してしまう。
Further, in the prior arts 1, 2, and 3, when a logical line is present across a mechanical width that can be printed on one line, a portion where the logical line extends, that is, in FIG. Since the data is transferred to the printer separately from the portions that do not straddle the characters "B", "D", and "F", the processing speed increases when these methods are applied to a line printer.

【0010】なぜならば、ラインプリンタでは印刷デー
タの転送が発生する毎に印刷を行うからである。特に、
印刷ヘッドを動作させて印刷を行うラインプリンタで
は、印刷ヘッドの動作回数が多くなり、印刷速度がより
顕著に増大する。
This is because the line printer performs printing every time print data is transferred. In particular,
In a line printer that performs printing by operating a print head, the number of operations of the print head increases, and the printing speed increases more remarkably.

【0011】さらに、従来方法1、従来方法2および従
来方法3を、印刷ヘッドを動作させて印刷を行うライン
プリンタに適用した場合、複数の行の重ね合わせを印刷
ヘッドの動作で実現させるために、印刷ヘッドの動作に
機械的なずれが生じて印刷品質が保証されない恐れがあ
る。
Further, when the conventional method 1, the conventional method 2 and the conventional method 3 are applied to a line printer which performs printing by operating a print head, it is necessary to superimpose a plurality of rows by operating the print head. In addition, there is a possibility that the print quality may not be guaranteed due to a mechanical shift in the operation of the print head.

【0012】そこで、本発明の目的は、メモリ容量の低
減を考慮した印刷データの印刷バッファへの展開および
印刷バッファからプリンタへの転送において、特に1行
に印刷できる機械的な高さ中に論理的な複数の行の印刷
データが重なって存在する場合に、メモリ容量を低減し
つつ、印刷速度を向上させ、かつ印刷品質を向上させる
ことができる印刷管理方法を提供することにある。
Accordingly, an object of the present invention is to develop a print data into a print buffer and to transfer the print data from the print buffer to a printer in consideration of a reduction in the memory capacity, especially when the print data can be printed on one line in a mechanical height. It is an object of the present invention to provide a print management method capable of improving printing speed and improving print quality while reducing memory capacity when print data of a plurality of lines overlap.

【0013】[0013]

【課題を解決するための手段】本発明の印刷管理方法
は、メモリ容量の低減を考慮した印刷データの取り扱い
に関し、この印刷バッファの容量を〔(印刷ヘッドの1
回の横方向への動作で印刷できる機械的な1行の高さ+
文字の高さである論理的な1行の高さ)×用紙の横サイ
ズ〕とする印刷管理方法に適用されるものであり、印刷
バッファの先頭から論理的な1行の印刷データを展開す
る第1のステップと、この第1のステップを繰り返し、
任意の印刷データの先頭が印刷バッファの先頭から機械
的な1行の高さの位置を越えようとしたとき、この機械
的な1行分の印刷データをプリンタに転送する第2のス
テップと、さらに次の印刷データを展開する位置を印刷
バッファの先頭として第1のステップに戻る第3のステ
ップとを有するものである。
A print management method according to the present invention relates to handling of print data in consideration of a reduction in memory capacity, and the capacity of this print buffer is set to [(1 of a print head).
1 line mechanical height that can be printed in one horizontal movement +
This is applied to a print management method of (character height of one line which is the height of a character) × (horizontal size of paper), and expands print data of one logical line from the head of the print buffer. Repeating the first step and this first step,
A second step of transferring the mechanical one-line print data to the printer when the head of the arbitrary print data exceeds the mechanical one-line height position from the head of the print buffer; And a third step of returning to the first step using the position where the next print data is developed as the head of the print buffer.

【0014】特に、この印刷管理方法を、印刷ヘッドを
左右に動作させることにより印刷を行うラインプリンタ
に用い、さらに機械的な1行に印刷できる幅中に論理的
な複数の行の文字が存在する場合に用いるようにしたも
のである。
In particular, this print management method is used for a line printer that performs printing by moving a print head to the left and right, and furthermore, there are logically multiple lines of characters within a width that can be printed on one mechanical line. This is used in the case where

【0015】[0015]

【作用】前記した印刷管理方法によれば、印刷バッファ
の容量を限定した印刷データの展開ステップ、印刷デー
タの転送ステップ、展開ステップへの戻りステップにお
いて、処理中の行の印刷データと次行以降の印刷データ
とを内部の印刷バッファ上で重ね合わせていき、印刷デ
ータの先頭位置が機械的な1行の幅を超えた時点で印刷
を行うことにより、従来のメモリ容量の低減を考慮した
印刷管理方法では印刷データを論理的な印刷データの行
数分、プリンタへ転送していたが、本発明による印刷管
理方法では、従来方法に比べて印刷バッファからプリン
タへの印刷データの転送回数を削減することができ、そ
の結果、印刷時間の低減を図ることができる。
According to the above-described print management method, in the print data expansion step, print data transfer step, and return step to the expansion step in which the capacity of the print buffer is limited, the print data of the line being processed and the next and subsequent lines are read. Print data is superimposed on the internal print buffer, and printing is performed when the top position of the print data exceeds the width of one mechanical line. In the management method, the print data is transferred to the printer by the number of logical print data lines. However, the print management method according to the present invention reduces the number of times the print data is transferred from the print buffer to the printer as compared with the conventional method. As a result, the printing time can be reduced.

【0016】また、印刷ヘッドが左右に動作するライン
プリンタにおいて、たとえばインパクト系などのライン
プリンタでは、印刷バッファからプリンタへ印刷データ
を転送するごとに印刷ヘッドが左右に動作するため、本
発明の印刷管理方法を適用することによって従来方法に
比べて印刷バッファからプリンタへの印刷データの転送
回数を削減することができるため、従来のインパクト系
ラインプリンタに比べて印刷ヘッドの動作回数を削減す
ることができ、その結果、印刷時間の低減を図ることが
できる。
In a line printer in which the print head operates left and right, for example, in a line printer such as an impact system, the print head operates left and right every time print data is transferred from the print buffer to the printer. By applying the management method, the number of times of transfer of print data from the print buffer to the printer can be reduced as compared with the conventional method, so that the number of operations of the print head can be reduced as compared with the conventional impact line printer. As a result, the printing time can be reduced.

【0017】さらに、機械的な1行に印刷できる幅中に
論理的な複数の行の文字が存在する場合には、従来方法
では論理的な行単位にプリンタに印刷データを転送する
ために印刷ヘッドの上方向への動作が発生するが、本発
明の印刷管理方法では印刷ヘッドは下方向(通常方向)
にしか動作しないため、従来方法に比べて印刷時間の低
減と、印刷ヘッドの動作に伴う機械的な誤差がなくな
り、印刷品質の向上を図ることができる。
Further, when there are logically plural lines of characters within the width that can be printed on one mechanical line, the conventional method is used to transfer print data to the printer in logical line units. Although the upward movement of the head occurs, the print head is moved downward (normal direction) in the print management method of the present invention.
Therefore, the printing time can be reduced and the mechanical error associated with the operation of the print head can be eliminated as compared with the conventional method, and the printing quality can be improved.

【0018】これにより、〔(機械的な1行の高さ+論
理的な1行の高さ)×用紙の横サイズ〕にメモリ容量を
限定した印刷データの印刷バッファへの展開および印刷
バッファからプリンタへの転送において、特に1行に印
刷できる機械的な高さ中に論理的な複数の行の印刷デー
タが重なって存在する場合に、メモリ容量を低減しつ
つ、印刷速度を向上させ、かつ印刷品質を向上させるこ
とができる。
Thus, the print data with the memory capacity limited to ((the height of one mechanical line + the height of one logical line) × the horizontal size of the paper) is developed into the print buffer and the In the transfer to the printer, especially when the print data of a plurality of logical lines are overlapped in the mechanical height capable of printing in one line, the print speed is improved while reducing the memory capacity, and Printing quality can be improved.

【0019】[0019]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0020】図1は本発明の一実施例であるプリンタの
コントローラを示す構成図、図2は本実施例の対象とす
る事象の印刷結果を示す説明図、図3は本実施例と比較
した場合の従来方法によるプリンタの動作を示す説明
図、図4は本実施例による印刷管理の制御を示すフロー
チャート、図5は本実施例によるプリンタの動作を示す
説明図である。
FIG. 1 is a block diagram showing a printer controller according to one embodiment of the present invention, FIG. 2 is an explanatory diagram showing a printing result of an event which is an object of this embodiment, and FIG. 3 is a comparison with this embodiment. FIG. 4 is an explanatory diagram showing an operation of the printer according to the conventional method in the case, FIG. 4 is a flowchart showing control of print management according to the present embodiment, and FIG. 5 is an explanatory diagram showing an operation of the printer according to the present embodiment.

【0021】まず、図1により本実施例のプリンタのコ
ントローラの構成を説明する。
First, the configuration of the controller of the printer of this embodiment will be described with reference to FIG.

【0022】本実施例のプリンタのコントローラは、た
とえば印刷ヘッドが左右に動作するラインプリンタに適
用され、コマンドを入力し、適当な文字フォントを選択
する入力部1、文字フォントが格納されている文字フォ
ント部2、印刷データを印刷バッファに展開し、また印
刷バッファに展開された印刷データを印刷部に転送する
印刷管理部3、印刷データを展開する印刷バッファ4、
転送された印刷データを印刷する印刷部5から構成され
ている。
The controller of the printer according to the present embodiment is applied to, for example, a line printer in which a print head moves left and right, an input unit 1 for inputting a command and selecting an appropriate character font, and a character storing a character font. A font section 2, a print management section 3 for expanding print data in a print buffer and transferring the print data expanded in the print buffer to the print section, a print buffer 4 for expanding print data,
It comprises a printing unit 5 for printing the transferred print data.

【0023】本実施例においては、特に本発明の特徴と
なる印刷管理部3の動作を対象としており、この印刷管
理部3の制御において、〔(印刷ヘッドの1回の横方向
への動作で印刷できる機械的な1行の高さ+文字の高さ
である論理的な1行の高さ)×用紙の横サイズ〕の容量
を持つ印刷バッファ4に印刷データが展開され、そして
印刷部5に印刷データが転送される毎にプリンタの印刷
動作が行われるようになっている。
The present embodiment is particularly directed to the operation of the print management unit 3 which is a feature of the present invention. In the control of the print management unit 3, [(A single operation of the print head in the horizontal direction is performed. The print data is expanded in the print buffer 4 having a capacity of (a logical one line height which is the height of one line that can be printed + the height of a character) × the horizontal size of paper, and the printing unit 5 Each time the print data is transferred, the printing operation of the printer is performed.

【0024】次に、本実施例の作用について、始めに図
2により本発明が対象とする事象の印刷結果を説明す
る。
Next, regarding the operation of the present embodiment, a printing result of an event to which the present invention is applied will be described first with reference to FIG.

【0025】図2に示すように、ラインプリンタでは、
改行量の設定および文字に対する縦拡大の指定などによ
り論理的な行の1行目、2行目の印刷データが重なる場
合がある。この場合、従来の方法では、論理的な行の1
行目を印刷した後に印刷ヘッドは201に示す位置にあ
る。そこで、論理的な行の2行目を印刷するために印刷
ヘッドを202に示す位置まで移動させなければならな
い。
As shown in FIG. 2, in the line printer,
Depending on the setting of the line feed amount and the designation of the vertical enlargement of characters, the print data of the first and second logical lines may overlap. In this case, in the conventional method, one of the logical rows
After printing the line, the print head is at the position shown at 201. Therefore, in order to print the second logical line, the print head must be moved to the position indicated by 202.

【0026】ここで、本実施例の印刷管理方法との具体
的な比較のために、図2のような印刷結果を得るために
従来方法を適用した場合のプリンタの動作を図3により
説明する。
Here, for a concrete comparison with the print management method of the present embodiment, the operation of the printer when the conventional method is applied to obtain a print result as shown in FIG. 2 will be described with reference to FIG. .

【0027】まず、論理的な1行目の印刷データ
「A」,「B」,「C」を印刷バッファに編集し(30
1)、プリンタ用紙の1行目に印刷する(302,30
3)。このとき、印刷ヘッドは印刷データ「A」,
「B」,「C」の上半分と下半分を印刷するために横方
向に2回動作する。そして、2行目の印刷開始位置まで
印刷ヘッドを移動させる(304)。
First, the print data "A", "B", and "C" of the logical first line are edited in the print buffer (30).
1) Print on the first line of printer paper (302, 30)
3). At this time, the print head print data "A",
It operates twice in the horizontal direction to print the upper half and the lower half of “B” and “C”. Then, the print head is moved to the printing start position of the second line (304).

【0028】次に、印刷バッファをクリアした後、論理
的な2行目の印刷データ「D」,「E」,「F」を印刷
バッファに編集し(305)、プリンタ用紙の2行目に
印刷する(306,307)。このとき、印刷ヘッドは
印刷データ「D」,「E」,「F」の上半分を印刷する
ために縦方向への逆改行で上に1回動作した後、印刷デ
ータ「D」,「E」,「F」の上半分と下半分を印刷す
るために横方向に2回動作する。
Next, after clearing the print buffer, the print data "D", "E", and "F" of the logical second line are edited in the print buffer (305), and the second line of the printer paper is edited. Print (306, 307). At this time, the print head operates once upward with a reverse line feed in the vertical direction to print the upper half of the print data “D”, “E”, and “F”, and then print data “D”, “E”. , "F" operate twice in the horizontal direction to print the upper and lower halves.

【0029】従って、従来方法では、論理的な行の1行
目、2行目の印刷データが重なる場合に、図2のような
印刷結果を得るために印刷ヘッドは横方向に4回、縦方
向に1回動作することになる。
Therefore, according to the conventional method, when the print data of the first and second logical lines overlap, the print head is moved four times in the horizontal direction to obtain the print result as shown in FIG. It will operate once in the direction.

【0030】これに対して、本実施例の印刷管理方法に
おいては、印刷管理部3の制御による図4のフローチャ
ートに基づいて、以下のようにして行われる。なお、図
5には本実施例での印刷バッファ4への印刷データの展
開状態と、プリンタ用紙への印刷状態を示し、処理手順
に合わせて説明する。
On the other hand, in the printing management method of the present embodiment, the following is performed based on the flowchart of FIG. FIG. 5 shows the state of the development of print data in the print buffer 4 and the state of printing on printer paper in the present embodiment, which will be described in accordance with the processing procedure.

【0031】始めに、本実施例では、文字の高さが機械
的な行の高さの2倍であるとし、印刷バッファ4を
〔(機械的な行の高さ×3)×用紙の横サイズ〕分用意
するものとする。なお、本実施例を従来方法に当てはめ
た場合、印刷バッファ4のサイズは、従来方法1では
〔(機械的な行の高さ×1)×用紙の横サイズ〕分、従
来方法2では〔(機械的な行の高さ×2)×用紙の横サ
イズ〕分、従来方法3では〔(機械的な行の高さ×3)
×用紙の横サイズ〕分となる。
First, in this embodiment, it is assumed that the character height is twice the mechanical line height, and the print buffer 4 is set to [(mechanical line height × 3) × width of paper. Size]. When the present embodiment is applied to the conventional method, the size of the print buffer 4 is [(mechanical line height × 1) × the horizontal size of the paper] in the conventional method 1, and [( In the conventional method 3, [(mechanical line height × 3) × (mechanical line height × 2) × paper horizontal size]
× paper horizontal size] minutes.

【0032】まず、ステップ401において、印刷バッ
ファ4の展開開始位置から印刷データを展開し、さらに
ステップ402において、印刷バッファ4の開始位置を
次データの展開開始位置へ移動させる。
First, in step 401, print data is developed from the development start position of the print buffer 4, and in step 402, the start position of the print buffer 4 is moved to the development start position of the next data.

【0033】そして、ステップ403において、印刷バ
ッファ4の展開開始位置が機械的な1行の幅より下方に
移動したか否かを判断し、移動していない場合はステッ
プ401からの処理に戻り、一方移動した場合にはステ
ップ404において展開済みデータを印刷部5に転送す
る。このステップ404の処理時にデータ印刷が行われ
る。
In step 403, it is determined whether or not the development start position of the print buffer 4 has moved below the width of one mechanical line. If not, the process returns to step 401, and On the other hand, if it has moved, the developed data is transferred to the printing unit 5 in step 404. Data printing is performed during the processing of step 404.

【0034】すなわち、図5に示すように、印刷バッフ
ァ4に論理的な1行目の印刷データ「A」,「B」,
「C」を編集した後、印刷バッファ4に論理的な2行目
の印刷データを編集する(501)。
That is, as shown in FIG. 5, print data "A", "B",
After editing "C", the print data of the logical second line is edited in the print buffer 4 (501).

【0035】このとき、2行目の印刷データの先頭が1
行目の機械的な行幅を超えるので、機械的な1行目を印
刷する(502)。この場合に印刷ヘッドは横方向に1
回動作する。
At this time, the head of the print data of the second line is 1
Since it exceeds the mechanical line width of the line, the mechanical first line is printed (502). In this case, the print head is
Works twice.

【0036】次に、ステップ405において、印刷デー
タの展開が終了したか否かを判断し、終了した場合には
処理を終了し、一方処理が終了していない場合にはステ
ップ406において、印刷バッファ4の先頭を次データ
の展開開始位置としてステップ401からの処理を繰り
返す。
Next, in step 405, it is determined whether or not the development of the print data has been completed. If the processing has been completed, the processing is terminated. The process from step 401 is repeated with the top of 4 as the start position of the next data.

【0037】すなわち、図5に示すように、機械的な1
行目を印刷した後(502)、印刷バッファ4の内容を
クリアして印刷バッファ4の先頭を機械的な2行目の印
刷データの先頭位置とする。
That is, as shown in FIG.
After printing the line (502), the contents of the print buffer 4 are cleared and the head of the print buffer 4 is set as the head position of the print data of the second mechanical line.

【0038】さらに、印刷バッファ4の内容をクリアし
た後、論理的な2行目の印刷データ「D」,「E」,
「F」を印刷バッファに編集する(503)。次に、論
理的な3行目の印刷データの編集開始位置が機械的な1
行の幅を超えようとした時点で機械的な2行目の印刷を
行う(504)。このとき、印刷ヘッドは横方向に1回
動作する。
Further, after the contents of the print buffer 4 are cleared, the print data "D", "E",
"F" is edited in the print buffer (503). Next, the edit start position of the logical third line of print data is set to mechanical 1
At the point when the width of the line is about to be exceeded, a mechanical second line is printed (504). At this time, the print head operates once in the horizontal direction.

【0039】そして、印刷を行った後には前データの下
端が印刷バッファ4の先頭となる。また、印刷データ
「D」,「E」,「F」の下半分は次データの編集終了
後に印刷ヘッドを横方向に1回動作させて印刷する。
After printing, the lower end of the previous data becomes the head of the print buffer 4. The lower half of the print data "D", "E", and "F" is printed by operating the print head once in the horizontal direction after the end of editing the next data.

【0040】これにより、本実施例においては、印刷ヘ
ッドの横方向への動作は3回となり、図7に示す従来方
法1に比べて横方向への印刷ヘッドの動作が少ないため
に印刷速度が向上する。さらに、印刷ヘッドの上方向へ
の動作に伴う機械的なずれが生じないために印刷品質が
向上する。
As a result, in the present embodiment, the operation of the print head in the horizontal direction is performed three times, and the operation of the print head in the horizontal direction is smaller than in the conventional method 1 shown in FIG. improves. Further, since there is no mechanical displacement caused by the upward movement of the print head, print quality is improved.

【0041】また、印刷バッファ4を1ページ分有し、
文字の重ね合わせを印刷バッファ4上で行う方法では、
図8に示す従来方法2と同等の印刷速度および印刷品質
が得られる。しかし、図8に示す従来方法2では印刷バ
ッファ4を〔(機械的な行の高さ×3)×用紙の横サイ
ズ〕分しか持たないため、印刷バッファ4を1ページ分
有する従来方法2に比べてメモリ容量を低減できる。
The print buffer 4 has one page, and
In the method of superimposing characters on the print buffer 4,
A printing speed and a printing quality equivalent to the conventional method 2 shown in FIG. 8 are obtained. However, in the conventional method 2 shown in FIG. 8, since the print buffer 4 has only [(mechanical line height × 3) × the horizontal size of the paper], the conventional method 2 has the print buffer 4 for one page. The memory capacity can be reduced in comparison.

【0042】さらに、印刷バッファ4の低減を考慮した
印刷管理方法である従来方法3を本実施例に当てはめた
場合、印刷バッファ4は〔(機械的な行の高さ×3)×
用紙の横サイズ〕分必要となり、本実施例においては従
来方法3と比べて同等の印刷バッファ4の低減効果が期
待できる。
Further, when the conventional method 3 which is a print management method in consideration of the reduction of the print buffer 4 is applied to this embodiment, the print buffer 4 becomes [(mechanical line height × 3) ×
In this embodiment, a reduction effect of the print buffer 4 equivalent to the conventional method 3 can be expected.

【0043】また、たとえば文字の高さ=機械的な行の
高さの場合では、本発明の方法では印刷バッファ4のサ
イズは〔(機械的な行の高さ×2)×用紙の横サイズ〕
となり、これに比べて従来方法3では印刷バッファ4は
〔(機械的な行の高さ×3)×用紙の横サイズ〕となる
ため、このような場合にも印刷バッファ4の低減という
目的において優れている。
For example, in the case where the height of a character is equal to the height of a mechanical line, the size of the print buffer 4 is [(mechanical line height × 2) × horizontal size of paper] in the method of the present invention. ]
In contrast, in the conventional method 3, the print buffer 4 is [(mechanical line height × 3) × the horizontal size of the sheet]. Are better.

【0044】従って、本実施例のプリンタにおける印刷
管理方法によれば、容量が限定された印刷バッファ4を
用い、処理中の行の印刷データと次行以降の印刷データ
とを内部の印刷バッファ4上で重ね合わせていき、印刷
データの先頭位置が機械的な1行の幅を超えた時点で印
刷を行うことにより、以下のような作用効果を得ること
ができる。
Therefore, according to the print management method in the printer of this embodiment, the print buffer 4 having a limited capacity is used, and the print data of the line being processed and the print data of the next and subsequent lines are stored in the internal print buffer 4. By superimposing the above data and performing printing when the leading position of the print data exceeds the width of one mechanical line, the following operation and effect can be obtained.

【0045】(1).複数行の印刷データの重ね合わせを印
刷バッファ4上で実現するため、印刷ヘッドの動作に伴
う機械的な誤差がなくなり、印刷品質を向上させること
ができる。
(1) Since superposition of a plurality of lines of print data is realized on the print buffer 4, a mechanical error due to the operation of the print head is eliminated, and print quality can be improved.

【0046】(2).印刷ヘッドの動作回数が低減できるた
め、印刷速度を向上させることができる。
(2) Since the number of operations of the print head can be reduced, the printing speed can be improved.

【0047】(3).〔機械的な1行の高さ+論理的な1行
の高さ)×用紙の横サイズ〕分の容量しか印刷バッファ
4を持たないため、メモリ容量を低減することができ
る。
(3) Since the print buffer 4 has only the capacity of [mechanical one line height + logical one line height] × paper horizontal size, the memory capacity can be reduced. Can be.

【0048】本発明は前記実施例に限定されるものでは
なく、その要旨を逸脱しない範囲で種々変更可能である
ことはいうまでもない。
The present invention is not limited to the above embodiment, and it goes without saying that various changes can be made without departing from the spirit of the present invention.

【0049】たとえば、本実施例のプリンタについて
は、特に印刷ヘッドの動作によって印刷を行うラインプ
リンタに適用した場合について説明したが、本発明は前
記実施例に限定されるものではなく、ページプリンタな
どに適用する場合についても適用可能である。
For example, the printer according to the present embodiment has been particularly described as applied to a line printer which performs printing by the operation of a print head. However, the present invention is not limited to the above-described embodiment, and may be applied to a page printer or the like. It is also applicable to the case of applying to.

【0050】このページプリンタに適用した場合には、
コントローラの構成は図1に示すものと同様になるた
め、印刷管理部の処理フローも図4に示すものと同様に
なり、従って複数の論理行が重なり合う印刷データを印
刷する場合、印刷部への印刷データの転送の回数が従来
の方法に比べて少なくなる。
When applied to this page printer,
Since the configuration of the controller is the same as that shown in FIG. 1, the processing flow of the print management unit is also the same as that shown in FIG. 4. Therefore, when printing print data in which a plurality of logical lines overlap, printing to the printing unit is performed. The number of times of transfer of print data is reduced as compared with the conventional method.

【0051】このため、ページプリンタにおいても、複
数の論理行が重なり合う印刷データを印刷する場合には
印刷処理時間の低減が期待できる。ただし、印刷を印刷
ヘッドの動作によって行うプリンタでない場合、印刷ヘ
ッドの動作を削減することによる印刷処理時間の低減効
果は期待できず、印刷処理時間の低減は印刷データの転
送処理の回数の低減による効果のみ期待できる。
For this reason, even in a page printer, when printing print data in which a plurality of logical lines overlap, a reduction in print processing time can be expected. However, if the printer is not a printer that performs printing by the operation of the print head, the effect of reducing the print processing time by reducing the operation of the print head cannot be expected. Only effects can be expected.

【0052】[0052]

【発明の効果】本発明によれば、処理中の行の印刷デー
タと次行以降の印刷データとを内部の印刷バッファ上で
重ね合わせていき、印刷データの先頭位置が機械的な1
行の幅を超えた時点で印刷を行うために、印刷バッファ
からプリンタへの印刷データの転送回数を削減すること
ができるので、印刷時間の低減が可能となる。
According to the present invention, the print data of the line being processed and the print data of the next and subsequent lines are superimposed on the internal print buffer, and the leading position of the print data is set to a mechanical one.
Since printing is performed at the point in time when the line width is exceeded, the number of times of transfer of print data from the print buffer to the printer can be reduced, so that the printing time can be reduced.

【0053】また、本発明によれば、印刷バッファから
プリンタへの印刷データの転送回数を削減することがで
きるため、印刷ヘッドが左右に動作するラインプリンタ
においては印刷ヘッドの動作回数を削減することができ
るので、印刷時間の低減が可能となる。
Further, according to the present invention, the number of times that print data is transferred from the print buffer to the printer can be reduced. Therefore, in a line printer in which the print head moves left and right, the number of times the print head operates can be reduced. Therefore, the printing time can be reduced.

【0054】さらに、本発明によれば、印刷ヘッドは下
方向にしか動作しないため、機械的な1行に印刷できる
幅中に論理的な複数の行の文字が存在する場合には印刷
時間の低減と、印刷ヘッドの動作に伴う機械的な誤差が
なくなり、印刷品質の向上が可能となる。
Further, according to the present invention, since the print head operates only in the downward direction, when there are logically multiple lines of characters within the width that can be printed on one mechanical line, the print time is reduced. The reduction and the mechanical error accompanying the operation of the print head are eliminated, and the print quality can be improved.

【0055】この結果、本発明においては、印刷バッフ
ァを〔(機械的な1行の高さ+論理的な1行の高さ)×
用紙の横サイズ〕分しか持たないことによってメモリ容
量を低減し、かつラインプリンタにおいて1行に印刷で
きる機械的な幅中に論理的な複数の行が重なりあう場合
の印刷ヘッドの動作が少なくなるので、印刷速度および
印刷品質の向上が可能となる。
As a result, in the present invention, the print buffer is set to [(mechanical one line height + logical one line height) ×
The memory capacity is reduced by having only the [width of the paper], and the operation of the print head when a plurality of logical lines overlap in a mechanical width that can be printed on one line in a line printer is reduced. Therefore, printing speed and printing quality can be improved.

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

【図1】本発明の一実施例であるプリンタのコントロー
ラを示す構成図である。
FIG. 1 is a configuration diagram illustrating a controller of a printer according to an embodiment of the present invention.

【図2】本実施例の対象とする事象の印刷結果を示す説
明図である。
FIG. 2 is an explanatory diagram illustrating a print result of an event that is a target of the embodiment.

【図3】本実施例と比較した場合の従来方法によるプリ
ンタの動作を示す説明図である。
FIG. 3 is an explanatory diagram illustrating an operation of a printer according to a conventional method when compared with the present embodiment.

【図4】本実施例による印刷管理の制御を示すフローチ
ャートである。
FIG. 4 is a flowchart illustrating print management control according to the embodiment.

【図5】本実施例によるプリンタの動作を示す説明図で
ある。
FIG. 5 is an explanatory diagram showing an operation of the printer according to the embodiment.

【図6】従来技術の一例であるプリンタにおける1ペー
ジ分の印刷データを示す説明図である。
FIG. 6 is an explanatory diagram showing print data for one page in a printer as an example of the related art.

【図7】従来技術の一例であるプリンタにおいて、印刷
実行例を示す説明図である。
FIG. 7 is an explanatory diagram showing a print execution example in a printer which is an example of a conventional technique.

【図8】従来技術の一例であるプリンタにおいて、他の
印刷実行例を示す説明図である。
FIG. 8 is an explanatory diagram showing another example of printing execution in a printer as an example of the related art.

【図9】従来技術の一例であるプリンタにおいて、機械
的な複数の行に複数の論理的な行がまたがって存在する
場合の印刷実行例を示す説明図である。
FIG. 9 is an explanatory diagram showing a print execution example in a case where a plurality of logical lines exist over a plurality of mechanical lines in a printer which is an example of the related art.

【図10】従来技術の一例であるプリンタにおいて、機
械的な複数の行に複数の論理的な行がまたがって存在す
る場合の他の印刷実行例を示す説明図である。
FIG. 10 is an explanatory diagram showing another example of executing printing when a printer, which is an example of the related art, includes a plurality of mechanical lines and a plurality of logical lines.

【図11】従来技術の一例であるプリンタにおいて、機
械的な複数の行に複数の論理的な行がまたがって存在す
る場合のさらに他の印刷実行例を示す説明図である。
FIG. 11 is an explanatory diagram showing still another print execution example in a case where a plurality of logical lines extend over a plurality of mechanical lines in a printer as an example of the related art.

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

1・・・入力部、2・・・文字フォント部、3・・・印
刷管理部、4・・・印刷バッファ、5・・・印刷部。
1 ... input section, 2 ... character font section, 3 ... print management section, 4 ... print buffer, 5 ... print section.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 平山 奈津彦 神奈川県秦野市堀山下1番地 日立コン ピュータエンジニアリング株式会社内 (72)発明者 本多 昭 神奈川県海老名市下今泉810番地 株式 会社日立製作所 オフィスシステム事業 部内 (56)参考文献 特開 昭63−72556(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/12 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Natsuhiko Hirayama 1-Horiyamashita, Hadano-shi, Kanagawa Prefecture Inside Hitachi Computer Engineering Co., Ltd. (72) Inventor Akira Honda 810 Shimo-Imaizumi, Ebina-shi, Kanagawa Hitachi, Ltd. Office System Division (56) References JP-A-63-72556 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3/12

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 〔(印刷ヘッドの1回の横方向への動作
で印刷できる機械的な1行の高さ+機械的な複数行の高
さからなる論理的な1行の高さ)×用紙の横サイズ〕の
容量を持つ印刷バッファを備え、メモリ容量の低減を考
慮して前記印刷バッファを用いて印刷データの取り扱い
を行う印刷管理方法であって、前記印刷バッファの先頭
から前記論理的な1行の印刷データを展開する第1のス
テップと、この第1のステップを繰り返し、任意の印刷
データの先頭が前記印刷バッファの先頭から前記機械的
な1行の高さの位置を越えようとしたとき、この機械的
な1行分の印刷データをプリンタに転送する第2のステ
ップと、さらに次の印刷データを展開する位置を前記印
刷バッファの先頭として前記第1のステップに戻る第3
のステップとを有することを特徴とする印刷管理方法。
[(1) The height of one mechanical line that can be printed by one horizontal operation of the print head + the height of a plurality of mechanical lines
Comprising a print buffer with a capacity of horizontal size] height) × sheet logical one row consisting of the print management method in consideration of the reduction of memory capacity carries out the handling of the print data using the print buffer A first step of expanding the logical one line of print data from the head of the print buffer; and repeating the first step, and the head of any print data is A second step of transferring the print data of one mechanical line to the printer when it is attempted to exceed the position of one mechanical line height; Return to the first step as the beginning of the buffer;
And a print management method.
【請求項2】 請求項1記載の印刷管理方法であって、
この印刷管理方法を前記印刷ヘッドを左右に動作させる
ことにより印刷を行うラインプリンタに用いることを特
徴とする印刷管理方法。
2. The print management method according to claim 1, wherein:
A print management method, wherein the print management method is used for a line printer that performs printing by operating the print head left and right.
【請求項3】 請求項1または2記載の印刷管理方法で
あって、この印刷管理方法を適用したラインプリンタに
おいて、前記機械的な1行に印刷できる幅中に前記論理
的な複数の行の文字が存在する場合に用いることを特徴
とする印刷管理方法。
3. The print management method according to claim 1, wherein in the line printer to which the print management method is applied, the logical plurality of lines are printed within a width that can be printed on the mechanical one line. A print management method used when characters exist.
JP30853494A 1994-12-13 1994-12-13 Print management method Expired - Fee Related JP3321323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30853494A JP3321323B2 (en) 1994-12-13 1994-12-13 Print management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30853494A JP3321323B2 (en) 1994-12-13 1994-12-13 Print management method

Publications (2)

Publication Number Publication Date
JPH08166857A JPH08166857A (en) 1996-06-25
JP3321323B2 true JP3321323B2 (en) 2002-09-03

Family

ID=17982195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30853494A Expired - Fee Related JP3321323B2 (en) 1994-12-13 1994-12-13 Print management method

Country Status (1)

Country Link
JP (1) JP3321323B2 (en)

Also Published As

Publication number Publication date
JPH08166857A (en) 1996-06-25

Similar Documents

Publication Publication Date Title
JP3321323B2 (en) Print management method
US5205660A (en) Printer capable of generating reduced width bold characters
JPS5941052A (en) Character pattern generator
EP0090802B1 (en) A page modification method in a printer subsystem of the partial page buffer composing type
JP2946548B2 (en) Page printer with editing function
JP2748622B2 (en) Printer
JP3143118B2 (en) Printer and print image pattern development method
JP3077449B2 (en) Dot pattern conversion method and dot pattern conversion device
JP2916274B2 (en) Extended pattern processing method for printer
JPH0584229B2 (en)
JPH0577496A (en) Printer device
JPH08183208A (en) Method and apparatus for recording bit map
JPH03120060A (en) Scale-down printing method
JPH02107459A (en) Contract printing method
JPH08167038A (en) Pattern drawing system
JPH04344269A (en) Printer device
JPH0533404B2 (en)
JPH08197807A (en) Printer and multiple column printing method thereof
JPH0473170A (en) Serial printer
JPH08241308A (en) Method and device for image processing
JPH02130167A (en) Printing control apparatus
JPS6124484A (en) Space control system for printer
JPH02294724A (en) Image data printing system
JPH05197504A (en) Data transfer control system
JPH07242030A (en) Perfecting press

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees