JPH06143728A - Printing control method - Google Patents

Printing control method

Info

Publication number
JPH06143728A
JPH06143728A JP30523892A JP30523892A JPH06143728A JP H06143728 A JPH06143728 A JP H06143728A JP 30523892 A JP30523892 A JP 30523892A JP 30523892 A JP30523892 A JP 30523892A JP H06143728 A JPH06143728 A JP H06143728A
Authority
JP
Japan
Prior art keywords
line
image data
print
printing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP30523892A
Other languages
Japanese (ja)
Other versions
JP2878536B2 (en
Inventor
Eisuke Takebe
英輔 武部
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP30523892A priority Critical patent/JP2878536B2/en
Publication of JPH06143728A publication Critical patent/JPH06143728A/en
Application granted granted Critical
Publication of JP2878536B2 publication Critical patent/JP2878536B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To provide a printing control method suitable for a printer having a multiline head enabling accurate printing without bringing about an increase in economical burden and the lowering of capacity. CONSTITUTION:The image data stored in an image data memory 10 are once developed on a plurality of work buffer memories in a line unit on the basis of printing data and subsequently developed on the line buffer memory 12 allowed to correspond to the printing line width of a printing head 3 to print the image data of a plurality of lines by one scanning printing operation.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータ等の出力
機器として多用されているプリンタの印字制御方法に係
り、特に、印字ヘッドとして複数の印字行を同時に印字
することが可能な、いわゆるマルチラインヘッドを有す
るプリンタに好適な印字制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control method for a printer which is frequently used as an output device such as a computer, and more particularly to a so-called multi-line which can print a plurality of print lines simultaneously as a print head. The present invention relates to a print control method suitable for a printer having a head.

【0002】[0002]

【従来の技術】一般に、印字速度の向上を図るために複
数の印字行を同時に印字するマルチラインヘッドを用い
た各種のプリンタが提案されている。
2. Description of the Related Art Generally, various printers using a multi-line head for simultaneously printing a plurality of print lines have been proposed in order to improve the print speed.

【0003】このようなプリンタとしては、例えばプラ
テンの前方に、用紙等の記録媒体と、熱溶融性インクを
塗工させたインクリボンとを支持しておき、所望の複数
の印字行(印字行幅)に対応する複数の発熱素子を配列
させたマルチラインヘッドとしてのサーマルヘッドをキ
ャリッジとともにプラテンに沿って往復動作させなが
ら、前記サーマルヘッドに整列配置されている発熱素子
をコンピュータから送信されて来る印字情報に基づいて
選択的に発熱させることにより、用紙等の記録媒体上に
所望の文字などの画像の印字を一走査の印字動作におい
て複数の印字行を同時に印字する熱転写プリンタ等が提
案されている。
As such a printer, for example, a recording medium such as paper and an ink ribbon coated with a heat-meltable ink are supported in front of a platen, and a plurality of desired print lines (print lines) are provided. The thermal elements as a multi-line head in which a plurality of heating elements corresponding to the width are arranged are reciprocally moved along with the carriage along the platen, and the heating elements arranged in the thermal head are transmitted from the computer. A thermal transfer printer or the like has been proposed which prints a plurality of print lines simultaneously in a single-scan printing operation to print an image of a desired character or the like on a recording medium such as paper by selectively heating the print medium based on print information. There is.

【0004】また、記録媒体は印字位置より記録媒体の
走行方向上流側に配設されている紙送りローラ等の適宜
な走行手段により、プラテンの長手方向と直交する方向
に紙送りされるようになっている。
Further, the recording medium is fed in a direction orthogonal to the longitudinal direction of the platen by an appropriate running means such as a paper feeding roller arranged upstream of the printing position in the running direction of the recording medium. Has become.

【0005】また、前記熱転写プリンタにおいては、コ
ンピュータから送信されて来る印字情報に基づいて、熱
転写プリンタに内蔵されているCG(例えば48ドット
の文字フォント等が格納されている画像データ格納メモ
リ、キャラクタージェネレータの略称)から、所望の画
像データをサーマルヘッドの複数行の印字行幅(例えば
48ドットの文字フォントの3行分に相当する144ド
ット等)に対応させたラインバッファメモリに、印字行
幅分の画像データを展開し、このラインバッファメモリ
に展開した印字行幅分の画像データを一度に印字させる
ようにした印字制御方法が用いられている。つまり、一
走査の印字動作において複数行の文字列もしくはビット
イメージを印字可能としている。
Further, in the thermal transfer printer, based on the print information transmitted from the computer, a CG (for example, an image data storage memory in which a character font of 48 dots or the like is stored in the thermal transfer printer, a character is stored). From the generator abbreviation), the print line width is stored in the line buffer memory in which desired image data is associated with the print line width of a plurality of lines of the thermal head (for example, 144 dots corresponding to three lines of a 48-dot character font). A print control method is used in which minute image data is expanded and image data for the print line width expanded in the line buffer memory is printed at one time. That is, it is possible to print a plurality of lines of character strings or bit images in one scan printing operation.

【0006】また、このような印字制御方法を用いた熱
転写プリンタにおいては、例えば144ドットの印字行
幅を有するラインバッファメモリに、48ドットの画像
データを適宜なマージン(改行幅)を以て展開すると、
図6に示すように、データAおよびデータBで示す1行
目および2行目の画像データはラインバッファメモリ内
に展開させることができるが、データCで示す示す3行
目の画像データはその行の図中上部の一部のみがライン
バッファメモリ内に展開されることになる。つまり、一
走査の印字動作において、データAおよびデータBなら
びにデータCの上部が用紙に印字される。そして、デー
タCの下部は次の印字動作時に他のデータとともに印字
(分割印字)されるようにされている。すなわち、分割
印字させることにより、インクリボンを効率よく消費さ
せるとともに、印字速度の向上が図られている。
Further, in a thermal transfer printer using such a print control method, when 48-dot image data is developed with an appropriate margin (line feed width) in a line buffer memory having a print line width of 144 dots, for example,
As shown in FIG. 6, the image data of the first and second rows indicated by the data A and the data B can be expanded in the line buffer memory, but the image data of the third row indicated by the data C can be expanded. Only part of the upper part of the line in the figure will be expanded in the line buffer memory. That is, in the one-scan printing operation, the upper portions of the data A, the data B, and the data C are printed on the paper. The lower part of the data C is printed (divided printing) together with other data in the next printing operation. That is, by performing the divided printing, the ink ribbon is efficiently consumed and the printing speed is improved.

【0007】また、熱転写プリンタにおいては、一般
に、サーマルヘッドに対する記録媒体の位置(印字位
置)として、記録媒体が前記走行手段を離脱しないで紙
送り可能な印字可能領域と、記録媒体が走行手段を離脱
し印字不可能となる印字不可能領域(記録媒体の走行方
向後端部)とが設けられている。
Further, in a thermal transfer printer, generally, as a position (printing position) of the recording medium with respect to the thermal head, a printable area in which the recording medium can be fed without leaving the traveling means, and the recording medium serves as the traveling means. An unprintable area (the trailing end portion of the recording medium in the running direction) is provided so that the print medium cannot be printed due to the separation.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、前述し
た従来の印字制御方法を用いた熱転写プリンタにおいて
は、印字位置が記録媒体の走行方向後端部近傍の印字可
能領域の最終端位置になった場合に、ラインバッファ内
に分割されない画像データが展開され、かつ、用紙が正
しく装着されていれば印字は適正に行われるので問題な
いが、ラインバッファ内に画像データが分割された状態
で展開されている場合には、最終印字行の上部の一部だ
けが印字され、最終行の残りの部分の印字は次の頁の先
頭行になされるという問題点があった。
However, in the thermal transfer printer using the above-mentioned conventional print control method, when the print position is the final end position of the printable area near the rear end in the running direction of the recording medium. , There is no problem because the image data that is not divided in the line buffer is expanded and printing is performed properly if the paper is loaded correctly, but the image data is expanded in the line buffer when it is divided. If there is, there is a problem that only a part of the upper part of the last printed line is printed and the remaining part of the last printed line is printed on the first line of the next page.

【0009】つまり、図7に示すように、ラインバッフ
ァメモリ内に格納させた複数行の画像データの一部の
行、例えば最終行が記録媒体の印字可能領域を越えて印
字不可能領域内にまで亘るようになった場合には、ライ
ンバッファメモリ内に格納させた複数行の画像データの
すべてを次の頁に印字するのでは、記録媒体の走行方向
後端部(記録媒体の下部)に大きな余白が生じるという
問題が発生するので、ラインバッファメモリ内に印字可
能な行のみの画像データを展開せざるを得ず、ラインバ
ッファメモリ内に印字可能な行のみの画像データを展開
するには、種々のセンサを配置するとともに、煩雑な印
字制御方法を用いなければならず、部品点数の増加によ
る経済的負担の増大、煩雑な印字制御方法を用いること
による処理速度の低下、プリンタの性能低下という問題
点があり、経済的負担が少ないとともにプリンタの性能
低下のない印字制御方法が望まれていた。
That is, as shown in FIG. 7, a part of a plurality of lines of image data stored in the line buffer memory, for example, the last line exceeds the printable area of the recording medium and enters the unprintable area. If all the image data of a plurality of lines stored in the line buffer memory are printed on the next page, the recording medium may be printed at the trailing end of the recording medium in the running direction (the lower part of the recording medium). Since there is a problem that a large margin occurs, it is unavoidable to expand the image data of only printable lines in the line buffer memory, and to expand the image data of only printable lines in the line buffer memory. However, it is necessary to arrange various sensors and use a complicated print control method, which increases the economical burden due to an increase in the number of parts and reduces the processing speed due to the use of the complicated print control method. , There is a problem that performance degradation of the printer, no print control method of performance degradation of the printer with a small economic burden has been desired.

【0010】本発明はこれらの点に鑑みてなされたもの
であり、前述した従来のものにおける問題点を克服し、
経済的負担の増大および性能低下を招かずに正確な印字
を可能とするマルチラインヘッドを有するプリンタに好
適な印字制御方法を提供することを目的とする。
The present invention has been made in view of these points, and overcomes the above-mentioned problems with the conventional ones.
An object of the present invention is to provide a print control method suitable for a printer having a multi-line head that enables accurate printing without increasing an economic burden and reducing performance.

【0011】[0011]

【課題を解決するための手段】前述した目的を達成する
ため請求項1に記載の本発明の印字制御方法は、印字情
報に基づいて画像データ格納メモリに格納されている画
像データを、複数のワークバッファメモリに行単位にて
一旦展開し、その後印字ヘッドの印字行幅に対応させた
ラインバッファメモリに展開させることにより、複数行
の画像データを一走査の印字動作で印字することを特徴
としている。
In order to achieve the above-mentioned object, the print control method of the present invention according to claim 1 is characterized in that a plurality of image data stored in the image data storage memory are stored on the basis of print information. Characteristic of printing image data of multiple lines in one scan printing operation by once expanding line by line in the work buffer memory and then expanding in line buffer memory corresponding to the print line width of the print head There is.

【0012】また、請求項2に記載の本発明の印字制御
方法は、請求項1において、記録媒体に対する印字位置
が記録媒体の印字可能領域の最終端位置となった場合
に、複数のワークバッファメモリに展開されている画像
データから印字可能な行の画像データのみをラインバッ
ファメモリに展開させて印字することを特徴としてい
る。
According to a second aspect of the present invention, there is provided a print control method according to the first aspect, wherein a plurality of work buffers are used when the print position on the recording medium is the final end position of the printable area of the recording medium. The feature is that only the image data of the printable line is expanded in the line buffer memory and printed from the image data expanded in the memory.

【0013】[0013]

【作用】前述した構成からなる本発明の印字制御方法に
よれば、複数のワークバッファメモリに所望の画像デー
タを行単位にて一旦展開し、その後印字ヘッドの印字行
幅に対応させたラインバッファメモリに展開させること
ができるので、画像データを行単位で簡単に制御するこ
とができる。そして、画像データを行単位で簡単に制御
することがきるので、必要な行の画像データのみをワー
クバッファメモリからラインバッファメモリに、簡単に
対応させて展開し印字させることができる。
According to the print control method of the present invention having the above-described configuration, the desired image data is once expanded in a plurality of work buffer memories line by line, and then the line buffer is made to correspond to the print line width of the print head. Since it can be expanded in the memory, the image data can be easily controlled line by line. Since the image data can be easily controlled on a line-by-line basis, only the image data of the necessary lines can be easily expanded from the work buffer memory to the line buffer memory and printed.

【0014】[0014]

【実施例】以下、本発明の実施例を図1から図5につい
て説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described below with reference to FIGS.

【0015】図1は本発明に係る印字制御方法をマルチ
ラインヘッドを有する熱転写プリンタに適用した一実施
例の要部の構成を示す模式図である。
FIG. 1 is a schematic view showing the structure of the essential part of an embodiment in which the print control method according to the present invention is applied to a thermal transfer printer having a multi-line head.

【0016】図1に示すように、本実施例の印字制御方
法を適用する熱転写プリンタ1には、平板状のプラテン
2に対向するようにして、図示しないキャリッジに搭載
されたマルチラインヘッドとして144ドットの印字行
幅を有するサーマルヘッド3が配置されている。なお、
サーマルヘッド3のドットの数は所望の複数の印字行を
1回の印字動作で印字可能とされていればよく、後述す
るCGのドット数および設計コンセプト等により種々の
ものを選択することができ、特に、本実施例に限定され
るものではない。
As shown in FIG. 1, in the thermal transfer printer 1 to which the printing control method of this embodiment is applied, a multi-line head 144 mounted as a multi-line head on a carriage (not shown) so as to face the platen 2 is provided. A thermal head 3 having a print line width of dots is arranged. In addition,
The number of dots of the thermal head 3 may be any number as long as it can print desired plural print lines by one printing operation, and various ones can be selected depending on the number of CG dots and design concept described later. However, the present invention is not particularly limited to this example.

【0017】また、前記サーマルヘッド3の図において
左方には、記録媒体としての用紙4等を、図において矢
印で示すプラテン2の方向に走行させる走行手段5が配
置されている。この走行手段5は、給紙ローラ6と補助
ローラ7とにより構成されている。給紙ローラ6は適宜
な素材により断面略円形に形成されて、図示しない適宜
なフレームに装着されており、図示しない駆動モータ等
の適宜な駆動手段により回動自在とされている。そし
て、補助ローラ7は適宜な素材により断面略円形に形成
されており、前記給紙ローラ6に対して所定の当接力を
以て接離自在とされるとともに、回転自在とされてい
る。
Further, on the left side of the thermal head 3 in the figure, a traveling means 5 for traveling the paper 4 as a recording medium in the direction of the platen 2 shown by the arrow in the figure is arranged. The traveling means 5 is composed of a paper feed roller 6 and an auxiliary roller 7. The paper feed roller 6 is made of an appropriate material and has a substantially circular cross section, is attached to an appropriate frame (not shown), and is rotatable by an appropriate drive means such as a drive motor (not shown). The auxiliary roller 7 is made of an appropriate material and has a substantially circular cross section. The auxiliary roller 7 can be brought into and out of contact with the paper feeding roller 6 with a predetermined abutting force, and can be rotated.

【0018】また、前記走行手段5の用紙4の走行方向
後方には、用紙5の終端を検出する光センサ、リミット
スイッチ等の用紙終端検出手段8が配置されている。
Further, a sheet end detecting means 8 such as an optical sensor for detecting the end of the sheet 5 and a limit switch is arranged behind the sheet 4 of the traveling means 5 in the traveling direction.

【0019】前記サーマルヘッド3、走行手段5、用紙
終端検出手段8の位置関係を説明すると、サーマルヘッ
ド3のヘッド高さをH(例えば約10mm)、サーマル
ヘッド3の走行手段5と対向する後端位置をA、走行手
段5の中心位置をB、用紙終端検出手段8による用紙4
の終端検出位置をCとすると、AB間の距離をL2(例
えば12mm程度)、BC間の距離をL1(例えば12
mm程度)とされている。なお、この位置関係は本実施
例に限定されるものでなく、設計コンセプト等により適
宜な距離を決定すればよい。
The positional relationship among the thermal head 3, the traveling means 5, and the sheet end detecting means 8 will be described. The head height of the thermal head 3 is H (for example, about 10 mm), and the thermal head 3 faces the traveling means 5 The end position is A, the center position of the traveling unit 5 is B, and the sheet 4 by the sheet end detection unit 8 is
If the end detection position of is C, the distance between AB is L2 (for example, about 12 mm), and the distance between BC is L1 (for example, 12 mm).
mm). Note that this positional relationship is not limited to this embodiment, and an appropriate distance may be determined according to the design concept and the like.

【0020】また、熱転写プリンタ1の適宜な位置に
は、少なくとも図示しないコンピュータなどの印字情報
および前記用紙終端検出手段8等の情報等に基づいて、
前記サーマルヘッド3および走行手段等5の駆動、停止
等を制御する所望の制御手段9等が配置されている。
Further, at an appropriate position of the thermal transfer printer 1, at least based on printing information of a computer or the like (not shown) and information of the sheet end detecting means 8 or the like,
Desired control means 9 for controlling driving, stopping, etc. of the thermal head 3 and the traveling means 5 are arranged.

【0021】前記制御手段9には、少なくとも48ドッ
トの文字フォント等の画像データが格納されているCG
10と、このCG10に格納されている画像データのド
ットの数、本実施例では48ドットの文字幅からなる複
数、本実施例では3個のワークバッファメモリ11と、
サーマルヘッド3の1回の印字動作の印字行幅、本実施
例では144ドットに対応させたラインバッファメモリ
12と、図示しない制御プログラムを格納するプログラ
ム格納メモリ等が設けられている。なお、CG10のド
ットの数は種々のものを選択することができ、特に、本
実施例に限定されるものではない。また、ワークバッフ
ァメモリ11の数およびラインバッファメモリ12の印
字行幅等は、種々のものを選択することができ、特に、
本実施例に限定されるものではない。
The control means 9 stores CG which stores image data such as a character font of at least 48 dots.
10 and the number of dots of the image data stored in the CG 10, a plurality of character widths of 48 dots in this embodiment, three work buffer memories 11 in this embodiment,
A line buffer memory 12 corresponding to a print line width for one print operation of the thermal head 3, 144 dots in this embodiment, a program storage memory for storing a control program (not shown), and the like are provided. The number of dots of the CG 10 can be selected variously and is not particularly limited to this embodiment. In addition, the number of work buffer memories 11 and the print line width of the line buffer memory 12 can be selected variously.
The present invention is not limited to this example.

【0022】つぎに、本実施例の熱転写プリンタ1に適
用する印字制御方法について図2から図5により説明す
る。
Next, a printing control method applied to the thermal transfer printer 1 of this embodiment will be described with reference to FIGS.

【0023】図2は本発明に係る印字制御方法の一実施
例を示すフローチャートであり、図3は画像データをワ
ークバッファメモリに展開した状態を説明する模式図で
あり、図4は要部の位置関係を示す説明図であり、図5
はワークバッファメモリに展開した画像データをライン
バッファメモリに展開した状態を説明する模式図であ
る。
FIG. 2 is a flow chart showing an embodiment of the print control method according to the present invention, FIG. 3 is a schematic diagram for explaining a state in which image data is expanded in a work buffer memory, and FIG. 4 is a main part. It is explanatory drawing which shows a positional relationship, and FIG.
FIG. 6 is a schematic diagram illustrating a state in which image data expanded in a work buffer memory is expanded in a line buffer memory.

【0024】なお、説明上図2に示すフローチャートを
主とし、図3から図5により補足しながら説明する。
For the sake of explanation, the flow chart shown in FIG. 2 will be mainly described, and a supplementary explanation will be given with reference to FIGS. 3 to 5.

【0025】まず、印字情報に基づいて、所望の文字等
の画像データを48ドットのCG10から取り出し、制
御コード等により指定される各種の装飾を施した後に、
図3に示すように、3個の行単位で構成されるワークバ
ッファメモリ11,11,11にデータA、データB、
データCとして順次展開させて格納するとともに処理が
開始される。
First, based on the print information, the image data of a desired character or the like is taken out from the 48-dot CG 10 and various decorations designated by a control code or the like are applied,
As shown in FIG. 3, the data A, the data B, and
The data C is sequentially expanded and stored, and the process is started.

【0026】そして、ステップST10において、図4に
示すように、用紙4を前回の印字位置P0から図におい
て破線で示す次の印字位置P2に走行させるために必要
な所定の走行距離M2が印字情報に基づいて指令され、
つぎのステップST11に進行する。
Then, in step ST10, as shown in FIG. 4, the predetermined traveling distance M2 required for traveling the paper 4 from the previous printing position P0 to the next printing position P2 shown by the broken line in the figure is the print information. Based on
Then, the process proceeds to step ST11.

【0027】つぎに、ステップST11において、走行手
段5を駆動させて用紙4の走行を開始し、つぎのステッ
プST12に進行する。
Next, in step ST11, the traveling means 5 is driven to start traveling of the sheet 4, and the process proceeds to the next step ST12.

【0028】つぎに、ステップST12において、用紙終
端検出手段8が用紙4の終端を検出したかどうかを判断
し、ステップST12の判断がNO(用紙4の終端が検出
されない)の場合には、つぎのステップST13に進行す
る。
Next, in step ST12, it is judged whether or not the paper end detecting means 8 has detected the end of the paper 4, and if the judgment in step ST12 is NO (the end of the paper 4 is not detected), then To step ST13.

【0029】つぎに、ステップST13において、所定の
走行距離M2を用紙4が走行したかどうかを判断し、ス
テップST13の判断がNO(所定の走行距離M2を用紙
4が未走行)の場合には、前記ステップST12に戻り、
ステップST13の判断がYES(所定の走行距離M2を
走行完了)になるまで走行手段5を駆動させる。そし
て、ステップST13の判断がYES(所定の走行距離M
2を走行完了)の場合には、走行手段5を停止させ、つ
ぎのステップST14に進行し、3個のワークバッファメ
モリ11,11,11に格納された行単位の画像データ
(データA、データB、データC)を144ドットのラ
インバッファメモリ12の所定位置に展開させた後、つ
ぎのステップST15に進行する。
Next, in step ST13, it is determined whether or not the sheet 4 has traveled the predetermined traveling distance M2, and if the determination in step ST13 is NO (the sheet 4 has not traveled the predetermined traveling distance M2). , Return to step ST12,
The traveling means 5 is driven until the determination in step ST13 becomes YES (traveling within the predetermined traveling distance M2). Then, the determination in step ST13 is YES (the predetermined traveling distance M
2), the traveling means 5 is stopped, the process proceeds to the next step ST14, and the image data (data A, data A) stored in the three work buffer memories 11, 11, 11 is stored in a row unit. B, data C) are developed at a predetermined position of the 144-dot line buffer memory 12, and then the process proceeds to the next step ST15.

【0030】なお、図5のaに示すように、3個のワー
クバッファメモリ11,11,11に展開された48ド
ットの行単位の画像データ(データA、データB、デー
タC)を144ドットのラインバッファメモリ12へ所
望のマージン(行間ピッチ:α)を持たせる等して展開
させた場合には、総ドット数(48×3+3α=144
+3α)がラインバッファメモリ12の印字行幅である
144ドットを越えるので、図において最下部のワーク
バッファメモリ11の画像データ(データC)の実線の
斜線で示す一部のみがラインバッファメモリ12内に展
開されることとなる。
As shown in FIG. 5A, the image data (data A, data B, data C) of line units of 48 dots expanded in the three work buffer memories 11, 11, 11 is 144 dots. When the line buffer memory 12 is developed with a desired margin (line pitch: α), the total number of dots (48 × 3 + 3α = 144)
+ 3α) exceeds 144 dots, which is the print line width of the line buffer memory 12, only a part of the image data (data C) of the bottom work buffer memory 11 shown by the solid line in the drawing is within the line buffer memory 12. Will be deployed to.

【0031】つぎに、ステップST15において、ライン
バッファメモリ12に格納された、画像データ(データ
A、データB、データC)がサーマルヘッドの一走査
(1回の印字動作)で用紙4に印字され、つぎのステッ
プST16に進行する。
Next, in step ST15, the image data (data A, data B, data C) stored in the line buffer memory 12 is printed on the paper 4 by one scan of the thermal head (one printing operation). , And proceeds to the next step ST16.

【0032】なお、図5のaにおいて最下部の画像デー
タ(データC)の破線の斜線で示す部分は、つぎの印字
動作時につぎの他の画像データとともに印字されるよう
にされている。
The lowermost image data (data C) shown in FIG. 5A by the broken line is printed together with the other image data in the next printing operation.

【0033】つぎにステップST16において、前述した
一連のステップ(ステップST10からステップST15ま
で)にて、用紙4の終端が検出されたかどうかを判断
し、ステップST16の判断がNO(用紙4の終端を検出
しない)の場合には、ステップST10に戻り、つぎの行
の印字処理を行なう。そして、ステップST16の判断が
YES(用紙4の終端を検出した)の場合には、つぎの
ステップST17に進行し、走行手段5を駆動させて用紙
4の改頁を行ない終了する。
Next, in step ST16, it is determined whether or not the end of the sheet 4 is detected in the series of steps (from step ST10 to step ST15) described above, and the determination in step ST16 is NO (the end of the sheet 4 is If not detected), the process returns to step ST10 to print the next line. When the determination in step ST16 is YES (the end of the sheet 4 has been detected), the process proceeds to the next step ST17, the traveling means 5 is driven, the page of the sheet 4 is changed, and the process is ended.

【0034】また、前記ステップST12の判断が、YE
S(用紙4の終端が検出された)の場合には、印字位置
を用紙4の印字可能領域内とするために、つぎのステッ
プST18に進行し、図4において中央に示す位置で用紙
4の走行を中断させるために走行手段5を一旦停止さ
せ、サーマルヘッド3の走行手段5と対向する後端位置
Aを印字位置P1とした後、つぎのステップST19に進
行する。
Further, the judgment in step ST12 is YES.
If S (the end of the sheet 4 has been detected), the process proceeds to the next step ST18 in order to set the printing position within the printable area of the sheet 4, and the sheet 4 is placed at the position shown in the center in FIG. In order to suspend the traveling, the traveling means 5 is temporarily stopped, the rear end position A of the thermal head 3 facing the traveling means 5 is set to the printing position P1, and then the process proceeds to the next step ST19.

【0035】つぎに、ステップST19において、図4に
おいて中央に示す用紙4の終端が検出されるまでの用紙
4の走行距離M1を図示しない適宜なメモリに記憶させ
つぎのステップST20に進行する。
Next, in step ST19, the traveling distance M1 of the sheet 4 until the end of the sheet 4 shown in the center of FIG. 4 is detected is stored in an appropriate memory (not shown), and the process proceeds to step ST20.

【0036】つぎに、ステップST20において、図4に
おいて右方に示す用紙4の印字可能領域を越えないよう
に距離L1のみ用紙4を走行させ、つぎのステップST
21に進行する。
Next, in step ST20, the paper 4 is run for a distance L1 so as not to exceed the printable area of the paper 4 shown on the right side in FIG.
Proceed to 21.

【0037】つぎに、ステップST21において、図4に
示す用紙4の実際に走行させた実走行距離M1+L1を
適宜な演算手段により算出しTA(TA=M1+L1)
とし、この用紙4の実走行距離TAを図示しない適宜な
メモリに記憶させつぎのステップST22に進行する。
Next, at step ST21, the actual traveling distance M1 + L1 of the sheet 4 shown in FIG. 4 actually traveled is calculated by an appropriate calculating means TA (TA = M1 + L1)
Then, the actual traveling distance TA of the sheet 4 is stored in an appropriate memory (not shown) and the process proceeds to the next step ST22.

【0038】つぎに、ステップST22において、図4に
示す用紙4を前回の印字位置P0から次の印字位置P2
に走行させるために必要な所定の走行距離M2と、用紙
4の実走行距離TAとの移動距離の差を適宜な演算手段
により算出しTB(TB=M2−TA)とし、このTB
を図示しない適宜なメモリに記憶させつぎのステップS
T23に進行する。
Next, in step ST22, the paper 4 shown in FIG. 4 is printed from the previous print position P0 to the next print position P2.
The difference between the predetermined traveling distance M2 required to drive the sheet 4 and the actual traveling distance TA of the sheet 4 is calculated by an appropriate calculation means and is set to TB (TB = M2-TA).
Is stored in an appropriate memory (not shown) and the next step S
Proceed to T23.

【0039】つぎに、ステップST23において、3個の
ワークバッファメモリ11,11,11に展開された4
8ドットの行単位の画像データ(データA、データB、
データC)が連続画像データ(例えばデータA、データ
B、データCの3行により一文字が144ドットで形成
される画像データや、縦倍角文字等のようにデータB、
データCを連続させることにより一文字が96ドットで
形成されるような画像データ)か否かを判断する。つま
り、ワークバッファメモリ11,11,11に展開され
た行単位の画像データ(データA、データB、データ
C)を行単位で分割可能かどうか判断し、ステップST
23の判断がNO(行単位の分割不可)の場合には、前記
ステップST17に進行する。そして、ステップST23の
判断がYES(行単位の分割可能)の場合には、つぎの
ステップST24に進行する。
Next, at step ST23, the four work buffer memories 11, 11 and 11 are loaded into the four work buffer memories 11.
Image data in units of 8 dots (data A, data B,
The data C is continuous image data (for example, image data in which one character is formed of 144 dots by three lines of data A, data B, and data C, and data B such as double-width characters).
By making the data C continuous, it is determined whether or not the image data is such that one character is formed by 96 dots. That is, it is determined whether or not the line-by-line image data (data A, data B, data C) expanded in the work buffer memories 11, 11, and 11 can be divided line by line, and step ST
If the determination in 23 is NO (line-by-line division is not possible), the process proceeds to step ST17. Then, if the determination in step ST23 is YES (dividable in line units), the process proceeds to the next step ST24.

【0040】つぎに、ステップST24において、図5の
bに示すように、ラインバッファメモリ12にワークバ
ッファメモリ11の画像データを前記移動距離の差TB
を補正して展開した場合(位置補正展開)に、行中を分
割しないで印字可能(分割印字されない)な画像デー
タ、例えばデータA、データBの有無を判断し、ステッ
プST24の判断がNO(分割印字されない画像データな
し)の場合には、前記ステップST17に進行する。そし
て、ステップST23の判断がYES(分割印字されない
画像データ有り)の場合には、つぎのステップST25に
進行する。
Next, in step ST24, as shown in FIG. 5B, the image data in the work buffer memory 11 is transferred to the line buffer memory 12 by the difference TB in the moving distance.
Is corrected and expanded (positional correction expansion), it is determined whether or not there is image data that can be printed (not divided and printed) without dividing the line, such as data A and data B, and the determination in step ST24 is NO ( If there is no image data that is not divided and printed), the process proceeds to step ST17. If the determination in step ST23 is YES (there is image data that is not divided and printed), the process proceeds to the next step ST25.

【0041】つぎに、ステップST25において、図5の
bに示すように、ラインバッファメモリ12の先頭に距
離TBを加算した領域を除いた領域にワークバッファメ
モリ11の印字可能な画像データ、例えばデータA、デ
ータBのみを展開し(位置補正展開)前記ステップST
15に進行する。
Next, in step ST25, as shown in FIG. 5B, printable image data, such as data, in the work buffer memory 11 is removed from the area of the line buffer memory 12 excluding the area added with the distance TB. Only A and data B are expanded (position correction expansion)
Proceed to 15.

【0042】このように本実施例によれば、印字位置が
用紙4の印字可能領域内にある限りにおいては、印字情
報に基づいて、所望の文字等の画像データをCG10か
ら取り出し、制御コード等により指定される各種の装飾
を施した後に、行単位でワークバッファメモリ11へ順
次展開して格納するとともに、このワークバッファメモ
リ11へ格納した画像データを印字行幅に対応させたラ
インバッファメモリ12へ更に順次展開して格納し、ラ
インバッファメモリ12に格納した複数行の画像データ
をサーマルヘッド3の一走査の印字動作により印字させ
るという印字動作を繰り返すことができる。
As described above, according to this embodiment, as long as the print position is within the printable area of the sheet 4, the image data of desired characters and the like is extracted from the CG 10 based on the print information, and the control code and the like are obtained. After performing various decorations designated by, the image data stored in the work buffer memory 11 is sequentially expanded and stored line by line, and the image data stored in the work buffer memory 11 is associated with the print line width. It is possible to repeat the printing operation in which the image data of a plurality of lines stored in the line buffer memory 12 are sequentially developed and stored, and the image data of a plurality of lines are printed by the printing operation of one scan of the thermal head 3.

【0043】そして、印字位置が用紙4の印字可能領域
を越える場合(用紙4の終端を用紙終端検出手段8が検
出した場合)には、用紙4を印字可能領域の最終端位置
まで走行させ、この領域内に印字可能な画像データのみ
を行単位で構成されたワークバッファメモリ11からラ
インバッファメモリ12に展開して印字させることがで
きる。
When the print position exceeds the printable area of the sheet 4 (when the sheet end detecting means 8 detects the end of the sheet 4), the sheet 4 is moved to the final end position of the printable area. Only the printable image data in this area can be expanded and printed from the work buffer memory 11 configured in units of lines to the line buffer memory 12.

【0044】すなわち、複数の印字行を同時に印字でき
るマルチラインヘッドであるサーマルヘッド3の画像デ
ータを、行単位で簡単に制御することができる。
That is, the image data of the thermal head 3, which is a multi-line head capable of simultaneously printing a plurality of print lines, can be easily controlled line by line.

【0045】したがって、従来からある一行単位で印字
するようにした図示しない熱転写プリンタの印字制御方
法のアーキテクチャを、マルチラインヘッドを有する熱
転写プリンタ1の印字制御方法に用いることができるの
で、マルチラインヘッドの印字制御方法のファームウエ
アプログラムを、簡単、かつ、短期間で開発することが
できる。
Therefore, the conventional architecture of the print control method of the thermal transfer printer (not shown) that prints on a line-by-line basis can be used for the print control method of the thermal transfer printer 1 having a multi-line head. It is possible to easily and quickly develop a firmware program of the print control method.

【0046】また、本実施例の印字制御方法は、熱転写
プリンタ1にマルチラインヘッドとしてのサーマルヘッ
ド3を用いた場合を例示したが、各種のインパクトプリ
ンタ、インクジェットプリンタ等にも同様に、当然適用
することができる。
Further, the printing control method of the present embodiment has exemplified the case where the thermal head 3 as the multi-line head is used for the thermal transfer printer 1, but it is naturally applied to various impact printers, ink jet printers and the like. can do.

【0047】なお、本発明は、前記実施例に限定される
ものではなく、必要に応じて変更することができる。
The present invention is not limited to the above embodiment, but can be modified as necessary.

【0048】[0048]

【発明の効果】以上説明したように本発明の印字制御方
法によれば、マルチラインヘッドにおける印字制御方法
を行単位で簡単に制御することができるので、経済的負
担およびプリンタの性能低下等をきたさないという極め
て優れた効果を奏する。
As described above, according to the print control method of the present invention, it is possible to easily control the print control method in the multi-line head on a line-by-line basis. It has an extremely excellent effect of not causing damage.

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

【図1】本発明に係る印字制御方法をマルチラインヘッ
ドを有する熱転写プリンタに適用した一実施例の要部の
構成を示す模式図
FIG. 1 is a schematic diagram showing a configuration of a main part of an embodiment in which a print control method according to the present invention is applied to a thermal transfer printer having a multi-line head.

【図2】本発明に係る印字制御方法の一実施例を示すフ
ローチャート
FIG. 2 is a flowchart showing an embodiment of a print control method according to the present invention.

【図3】画像データをワークバッファメモリに展開した
状態を説明する模式図
FIG. 3 is a schematic diagram illustrating a state in which image data is expanded in a work buffer memory.

【図4】要部の位置関係を示す説明図FIG. 4 is an explanatory diagram showing a positional relationship of main parts.

【図5】ワークバッファメモリに展開した画像データを
ラインバッファメモリに展開した状態を説明する模式図
であり、aは通常の印字状態におけるラインバッファメ
モリの状態を示し、bは印字可能領域の終端位置におけ
るラインバッファメモリの状態を示す。
FIG. 5 is a schematic diagram illustrating a state in which image data expanded in a work buffer memory is expanded in a line buffer memory, where a indicates a state of the line buffer memory in a normal printing state, and b indicates an end of a printable area. The state of the line buffer memory at the position is shown.

【図6】従来の印字制御方法によるラインバッファメモ
リに画像データを展開した状態を説明する模式図
FIG. 6 is a schematic diagram illustrating a state in which image data is expanded in a line buffer memory according to a conventional print control method.

【図7】従来の印字制御方法による記録媒体の印字可能
領域を越えた場合の分割印字を説明する模式図
FIG. 7 is a schematic diagram illustrating divided printing when a printable area of a recording medium is exceeded by a conventional print control method.

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

1 熱転写プリンタ 3 サーマルヘッド 4 用紙 5 走行手段 8 用紙終端検出手段 9 制御手段 10 CG 11 ワークバッファメモリ 12 ラインバッファメモリ 1 Thermal Transfer Printer 3 Thermal Head 4 Paper 5 Traveling Means 8 Paper End Detection Means 9 Control Means 10 CG 11 Work Buffer Memory 12 Line Buffer Memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 印字情報に基づいて画像データ格納メモ
リに格納されている画像データを、複数のワークバッフ
ァメモリに行単位にて一旦展開し、その後印字ヘッドの
印字行幅に対応させたラインバッファメモリに展開させ
ることにより、複数行の画像データを一走査の印字動作
で印字することを特徴とするの印字制御方法。
1. A line buffer in which image data stored in an image data storage memory based on print information is temporarily expanded in a plurality of work buffer memories on a line-by-line basis and then corresponding to a print line width of a print head. A printing control method characterized in that a plurality of lines of image data are printed in a single scanning printing operation by expanding the data in a memory.
【請求項2】 記録媒体に対する印字位置が記録媒体の
印字可能領域の最終端位置となった場合に、複数のワー
クバッファメモリに展開されている画像データから印字
可能な行の画像データのみをラインバッファメモリに展
開させて印字することを特徴とする請求項1に記載の印
字制御方法。
2. When the print position on the recording medium reaches the end position of the printable area of the recording medium, only the image data of the printable line is lined from the image data expanded in the plurality of work buffer memories. The printing control method according to claim 1, wherein the printing is performed by expanding the data in a buffer memory and printing.
JP30523892A 1992-11-16 1992-11-16 Printing control method Expired - Fee Related JP2878536B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30523892A JP2878536B2 (en) 1992-11-16 1992-11-16 Printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30523892A JP2878536B2 (en) 1992-11-16 1992-11-16 Printing control method

Publications (2)

Publication Number Publication Date
JPH06143728A true JPH06143728A (en) 1994-05-24
JP2878536B2 JP2878536B2 (en) 1999-04-05

Family

ID=17942699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30523892A Expired - Fee Related JP2878536B2 (en) 1992-11-16 1992-11-16 Printing control method

Country Status (1)

Country Link
JP (1) JP2878536B2 (en)

Also Published As

Publication number Publication date
JP2878536B2 (en) 1999-04-05

Similar Documents

Publication Publication Date Title
EP1862317B1 (en) Thermal printer and method of controlling the same
JPH08324004A (en) Biaxial printer
EP1128323A3 (en) Printer, printing method, and data storage medium
JPH06143728A (en) Printing control method
JP3357119B2 (en) Label printing method in label printer
JPH07319868A (en) Text editing processor
US6791725B1 (en) Image forming apparatus, its controlling method, and storage medium
JPH05246048A (en) Printing method of color ink jet recording apparatus
JP2007182001A (en) Recorder
JP3211173B2 (en) Thermal transfer recording device
JP2844731B2 (en) Print data processing device
JPH01253471A (en) Serial recording method
JPH0852906A (en) Printing data forming apparatus
JP4492026B2 (en) Inkjet printer
JP4622191B2 (en) Inkjet recording device
JP2984156B2 (en) Recording method and apparatus
JP3947890B2 (en) Printer
JPH0531998A (en) Journal printing control method
JP3066033U (en) Printer system
JPH0890837A (en) Printing method for line printer
JPH07195741A (en) Development method of font of serial printer and storing method of font
JPH0596831A (en) Printing device and printing method
JPS61287379A (en) Printing control system
JP2693226B2 (en) Recording device
JPH01101174A (en) Dot matrix printer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990112

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080122

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees