JPH03138184A - Printing data processor - Google Patents

Printing data processor

Info

Publication number
JPH03138184A
JPH03138184A JP27495489A JP27495489A JPH03138184A JP H03138184 A JPH03138184 A JP H03138184A JP 27495489 A JP27495489 A JP 27495489A JP 27495489 A JP27495489 A JP 27495489A JP H03138184 A JPH03138184 A JP H03138184A
Authority
JP
Japan
Prior art keywords
printing
paper
print
printer
print 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
JP27495489A
Other languages
Japanese (ja)
Other versions
JP2844731B2 (en
Inventor
Morio Yamauchi
労雄 山内
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1274954A priority Critical patent/JP2844731B2/en
Publication of JPH03138184A publication Critical patent/JPH03138184A/en
Application granted granted Critical
Publication of JP2844731B2 publication Critical patent/JP2844731B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To make the use as the printing area to imperfect line feed and the max. printing area of the space of a paper surface possible by shifting printing data by a shifter to send the same to a printer. CONSTITUTION:When a printer performs line feed operation relatively moving paper and a printing head by a predetermined quantity, the relative moving quantity of the paper and the printing head is detected by a counter means 2 and, when the end of the paper is detected during this line feed operation by a detection means 3, the printing data stored in a memory means 1 is shifted on the basis of the moving quantity detected by the counter means 2 by a deta shift means 4. Therefore, when the end of the paper is detected during line feed operation, the printing data shifted corresponding to line feed quantity is supplied to the printer. By this method, printing is applied to a remaining printable printing area without performing double-printing.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、印字データを処理して例えばシリアルドツト
プリンタに供給するための印字データ処理装置に係り、
特にペーパエンド検出時に於けるデータ処理に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a print data processing device for processing print data and supplying the processed data to, for example, a serial dot printer.
In particular, it relates to data processing when detecting paper end.

[発明の概要] 本発明は、改行途中でペーパエンドが検出された時、シ
フタによって印字データをシフトしてプリンタに送るよ
うにすることにより、不完全な改行に対しても印字でき
るようにし、紙面のスペースを最大限印字エリアとして
使用できるようにしたものである。
[Summary of the Invention] The present invention makes it possible to print even incomplete line breaks by shifting print data using a shifter and sending it to the printer when paper end is detected in the middle of a line feed. This allows maximum space on the paper to be used as a printing area.

[従来の技術] 例えば、ワードプロセッサやパーソナルコンピュータ等
の情報処理機器と印字装置としてのシリアルドツトプリ
ンタとは、プリンタコントローラを介して接続されるよ
うになっている。このようなプリンタコントローラは、
情報処理機器側に内蔵される場合もあれば、プリンタ側
に内蔵される場合もあり、あるいはそれらとは別体とし
て用いられることもある。この種のプリンタコントロー
ラは、例えば、プリンタのラインフィードモータを制御
するためのLFモータ制御装置、プリンタのキャリッジ
リターンモータを制御するためのCRモータ$−IJ 
I装置、印字データをプリンタへ転送するための印字デ
ータ転送装置、及びそれらのタイミングを制御するため
のタイミング制御装置等により構成されている。
[Prior Art] For example, an information processing device such as a word processor or a personal computer and a serial dot printer serving as a printing device are connected via a printer controller. This kind of printer controller is
It may be built into the information processing device, or the printer, or may be used separately. This type of printer controller includes, for example, an LF motor control device for controlling a printer's line feed motor, and a CR motor $-IJ for controlling a printer's carriage return motor.
The printer is comprised of an I device, a print data transfer device for transferring print data to the printer, a timing control device for controlling their timing, and the like.

このような構成のプリンタコントローラでは、LFモー
タ制御装置の制御によりラインフィードモータが駆動さ
れて、印字用紙としてのベーパが、印字ヘッドのドツト
数に対応する所定ドツト数分紙送りされて改行される。
In a printer controller having such a configuration, the line feed motor is driven under the control of the LF motor control device, and the vapor serving as printing paper is fed by a predetermined number of dots corresponding to the number of dots on the print head, and a line feed is performed. .

そして、改行後、CRモータ制御装置の制御によりキャ
リッジリターンモータが駆動されて、印字ヘッドが移動
されると共に、その移動に同期して印字データ転送装置
から印字データが供給されることにより、ベーパに1ラ
イン分の印字がなされる。その後、CRモータ制御装置
の制御によりキャリッジリターンモータが駆動されて、
印字ヘッドが所定位置に復帰されると共に、前述したよ
うにして改行が行なわれる。
Then, after the line feed, the carriage return motor is driven under the control of the CR motor control device to move the print head, and in synchronization with the movement, print data is supplied from the print data transfer device to the vapor. One line of printing is done. Thereafter, the carriage return motor is driven under the control of the CR motor control device.
As the print head is returned to its predetermined position, a line feed is performed as described above.

この改行動作中に、プリンタに設けられたペーパエンド
検出器からペーパエンド信号が供給されると、プリンタ
コントローラは、プリンタエラーのフラグを立てて、以
降の改行動作及び印字動作を停止するようにしている。
If a paper end signal is supplied from the paper end detector installed in the printer during this change operation, the printer controller sets a printer error flag and stops the subsequent change operation and printing operation. There is.

〔発明が解決しようとする課8コ ところで、近年、印字ヘッドのドツト数を大きくとった
プリンタも用いられるようになってきている。このよう
なプリンタでは、例えば文字等のキャラクタであれば、
複数行分に相当する印字を1回の動作で行なうことがで
きるため、印字スピードの高速化が図れるものである。
[8 Problems to be Solved by the Invention By the way, in recent years, printers with a print head having a large number of dots have come into use. With such printers, for example, if characters such as letters,
Since printing corresponding to multiple lines can be performed in one operation, printing speed can be increased.

しかしながら、従来のプリンタコントローラでは、前述
したように、ペーパエンドが検出された時には、改行途
中で改行動作を停止してしまうため、印字へラド1ライ
ン分量下の紙面のスペースは、印字エリアとしては無視
されてしまうこととなる。従って、印字ヘッドのドツト
数を大きくとったプリンタでは、その無視されてしまう
スペースも大となり、印字エリアの上下幅を狭めてしま
うという問題点が浮き上がってきた。特に、複数行分の
キャラクタをいっぺんに印字することが可能なものでは
、まだ数行分の印字スペースがあるにもかかわらず、印
字できないという欠点が指摘されている。
However, as mentioned above, in conventional printer controllers, when the end of paper is detected, the line feed operation is stopped in the middle of a line feed, so the space on the paper below one line of print is not used as a print area. It will be ignored. Therefore, in printers in which the number of dots in the print head is large, the space that is ignored becomes large, and the problem has emerged that the vertical width of the print area is narrowed. In particular, it has been pointed out that a printer that can print multiple lines of characters at once has a drawback in that it cannot print even though there is still space for several lines of characters.

このような問題は、ペーパエンドが検出された時に印字
動作を停止してしまうということに起因している。
Such a problem is caused by the fact that the printing operation is stopped when the paper end is detected.

してみれば、ペーパエンドが検出された時、改行動作は
停止しても、その後の印字動作は続けるようにすれば、
印字エリアの有効な使用が可能となることは明らかであ
る。しかしながら、単に印字動作のみを続けたのでは、
この時の印字エリアと改行前の印字エリアとが一部重な
りあってしまうため、その部分が二重印字されてしまう
こととなろう。
If you try to do this, even if the paper feed operation stops when the paper end is detected, the subsequent printing operation will continue.
It is clear that the printing area can be used effectively. However, if only the printing operation continued,
Since the printing area at this time and the printing area before the line break partially overlap, that portion will be printed twice.

よって、本発明の課題は、ペーパエンドが検出された時
に、二重印字されることなく、残りの印字可能な印字エ
リアに印字を行ない得るkうにすることである。
Therefore, an object of the present invention is to make it possible to print in the remaining printable area without double printing when the paper end is detected.

[課題を解決するための手段] 本発明の手段は次の通りである。[Means to solve the problem] The means of the present invention are as follows.

(1)プリンタの印字ヘッドの大きさに応じて1行分の
印字データを記憶する記憶手段1(第1図のブロック図
を参照、以下同じ)。
(1) Storage means 1 for storing one line of print data according to the size of the print head of the printer (see the block diagram in FIG. 1; the same applies hereinafter).

例えば、プリンタの印字ヘッドのドツト数をnドツト、
印字エリアの幅をmドツトすれば、nXmドツト分の印
字データを格納する1ライン印字バッファである。
For example, if the number of dots on a printer's print head is n dots,
If the width of the print area is m dots, then it is a 1-line print buffer that stores print data for nXm dots.

(2)上記プリンタがベーパと上記印字ヘッドとを相対
的に所定量移動させる改行動作している時、そのベーパ
と印字ヘッドとの相対的な移動量を検出するカウンタ手
段2゜ 例えば、改行動作開始時にリセットされされ、1ドツト
分ずつの紙送りにつれてカウントアツプされるカウンタ
である。
(2) When the printer is performing a reversing operation in which the vapor and the print head are relatively moved by a predetermined amount, a counter means 2 for detecting the relative movement amount between the vapor and the print head, for example, the reversing operation This is a counter that is reset at the start and counts up as the paper is fed one dot at a time.

(3) ペーパエンドを検出するための検出手段3゜例
えば、プリンタ内に設けられたペーパエンド検出器であ
る。
(3) Detection means 3 for detecting paper end, for example, a paper end detector provided within the printer.

(4)上記改行動作中に、上記検出手段3によってペー
パエンドが検出された時、上記カウンタ手段2にて検出
された上記移動量に基づいて、上記記憶手段1に記憶さ
れている印字データをシフトするデータシフト手段4゜ 例えば、上記プリンタのペーパエンド検出器からペーパ
エンド検出信号が供給された時に動作を停止して、その
時のカウント値Sを出力する上記カウンタと、上記カウ
ンタから供給されるカウント値Sに基づいて、Sドツト
ライン分ヌルデータとするように、上記1ライン印字バ
ッファに記憶された印字データをシフトするシフタでな
っている。
(4) When the paper end is detected by the detection means 3 during the paper change operation, the print data stored in the storage means 1 is read based on the movement amount detected by the counter means 2. Shifting data shifting means 4゜For example, the above-mentioned counter stops its operation when a paper end detection signal is supplied from the paper end detector of the above printer and outputs the count value S at that time; Based on the count value S, it is a shifter that shifts the print data stored in the one-line print buffer so that it becomes null data by S dot lines.

[作用] 本発明の手段の作用は次の通りである。[Effect] The operation of the means of the invention is as follows.

プリンタがペーパと印字ヘッドとを相対的に所定量移動
させる改行動作している時、カウンタ手段2によってペ
ーパと印字ヘッドとの相対的な移動量が検出され、この
改行動作中に、検出手段3によってペーパエンドが検出
された時、カウンタ手段2にて検出された移動量に基づ
いて、データシフト手段4によって記憶手段1に記憶さ
れている印字データがシフトされる。従って、改行動作
中にペーパエンドが検出された時、プリンタへは改行量
に対応してシフトされた印字データが供給されるので、
二重印字されることなく、残りの印字可能な印字エリア
に印字が行なわれることができる。
When the printer is performing a changeover operation in which the paper and the print head are relatively moved by a predetermined amount, the relative movement amount between the paper and the print head is detected by the counter means 2, and during this changeover operation, the detection means 3 When the paper end is detected by the counter means 2, the print data stored in the storage means 1 is shifted by the data shift means 4 based on the movement amount detected by the counter means 2. Therefore, when the paper end is detected during a line feed operation, print data shifted according to the line feed amount is supplied to the printer.
Printing can be performed on the remaining printable area without double printing.

[実施例] 以下、一実施例を第2図乃至第5図を参照しながら説明
する。
[Example] An example will be described below with reference to FIGS. 2 to 5.

(1)実施例の構成 第2図は、実施例の印字データ処理装置を含むプリンタ
コントローラ10を示す図で、符号11はプリンタコン
トローラ全体の制御を司るCPUである。12は、CP
U11によって実行される該プリンタコントローラ10
の制御プログラム等が記憶されているROMである。1
3は、図示しない情報処理機器から通信されてきた、あ
るいは図示しないデータ作成部で作成された印字データ
を格納するRAMである。14は、プリンタ15の図示
しない各モータ等を制御する印字制御部であり、実施例
の印字データ処理装置16を含む。
(1) Configuration of the Embodiment FIG. 2 is a diagram showing a printer controller 10 including a print data processing device of the embodiment, and reference numeral 11 is a CPU that controls the entire printer controller. 12 is CP
The printer controller 10 executed by U11
This is a ROM that stores control programs and the like. 1
3 is a RAM that stores print data communicated from an information processing device (not shown) or created by a data creation section (not shown). Reference numeral 14 denotes a print control unit that controls each motor (not shown) of the printer 15, and includes the print data processing device 16 of the embodiment.

これらのCPU11.ROM12.RAM1B。These CPU11. ROM12. RAM1B.

及び印字制御部14は、アドレスバス及びデータバス1
7によって互いに接続されている。また、印字制御部1
4からプリンタ15へは印字データPDあるいは後述さ
れるようにしてシフトされた印字データPD’が供給さ
れ、プリンタ15から印字制御部14へは、プリンタ1
50図示しないペーパエンド検出器からペーパエンド検
出信号PEが供給されるように接続されている。さらに
は、特に図示はしていないが、上記ペーパエンド検出信
号PEは、CPUI 1にも供給されるようになってい
る。
and the print control unit 14, the address bus and the data bus 1
are connected to each other by 7. In addition, the print control section 1
4 supplies the print data PD or print data PD' shifted as described later to the printer 15, and the printer 15 supplies the print data PD' to the print control unit 14.
50 is connected so that a paper end detection signal PE is supplied from a paper end detector (not shown). Further, although not particularly shown, the paper end detection signal PE is also supplied to the CPU 1.

第3図は、印字制御部14の構成を示すブロック図で、
印字データ処理装置16に加えて、プリンタ15のライ
ンフィードモータ(図示せず)を駆動制御するためのL
Fモータ制御装置18を有している。このLFモータ制
御装置18は、プリンタ15ヘラインフイードモータ駆
動信号DSを印加し、さらにラインフィードモータによ
る1ドツト分ずつの紙送りに同期して、カウントアツプ
パル、スCPを出力するようになっている。また、特に
図示はしていないが、印字制御部14はさらに、プリン
タ15のキャリッジリターンモータ(図示せず)を制御
するためのCRモータ制御装置、及びそれらのタイミン
グを制御するためのタイミング制御装置等を有している
FIG. 3 is a block diagram showing the configuration of the print control section 14.
In addition to the print data processing device 16, there is an L for driving and controlling the line feed motor (not shown) of the printer 15.
It has an F motor control device 18. This LF motor control device 18 applies a line feed motor drive signal DS to the printer 15, and further outputs a count up pulse and a pulse CP in synchronization with the paper feeding one dot at a time by the line feed motor. ing. Although not particularly shown, the print control unit 14 further includes a CR motor control device for controlling a carriage return motor (not shown) of the printer 15, and a timing control device for controlling their timing. etc.

印字データ処理装置16は、RAM13に記憶された印
字データの内の印字すべき1ライン分の印字データPD
をバス17を介して転送格納する1ライン印字バッファ
19と、この1ライン印字バッファ19に格納された印
字データPDあるいは後述されるようにしてシフトされ
た印字データPD’ をプリンタ15に転送する印字デ
ータ転送部20とを有している。ここで、1ライン印字
バッファ19は、プリンタ15の印字ヘッド(図示せず
)のドツト数をnドツト、印字用紙としてのペーパ(図
示せず)の印字エリアの幅をmドツトすれば、第4図(
a)に示すように、nXmドット分の印字データを格納
する記憶容量を有すものとする。なお、第4図(a)に
於いて、d11’d  ・・・、d は、それぞれ1ド
ツト分の印字12’    ni データを示している。
The print data processing device 16 generates print data PD for one line to be printed out of the print data stored in the RAM 13.
a 1-line print buffer 19 that transfers and stores the 1-line print buffer 19 via the bus 17, and a print buffer 19 that transfers the print data PD stored in the 1-line print buffer 19 or the print data PD' shifted as described later to the printer 15. It has a data transfer section 20. Here, if the number of dots of the print head (not shown) of the printer 15 is n dots, and the width of the print area of paper (not shown) as printing paper is m dots, then the one-line print buffer 19 has a fourth line. figure(
As shown in a), it is assumed that it has a storage capacity to store print data for nXm dots. In FIG. 4(a), d11'd, . . . , d each indicate the print 12'ni data for one dot.

また、上記印字データ処理装置16はさらに、上記LF
モータ制御装置18からのカウントアツプパルスCPの
供給に応じてカウントアツプし、ラインフィードの長さ
が印字ドツト何個分かを計数する、つまり何ドツト分改
行されたかを検出するためのドツト数カウンタ21を有
している。このドツト数カウンタ21は、プリンタ15
からのペーパエンド検出信号゛の供給に応じてカウント
動作を停止し、その時のカウント値をシフトドツト数デ
ータ・SDとして出力する。
Further, the print data processing device 16 further includes the LF
A dot number counter that counts up in response to the supply of the count-up pulse CP from the motor control device 18 and counts how many printed dots the length of the line feed is, that is, detects how many dots the line feed has occurred. It has 21. This dot number counter 21 is connected to the printer 15.
The counting operation is stopped in response to the supply of the paper end detection signal ' from the paper end detection signal ', and the count value at that time is outputted as the shift dot number data/SD.

さらに、上記印字データ処理装置16は、上記ドツト数
カウンタ21からのシフトドツト数データSDの供給に
応じて、上記1ライン印字バッファ19に記憶された印
字データPDを読み出し、供給されたシフトドツト数デ
ータSDで示されるドツト数分だけ、それら印字データ
PDをシフトした後、上記1ライン印字バッファ19に
シフトされた印字データPD’  として再び記憶させ
るシフタ22を有している。即ち、供給されたシフトド
ツト数データSDで示されるドツト数がSドツトであっ
たとすると、第4図(a)に示されるようなデータ構造
の印字データPDを読み出して、同図(b)に示すよう
に、Sドツトライン、つまり先頭データからSXmドツ
ト分の印字データをヌルデータ(do)とし、s+lド
ツトラインから読み出した印字データd  、d   
・・・が始まる1112゜ ように、読み出した印字データPDをシフトする。
Further, the print data processing device 16 reads the print data PD stored in the one-line print buffer 19 in response to the shift dot number data SD supplied from the dot number counter 21, and reads the supplied shift dot number data SD. It has a shifter 22 which shifts the print data PD by the number of dots indicated by and then stores it again in the one-line print buffer 19 as the shifted print data PD'. That is, assuming that the number of dots indicated by the supplied shift dot number data SD is S dots, the print data PD having the data structure shown in FIG. 4(a) is read out and the print data PD shown in FIG. As shown in FIG.
The read print data PD is shifted so that 1112 degrees starts.

そして、このシフトした印字データPD“を、再び上記
1ライン印字バッファ19に記憶させる。
Then, this shifted print data PD" is stored in the one-line print buffer 19 again.

これにより、印字データ転送部20からプリンタ15へ
供給されるシフトされた印字データPD’は、第4図(
b)に示すようなデータ構造となる。
As a result, the shifted print data PD' supplied from the print data transfer unit 20 to the printer 15 is changed as shown in FIG.
The data structure is as shown in b).

(2)実施例の動作 以下、上記のような構成の印字データ処理装置16を含
むプリンタコントローラ10の動作を、第5図のフロー
チャートを参照して説明する。
(2) Operation of the Embodiment Below, the operation of the printer controller 10 including the print data processing device 16 configured as described above will be explained with reference to the flowchart shown in FIG.

先ず、CPUIIは、RAM13に格納された印字デー
タの先頭から、印字ヘッドのドツト数とベーパの印字エ
リアの幅によって決まる1ライン分の印字データPDを
読み出し、それを1ライン印字バッファ19にセットす
る(ステップSl)。
First, the CPU II reads one line of print data PD determined by the number of dots in the print head and the width of the vapor print area from the beginning of the print data stored in the RAM 13, and sets it in the one line print buffer 19. (Step Sl).

この印字データPDは、印字データ転送部20によって
、1ライン印字バッファ19からプリンタ15へ転送さ
れ、これにより1ライン分の印字が行なわれる(ステッ
プS2)。
This print data PD is transferred from the one-line print buffer 19 to the printer 15 by the print data transfer section 20, whereby printing for one line is performed (step S2).

ここで、CPUIIは、RAM13に格納された印字デ
ータの有無を判断する(ステップS3)。
Here, the CPU II determines whether there is print data stored in the RAM 13 (step S3).

印字データがなければ、印字終了として処理を終えるが
、印字データがある場合には、CPUIIは、ドツト数
カウンタ21をリセットする(ステップ84)。
If there is no print data, the process ends as printing is complete, but if there is print data, the CPU II resets the dot number counter 21 (step 84).

そして、CPUI 1は、LFモータ制御装置18にプ
リンタ15のラインフィードモータを駆動するための駆
動信号DSを発生させ、1ドツト分だけラインフィード
、つまり紙送りさせる(ステップS5)、LFモータ制
御装置18は、駆動信号DSの発生に伴って、ドツト数
カウンタ21ヘカウントアツプパルスCPを供給する。
Then, the CPU 1 causes the LF motor control device 18 to generate a drive signal DS for driving the line feed motor of the printer 15, and causes the LF motor control device 18 to line feed, that is, feed the paper by one dot (step S5). 18 supplies a count up pulse CP to the dot number counter 21 in response to the generation of the drive signal DS.

これにより、ドツト数カウンタ21は、カウントアツプ
つまり「1」インクリメントする(ステップS6)。
As a result, the dot number counter 21 counts up, that is, increments by "1" (step S6).

ここで、CPU11は、プリンタ15からのペーパエン
ド検出信号PEの供給の有無を判断する(ステップS7
)。ペーパエンド検出信号PEが供給されていなければ
、CPU11は次に、ドツト数カウンタ22のカウント
値を読み出し、それが印字ヘッドのドツト数で決定され
る所定数nに達しているか否かを判定する(ステップS
8)。
Here, the CPU 11 determines whether or not the paper end detection signal PE is supplied from the printer 15 (step S7
). If the paper end detection signal PE is not supplied, the CPU 11 next reads the count value of the dot number counter 22 and determines whether it has reached a predetermined number n determined by the number of dots on the print head. (Step S
8).

まだ、所定数nに達していなければ、上記ステップS5
に戻って、さらに1ドツト分ラインイードを行なう。
If the predetermined number n has not yet been reached, step S5 is performed.
Return to , and perform a line edit for one more dot.

こうして、上記ステップS8に於いて、ドツト数カウン
タ22のカウント値が所定数nに達してた時、1ライン
分の改行が終了したとして、上記ステップS1に戻って
、次の1ライン分の印字データPDを1ライン印字バッ
ファ19にセットする。
In this way, in the above step S8, when the count value of the dot number counter 22 reaches the predetermined number n, it is assumed that the line feed for one line has been completed, and the process returns to the above step S1 to print the next one line. Data PD is set in the 1-line print buffer 19.

また、上記ステップS7に於いて、ペーパエンド検出信
号PEが供給されると、ドツト数カウンタ21は、その
カウント動作を停止して、その時のカウント値をシフト
ドツト数データSDとして出力する。よって、シフタ2
2は、このドツト数カウンタ21からのシフトドツト数
データSDの供給に応じて、上記1ライン印字バッファ
19に記憶された印字データPDを読み出し、それを供
給されたシフトドツト数データSDで示されるドツト数
分だけ前述したようにシフトして、上記1ライン印字バ
ッファ19にそのシフトされた印字データPD’ を再
び記憶させる(ステップS9)。
Further, in step S7, when the paper end detection signal PE is supplied, the dot number counter 21 stops its counting operation and outputs the count value at that time as the shift dot number data SD. Therefore, shifter 2
2 reads the print data PD stored in the one-line print buffer 19 in response to the supply of the shift dot number data SD from the dot number counter 21, and calculates the number of dots indicated by the supplied shift dot number data SD. as described above, and the shifted print data PD' is stored again in the one-line print buffer 19 (step S9).

そして、このシフトされた印字データPD’ は、印字
データ転送部20によって、1ライン印字バッファ19
からプリンタ15へ転送され、これにより、前回印字し
た部分と重なる印字ヘッドの、上方のSドツト分の部分
を除いた残りの部分によって、1ライン分の印字が行な
われる(ステップ510)。よって、二重印字されるこ
となく、残りの印字可能な印字エリアに印字が行なわれ
ることができる。
Then, the shifted print data PD' is transferred to the one-line print buffer 19 by the print data transfer unit 20.
The image is then transferred to the printer 15, and one line of printing is thereby performed using the remaining portion of the print head, excluding the upper S dot portion that overlaps with the previously printed portion (step 510). Therefore, printing can be performed in the remaining printable area without double printing.

こうして、印字用紙1枚分の印字動作が終了する。次の
印字用紙に対する印字動作も、同様に行なわれることが
できる。
In this way, the printing operation for one sheet of printing paper is completed. The printing operation for the next printing paper can be performed in the same way.

このように、改行途中でペーパエンドが検出された時、
印字データが改行されたドツト数分だけシフトされるの
で、前回印字した部分と重なる印字ヘッドの上方の部分
には、印字データが無いので何等印字されることなく、
前回印字した部分に続けて印字ヘッドの残りの部分によ
って印字がなされる。よって、二重印字されることなく
、残りの印字可能な印字エリアに印字が行なわれること
ができる。
In this way, when the paper end is detected in the middle of a line break,
Since the print data is shifted by the number of line feed dots, the part above the print head that overlaps with the part printed last time has no print data, so nothing is printed.
The remaining portion of the print head continues printing on the previously printed portion. Therefore, printing can be performed in the remaining printable area without double printing.

なお、本発明は、印字データが、キャラクタデータであ
っても、またグラフィックデータであっても適用可能な
ことは明らかであろう。
Note that it is clear that the present invention can be applied even if the print data is character data or graphic data.

[発明の効果] 本発明によれば、改行途中でペーパエンドが検出された
時、印字データが改行されたドツト数分だけシフトされ
るので、前回印字した部分と重なる印字ヘッドの上方の
部分には、印字データが無いので何等印字されることな
く、前回印字した部分に続けて印字ヘッドの残りの部分
によって印字がなされる。よって、二重印字されること
なく、残りの印字可能な印字エリアに印字が行なわれる
ことができ、紙面のスペースをプリンタの性能内に於い
て最大限、印字スペースとして使用できるようになる。
[Effects of the Invention] According to the present invention, when the paper end is detected in the middle of a line feed, the print data is shifted by the number of line feed dots. Since there is no print data, no printing is performed, and the remaining portion of the print head continues printing on the previously printed portion. Therefore, printing can be performed in the remaining printable area without double printing, and the space on the paper surface can be used as printing space to the maximum within the printer's performance.

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

第1図は本発明のブロック構成図、第2図は実施例の印
字データ処理装置を含むプリンタコントローラのブロッ
ク構成図、第3図は実施例の印字データ処理装置の詳細
なブロック構成図、第4図(a)及び(b)はそれぞれ
1ライン印字バッファの印字データの記憶構造を説明す
るための図、第5図は実施例の印字データ処理装置を含
むプリンタコントローラの動作を説明するためのフロー
チャートである。 1・・・記憶手段、2・・・カウンタ手段、3・・・検
出手段、4・・・データシフト手段。
FIG. 1 is a block diagram of the present invention; FIG. 2 is a block diagram of a printer controller including a print data processing device according to the embodiment; FIG. 3 is a detailed block diagram of the print data processing device according to the embodiment; 4(a) and (b) are diagrams for explaining the storage structure of print data in a one-line print buffer, respectively, and FIG. 5 is a diagram for explaining the operation of the printer controller including the print data processing device of the embodiment. It is a flowchart. DESCRIPTION OF SYMBOLS 1... Storage means, 2... Counter means, 3... Detection means, 4... Data shift means.

Claims (1)

【特許請求の範囲】 プリンタの印字ヘッドの大きさに応じて1行分の印字デ
ータを記憶する記憶手段と、 上記プリンタがペーパと上記印字ヘッドとを相対的に所
定量移動させる改行動作している時、そのペーパと印字
ヘッドとの相対的な移動量を検出するカウンタ手段と、 ペーパエンドを検出するための検出手段と、上記改行動
作中に、上記検出手段によってペーパエンドが検出され
た時、上記カウンタ手段にて検出された上記移動量に基
づいて、上記記憶手段に記憶されている印字データをシ
フトするデータシフト手段と を具備することを特徴とする印字データ処理装置。
[Scope of Claims] A storage means for storing one line of print data according to the size of a print head of a printer; a counter means for detecting the relative movement amount between the paper and the print head when the paper is at the end of the paper, a detection means for detecting the paper end, and a paper end is detected by the detection means during the paper feed operation. and data shifting means for shifting the print data stored in the storage means based on the movement amount detected by the counter means.
JP1274954A 1989-10-24 1989-10-24 Print data processing device Expired - Lifetime JP2844731B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1274954A JP2844731B2 (en) 1989-10-24 1989-10-24 Print data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1274954A JP2844731B2 (en) 1989-10-24 1989-10-24 Print data processing device

Publications (2)

Publication Number Publication Date
JPH03138184A true JPH03138184A (en) 1991-06-12
JP2844731B2 JP2844731B2 (en) 1999-01-06

Family

ID=17548879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1274954A Expired - Lifetime JP2844731B2 (en) 1989-10-24 1989-10-24 Print data processing device

Country Status (1)

Country Link
JP (1) JP2844731B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5407353B2 (en) * 2009-01-19 2014-02-05 セイコーエプソン株式会社 Line printer, line head element number detection method, line head element arrangement density determination method, and line printer setting method

Also Published As

Publication number Publication date
JP2844731B2 (en) 1999-01-06

Similar Documents

Publication Publication Date Title
JPS6122960A (en) Changeover system of printing speed
JPH03138184A (en) Printing data processor
JPH11138915A (en) Printer
JP3049458B2 (en) Thermal transfer recording device
JP2790120B2 (en) Printing equipment
JPS60110478A (en) Bar code printing apparatus
JPH0616764Y2 (en) Dot matrix printer
US5408592A (en) Printer having a data output time controller
JP2641252B2 (en) Liquid jet recording method and liquid jet recording apparatus
JPS60143988A (en) Underline-printing method for dot printer
JP3098435B2 (en) Control system for multiple thermal heads
JPH01101174A (en) Dot matrix printer
JPS60248378A (en) Controller for serial printer
JP3130910U (en) Thermal line printer
JPH0811341A (en) Thermal transfer printer
JPH02143889A (en) Color printer
JPH05238067A (en) Serial printer
JPS62177622A (en) Print control system for printer
JPH0325115B2 (en)
JPH05318830A (en) Dot printer
JPH05220994A (en) Transfer printer
JPS6339348A (en) Printing line feed system of serial printer
JPH09193438A (en) Thermal transfer recording device
JPH0292654A (en) Printer control system
JPS63116859A (en) Dot driving method for printing head

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091030

Year of fee payment: 11

EXPY Cancellation because of completion of term