JPH0640082A - Printing device - Google Patents

Printing device

Info

Publication number
JPH0640082A
JPH0640082A JP25181191A JP25181191A JPH0640082A JP H0640082 A JPH0640082 A JP H0640082A JP 25181191 A JP25181191 A JP 25181191A JP 25181191 A JP25181191 A JP 25181191A JP H0640082 A JPH0640082 A JP H0640082A
Authority
JP
Japan
Prior art keywords
printing
line buffer
line
print head
head
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
JP25181191A
Other languages
Japanese (ja)
Inventor
Reiko Kawachi
玲子 嘉和知
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP25181191A priority Critical patent/JPH0640082A/en
Publication of JPH0640082A publication Critical patent/JPH0640082A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To print by using a line buffer as it is even when it is not corresponding to a print head, in a printing device equipped with a print head, such as multi-line head, capable of printing a plurality of lines. CONSTITUTION:A printing device comprises a line buffer 13 where pattern of dot character is developed at line unit and a print head 16 having a plurality of printing parts arranged in the paper feed direction for printing the dot character developed in the line buffer 13 on a paper through the printing parts. Using ranges of the printing parts in the print head 16 are changed corresponding to developable range of the line buffer 13 in the paper feed direction so as to print.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワードプロセッサやパ
ーソナルコンピュータ等の情報処理装置に用いられる印
字装置に係り、特にマルチラインヘッド等の複数行の印
刷が可能な印字ヘッドを備えた印字装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer used in an information processing device such as a word processor or a personal computer, and more particularly to a printer having a print head capable of printing a plurality of lines such as a multi-line head.

【0002】[0002]

【従来の技術】従来、例えばワードプロセッサでは、作
成した文書を印刷するための印字装置を予め搭載してい
るものやオプションにて接続するものがある。この種の
印字装置としては、通常、印字ヘッドで発熱する熱でイ
ンクリボン上の固体のインクを溶融させて用紙に転写す
る熱転写方式のドットプリンタが用いられる。この場
合、印字ヘッドには、用紙送り方向に複数の発熱素子が
例えば1列に数ドット分配列されている。この印字ヘッ
ドを行方向に移動させながら、印字するドット文字のパ
ターンに応じて各発熱素子を通電加熱制御することによ
り、用紙上にドット文字が形成される。
2. Description of the Related Art Conventionally, for example, some word processors are equipped with a printing device for printing a created document in advance, or are optionally connected. As this type of printing apparatus, a thermal transfer type dot printer is generally used in which the solid ink on the ink ribbon is melted by heat generated by the print head and transferred to the paper. In this case, a plurality of heating elements are arranged in the print head in the paper feeding direction, for example, in a row for several dots. While moving the print head in the row direction, each heating element is energized and heated according to the pattern of the dot characters to be printed, so that dot characters are formed on the paper.

【0003】ところで、1回の走査で複数行の印刷が可
能な印字ヘッドがある。このような印字ヘッドをマルチ
ラインヘッドと呼ぶ。このマルチラインヘッドは、用紙
送り方向に印字部(熱転写方式では発熱素子)を通常の
数倍有している。例えばドット文字の構成が56×56
ドットであるとすると、通常は56ドット分の印字部
(発熱素子)を1列に有しているものであるが、マルチ
ラインヘッドでは160ドット分の印字部(発熱素子)
を1列に有し、1回の走査で2.5行印刷することがで
きる。
By the way, there is a print head capable of printing a plurality of lines by one scanning. Such a print head is called a multi-line head. This multi-line head has a printing unit (heat generating element in the thermal transfer system) several times in the paper feeding direction. For example, the dot character composition is 56x56
If it is a dot, it usually has a printing portion (heating element) for 56 dots in one row, but a printing portion (heating element) for 160 dots in a multi-line head.
Can be printed in one column and 2.5 lines can be printed in one scan.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来、
上述したようなマルチラインヘッドを用いる場合、ライ
ンバッファもそれに対応したものを搭載する必要があっ
た。すなわち、例えば160ドットのマルチラインヘッ
ドであれば、160ドットの文字パターンを展開可能な
ラインバッファが必要であった。このため、今まで通常
の印字ヘッドを用いていた装置であれば、新たな印字ヘ
ッドすなわちマルチラインヘッドに応じてラインバッフ
ァの容量変更を必要とし、また、その容量変更に伴い、
パターン展開を組直さなければならない等の問題があっ
た。
[Problems to be Solved by the Invention] However, in the past,
When using the multi-line head as described above, it is necessary to mount a line buffer corresponding to it. That is, for example, in the case of a 160-dot multi-line head, a line buffer capable of developing a 160-dot character pattern was required. Therefore, in the case of an apparatus that has used a normal print head until now, it is necessary to change the capacity of the line buffer according to a new print head, that is, a multi-line head, and with the change in capacity,
There was a problem that the pattern development had to be reassembled.

【0005】本発明は上記のような点に鑑みなされたも
ので、印字ヘッドに対応しないラインバッファであって
も、そのまま使用して印刷を行うことのできる印字装置
を提供することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a printing apparatus capable of performing printing by directly using a line buffer which does not correspond to a print head. .

【0006】[0006]

【課題を解決するための手段】本発明は、ドット文字の
パターンが行単位で展開されるラインバッファと、用紙
送り方向に複数の印字部が配列され、上記各印刷部を通
じて上記ラインバッファに展開されたドット文字を用紙
上に印刷する印字ヘッドとを備えた印字装置において、
上記ラインバッファの用紙送り方向の展開可能範囲に応
じて、上記印字ヘッドにおける上記各印字部の使用範囲
を制御するようにしたものである。
According to the present invention, a line buffer in which a pattern of dot characters is developed line by line, and a plurality of printing units are arranged in the paper feed direction, are developed in the line buffer through the respective printing units. In a printing device having a print head for printing dot characters on paper,
The use range of each printing unit in the print head is controlled according to the expandable range of the line buffer in the paper feed direction.

【0007】[0007]

【作用】上記の構成によれば、ラインバッファの容量に
応じて印字ヘッドにおける印字部の使用範囲が変更され
る。したがって、印字ヘッドに対応しないラインバッフ
ァであっても、そのまま使用して印刷を行うことができ
る。
According to the above construction, the range of use of the printing section in the print head is changed according to the capacity of the line buffer. Therefore, even a line buffer not compatible with the print head can be used as it is for printing.

【0008】[0008]

【実施例】以下、図面を参照して本発明の一実施例に係
る印字装置を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A printer according to an embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は例えばワードプロセッサに搭載され
るシリアルプリンタの構成を示すブロック図である。図
1において、CPU11は、この装置全体の制御を行う
ものであり、ここでは図4に示すような文字パターン展
開制御処理を実行する。フォントメモリ12は、例えば
ROMからなり、各種のドット文字パターンを記憶して
いる。ラインバッファ13は、例えばRAMからなり、
文字パターンが行単位で展開されるメモリであって、こ
こでは図2に示すように用紙送り方向(列方向)にnバ
イト、ヘッド走行方向(行方向)にm列の展開可能範囲
を有する。カウンタ14は、文字パターンの用紙送り方
向(列方向)の展開位置を示すカウント値Tをカウント
する。
FIG. 1 is a block diagram showing the configuration of a serial printer installed in, for example, a word processor. In FIG. 1, a CPU 11 controls the entire apparatus, and here executes a character pattern expansion control process as shown in FIG. The font memory 12 is composed of, for example, a ROM and stores various dot character patterns. The line buffer 13 is, for example, a RAM,
This is a memory in which character patterns are expanded in units of lines, and here, as shown in FIG. 2, it has an expandable range of n bytes in the paper feed direction (column direction) and m columns in the head running direction (row direction). The counter 14 counts a count value T indicating the development position of the character pattern in the paper feed direction (column direction).

【0010】ヘッド駆動回路15は、CPU11の制御
の下で印字ヘッド16を駆動する。印字ヘッド16は、
キャリッジ18に搭載され、行方向に移動しながら用紙
上にドット文字を形成するものであり、ここでは図3に
示すように用紙送り方向に複数の印字部(例えば発熱素
子)16aが1列にHドット分配列されている。キャリ
ッジ駆動回路17は、CPU11の制御の下でキャリッ
ジ18を駆動する。キャリッジ18は、印字ヘッド16
を行方向に移動させるものである。ホストインタフェー
ス19は、ホスト装置20とのデータの送受信を行う。
ホスト装置20は、ここではワードプロセッサであり、
文書印刷のための文字コード等の印字データを転送す
る。次に、同実施例の動作を説明する。
The head drive circuit 15 drives the print head 16 under the control of the CPU 11. The print head 16 is
It is mounted on the carriage 18 and forms dot characters on the paper while moving in the row direction. Here, as shown in FIG. 3, a plurality of printing units (for example, heat generating elements) 16a are arranged in a line in the paper feeding direction. The dots are arranged. The carriage drive circuit 17 drives the carriage 18 under the control of the CPU 11. The carriage 18 includes the print head 16
Is moved in the row direction. The host interface 19 sends and receives data to and from the host device 20.
The host device 20 is a word processor here,
Transfers print data such as character codes for printing documents. Next, the operation of the embodiment will be described.

【0011】基本的には、ホストインタフェース19を
介してホスト装置20から文字コードを含む印字データ
が転送されて来ると、CPU11は文字コードに対応す
る文字パターンをフォントメモリ12から読出し、これ
をラインバッファ13に順次展開していく。ラインバッ
ファ13に所定行の文字パターンが格納されると、CP
U11はヘッド駆動回路15を通じて印字ヘッド16の
印字部16aを駆動し、用紙上に印刷を実行する。
Basically, when print data including a character code is transferred from the host device 20 via the host interface 19, the CPU 11 reads a character pattern corresponding to the character code from the font memory 12, and the line pattern is read. The data is sequentially expanded in the buffer 13. When the line buffer 13 stores a character pattern of a predetermined line, the CP
U11 drives the print unit 16a of the print head 16 through the head drive circuit 15 to execute printing on the paper.

【0012】ここで、ラインバッファ13が印字ヘッド
16に対応したものでない場合には、CPU11は以下
に示すような文字パターンの展開処理により、ラインバ
ッファ13の用紙送り方向の展開可能範囲に応じて印字
ヘッド16における各印字部16aの使用範囲を制御し
て印刷を行う。以下、図4に示すフローチャートを参照
して同実施例の文字パターンの展開処理を説明する。
When the line buffer 13 does not correspond to the print head 16, the CPU 11 prints according to the expandable range of the line buffer 13 in the paper feed direction by the following character pattern expansion processing. Printing is performed by controlling the use range of each printing unit 16a in the head 16. Hereinafter, the character pattern expansion processing of the embodiment will be described with reference to the flowchart shown in FIG.

【0013】CPU11は、まず、ラインバッファ13
の第1列目に対する文字パターンの展開に際し、カウン
タ14のカウント値Tを「0」にセットする(ステップ
S1)。このカウント値Tは、文字パターンの用紙送り
方向(列方向)の展開位置を示すものであり、フォント
メモリ12から読出された文字パターンが1バイト展開
される毎に「+1」更新される(ステップS2,S
3)。ここで、カウント値TがnになるまでにHに達し
た場合、すなわち、文字パターンがラインバッファ13
の1ライン分(nバイト)展開されるまでに、印字ヘッ
ド16における各印字部16aに応じたHドット数分展
開された場合、CPU11はそこでの展開処理を終了
し、次の列の展開処理に移る(ステップS4)。
The CPU 11 first of all, the line buffer 13
When developing the character pattern for the first column of, the count value T of the counter 14 is set to "0" (step S1). The count value T indicates the expansion position of the character pattern in the paper feed direction (column direction), and is updated by "+1" each time the character pattern read from the font memory 12 is expanded by 1 byte (step S2). , S
3). Here, when the count value T reaches H before reaching n, that is, the character pattern changes to the line buffer 13
If the number of H dots corresponding to each printing portion 16a in the print head 16 is expanded by the time 1 line (n bytes) is expanded, the CPU 11 finishes the expansion process and expands the next line. (Step S4).

【0014】一方、カウント値Tがnを越えてもHに達
さない場合、すなわち、文字パターンがラインバッファ
13の1ライン分(nバイト)展開されても、印字ヘッ
ド16における各印字部16aに応じたHドット数分展
開されない場合(ステップS5)、CPU11はカウン
ト値TがHになるまで、nullデータ(空データ)を
出力する(ステップS6)。
On the other hand, if the count value T does not reach H even if it exceeds n, that is, even if the character pattern is expanded by one line (n bytes) in the line buffer 13, each printing portion 16a in the print head 16 is expanded. When the number of H dots is not expanded according to (step S5), the CPU 11 outputs null data (empty data) until the count value T becomes H (step S6).

【0015】このようにして、CPU11は上記同様の
展開処理をラインバッファ13のm列まで繰り返すと、
この展開処理によって展開された文字パターンをヘッド
駆動回路15に出力すると共に、キャリッジ駆動回路1
7に移動開始指示を出す。これにより、印字ヘッド16
の移動に同期したタイミングで各印字部16aが文字パ
ターンに応じて駆動制御され、用紙上にドット文字が形
成される。この場合、ラインバッファ13の用紙送り方
向の展開可能範囲に応じて各印字部16a全てまたは一
部が使用されて印刷が行われる。
In this way, the CPU 11 repeats the same expansion processing as described above up to m columns of the line buffer 13,
The character pattern developed by this developing process is output to the head drive circuit 15 and the carriage drive circuit 1
A movement start instruction is issued to 7. As a result, the print head 16
The printing portions 16a are driven and controlled in accordance with the character pattern at the timing synchronized with the movement of the, and dot characters are formed on the paper. In this case, printing is performed by using all or some of the printing units 16a according to the expandable range of the line buffer 13 in the paper feed direction.

【0016】すなわち、図3に示すように、ラインバッ
ファ13の用紙送り方向の展開可能範囲(nバイト)が
Hドット分の印字部16aを満たしていれば(n=
H)、各印字部16a全てが使用され、また、上記展開
可能範囲がHドット分の印字部16aを満たしていなけ
れば(n<H)、その範囲に応じて各印字部16aの一
部が使用されて印刷が行われることになる。なお、各印
字部16aの使用範囲については、必ずしも先頭の印字
部16aから使用する必要はなく、途中からでも良い。
That is, as shown in FIG. 3, if the expandable range (n bytes) of the line buffer 13 in the paper feeding direction fills the printing portion 16a for H dots (n =).
H), all of the printing units 16a are used, and if the expandable range does not satisfy the printing units 16a for H dots (n <H), a part of each printing unit 16a corresponds to the range. It will be used and printed. Regarding the usage range of each printing unit 16a, it is not always necessary to use the printing unit 16a at the beginning, and the printing unit 16a may be used halfway.

【0017】このように、ラインバッファ13の用紙送
り方向の展開可能範囲に応じて印字ヘッド16における
各印字部16aの使用範囲を制御して印刷を行うことが
できる。したがって、例えば160ドットのマルチライ
ンヘッドを用いた場合において、ラインバッファ13が
56ドットの通常の印字ヘッドに対応したものであって
も、その160ドットうちの56ドットのみを使用して
印刷を行うことができるものであり、これにより、ライ
ンバッファ13の容量変更やその容量変更に伴うパター
ン展開の組直し作業を不要にできる。
As described above, printing can be performed by controlling the use range of each printing unit 16a in the print head 16 according to the expandable range of the line buffer 13 in the paper feed direction. Therefore, for example, when a 160-dot multi-line head is used, even if the line buffer 13 corresponds to a 56-dot normal print head, printing is performed using only 56 dots of the 160 dots. This makes it possible to eliminate the need to change the capacity of the line buffer 13 and the work of reassembling the pattern expansion associated with the capacity change.

【0018】なお、本発明は、マルチラインヘッドに限
るものではなく、通常の印字ヘッドであっても、ライン
バッファとの関係から上記同様の処理を行うことによ
り、使用範囲を変更して印刷することができる。また、
上記実施例では、シリアルプリンタを例にして説明した
が、上記同様の手法にて例えばラインプリンタ等の他の
印字装置にも適応できるものである。
The present invention is not limited to the multi-line head, and even in the case of a normal print head, the range of use is changed and printing is performed by performing the same processing as above in relation to the line buffer. be able to. Also,
In the above embodiment, the serial printer has been described as an example, but the same method as described above can be applied to other printing devices such as a line printer.

【0019】[0019]

【発明の効果】以上のように本発明によれば、ラインバ
ッファの用紙送り方向の展開可能範囲に応じて印字ヘッ
ドにおける各印字部の使用範囲を制御して印刷を行うよ
うにしたため、印字ヘッドに対応しないラインバッファ
であっても、そのまま使用して印刷を行うことができ
る。これにより、ラインバッファの容量変更やその容量
変更に伴うパターン展開の組直し作業を不要にできる。
As described above, according to the present invention, since the printing range is controlled by controlling the use range of each printing unit in the print head according to the expandable range of the line buffer in the sheet feeding direction, Even a line buffer that does not support printing can be used as it is. As a result, it is possible to eliminate the need to change the capacity of the line buffer and the reassembling work for the pattern expansion accompanying the capacity change.

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

【図1】本発明の一実施例に係る構成を示すブロック
図。
FIG. 1 is a block diagram showing a configuration according to an embodiment of the present invention.

【図2】同実施例のラインバッファの構成を示す図。FIG. 2 is a diagram showing a configuration of a line buffer of the same embodiment.

【図3】同実施例の印字ヘッドの構成を示す図。FIG. 3 is a diagram showing a configuration of a print head of the embodiment.

【図4】同実施例の文字パターン展開処理動作を説明す
るためのフローチャート。
FIG. 4 is a flowchart for explaining a character pattern expansion processing operation of the embodiment.

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

11…CPU、12…フォントメモリ、13…ラインバ
ッファ、14…カウンタ、15…ヘッド駆動回路、16
…印字ヘッド、16a…印字部、17…キャリッジ駆動
回路、18…キャリッジ、19…印刷部、20…ホスト
装置。
11 ... CPU, 12 ... Font memory, 13 ... Line buffer, 14 ... Counter, 15 ... Head drive circuit, 16
... print head, 16a ... print section, 17 ... carriage drive circuit, 18 ... carriage, 19 ... printing section, 20 ... host device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ドット文字のパターンが行単位で展開さ
れるラインバッファと、 用紙送り方向に複数の印字部が配列され、上記各印刷部
を通じて上記ラインバッファに展開されたドット文字を
用紙上に印刷する印字ヘッドと、 上記ラインバッファの用紙送り方向の展開可能範囲に応
じて、上記印字ヘッドにおける上記各印字部の使用範囲
を制御する印字部制御手段とを具備したことを特徴とす
る文書作成装置。
1. A line buffer in which a pattern of dot characters is expanded line by line, and a plurality of printing units are arranged in the paper feed direction, and the dot characters expanded in the line buffer through the respective printing units are printed on paper. And a print section control means for controlling the use range of each print section of the print head according to the expandable range of the line buffer in the paper feed direction.
JP25181191A 1991-09-30 1991-09-30 Printing device Pending JPH0640082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25181191A JPH0640082A (en) 1991-09-30 1991-09-30 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25181191A JPH0640082A (en) 1991-09-30 1991-09-30 Printing device

Publications (1)

Publication Number Publication Date
JPH0640082A true JPH0640082A (en) 1994-02-15

Family

ID=17228277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25181191A Pending JPH0640082A (en) 1991-09-30 1991-09-30 Printing device

Country Status (1)

Country Link
JP (1) JPH0640082A (en)

Similar Documents

Publication Publication Date Title
JP3320975B2 (en) Two axis printer
EP0621538B1 (en) Output method and apparatus
JPH0441548B2 (en)
JP3016515B2 (en) Character processing apparatus and method
JPH0640082A (en) Printing device
JPS6117668B2 (en)
JPS63315256A (en) Image forming device
JP2570363B2 (en) How to energize the thermal head in a thermal printer
JPH0596793A (en) Printer
JPH1142803A (en) Thermal printer
JPH0596831A (en) Printing device and printing method
JPH0685115B2 (en) output method
JPH01265779A (en) Recorder
JPH04189167A (en) Overlay development control method
KR100234145B1 (en) Print speed controlling method of thermal printer
JPS62105667A (en) Printing processing system for dot matrix printer
JPH0361562A (en) Printer
JPH0976568A (en) Printer
JPH05330118A (en) Thermal printer
JPH08129463A (en) Output device
JPH05162360A (en) Thermal recording device
JPH11249856A (en) Printer system
JPH04173268A (en) Print controller
JPH01175027A (en) Printing start position setting system for postcard
JPH03110182A (en) Hybrid printer