JP2000103127A - Printer, printing method, and method for developing image data - Google Patents

Printer, printing method, and method for developing image data

Info

Publication number
JP2000103127A
JP2000103127A JP11038133A JP3813399A JP2000103127A JP 2000103127 A JP2000103127 A JP 2000103127A JP 11038133 A JP11038133 A JP 11038133A JP 3813399 A JP3813399 A JP 3813399A JP 2000103127 A JP2000103127 A JP 2000103127A
Authority
JP
Japan
Prior art keywords
print
image data
recording medium
printing
sub
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
JP11038133A
Other languages
Japanese (ja)
Other versions
JP3947890B2 (en
Inventor
Hiroki Togawa
裕希 外川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP03813399A priority Critical patent/JP3947890B2/en
Publication of JP2000103127A publication Critical patent/JP2000103127A/en
Application granted granted Critical
Publication of JP3947890B2 publication Critical patent/JP3947890B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a printer and a print method whereby print image data can be prevented from disappearing even when a logic page length is larger than a physical page length and a print quality can be improved. SOLUTION: A difference between a position of print image data developed earlier and a print position by a print head to a printing recording medium is set to be not larger than an override amount at all times. Before a paper detector detects a lower end of the printing recording medium (No in S704), the development is restricted so that the difference between the development position and print position does not increase to an initial value K of the override amount (a distance between the paper detector and print head, which is a constant value) or larger (S712). Image data to be printed to a next page can be surely prevented from being developed. After the paper detector detects the lower end of the printing recording medium (Yes in S704), printing is carried out while the override amount X (a variable an initial value of which is equal to the K) is calculated (S705 and the followings). The printing is accordingly possible up to a limit of the lower end of the printing recording medium.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、インクジ
ェットプリンタやインパクトドットプリンタ等、印刷に
先行して印刷用イメージデータを展開するプリンタ及び
印刷方法に関し、特に、かかるプリンタ及び印刷方法に
おける前記イメージデータの展開を制御する技術に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer and a printing method for developing printing image data prior to printing, such as an ink jet printer and an impact dot printer, and more particularly to such a printer and printing method. Related to the technology for controlling the deployment of a computer.

【0002】[0002]

【従来の技術】例えば、インクジェットプリンタ、熱転
写式プリンタ、インパクトドットプリンタ等のシリアル
プリンタでは、プリンタコントローラとプリントエンジ
ンとを備えてなり、ホストコンピュータ上のプリンタド
ライバから送信された印刷データに基づいて印刷用イメ
ージデータを生成し、この印刷用イメージデータに応じ
てプリントエンジンを作動させる。即ち、プリントヘッ
ドを記録紙等の印刷記録媒体に対して相対的に移動(主
走査)させつつ所定位置でドットを形成させ、また、1
回の主走査を終了する毎に所定の紙送り(副走査)を行
うことにより、印刷が行われていく。
2. Description of the Related Art For example, a serial printer such as an ink jet printer, a thermal transfer printer or an impact dot printer includes a printer controller and a print engine, and performs printing based on print data transmitted from a printer driver on a host computer. The print image data is generated, and the print engine is operated according to the print image data. That is, dots are formed at predetermined positions while the print head is relatively moved (main scanning) with respect to a print recording medium such as recording paper.
Printing is performed by performing a predetermined paper feed (sub-scan) every time the main scanning is completed.

【0003】ここで、より高速な印刷を行うために、実
際に印刷される行よりも先の行に関する印刷用イメージ
データを生成するようになっている。即ち、プリントヘ
ッドがある行を印刷している場合、イメージバッファに
は、現在の印刷に係る行よりも先の行のデータが既に格
納されている。
Here, in order to perform printing at a higher speed, print image data relating to a line preceding a line to be actually printed is generated. That is, when the print head is printing a certain line, the data of the line preceding the line related to the current printing is already stored in the image buffer.

【0004】図8は、シリアルプリンタの概要を示す説
明図であって、図8(a)に示すように、トレイ等から
給紙された印刷記録媒体Sは、紙送りローラ100及び
従動ローラ101によりプリントエンジン内に搬入され
る。印刷記録媒体Sの上端を用紙検出器102が検出す
ると、排紙ローラ103及びギザローラ104が回転を
開始する。印刷記録媒体Sがプリントヘッド105に到
達すると、プリントヘッドl05は、紙面に垂直な方向
(主走査方向)に移動しつつ所定箇所でインク滴を吐出
する。1回の主走査が終了すると、印刷記録媒体Sは、
所定の送り量だけ図中の左方向に搬送される。このよう
に主走査及び副走査を繰り返すことにより、印刷記録媒
体Sに印刷が行われる。
FIG. 8 is an explanatory view showing an outline of a serial printer. As shown in FIG. 8 (a), a print recording medium S fed from a tray or the like includes a paper feed roller 100 and a driven roller 101. Is carried into the print engine. When the paper detector 102 detects the upper end of the print recording medium S, the paper discharge roller 103 and the knurled roller 104 start rotating. When the print recording medium S reaches the print head 105, the print head 105 ejects ink droplets at predetermined positions while moving in a direction perpendicular to the paper surface (main scanning direction). When one main scan is completed, the print recording medium S becomes
The sheet is conveyed by a predetermined feed amount to the left in the figure. By repeating the main scanning and the sub-scanning in this manner, printing is performed on the print recording medium S.

【0005】図8(b)に示すように、プリントヘッド
105と用紙検出器102とは離れて設置されているた
め、印刷記録媒体Sの下端が用紙検出器102を通過し
た時点では、プリントヘッド105と用紙検出器102
との離間距離に相当する分だけ、まだ印刷記録媒体Sに
印刷を行うことができる。このように、印刷記録媒体S
に残された印刷可能な領域の長さをオーバライド量と呼
ぶ。物理的ページ長が確定したオーバライド量の初期値
(プリントヘッド105と用紙検出器102との離問距
離に相当し、紙送りを行う度に、オーバライド量は減少
していく)。また、印刷用イメージデータは、実際の印
刷に先行して生成されている。即ち、既に生成された印
刷用イメージデータの副走査方向の終端位置iYP0S
は、プリントヘッド105による実際の印刷位置rYP
OSよりも先に位置している。
As shown in FIG. 8B, since the print head 105 and the paper detector 102 are set apart from each other, when the lower end of the print recording medium S passes through the paper detector 102, the print head 105 105 and paper detector 102
Can still be printed on the print recording medium S by an amount corresponding to the separation distance from the print recording medium S. Thus, the print recording medium S
Is referred to as an override amount. The initial value of the overriding amount for which the physical page length is determined (corresponding to the distance between the print head 105 and the paper detector 102, and the overriding amount decreases each time the paper is fed). The print image data is generated prior to actual printing. That is, the end position iYP0S of the already generated print image data in the sub-scanning direction.
Is the actual print position rYP by the print head 105
It is located before the OS.

【0006】[0006]

【発明が解決しようとする課題】上述した従来技術で
は、現在の印刷に先行して印刷用イメージデータを生成
しているが、印刷データで示されたページの長さ(論理
的ベージ長)と実際に給紙される印刷記録媒体の長さ
(物理的ページ長)とが一致しないことがある。例え
ば、A4サイズのページ設定でドキュメントデータを生
成していながら、プリンタにはA4サイズと異なる大き
さの用紙、例えば、A4変形サイズ、リーガルサイズ、
B5サイズ等の用紙がセットされている場合がある。
In the prior art described above, print image data is generated prior to the current printing. However, the length of the page (logical page length) indicated by the print data and the logical length of the page are determined. The length (physical page length) of the print recording medium actually fed may not match. For example, while document data is being generated with A4 size page settings, the printer may print on paper of a size different from A4 size, such as A4 deformed size, legal size,
Paper of B5 size or the like may be set.

【0007】ここで、図9は印刷の様子を示す説明図で
あって、論理的ページ長の方が物理的ページ長よりも短
い場合及び図9(a)に示すように両ページ長が一致し
ている場合は、先行して印刷用イメージデータを展開し
ていても、印刷の不具合は生じない。実際のページ長に
基づいて排紙されるよりも前に、改ページコマンドやバ
ンド数等で指定された論理的ページ長に従って予定通り
に排紙されるためである。従って、図中に斜線部で示す
各行は、印刷記録媒体の印刷領域内に収まっている。
FIG. 9 is an explanatory view showing a printing state. In the case where the logical page length is shorter than the physical page length, and as shown in FIG. In this case, even if the image data for printing is developed in advance, no printing trouble occurs. This is because the sheet is discharged as scheduled according to the logical page length specified by the page break command, the number of bands, etc. before the sheet is discharged based on the actual page length. Accordingly, each line indicated by a hatched portion in the drawing is within the print area of the print recording medium.

【0008】しかし、論理的ページ長の方が物理的ペー
ジ長よりも長い場合は、実際に排紙されるタイミングを
検出するよりも前に、印刷用イメージデータの方が先に
展開されている可能性がある。即ち、イメージデータの
展開最終位置iYPOSがオーバライド量を超えている
場合は、図9(b)の二点鎖線部に示すように、物理的
ページにおける最終行の印刷が分断されたり、先行して
展開された印刷用イメージデータが失われたりして、印
刷品質が低下する可能性がある。つまり、用紙検出器1
02によって印刷記録媒体Sの下端が通過するのを検出
するまでは、印刷記録媒体Sの実際の長さ(物理的ペー
ジ長)を確定することができない。従って、物理的ペー
ジ長を検出するよりも前に、物理的ページ長を越えた部
分の印刷用イメージデータが先行して生成されている
と、この物理的ページをはみ出した部分の印刷用イメー
ジデータが失われたり、印刷が分断されたりする。プリ
ントヘッドに印刷用イメージデータが供給されると、該
印刷用イメージデータはイメージバッファから消去され
るため、実際の印刷が正常に行われなくても、この印刷
用イメージデータは失われる。
However, if the logical page length is longer than the physical page length, the print image data is developed first before detecting the timing of actually discharging the paper. there is a possibility. In other words, when the final development position iYPOS of the image data exceeds the override amount, the printing of the last line in the physical page is divided as shown in the two-dot chain line in FIG. The print quality may be degraded due to loss of the expanded print image data. That is, the paper detector 1
The actual length (physical page length) of the print recording medium S cannot be determined until it is detected that the lower end of the print recording medium S has passed through “02”. Therefore, if the print image data of the portion exceeding the physical page length is generated in advance before the detection of the physical page length, the print image data of the portion which exceeds the physical page is generated. Is lost or printing is interrupted. When the print image data is supplied to the print head, the print image data is erased from the image buffer. Therefore, even if the actual printing is not performed normally, the print image data is lost.

【0009】例えば、プリントヘッド105のドット形
成要素数が48個または64個程度である場合は、論理
的ページ長の方が物理的ページ長より多少長くても、さ
ほど不都合は生じない。ドット形成要素数が少ない場合
は、1回の主走査で1行ずつ印刷を行うためである。し
かし、近年では、印刷速度の更なる向上のため、例え
ば、128個、144個等の多数のドット形成要素を形
成し、同時印刷可能なラインの数を増大させたマルチラ
イン型のプリントヘッドが提供されている。このような
複数行の同時印刷が可能なプリントヘッドを採用したプ
リンタにおいて、論理的ページ長が物理的ページ長を上
回った場合、印刷記録媒体の下端側で印刷されない行数
が増加するため、印刷品質が大幅に低下する。
For example, when the number of dot forming elements of the print head 105 is about 48 or 64, even if the logical page length is slightly longer than the physical page length, no inconvenience occurs. This is because when the number of dot forming elements is small, printing is performed line by line in one main scan. However, in recent years, in order to further improve the printing speed, for example, a multi-line print head in which a large number of simultaneously printable lines are formed by forming a large number of dot forming elements such as 128 or 144 dots has been developed. Provided. In a printer using a print head capable of simultaneously printing a plurality of lines, if the logical page length exceeds the physical page length, the number of unprinted lines at the lower end side of the print recording medium increases. Quality is greatly reduced.

【0010】更に、上述したように、通常シリアルプリ
ンタでは、用紙検出器102によって印刷記録媒体Sの
下端が通過するのを検出する処理を経て、はじめて当該
印刷記録媒体Sの物理的ページ長を確定し、それ以後は
次の頁に印刷すべきとの判断が可能となるから、スルー
プットを更に向上すべく、実際の印字に先駆けて印刷用
イメージデータを生成(イメージバッファに展開)する
ことがより速く進むことになると、用紙検出器102に
よって印刷用紙Sの下端を検出して次頁の判断が可能に
なる前に、次頁に印刷すべきイメージデータまで生成
(イメージバッファに展開)することになってしまう。
Further, as described above, in a normal serial printer, the physical page length of the print recording medium S is determined only after the paper detector 102 detects that the lower end of the print recording medium S passes. Thereafter, since it is possible to determine that printing should be performed on the next page, in order to further improve the throughput, it is more necessary to generate printing image data (developing the image data in the image buffer) prior to actual printing. If the printing speed is fast, the image data to be printed on the next page is generated (developed in the image buffer) before the lower end of the printing paper S is detected by the paper detector 102 and the next page can be determined. turn into.

【0011】本発明は、上記のような種々の課題に鑑み
なされたものであり、その目的は、論理的ページ長の方
が物理的ページ長よりも長い場合でも、印刷用イメージ
データが消失するのを防止することができ、印刷品質を
向上できるようにしたプリンタ及び印刷方法を提供する
ことにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described various problems, and an object of the present invention is to eliminate the problem that print image data is lost even when a logical page length is longer than a physical page length. It is an object of the present invention to provide a printer and a printing method capable of preventing the occurrence of a print error and improving print quality.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するた
め、本発明によれば、先行して展開される印刷用イメ一
ジデータの位置とプリントヘッドによる印刷記録媒体の
印刷位置との差を常にオーバーライド量以下にするよう
にしている。
According to the present invention, in order to achieve the above object, the difference between the position of image data for printing to be developed in advance and the position of printing on a print recording medium by a print head is always determined. It is set to be less than the override amount.

【0013】これにより、次の頁に印刷されるイメージ
データまで生成(イメージバッファに展開)してしまう
ことが無くなる。
As a result, generation of image data to be printed on the next page (development in the image buffer) does not occur.

【0014】即ち、請求項1に係る発明では、先行して
展開される印刷用イメ一ジデータの位置とある時点にお
ける印刷記録媒体に対する印刷位置との差を、常にオー
バーライド量以下に維持するようにしたことを特徴とす
る。
That is, in the invention according to the first aspect, the difference between the position of the image data for printing to be developed in advance and the print position on the print recording medium at a certain point in time is always maintained to be equal to or less than the override amount. It is characterized by having done.

【0015】また、請求項2に係る発明では、前記印刷
用イメ一ジデータの位置と前記印刷位置との差を、前記
オーバーライド量の初期値以下に維持することを特徴と
する。 更に、請求項3に係る発明では、先行して展開
される印刷用イメ一ジデータの位置とある時点における
印刷記録媒体に対する印刷位置との差を、前記印刷記録
媒体の物理的ページ長が確定する前はオーバーライド量
の初期値以下に維持し、前記物理的ページ長が確定した
後は前記印刷記録媒体の副走査の度に減少していくオー
バーライド量を所定のタイミングで算出しつつ該算出し
たオーバーライド量以下に維持することを特徴とする。
According to a second aspect of the present invention, the difference between the position of the printing image data and the printing position is maintained at or below the initial value of the override amount. Further, in the invention according to claim 3, the physical page length of the print recording medium determines the difference between the position of the image data for printing to be developed first and the print position on the print recording medium at a certain point in time. Before, the override amount is maintained at or below the initial value of the override amount, and after the physical page length is determined, the override amount decreasing at each sub-scan of the print recording medium is calculated at a predetermined timing, and the calculated override amount is calculated. It is characterized in that it is maintained below the amount.

【0016】ここに、オーバーライド量とは、物理的ペ
ージ長が確定した後は、印刷記録媒体に残された印刷可
能な領域の長さを意味し、印刷記録媒体の副走査を行う
度に減少していく量であるが、物理的ページ長が確定す
る前をも含む概念とし、その物理的ページ長が確定する
までの値(初期値)は、一定の量であるものとする。こ
こで、本発明の第1の様相によれば、用紙検出器によっ
て印刷記録媒体の下端を検出し当該印刷用紙の物理的ペ
ージ長を確定した後は、先行して展開される印刷用イメ
一ジデータの位置と印刷記録媒体の印刷可能領域の長さ
(オーバーライド量)とを主走査毎に比較し、印刷記録
媒体の物理的ページ長を越えて印刷用イメージデータを
生成しないようにしている。
Here, the override amount means the length of the printable area left on the print recording medium after the physical page length is determined, and decreases each time the print recording medium is sub-scanned. This is a concept that includes before the physical page length is determined, and the value (initial value) until the physical page length is determined is a fixed amount. Here, according to the first aspect of the present invention, after the lower end of the print recording medium is detected by the paper detector and the physical page length of the print paper is determined, the print image developed in advance is printed. The position of the print data and the length of the printable area of the print recording medium (override amount) are compared for each main scan, so that print image data is not generated beyond the physical page length of the print recording medium.

【0017】即ち、請求項4記載のプリンタでは、入力
される印刷データに基づいてプリントヘッドを主走査さ
せると共に印刷記録媒体を副走査させることにより、所
定の印刷を行うプリンタにおいて、前記プリントヘッド
の主走査による印刷に先行して所定量ずつ印刷用イメー
ジデータを生成するイメージデータ生成手段と、前記生
成された印刷用イメージデータを記憶する記憶手段と、
前記記憶手段に記憶された前記印刷用イメージデータを
前記プリントヘッドに供給し、所定の主走査及び副走査
を行わせる印刷制御手段と、前記印刷記録媒体の通過を
検出する検出手段と、前記印刷データにより示される論
理的ページ長と前記検出手段からの検出信号に基づいて
算出される前記印刷記録媒体のページ長とを比較し、前
記論理的ページ長が前記印刷記録媒体のページ長を上回
っているか否かを判定する判定手段とを設け、前記判定
手段により前記論理的ページ長が前記印刷記録媒体のペ
ージ長を上回っていると判定された場合には、前記印刷
記録媒体のページ長に応じた範囲内で前記印刷用イメー
ジデータを生成することを特徴としている。
That is, in the printer according to the fourth aspect of the present invention, the print head performs main scanning based on input print data and performs sub-scanning on a print recording medium to perform predetermined printing. Image data generating means for generating print image data by a predetermined amount prior to printing by main scanning; storage means for storing the generated print image data;
A print control unit that supplies the print image data stored in the storage unit to the print head to perform predetermined main scanning and sub-scanning; a detection unit that detects passage of the print recording medium; Comparing the logical page length indicated by the data and the page length of the print recording medium calculated based on the detection signal from the detection unit, the logical page length exceeds the page length of the print recording medium Determining means for determining whether or not the logical page length is greater than the page length of the print recording medium, according to the page length of the print recording medium. The print image data is generated within the range.

【0018】イメージデータ生成手段は、印刷に先行し
て所定量ずつ(例えば1行ずつ)印刷用イメージデータ
を生成する。生成されたイメージデータは、記憶手段を
介してプリントヘッドに供給される。印刷制御手段は、
プリントヘッドの主走査と印刷記録媒体の副走査とを交
互に行わせて印刷する。論理的ページ長の方が実際のぺ
ージ長よりも長いと判定手段が判定した場合、実際のペ
ージ長に庵じた範囲内で印刷用イメージデータが生成さ
れる。
The image data generating means generates print image data by a predetermined amount (for example, one line at a time) before printing. The generated image data is supplied to the print head via the storage unit. The printing control means includes:
Printing is performed by alternately performing the main scan of the print head and the sub-scan of the print recording medium. If the determination unit determines that the logical page length is longer than the actual page length, print image data is generated within a range corresponding to the actual page length.

【0019】ここで、論理的ページ長は、例えば、ホス
ト=ンピュータから通知されるぺージあたりのバンド数
(主走査数)によって検出することができる。また、印
刷記録媒体のページ長は、検出手段が印刷記録媒体の下
端通過を検出したときのオーバライド量(オーバライド
量の初期値は検出手段とプリントヘッドの離間距離であ
り、既知である)に、今までの合計紙送り量を加算する
ことにより求めることができる。そして、論理的ページ
長が実際のページ長よりも長いと判定された場合は、実
際のページ長に応じた範囲内で印刷用イメージデータの
先行展開を許可する。即ち、実際のページ長を越えた部
分のデータまで先行して展開しないように、イメージデ
ータ生成手段を制御する。これにより、ホストコンピュ
ータ上で設定されたページ長と実際に給紙された印刷記
録媒体のページ長とが相違する場合に、印刷用イメージ
データの無駄な消失を防止することができ、印刷品質を
向上させることができる。
Here, the logical page length can be detected by, for example, the number of bands per page (the number of main scans) notified from the host computer. Further, the page length of the print recording medium is determined by the amount of override when the detecting means detects the passage of the lower end of the print recording medium (the initial value of the override amount is the separation distance between the detecting means and the print head and is known). It can be obtained by adding the total paper feed amount up to now. If it is determined that the logical page length is longer than the actual page length, advance development of the print image data is permitted within a range corresponding to the actual page length. That is, the image data generating means is controlled so that the data of the portion exceeding the actual page length is not developed first. As a result, when the page length set on the host computer is different from the page length of the actually fed print recording medium, it is possible to prevent unnecessary loss of print image data, and to improve print quality. Can be improved.

【0020】また、請求項5記載のプリンタのように、
前記判定手段は、前記検出手段からの検出信号に基づい
て、前記イメージデータ生成手段により新たに生成され
る印刷用イメージデータの副走査方向の終端位置が前記
印刷記I媒体の下端を越えるか否かを判定し、前記判定
手段によって前記印刷用イメージデータの副走査方向の
終端位置が前記印刷記録媒体の下端を越えないと判定さ
れた場合には、前記イメージデー夕生成手段による新た
な印刷用イメージデータの生成を許可し、前記判定手段
によって前記印刷用イメージデータの副走査方向の終端
位置が前記印刷記録媒体の下端を越えると判定された場
合には、前記記憶手段に記憶された印刷用イメージデー
タを前記プリントヘッドにより印刷させて前記印刷記録
媒体を排紙することもできる。
Further, as in the printer according to the fifth aspect,
The determination means determines whether or not the end position in the sub-scanning direction of the print image data newly generated by the image data generation means exceeds the lower end of the print recording medium based on the detection signal from the detection means. If the determination unit determines that the end position of the print image data in the sub-scanning direction does not exceed the lower end of the print recording medium, the new print data If the determination unit determines that the end position of the print image data in the sub-scanning direction exceeds the lower end of the print recording medium, the image data for printing stored in the storage unit is permitted. The image data can be printed by the print head and the print recording medium can be discharged.

【0021】イメージデータ生成手段は、印刷に先行し
て印刷用イメージデータを生成し、生成された印刷用イ
メージデータは記憶手段に記憶されている。ここで、既
に生成された印刷用イメージデータの副走査方向の終端
位置をiYPOSとし、イメージデータ生成手段の先行
紙送り量をyとすると、これから新たに生成しようとす
る印刷用イメージデータの終端位置は、iYP0S+y
となる。この予測された終端位置が印刷記録媒体の下端
を越えると判定された場合は、既に蓄積された印刷用イ
メージデータを印刷させてから、印刷記録媒体を排紙さ
せる。これにより、実際の印刷領域を越えた印刷用イメ
ージデータの生成を防止してデータの消失を防止するこ
とができる。
The image data generating means generates print image data prior to printing, and the generated print image data is stored in the storage means. Here, assuming that the end position of the already generated print image data in the sub-scanning direction is iYPOS and the advance paper feed amount of the image data generating means is y, the end position of the print image data to be newly generated from now on Is iYP0S + y
Becomes If it is determined that the predicted end position exceeds the lower end of the print recording medium, the print image data that has already been stored is printed, and then the print recording medium is discharged. As a result, generation of print image data exceeding the actual print area can be prevented, and data loss can be prevented.

【0022】更に、請求項6記載のプリンタのように、
前記プリントヘッドは1回の主走査で複数行印刷が可能
に構成されており、前記イメージデータ生成手段は印刷
に先行して1行ずつ前記印刷用イメージデータを生成し
てもよい。
Further, as in the printer according to the sixth aspect,
The print head may be configured to print a plurality of lines in one main scan, and the image data generating unit may generate the print image data line by line prior to printing.

【0023】例えば、128個、144個等のように多
数のドット形成要素をプリントヘッドに形成すれば、1
回の主走査で複数行を印刷することが可能となる。そし
て、イメージデータ生成手段は、実際の印刷に先行して
1行ずつ印刷用イメージデー夕を生成する。このよう
に、複数行の同時印刷が可能なプリントヘッドを用いる
ことにより、印刷記録媒体の下端側において、印刷用イ
メージデータの無駄な生成を防止することができ、複数
行単位で効率よく印刷することができる。
For example, if a large number of dot forming elements such as 128, 144, etc. are formed in a print head, 1
A plurality of lines can be printed in one main scan. Then, the image data generating means generates the printing image data line by line prior to the actual printing. As described above, by using a print head capable of simultaneously printing a plurality of lines, it is possible to prevent unnecessary generation of print image data at the lower end side of the print recording medium, and to efficiently perform printing in units of a plurality of lines. be able to.

【0024】一方、請求項7記載の印刷方法では、入力
される印刷データに基づいてプリントヘッドを主走査さ
せると共に印刷記録媒体を副走査させることにより、所
定の印刷を行う印刷方法において、前記プリントヘッド
と給紙口との間に設けられた検出手段によって印刷中の
印刷記録媒体の下端が検出されたか否かを判定するステ
ップと、前記印刷記録媒体の下端が検出された場合に
は、前記印刷記録媒体に残された印刷可能領域の副走査
方向の最さを検出するステップと、印刷に先行して新た
に生成される印刷用イメージデータの副走査方向の終端
位置が前記印刷可能領域の外部に位置するか否かを判定
するステップと、前記終端位置が前記印刷可能領域の外
部に位置しないと判定された場合は、当該印刷用イメー
ジデータを生成するステップと、前記終端位置が前記印
刷可能領域の外部に位置ずると判定された場合は、当該
印刷用イメージデータの生成を中断し、記憶手段に記憶
された印刷用イメージデータを前記プリントヘッドによ
り印刷させるステップと、前記プリントヘッドによる印
刷が終了した場合は、前記印刷記録媒体を排紙させるス
テップと、新たな印刷記録媒体が給紙された場合は、前
記中断された印刷用イメージデータを生成させるステッ
プと、を含んでなることを特徴としている。
According to a seventh aspect of the present invention, in the printing method for performing a predetermined printing by causing a print head to perform main scanning and a printing recording medium to perform sub-scanning based on input print data. Judging whether or not the lower end of the print recording medium being printed is detected by the detecting means provided between the head and the paper feed port; and, when the lower end of the print recording medium is detected, Detecting the maximum in the sub-scanning direction of the printable area left on the print recording medium; and terminating the printable area in the sub-scanning direction of the image data for printing newly generated prior to printing. Determining whether the image is located outside; and if it is determined that the end position is not located outside the printable area, generating the image data for printing. And if it is determined that the end position is outside the printable area, the generation of the print image data is interrupted, and the print image data stored in the storage unit is printed by the print head. Causing the print head to eject the print recording medium when printing by the print head is completed, and generating the interrupted print image data when a new print recording medium is fed. And a step.

【0025】これにより、前記請求項4に係るプリンタ
の発明と同様の作用を得ることができる。
Thus, the same operation as that of the printer according to the fourth aspect can be obtained.

【0026】また、請求項8記載の記録媒体は、プリン
トヘッドを有するプリンタを制御するためのコンピュー
タプログラムを記録したプログラム記録媒体において、
印刷に先行して所定量ずつ印刷用イメージデータを生成
するイメージデータ生成機能と、前記生成された印刷用
イメージデータを記憶手段に記憶させる記憶機能と、前
記記憶された前記印刷用イメージデータを前記プリント
ヘッドに供給し、所定の主走査及び副走査を行わせる印
刷制御機能と、検出手段を介して前記印刷記録媒体の通
過を検出する検出機能と、前記検出手段からの検出信号
に基づいて、新たに生成される印刷用イメージデータの
副走査方向の終端位置が前記印刷記録媒体の下端を越え
るか否かを判定する判定機能とを実現し、前記印刷用イ
メージデータの副走査方向の終端位置が前記印刷記録媒
体の下端を越えないと判定された場合には、前記新たな
印刷用イメージデータの生成を許可し、前記印刷用イメ
ージデータの副走査方向の終端位置が前記印刷記録媒体
の下端を越えると判定された場合には、前記記憶された
印刷用イメージデータを前記プリントヘッドにより印刷
させて前記印刷記録媒体を排紙するように、コンピュー
タを動作させるためのプログラムを前記コンピュータが
読取り及び理解可能な形態で記録している。ここで、記
録媒体として1ま、例え1本フロッピーディスク、ハー
ドディスク、メモリ、磁気テープ等の種々の媒体を採用
することができる。また、これに限らず、例えば、所定
のプログラムを通信回線を介してプリンタのCPUにリ
モートダウンロードさせることも可能である。
[0026] The recording medium according to claim 8 is a program recording medium storing a computer program for controlling a printer having a print head,
An image data generation function of generating print image data by a predetermined amount prior to printing; a storage function of storing the generated print image data in storage means; and storing the stored print image data in the storage unit. A print control function to supply a print head and perform predetermined main scanning and sub-scanning, a detection function to detect passage of the print recording medium through a detection unit, and a detection signal from the detection unit, A determination function for determining whether or not the end position of the newly generated print image data in the sub-scanning direction exceeds the lower end of the print recording medium; If it is determined that the print image data does not exceed the lower end of the print recording medium, generation of the new print image data is permitted, and If it is determined that the end position in the direction exceeds the lower end of the print recording medium, the computer is caused to cause the print head to print the stored print image data and discharge the print recording medium. A program for operation is recorded in a form that can be read and understood by the computer. Here, as the recording medium, various media such as a single floppy disk, hard disk, memory, magnetic tape and the like can be adopted. The present invention is not limited to this. For example, a predetermined program can be remotely downloaded to a printer CPU via a communication line.

【0027】上記所定のプログラムをプリンタのコンピ
ュータに読み込ませることにより、前記請求項4に係る
プリンタの発明と同様の作用を得ることができる。
By causing the computer of the printer to read the predetermined program, it is possible to obtain the same operation as the printer according to the fourth aspect of the present invention.

【0028】上記第2の目的を達成するため、本発明の
第2の様相によれば、先行展開される印刷用イメ一ジデ
ータの位置とプリントヘッドによる印刷記録媒体の印刷
位置との差を常にオーバーライド量以下にするようにし
ている。
In order to achieve the second object, according to a second aspect of the present invention, the difference between the position of the image data for printing to be developed in advance and the printing position of the print recording medium by the print head is always determined. It is set to be less than the override amount.

【0029】これにより、物理的ページ長が確定する前
に、次の頁に印刷されるデータまで展開してしまうこと
が無くなる。
As a result, the data to be printed on the next page is not expanded before the physical page length is determined.

【0030】即ち、請求項9記載のプリンタでは、入力
される印刷データに基づいてプリントヘッドを副走査方
向における所定の位置に維持しつつ主走査させると共に
印刷記録媒体を副走査させることにより印刷を行うプリ
ンタにおいて、前記プリントヘッドの主走査による印刷
に先行して印刷用イメージデータを生成して論理的ぺー
ジ長における所定位置までイメージバッファに展開する
イメージデータ展開手段と、前記イメージバッファに展
開された前記印刷用イメージデータを前記プリントヘッ
ドに供給し、前記主走査及び副走査を行わせる印刷制御
手段と、前記プリンタの前記副走査方向における所定の
位置に設けられ、印刷記録媒体が所定位置に到達したこ
とを検出する検出器と、前記検出器からの検出信号に基
づいて前記印刷記録媒体の物理的ページ長が算出される
前は、前記論理的ぺージ長における印刷用イメージデー
タの展開位置と前記印刷記録媒体への現在の印字位置と
の差を前記副走査方向におけるプリントヘッドと前記検
出器との間隔と比較し、該間隔を越えていないと判定さ
れた場合には、新たな印刷用イメージデータの展開を許
可し、前記間隔を越えると判定された場合には、既に展
開された印刷用イメージデータを前記プリントヘッドに
より印刷させて前記間隔を越えなくなるまで新たな印刷
用イメージデータの展開を禁止する手段とを有すること
を特徴とする。 また、請求項10記載のプリンタにお
いては、更に、前記検出手段からの検出信号に基づいて
前記印刷記録媒体の物理的ページ長が算出された後は、
新たに生成される印刷用イメージデータの副走査方向の
終端位置が前記印刷記録媒体の下端を越えるか否かを判
定する手段を有し、該判定手段によって前記印刷用イメ
ージデータの副走査方向の終端位置が前記印刷記録媒体
の下端を越えないと判定された場合には、新たな印刷用
イメージデータの展開を許可し、前記判定手段によって
前記印刷用イメージデータの副走査方向の終端位置が前
記印刷記録媒体の下端を越えると判定された場合には、
既に展開された印刷用イメージデータを前記プリントヘ
ッドにより印刷させて前記印刷記録媒体を排紙すること
を特徴とする。 尚、請求項11記載のプリンタにおい
ては、前記プリントヘッドは1回の主走査で複数行の印
刷が可能に構成されており、前記イメージデータ展開手
段は印刷に先行して1行ずつ前記印刷用イメージデータ
を展開することを特徴とする。
That is, in the printer according to the ninth aspect, printing is performed by performing main scanning while maintaining the print head at a predetermined position in the sub-scanning direction and sub-scanning the print recording medium based on the input print data. An image data developing means for generating image data for printing prior to printing by the main scan of the print head and expanding the image data to a predetermined position in a logical page length, and developing the image data in the image buffer. The print image data is supplied to the print head to perform the main scanning and the sub-scanning, and a print control unit is provided at a predetermined position in the sub-scanning direction of the printer, and the print recording medium is at a predetermined position. A detector for detecting the arrival, and the printing record based on a detection signal from the detector. Before the physical page length of the medium is calculated, the difference between the development position of the print image data in the logical page length and the current print position on the print recording medium is determined by the print head in the sub-scanning direction. Compared with the interval with the detector, if it is determined that the interval does not exceed the interval, expansion of new print image data is permitted. Means for printing the generated print image data by the print head and prohibiting the development of new print image data until the print image data does not exceed the interval. Further, in the printer according to claim 10, after the physical page length of the print recording medium is calculated based on the detection signal from the detection unit,
Means for determining whether or not the end position of the newly generated print image data in the sub-scanning direction exceeds the lower end of the print recording medium; If it is determined that the end position does not exceed the lower end of the print recording medium, expansion of new print image data is permitted, and the end position of the print image data in the sub-scanning direction is determined by the determination unit. If it is determined that it goes beyond the bottom of the print recording medium,
The printing image data that has already been developed is printed by the print head, and the print recording medium is discharged. In the printer according to the eleventh aspect, the print head is configured to be able to print a plurality of lines in one main scan, and the image data developing unit performs the printing for one line at a time prior to printing. It is characterized by expanding image data.

【0031】一方、請求項12記載の発明は、入力され
る印刷データに基づいて、プリンタが印刷記録媒体への
印字に先立ってイメージデータをバッファ上に展開する
イメージデータの展開方法において、所定の単位のイメ
ージデータの展開要求を発するステップと、該展開要求
を受けて前記所定の単位のイメージデータを展開した場
合には前記印刷記録媒体の副走作方向における展開位置
が印字位置を越えるか否かを判断するステップと、前記
展開位置が印字位置を越えない場合には、前記所定の単
位のイメージデータの展開を許可し、前記展開位置が印
字位置を越える場合には、前記所定の単位のイメージデ
ータの展開を許可せず当該所定の単位のイメージデータ
の展開を待機させるステップとを有することを特徴とす
る。
According to a twelfth aspect of the present invention, there is provided an image data developing method in which a printer develops image data on a buffer based on input print data prior to printing on a print recording medium. Issuing a request to develop a unit of image data, and, if the image data of the predetermined unit is developed in response to the development request, whether the development position of the print recording medium in the sub printing direction exceeds the printing position. Judging whether or not the development position does not exceed the printing position, permitting the development of the image data in the predetermined unit, and if the development position exceeds the printing position, Waiting for the development of the image data of the predetermined unit without permitting the development of the image data.

【0032】更に、請求項13記載の発明は、入力され
る印刷データに基づいて、プリンタに印刷記録媒体への
印字に先立ってイメージデータをバッファ上に展開させ
るプログラムを記録した記録媒体において、所定の単位
のイメージデータの展開要求を発する処理と、前記展開
要求を受けて前記所定の単位のイメージデータを展開し
た場合には前記印刷記録媒体の副走作方向における展開
位置が印字位置を越えるか否かを判断する処理と、前記
展開位置が印字位置を越えない場合には、前記所定の単
位のイメージデータの展開を許可し、前記展開位置が印
字位置を越える場合には、前記所定の単位のイメージデ
ータの展開を許可せず当該所定の単位のイメージデータ
の展開を待機させる処理とを有するプログラムを記録し
たことを特徴とする。
According to a thirteenth aspect of the present invention, there is provided a recording medium storing a program for causing a printer to develop image data on a buffer based on input print data prior to printing on a print recording medium. A process of issuing a request to develop image data of a given unit, and, if the image data of the predetermined unit is developed in response to the deployment request, whether the developed position of the print recording medium in the sub printing direction exceeds the print position. Processing of determining whether or not the image data is expanded in the predetermined unit if the expansion position does not exceed the printing position, and if the expansion position exceeds the printing position, the predetermined unit Characterized by recording a program which does not permit the image data to be expanded and waits for the expansion of the image data of the predetermined unit. .

【0033】[0033]

【発明の実施の形態】以下、図面に基づいて本発明の実
施の諸形態について詳細に説明する。まず、図1〜3を
参照して、本発明の第1の実施形態について説明する。
図1は、本実施形態が適用されるプリンタの要部を模式
的に示す機能ブロック図である。
Embodiments of the present invention will be described below in detail with reference to the drawings. First, a first embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a functional block diagram schematically showing a main part of a printer to which the present embodiment is applied.

【0034】プリンタ1は、それぞれ後述するように、
プリントヘッド2と、主走査駆動部3と、副走査駆動部
4と、制御部5と、デーク格納部6と、ヘッド駆動部7
と、用紙検出器8とを備えている。プリントヘッド2に
は、例えば、128個または144個等の所定数のノズ
ル2Aが所定のノズル間隔をもって副走査方向(図1中
の上下方向)に列設されており、1回の主走査で複数行
の印刷が可能となっている。「ドット形成要素」の一部
を構成する各ノズル2Aは、例えば、圧電振動子の伸縮
による圧力変動によって、圧力発生室に供給されたイン
クを所定量だけ吐出させるものである。また、例えば、
発熱素子の発熱を制御することにより気泡を発生させ、
この気泡の発生による圧力変動によってインク滴を吐出
させることもできる。なお、ドット形成要素としては、
インクジェット式のものに限定されない。
As will be described later, the printer 1
Print head 2, main scanning drive unit 3, sub-scanning drive unit 4, control unit 5, data storage unit 6, and head drive unit 7.
And a paper detector 8. In the print head 2, for example, a predetermined number of nozzles 2A, such as 128 or 144 nozzles, are arranged in a row in the sub-scanning direction (vertical direction in FIG. 1) at a predetermined nozzle interval. Multiple lines can be printed. Each of the nozzles 2A constituting a part of the "dot forming element" discharges a predetermined amount of ink supplied to the pressure generating chamber due to a pressure change due to expansion and contraction of the piezoelectric vibrator. Also, for example,
By generating heat by controlling the heat generated by the heating element,
Ink droplets can also be ejected by pressure fluctuations due to the generation of bubbles. In addition, as a dot forming element,
It is not limited to an ink jet type.

【0035】主走査駆動部3は、プリントヘッド2を、
例えば、カット紙等の印刷記録媒体Sに対して所定の主
走査方向(図1中の左右方向)に駆動するものである。
主走査駆動部3は、キャリッジモータの作動を制御する
ことにより、プリントヘッド2を搭載したキャリッジを
所定方向に移動させる。副走査駆動部4は、主走査方向
に対して直交する副走査方向に印刷記録媒体Sを搬送す
るように駆動するものである。副走査駆動部4は、紙送
りモータの作動を制御することにより、給紙トレイから
取り出した印刷記録媒体Sを所定量ずつ搬送する。
The main scanning drive unit 3 controls the print head 2
For example, it is driven in a predetermined main scanning direction (left-right direction in FIG. 1) with respect to a print recording medium S such as cut paper.
The main scanning drive unit 3 moves the carriage on which the print head 2 is mounted in a predetermined direction by controlling the operation of the carriage motor. The sub-scanning drive unit 4 drives the print recording medium S to be transported in a sub-scanning direction orthogonal to the main scanning direction. The sub-scanning drive unit 4 conveys the print recording medium S taken out of the paper feed tray by a predetermined amount by controlling the operation of the paper feed motor.

【0036】「印刷制御手段」としての制御部5は、主
走査駆動部3及び副走査駆動部4による駆動量及び駆動
タイミング等を制御することにより、プリントヘッド2
を主走査方向に移動させて、一定箇所に位置させるもの
である。ここで、制御部5は、物理ページ越え判定部1
1と、イメージデータ生成部12とを備えることができ
る。「判定手段」としての物理ページ越え判定部11
は、先行して生成される印刷用イメージデータの終端位
置が印刷記録媒体の物理的ページを越えたか否かを判定
するものである。「イメージデータ生成手段」としての
イメージデータ生成部12は、実際の印刷に先行して1
行ずつ印刷用イメージデータを生成するものである。
The control unit 5 as a “print control unit” controls the driving amount and the driving timing of the main scanning driving unit 3 and the sub-scanning driving unit 4 so that the print head 2 is controlled.
Is moved in the main scanning direction to be located at a predetermined position. Here, the control unit 5 controls the physical page overrun determination unit 1
1 and an image data generation unit 12. Physical page overrun determination section 11 as "determination means"
Is to determine whether or not the end position of the previously generated print image data has exceeded the physical page of the print recording medium. The image data generation unit 12 as an “image data generation unit” performs one
The print image data is generated line by line.

【0037】「記憶手段」としてのデータ格納部6は、
印刷用イメージデータを格納するメモリから構成されて
いる。イメージデータ生成手段12により先行して生成
された1行分ずつの印刷用イメージデータがデータ格納
部6に記憶され、データ格納部6を介してへッド駆動部
7に供給される。へッド駆動部7は、データ格納部6か
ら入力される印刷用イメージデータに基づいてプリント
ヘッド2に通電することにより、所定のノズル2Aから
インク滴を吐出させるものである。
The data storage unit 6 as “storage means”
It comprises a memory for storing print image data. The print image data for each line generated in advance by the image data generation unit 12 is stored in the data storage unit 6, and is supplied to the head drive unit 7 via the data storage unit 6. The head drive unit 7 discharges ink droplets from predetermined nozzles 2A by energizing the print head 2 based on print image data input from the data storage unit 6.

【0038】「検出手段」としての用紙検出器8は、図
8と共に上述した用紙検出器102と同様に、給紙ロー
ラ100とプリントヘッド2との間の紙送り経路上に設
けられている。用紙検出器8は、例えば、光電スイッチ
等から構成することができ、印刷記録媒体Sの上端及び
下端をそれぞれ検出することができる。
The paper detector 8 as "detecting means" is provided on a paper feed path between the paper feed roller 100 and the print head 2, similarly to the paper detector 102 described above with reference to FIG. The paper detector 8 can be composed of, for example, a photoelectric switch or the like, and can detect the upper end and the lower end of the print recording medium S, respectively.

【0039】次に、図2に基づいて、本実施形態の作用
を説明する。図2は、印刷処理の要部を概略的に示すフ
ローチャートであり、印刷が開始された後を示す。ステ
ップ(以下「S」と略記)1では、主走査と副走査とを
交互に繰り返すことにより印刷が行われる。次に、S2
では、印刷ジョブの印刷が終了したか否かを判定する。
印刷が終了した場合は「YES」と判定して処理を終了
し、印刷すべきデータが残っている場合は「NO」と判
定してS3に移る。
Next, the operation of this embodiment will be described with reference to FIG. FIG. 2 is a flowchart schematically showing a main part of the printing process, and shows a state after printing is started. In step (hereinafter abbreviated as "S") 1, printing is performed by alternately repeating main scanning and sub-scanning. Next, S2
Then, it is determined whether the printing of the print job has been completed.
When the printing is completed, the determination is “YES” and the process is terminated. When the data to be printed remains, the determination is “NO” and the process proceeds to S3.

【0040】S3では、論理ページ越えが発生したか否
かを判定する。即ち、ホストコンピュータから入力され
たバンド数や改行コマンドによって排紙を行うか否かを
判定する。論理ページ越えが発生した場合は、「YE
S」と判定し、後述のS4〜S6をスキップしてS8に
移る。論理ページ越えが発生していない場合は、「N
O」と判定してS4に移り、用紙検出器8が印刷記録媒
体Sの下端を検出したか否かを判定する。印刷記録媒体
Sの下端が未検出の場合は、「NO」と判定し、S1に
戻って印刷を続行する。
In S3, it is determined whether or not a logical page over has occurred. That is, it is determined whether or not to discharge the paper based on the number of bands or a line feed command input from the host computer. If a logical page over occurs, "YE
S ", and skips S4 to S6 to be described later and proceeds to S8. If no logical page crossing has occurred, "N
It is determined as "O" and the process proceeds to S4, where it is determined whether or not the sheet detector 8 has detected the lower end of the print recording medium S. If the lower end of the print recording medium S has not been detected, “NO” is determined, and the process returns to S1 to continue printing.

【0041】印刷が進んで印刷記録媒体Sの下端を用紙
検出器8が検出すると、S4では「YES」と判定さ
れ、S5では、オーバライド量Xを取得する。オーバラ
イド量Xの初期値は、用紙検出器8とプリントヘッド2
との離間距離である。次に、S6では、印刷用イメージ
データの新たな展開位置(iYPOS+y)と実際の印
刷位置rYPOSの差分が現在のオーバライド量X以上
であるか否か、即ち、新たに生成される印刷用イメージ
データの副走査方向の終端位置(iYPOS+y)が印
刷可能領域を越えたか否かを判定する。ここで、yは、
印刷用イメージデータを先行して生成する単位であり、
1行分のイメージ高さである。
When printing proceeds and the paper detector 8 detects the lower end of the print recording medium S, "YES" is determined in S4, and the override amount X is obtained in S5. The initial value of the override amount X is determined by the paper detector 8 and the print head 2.
Distance. Next, in S6, it is determined whether or not the difference between the new development position (iYPOS + y) of the print image data and the actual print position rYPOS is equal to or greater than the current override amount X, ie, the newly generated print image data. It is determined whether the end position (iYPOS + y) in the sub-scanning direction has exceeded the printable area. Where y is
A unit for generating print image data in advance,
Image height for one line.

【0042】印刷用イメージデータを1行分だけ新たに
生成しても印刷可能領域を越えない場合は、「NO」と
判定されてS7に移る。そして、印刷用イメージデータ
の展開位置を1行だけ進めて(S7)、新たな印刷用イ
メージデータを生成する(S11)。S11で生成され
た印刷用イメージデータは、データ格納部6に保存さ
れ、プリントヘッド2が所定位置に到達するときにヘッ
ド駆動部7に供給されて印刷される。
If the print image data does not exceed the printable area even if one line of print image data is newly generated, "NO" is determined, and the routine goes to S7. Then, the developing position of the print image data is advanced by one line (S7), and new print image data is generated (S11). The printing image data generated in S11 is stored in the data storage unit 6, and is supplied to the head driving unit 7 when the print head 2 reaches a predetermined position and printed.

【0043】印刷記録媒体Sの下端側における印刷が進
むにつれて、オーバライド量Xは減少していく。そし
て、新たに印刷用イメージデータを生成すると該印刷用
イメージデータが印刷可能領域を越えてしまう場合は、
S6で「YES」と判定され、新たな印刷用イメージデ
ータの生成が禁止される。これにより、既に先行して生
成された印刷用イメージデータの印刷を行わせ(S
8)、印刷を終えた印刷記録媒体Sを排紙させる(S
9)。そして、新たな印刷記録媒体Sを給紙トレイ等か
ら搬入してセットし(S10)、印刷用イメージデータ
の生成を再び開始する(S11)。S11では、前記S
6で印刷可能領域からはみ出すと判定された行の印刷用
イメージデータを生成する。このように、印刷記録媒体
Sの下端を検出すると(S4)、下端側印刷処理に移り
(S5〜S11)、印刷記録媒体Sからはみ出ない範囲
で印刷用イメージデータの生成を行うようになってい
る。
As the printing on the lower end side of the print recording medium S proceeds, the override amount X decreases. When newly generating print image data causes the print image data to exceed the printable area,
S6 is determined as "YES", and generation of new print image data is prohibited. As a result, the printing image data that has already been generated earlier is printed (S
8) The print recording medium S on which printing has been completed is discharged (S
9). Then, a new print recording medium S is carried in from a paper feed tray or the like and set (S10), and generation of print image data is started again (S11). In S11, the S
The print image data of the line determined to be out of the printable area in step 6 is generated. As described above, when the lower end of the print recording medium S is detected (S4), the process proceeds to the lower end side print processing (S5 to S11), and print image data is generated within a range not protruding from the print recording medium S. I have.

【0044】このように構成される本実施の形態によれ
ば、以下の効果を奏する。第1に、論理的ページ長が物
理的ページ長を上回ると予測された場合には、物理的ペ
ージ長に応じた範囲内で印刷用イメージデータを生成す
るため、印刷記録媒体Sのページ長が印刷設定による論
理的ページ長よりも短い場合でも、実際のぺージ長に合
わせて適切に印刷することができる。
According to the present embodiment configured as described above, the following effects can be obtained. First, when it is predicted that the logical page length exceeds the physical page length, the print image data is generated within a range corresponding to the physical page length. Even if the page length is shorter than the logical page length determined by the print setting, printing can be performed appropriately in accordance with the actual page length.

【0045】即ち、図3(a)に示すように、先行して
生成される印刷用イメージデータの終端位置iYPOS
がオーバライド量Xを越えない場合、印刷用イメージデ
ータは、主走査毎にプリントヘッド2に供給されて印刷
される。従って、図3(b)に示すように、最終行が分
断されてしまったり、その行の印刷用イメージデータが
消失したりすることはなく、適切な印刷を行うことがで
きる。例えば、表計算ソフトのワークシートを印刷する
場合、住所録やプログラムリスト等を印刷する場合、ユ
ーザーにとっては印刷される項目や文字等が重要であ
り、印刷レイアウト自体にはこだわらないことが多い。
本実施形態では、設定された用紙サイズよりも短い印刷
記録媒体が給紙されていても適切に印刷できるため、印
刷設定時のページ長が重要視されない印刷ジョブの場合
には、使い勝手が大幅に向上する。
That is, as shown in FIG. 3A, the end position iYPOS of the print image data generated in advance.
Does not exceed the override amount X, the print image data is supplied to the print head 2 and printed at each main scan. Therefore, as shown in FIG. 3B, the last line is not divided, and the print image data of the line is not lost, and appropriate printing can be performed. For example, when printing a worksheet of spreadsheet software, printing an address book, a program list, and the like, items and characters to be printed are important for the user, and the print layout itself is often not particular.
In the present embodiment, printing can be performed properly even when a print recording medium shorter than the set paper size is fed, so that in the case of a print job in which the page length at the time of print setting is not regarded as important, the usability is greatly increased. improves.

【0046】第2に、新たに生成される印刷用イメージ
データの終端位置iYPOSが印刷可能領域を越えるか
否かを判定するため、主走査毎に、物理的なページ越え
が生じるか否かを容易に判定することができる。
Second, in order to determine whether or not the end position iYPOS of the newly generated print image data exceeds the printable area, it is determined whether or not a physical page overrun occurs for each main scan. It can be easily determined.

【0047】第3に、複数行の同時印刷可能なプリント
ヘッド2を採用し、1行単位で印刷用イメージデータを
生成しているため、印刷速度を高めつつ印刷記録媒体の
下端のぎりぎりまで印刷することができる。
Third, since a print head 2 capable of simultaneously printing a plurality of lines is employed and print image data is generated in units of one line, printing is performed to the very bottom of the print recording medium while increasing the printing speed. can do.

【0048】以上の第1の実施形態では、用紙検出器8
によって印刷記録媒体Sの下端が通過するのを検出する
処理を経て当該印刷記録媒体の物理的ページ長を確定で
きるようになってから後は、初期値がプリントヘッドと
用紙検出器との離間距離であり、以後は副走作の度に減
少していくオーバーライド量Xを計算しつつ、展開済み
の印刷用イメージデータの位置と比較することによっ
て、次頁に印刷すべきイメージデータまで生成(イメー
ジバッファに展開)することを防止している。
In the first embodiment, the paper detector 8
After the physical page length of the print recording medium can be determined through the process of detecting that the lower end of the print recording medium S passes, the initial value is the separation distance between the print head and the paper detector. After that, while calculating the override amount X that decreases with each sub-run, the image data to be printed on the next page is generated by comparing with the position of the developed print image data (image (Development in the buffer).

【0049】しかしながら、印刷のスループットを更に
向上すべく、プリンタにおける実際の印字に先駆けて印
刷用イメージデータを生成(イメージバッファに展開)
することがより速く進むことになると、用紙検出器によ
って印刷記録媒体の下端を検出して次頁の判断が可能に
なる前に、次頁に印刷すべきイメージデータまで生成
(イメージバッファに展開)することになってしまう。
換言すると、上述した第1の実施形態では、イメージデ
ータの生成(イメージバッファへの展開)がより速く進
む場合に対処し得ず、印刷品質の低下という事態を回避
できない虞れがある。
However, in order to further improve the printing throughput, the printing image data is generated (developed in the image buffer) prior to the actual printing in the printer.
If the process proceeds faster, before the lower end of the print recording medium is detected by the paper detector and the next page can be determined, image data to be printed on the next page is generated (developed in the image buffer). Will be done.
In other words, the first embodiment described above cannot deal with the case where the generation of the image data (developing the image data into the image buffer) proceeds faster, and there is a possibility that a situation in which the print quality deteriorates cannot be avoided.

【0050】そこで、更に、本発明者は、かかる事態を
回避するために、用紙検出器によって印刷記録媒体の下
端を検出する前でも、展開位置と印字位置との差をオー
バーライド量の初期値以上に広がらないように展開を制
限することを案出した。以下、かかる課題を達成するた
めの本発明の第2の実施形態について説明する。まず、
本実施形態の理解を容易にするため、上述した回避すべ
き事態が如何に生じるかについて、図4(a)〜(d)
を参照して説明しておく。
In order to avoid such a situation, the inventor further sets the difference between the developing position and the printing position to be greater than the initial value of the override amount even before the lower end of the print recording medium is detected by the paper detector. Devised to limit deployment so that it does not spread to Hereinafter, a second embodiment of the present invention for achieving this object will be described. First,
FIGS. 4A to 4D show how the above situations to be avoided occur to facilitate understanding of the present embodiment.
This will be described with reference to FIG.

【0051】即ち、図4(a)に示すように、本来、物
理的ページ長を越えるデータ(同図に点線で囲んで示す
部分)は、次頁に印刷されるはずのデータであるが、図
4(b)に示すように、プリントヘッドが図中YAの位
置にある場合、つまり用紙検出器によって印刷記録媒体
の下端を検出する前は、第1の実施形態におけるような
オーバーライド量Xの計算を開始できない。このオーバ
ーライド量Xは、図4(c)に示すように、プリントヘ
ッドが図中YBの位置に来て、つまり用紙検出器によっ
て印刷記録媒体の下端が検出されて始めて確定し、以後
減少していく変数としてのオーバーライド量Xの計算が
可能となる。従って、図4(b)に示す場合には、どん
どんイメージデータの作成及び展開が進むことがあり、
同図に示すように、展開済みのデータの位置がいっきに
印刷記録媒体の下端を越えてしまう場合が生じる虞れが
ある。このような場合には、印字結果は、図4(d)に
示すように、データ(文字や図形)が切れたような望ま
ざる事態となってしまう。
That is, as shown in FIG. 4A, data that originally exceeds the physical page length (the portion surrounded by a dotted line in FIG. 4) is data that should be printed on the next page. As shown in FIG. 4B, when the print head is at the position of YA in the drawing, that is, before the lower end of the print recording medium is detected by the paper detector, the override amount X as in the first embodiment is set. Calculation cannot be started. As shown in FIG. 4 (c), this override amount X is determined only when the print head comes to the position of YB in the drawing, that is, when the lower end of the print recording medium is detected by the paper detector, and thereafter, it is decreased. It is possible to calculate the override amount X as a variable. Therefore, in the case shown in FIG. 4B, the creation and development of image data may proceed more and more,
As shown in the drawing, there is a possibility that the position of the developed data may exceed the lower end of the print recording medium at once. In such a case, as shown in FIG. 4D, the print result becomes an undesired situation in which data (characters and graphics) is cut off.

【0052】そこで、本実施形態では、図5に示すよう
に、用紙検出器によって印刷記録媒体の下端が検出され
てオーバーライド量Xの計算が可能となる前でも、展開
済みのデータの位置(展開位置)と当該時点での印字位
置との差D(展開の進み具合によって増減する変数であ
る)が、オーバーライド量の初期値K(これは、プリン
トヘッドと用紙検出器との離間距離であり、用紙検出器
によって印刷記録媒体の下端が検出される前でも分かっ
ている、即ち定数である)を越えないようにする。
Therefore, in this embodiment, as shown in FIG. 5, even before the lower end of the print recording medium is detected by the paper detector and the override amount X can be calculated, the position of the developed data (developing) The difference D between the position and the printing position at that time (a variable that increases or decreases according to the progress of the development) is an initial value K of the override amount (this is the separation distance between the print head and the paper detector, Even before the lower end of the print recording medium is detected by the paper detector, it does not exceed the known (ie, constant).

【0053】即ち、図6に示すように、展開要求が生じ
た場合(S601)には、それを展開した場合の展開済
みのデータの位置(展開位置)と当該時点での印字位置
との差Dが、オーバーライド量の初期値Kを越えないか
否かを判断し(S602)、越えない場合には、展開を
許可する(S603)が、これを越える場合には、展開
を許可せず、印刷が進んで差Dが減少するのを待機する
(S604)。
That is, as shown in FIG. 6, when an expansion request is issued (S601), the difference between the expanded data position (expansion position) and the print position at the time is expanded. It is determined whether or not D does not exceed the initial value K of the override amount (S602). If it does not exceed this value, the development is permitted (S603). The process waits until the printing proceeds and the difference D decreases (S604).

【0054】図7は、本発明の第2の実施形態に係るプ
リンタにおける、上述したような用紙検出器によって印
刷記録媒体の下端を検出する前後の印刷動作の流れを示
すフローチャートである。本実施形態においても、用紙
検出器によって印刷記録媒体の下端が検出された後は、
上述した第1の実施形態と同様に、オーバーライド量X
(変数、その初期値はKに等しい)を計算しつつ印刷を
行う、従って、この第1の実施形態と同様の処理を行う
部分については、詳しい説明を省略する。
FIG. 7 is a flowchart showing a flow of a printing operation before and after the lower end of the print recording medium is detected by the above-described paper detector in the printer according to the second embodiment of the present invention. Also in the present embodiment, after the lower end of the print recording medium is detected by the paper detector,
As in the first embodiment described above, the override amount X
(Variable, the initial value of which is equal to K) is calculated and printing is performed. Therefore, a detailed description of a portion that performs the same processing as that of the first embodiment will be omitted.

【0055】この第2の実施形態のプリンタにおける印
刷処理は、S701〜S703の後、印刷用紙(記録媒
体)の下端が検出されたか否かを判断し(S704)、
この下端が検出されていない場合(S704でNo)
[図4(b)に示した場合に相当する]には、展開位置
と印字位置の差[図5に示した差D(変数)に相当す
る]がオーバーライド量の初期値K(定数)以下か否か
を判断する(S712)。そして、展開位置と印字位置
の差がオーバーライド量の初期値K(定数)以下でない
場合には(S712でNo)、印刷を進める、即ち、S
701〜S704のループを繰り返す。一方、展開位置
と印字位置の差がオーバーライド量の初期値K(定数)
以下である場合には(S712でYes)、ヘッド高さ
分のイメージを展開し(S707)、新たなイメージデ
ータも生成する(S711)。
In the printing process of the printer according to the second embodiment, after S701 to S703, it is determined whether or not the lower end of the printing paper (recording medium) is detected (S704).
When this lower end is not detected (No in S704)
In [corresponding to the case shown in FIG. 4B], the difference between the developed position and the printing position [corresponding to the difference D (variable) shown in FIG. 5] is equal to or less than the initial value K (constant) of the override amount. It is determined whether or not this is the case (S712). If the difference between the development position and the print position is not equal to or less than the initial value K (constant) of the override amount (No in S712), the printing proceeds, that is, S
The loop from 701 to S704 is repeated. On the other hand, the difference between the development position and the printing position is the initial value K (constant) of the override amount.
If it is below (Yes in S712), an image corresponding to the head height is developed (S707), and new image data is also generated (S711).

【0056】このように、第2の実施形態のプリンタで
は、用紙検出器によって印刷記録媒体の下端を検出する
前は、展開位置と印字位置との差をオーバーライド量の
初期値以上に広がらないように展開を制限するので、次
頁に印刷すべきイメージデータまで展開してしまうのを
確実に防止できる。また、用紙検出器によって印刷記録
媒体の下端が検出された後は、上述した第1の実施形態
と同様に、オーバーライド量X(変数、その初期値はK
に等しい)を計算しつつ印刷を行うので、印刷記録媒体
の下端のぎりぎりまで印刷することができる。
As described above, in the printer according to the second embodiment, before the lower end of the print recording medium is detected by the paper detector, the difference between the developing position and the printing position is prevented from spreading beyond the initial value of the override amount. Therefore, it is possible to reliably prevent the image data to be expanded on the next page from being expanded. After the lower end of the print recording medium is detected by the paper detector, the override amount X (variable, the initial value of which is K, as in the first embodiment).
) Is calculated, the printing can be performed up to the very bottom of the print recording medium.

【0057】以上、本発明を特定の実施形態について述
べたが、本発明はこれらに限られるものではなく、特許
請求の範囲に記載された範囲内で、他の実施形態につい
ても適用される。例えば、その下端の検出によって印刷
記録媒体Sの物理的ページ長が確定した時点で、印刷用
イメージデータの展開可能位置iYPOS(max)を
算出し、iYPOSが展開可能位置iYPOS(ma
x)に達するまで印刷用イメージデータの生成を許可す
るように構成することもできる。
As described above, the present invention has been described with respect to the specific embodiments. However, the present invention is not limited to these, and is applicable to other embodiments within the scope described in the claims. For example, when the physical page length of the print recording medium S is determined by the detection of the lower end, the expandable position iYPOS (max) of the print image data is calculated, and the expandable position iYPOS (ma) is calculated.
The configuration may be such that generation of print image data is permitted until x) is reached.

【0058】また、例えば、データ格納部6とヘッド駆
動部7との間に印刷用イメージデータの転送を制御する
データ転送制御部を設け、印刷記録媒体Sの印刷可能領
域からはみ出さない範囲の印刷用イメージデータのみを
ヘッド駆動部6に入力させるように構成することもでき
る。
Further, for example, a data transfer control unit for controlling the transfer of the print image data is provided between the data storage unit 6 and the head drive unit 7 so that the data transfer control unit does not protrude from the printable area of the print recording medium S. It is also possible to configure so that only the print image data is input to the head drive unit 6.

【0059】更に、上述した第2の実施形態では、用紙
検出器によって印刷記録媒体の下端が検出された後は、
第1の実施形態と同様にオーバーライド量X(変数)を
計算しつつ印刷を行うようにしたが、印刷記録媒体の下
端の検出の前後を問わず、展開位置と印字位置との差D
(変数)をオーバーライド量の初期値K(一定値)以上
に広がらないように展開を制限するようにしても良い。
この場合、ぎりぎりまでの印刷は困難となるが、印字結
果がデータ(文字や図形)が切れたような事態となるの
は回避し得る。
Further, in the above-described second embodiment, after the lower end of the print recording medium is detected by the paper detector,
As in the first embodiment, printing is performed while calculating the override amount X (variable). However, regardless of whether the lower end of the print recording medium is detected or not, the difference D between the developed position and the printed position is determined.
The expansion may be limited so that the (variable) does not spread beyond the initial value K (constant value) of the override amount.
In this case, it is difficult to print to the last minute, but it is possible to avoid a situation in which the printing result is such that data (characters and graphics) is cut off.

【0060】[0060]

【発明の効果】以上説明した通り、本発明に係るプリン
タ及び印刷方法によれば、実際のぺ一ジ長が印刷データ
で示された論理的ページ長よりも短い場合でも、印刷記
録媒体の範囲内で適切な印刷を行うことができ、印刷品
質を維持して使い勝手を向上させることができる。
As described above, according to the printer and the printing method of the present invention, even if the actual page length is shorter than the logical page length indicated by the print data, the range of the print recording medium can be reduced. It is possible to perform appropriate printing within the printer, maintain print quality, and improve usability.

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

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

【図2】本発明の第1の実施形態に係るプリンタにおけ
る印刷処理動作を示すフローチャートである。
FIG. 2 is a flowchart illustrating a print processing operation in the printer according to the first embodiment of the present invention.

【図3】本発明の第1の実施形態に係るプリンタにおけ
る印刷用イメージデータの生成と印刷結果の関係等を示
す説明図であって、図3(a)は印刷用イメージデータ
の展開位置とオーバライドとの関係を示し、図3(b)
は印刷結果を示す。
FIGS. 3A and 3B are explanatory diagrams showing a relationship between generation of print image data and a print result in the printer according to the first embodiment of the present invention, and FIG. FIG. 3B shows the relationship with the override.
Indicates a print result.

【図4】用紙検出器によって印刷記録媒体の下端を検出
する前にも、イメージデータの先行展開により印刷品質
の低下という事態を生じる理由を説明する図であり、図
4(a)は、物理的ページ長を越えるデータの展開を、
図4(b)は、用紙検出器によって印刷記録媒体の下端
を検出する前を、図4(c)は、用紙検出器によって印
刷記録媒体の下端が検出された時点を、図4(d)は、
印字結果としてデータ(文字や図形)が切れたような状
態を、それぞれ示す。
FIG. 4 is a diagram for explaining the reason why a situation in which print quality deteriorates due to advance development of image data even before the lower end of a print recording medium is detected by a paper detector, and FIG. Expansion of data that exceeds the target page length,
4B shows a state before the lower end of the print recording medium is detected by the sheet detector, and FIG. 4C shows a state before the lower end of the print recording medium is detected by the sheet detector. Is
The states in which data (characters and figures) are cut off as a printing result are shown respectively.

【図5】本発明の第2の実施形態における展開済みデー
タの位置と印字位置との関係を説明するための図であ
る。
FIG. 5 is a diagram for explaining a relationship between a position of expanded data and a print position according to the second embodiment of the present invention.

【図6】本発明の第2の実施形態における展開(抑制)
処理を示すフローチャートである。
FIG. 6 is an expansion (suppression) in the second embodiment of the present invention.
It is a flowchart which shows a process.

【図7】本発明の第2の実施形態に係るプリンタにおけ
る印刷処理動作を示すフローチャートである。
FIG. 7 is a flowchart illustrating a print processing operation in a printer according to a second embodiment of the present invention.

【図8】プリントエンジンの概要を示す説明図であっ
て、図8(a)は印刷記録媒体が供給された時点、図8
(b)は印刷記録媒体の下端が用紙検出器に検出された
時点をそれぞれ示す。
8A and 8B are explanatory diagrams illustrating an outline of a print engine. FIG. 8A illustrates a state when a print recording medium is supplied.
(B) shows the time when the lower end of the print recording medium is detected by the paper detector.

【図9】従来技術による印刷結果を示す説明図であっ
て、図9(a)は論理的ページ長が物理的ページ長より
も短いか又は一致する場合、図9(b)は論理的ページ
長が物理的ページ長よりも長い場合をそれぞれ示す。
FIGS. 9A and 9B are explanatory diagrams showing a print result according to the related art. FIG. 9A shows a case where the logical page length is shorter than or equal to the physical page length, and FIG. The case where the length is longer than the physical page length is shown.

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

1 プリンタ 2 プリントヘッド 3 主走査駆動部 4 副走査駆動部 5制御部 6 データ格納部 7 ヘッド駆動部 8 用紙検出器 11 物理ページ越え判定部 12 イメージデータ生成部 DESCRIPTION OF SYMBOLS 1 Printer 2 Print head 3 Main scanning drive part 4 Sub-scanning drive part 5 Control part 6 Data storage part 7 Head drive part 8 Paper detector 11 Physical page crossing judgment part 12 Image data generation part

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 先行して展開される印刷用イメ一ジデー
タの位置とある時点における印刷記録媒体に対する印刷
位置との差を、常にオーバーライド量以下に維持するよ
うにしたことを特徴とするプリンタ。
2. A printer according to claim 1, wherein a difference between a position of the printing image data to be developed in advance and a printing position on a print recording medium at a certain point in time is always kept to be equal to or less than an override amount.
【請求項2】 先行して展開される印刷用イメ一ジデー
タの位置とある時点における印刷記録媒体に対する印刷
位置との差を、オーバーライド量の初期値以下に維持す
ることを特徴とするプリンタ。
2. A printer according to claim 1, wherein a difference between a position of the image data for printing to be developed in advance and a printing position on a print recording medium at a certain point in time is kept equal to or less than an initial value of an override amount.
【請求項3】 先行して展開される印刷用イメ一ジデー
タの位置とある時点における印刷記録媒体に対する印刷
位置との差を、前記印刷記録媒体の物理的ページ長が確
定する前はオーバーライド量の初期値以下に維持し、前
記物理的ページ長が確定した後は前記印刷記録媒体の副
走査の度に減少していくオーバーライド量を所定のタイ
ミングで算出しつつ該算出したオーバーライド量以下に
維持することを特徴とするプリンタ。
3. A difference between a position of image data for printing to be developed in advance and a print position on a print recording medium at a certain point in time is determined by an override amount before the physical page length of the print recording medium is determined. After the physical page length is determined, the override amount is decreased at every sub-scan of the print recording medium, and is calculated at a predetermined timing, and is maintained at or below the calculated override amount. A printer characterized in that:
【請求項4】 入力される印刷データに基づいてプリン
トヘッドを主走査させると共に印刷記録媒体を副走査さ
せることにより印刷を行うプリンタにおいて、 前記プリントヘッドの主走査による印刷に先行して所定
量ずつ印刷用イメージデータを生成するイメージデータ
生成手段と、 前記生成された印刷用イメージデータを記憶する記憶手
段と、 前記記憶手段に記憶された前記印刷用イメージデータを
前記プリントヘッドに供給し、前記主走査及び副走査を
行わせる印刷制御手段と、 前記印刷記録媒体が所定位置に到達したことを検出する
検出手段と、 前記印刷データにより示される論理的ページ長と前記検
出手段からの検出信号に基づいて算出される前記印刷記
録媒体の物理的ページ長とを比較し、前記論理的ぺージ
長が前記物理的ページ長を上回っているか否かを判定す
る判定手段とを設け、前記判定手段により前記論理的ペ
ージ長が前記物理的ページ長を上回っていると判定され
た場合には、前記物理的ページ長に応じた範囲内で前記
印刷用イメージデータを生成することを特徴とするプリ
ンタ。
4. A printer for performing printing by main-scanning a print head and sub-scanning a print recording medium based on input print data, wherein a predetermined amount is set in advance of printing by the main scan of the print head. Image data generating means for generating print image data; storage means for storing the generated print image data; supplying the print image data stored in the storage means to the print head; Print control means for performing scanning and sub-scanning, detection means for detecting that the print recording medium has reached a predetermined position, based on a logical page length indicated by the print data and a detection signal from the detection means The logical page length is compared with the physical page length of the print recording medium calculated by Determining means for determining whether the logical page length is longer than the physical page length if the logical page length is determined to be greater than the physical page length. A printer for generating the print image data within a range defined by the printer.
【請求項5】 請求項4記載のプリンタにおいて、前記
判定手段は、前記検出手段からの検出信号に基づいて、
前記イメージデータ生成手段により新たに生成される印
刷用イメージデータの副走査方向の終端位置が前記印刷
記録媒体の下端を越えるか否かを判定し、前記判定手段
によって前記印刷用イメージデータの副走査方向の終端
位置が前記印刷記録媒体の下端を越えないと判定された
場合には、前記イメージデータ生成手段による新たな印
刷用イメージデータの生成を許可し、前記判定手段によ
って前記印刷用イメージデータの副走査方向の終端位置
が前記印刷記録媒体の下端を越えると判定された場合に
は、前記記憶手段に記憶された印刷用イメージデータを
前記プリントヘッドにより印刷させて前記印刷記録媒体
を排紙することを特徴とするプリンタ。
5. The printer according to claim 4, wherein the determination unit is configured to perform a determination based on a detection signal from the detection unit.
It is determined whether the end position in the sub-scanning direction of the print image data newly generated by the image data generating means exceeds the lower end of the print recording medium, and the sub-scanning of the print image data is performed by the determining means. When it is determined that the end position in the direction does not exceed the lower end of the print recording medium, generation of new print image data by the image data generation unit is permitted, and the determination unit outputs the print image data. If it is determined that the end position in the sub-scanning direction exceeds the lower end of the print recording medium, the print head prints the print image data stored in the storage means and discharges the print recording medium. A printer characterized in that:
【請求項6】 請求項5記載のプリンタにおいて、前記
プリントヘッドは1回の主走査で複数行の印刷が可能に
構成されており、前記イメージデータ生成手段は印刷に
先行して1行ずつ前記印刷用イメージデータを生成する
ことを特徴とするプリンタ。
6. The printer according to claim 5, wherein the print head is configured to be able to print a plurality of lines in one main scan, and the image data generating unit is configured to print the lines one by one prior to printing. A printer for generating print image data.
【請求項7】 入力される印刷データに基づいてプリン
トヘッドを主走査させると共に印刷記録媒体を副走査さ
せることにより、所定の印刷を行う印刷方法において、
前記プリントヘッドと給紙口との間に設けられた検出手
段によって印刷中の印刷記録媒体の下端が検出されたか
否かを判定するステップと、前記印刷記録媒体の下端が
検出された場合には、前記印刷記録媒体に残された印刷
可能領域の副走査方向の長さを検出するステップと、印
刷に先行して新たに生成される印刷用イメージデータの
副走査方向の終端位置が前記印刷可能領域の外部に位置
するか否かを判定するステップと、前記終端位置が前記
印刷可能領域の外部に位置しないと判定された場合は、
当該印刷用イメージデータを生成するステップと、前記
終端位置が前記印刷可能領域の外部に位置すると判定さ
れた場合は、当該印刷用イメージデータの生成を中断
し、記憶手段に記憶された印刷用イメージデータを前記
プリントヘッドにより印刷させるステップと、前記プリ
ントヘッドによる印刷が終了した場合は、前記印刷記録
媒体を排紙させるステップと、新たな印刷記録媒体が給
紙された場合は、前記中断された印刷用イメージデータ
を生成させるステップと、を含んでなることを特徴とす
る印刷方法。
7. A printing method for performing predetermined printing by causing a print head to perform main scanning and a print recording medium to perform sub-scanning based on input print data,
Determining whether the lower end of the print recording medium being printed is detected by the detecting means provided between the print head and the paper feed port; and Detecting the length of the printable area left on the print recording medium in the sub-scanning direction; and determining the end position in the sub-scanning direction of the printing image data newly generated prior to printing. Determining whether or not located outside the area, and if it is determined that the end position is not located outside the printable area,
Generating the print image data, and, if it is determined that the end position is located outside the printable area, interrupts the generation of the print image data and stores the print image data stored in the storage unit. Printing data by the print head; ejecting the print recording medium when printing by the print head is completed; and interrupting the printing when a new print recording medium is fed. Generating printing image data.
【請求項8】 プリントヘッドを有するプリンタを制御
するためのコンピュータ読取り可能なプログラムを記録
した記録媒体において、印刷に先行して所定量ずつ印刷
用イメージデータを生成する処理と、前記生成された印
刷用イメージデータを記憶手段に記憶させる処理と、前
記記憶された前記印刷用イメージデータを前記プリント
ヘッドに供給し、所定の主走査及び副走査を行わせる処
理と、検出手段を介して前記印刷記録媒体の通過を検出
する処理と、前記検出手段からの検出信号に基づいて、
新たに生成される印刷用イメージデ一タの副走査方向の
終端位置が前記印刷記録媒体の下端を越えるか否かを判
定する処理と、前記印刷用イメージデータの副走査方向
の終端位置が前記印刷記録媒体の下端を越えないと判定
された場合には、前記新たな印刷用イメージデータの生
成を許可し、前記印刷用イメージデータの副走査方向の
終端位置が前記印刷記録媒体の下端を越えると判定され
た場合には、前記記憶された印刷用イメージデータを前
記プリントヘッドにより印刷して前記印刷記録媒体を排
紙させる処理とを有するプログラムを記録したことを特
徴とする記録媒体。
8. A process for generating print image data by a predetermined amount prior to printing on a recording medium on which a computer-readable program for controlling a printer having a print head is recorded; Storing the print image data in the storage unit, supplying the stored print image data to the print head to perform predetermined main scanning and sub-scanning, and performing the print recording via the detection unit. Based on a process of detecting passage of a medium and a detection signal from the detection unit,
Processing for determining whether the end position of the newly generated print image data in the sub-scanning direction exceeds the lower end of the print recording medium; and determining whether the end position of the print image data in the sub-scan direction is If it is determined that the print image data does not exceed the lower end of the print recording medium, generation of the new print image data is permitted, and the end position of the print image data in the sub-scanning direction exceeds the lower end of the print recording medium. And determining that the stored print image data is printed by the print head and ejecting the print recording medium.
【請求項9】 入力される印刷データに基づいてプリン
トヘッドを副走査方向における所定の位置に維持しつつ
主走査させると共に印刷記録媒体を副走査させることに
より印刷を行うプリンタにおいて、 前記プリントヘッドの主走査による印刷に先行して印刷
用イメージデータを生成して論理的ぺージ長における所
定位置までイメージバッファに展開するイメージデータ
展開手段と、 前記イメージバッファに展開された前記印刷用イメージ
データを前記プリントヘッドに供給し、前記主走査及び
副走査を行わせる印刷制御手段と、 前記プリンタの前記副走査方向における所定の位置に設
けられ、印刷記録媒体が所定位置に到達したことを検出
する検出器と、 前記検出手段からの検出信号に基づいて前記印刷記録媒
体の物理的ページ長が算出される前は、前記論理的ぺー
ジ長における印刷用イメージデータの展開位置と前記印
刷記録媒体への現在の印字位置との差を前記副走査方向
におけるプリントヘッドと前記検出器との間隔と比較
し、該間隔を越えていないと判定された場合には、新た
な印刷用イメージデータの展開を許可し、前記間隔を越
えると判定された場合には、既に展開された印刷用イメ
ージデータを前記プリントヘッドにより印刷させて前記
間隔を越えなくなるまで新たな印刷用イメージデータの
展開を禁止する手段とを有することを特徴とするプリン
タ。
9. A printer that performs main scanning and sub-scanning of a print recording medium while maintaining a print head at a predetermined position in the sub-scanning direction based on input print data, and performs printing by sub-scanning the print head. Means for generating image data for printing prior to printing by main scanning and expanding the image data to a predetermined position in the logical page length in an image buffer; and A print control unit that supplies a print head to perform the main scanning and the sub-scanning, and a detector that is provided at a predetermined position in the sub-scanning direction of the printer and detects that a print recording medium has reached a predetermined position. Calculating a physical page length of the print recording medium based on a detection signal from the detection unit Before the printing, the difference between the development position of the printing image data in the logical page length and the current printing position on the print recording medium is compared with the distance between the print head and the detector in the sub-scanning direction. If it is determined that the interval is not exceeded, the development of new print image data is permitted. If it is determined that the interval is exceeded, the already expanded print image data is printed. Means for prohibiting the development of new print image data until printing is performed by the head and the interval does not exceed the interval.
【請求項10】 請求項9記載のプリンタにおいて、更
に、前記検出手段からの検出信号に基づいて前記印刷記
録媒体の物理的ページ長が算出された後は、新たに生成
される印刷用イメージデータの副走査方向の終端位置が
前記印刷記録媒体の下端を越えるか否かを判定する手段
を有し、該判定手段によって前記印刷用イメージデータ
の副走査方向の終端位置が前記印刷記録媒体の下端を越
えないと判定された場合には、新たな印刷用イメージデ
ータの展開を許可し、前記判定手段によって前記印刷用
イメージデータの副走査方向の終端位置が前記印刷記録
媒体の下端を越えると判定された場合には、既に展開さ
れた印刷用イメージデータを前記プリントヘッドにより
印刷させて前記印刷記録媒体を排紙することを特徴とす
るプリンタ。
10. The printer according to claim 9, further comprising: after calculating a physical page length of the print recording medium based on a detection signal from the detection unit, newly generating print image data. Means for determining whether or not the end position of the print image data in the sub-scanning direction exceeds the lower end of the print recording medium. If it is determined that the print image data does not exceed the limit, the development of new print image data is permitted, and the determination unit determines that the end position of the print image data in the sub-scanning direction exceeds the lower end of the print recording medium. A printer that prints the already developed print image data by the print head and discharges the print recording medium.
【請求項11】 請求項10記載のプリンタにおいて、
前記プリントヘッドは1回の主走査で複数行の印刷が可
能に構成されており、前記イメージデータ展開手段は印
刷に先行して1行ずつ前記印刷用イメージデータを展開
することを特徴とするプリンタ。
11. The printer according to claim 10, wherein
A printer, wherein the print head is configured to print a plurality of lines in one main scan, and the image data developing unit expands the print image data line by line prior to printing. .
【請求項12】 入力される印刷データに基づいて、プ
リンタが印刷記録媒体への印字に先立ってイメージデー
タをバッファ上に展開するイメージデータの展開方法に
おいて、 所定の単位のイメージデータの展開要求を発するステッ
プと、 該展開要求を受けて前記所定の単位のイメージデータを
展開した場合には前記印刷記録媒体の副走作方向におけ
る展開位置が印字位置を越えるか否かを判断するステッ
プと、 前記展開位置が印字位置を越えない場合には、前記所定
の単位のイメージデータの展開を許可し、前記展開位置
が印字位置を越える場合には、前記所定の単位のイメー
ジデータの展開を許可せず当該所定の単位のイメージデ
ータの展開を待機させるステップとを有することを特徴
とするイメージデータの展開方法。
12. An image data developing method in which a printer develops image data on a buffer based on input print data prior to printing on a print recording medium. Issuing, and, when the image data of the predetermined unit is expanded in response to the expansion request, determining whether an expansion position of the print recording medium in the sub-movement direction exceeds a print position; If the development position does not exceed the printing position, the development of the image data of the predetermined unit is permitted.If the development position exceeds the printing position, the development of the image data of the predetermined unit is not permitted. Waiting for the expansion of the image data in the predetermined unit.
【請求項13】 入力される印刷データに基づいて、プ
リンタに印刷記録媒体への印字に先立ってイメージデー
タをバッファ上に展開させるプログラムを記録した記録
媒体において、 所定の単位のイメージデータの展開要求を発する処理
と、 前記展開要求を受けて前記所定の単位のイメージデータ
を展開した場合には前記印刷記録媒体の副走作方向にお
ける展開位置が印字位置を越えるか否かを判断する処理
と、 前記展開位置が印字位置を越えない場合には、前記所定
の単位のイメージデータの展開を許可し、前記展開位置
が印字位置を越える場合には、前記所定の単位のイメー
ジデータの展開を許可せず当該所定の単位のイメージデ
ータの展開を待機させる処理とを有するプログラムを記
録したことを特徴とする記録媒体。
13. A recording medium storing a program for causing a printer to develop image data on a buffer based on input print data prior to printing on a print recording medium, wherein a request for developing image data in a predetermined unit is provided. And a process of determining whether the development position of the print recording medium in the sub-movement direction exceeds the printing position when the image data of the predetermined unit is developed in response to the development request, If the development position does not exceed the printing position, the expansion of the image data of the predetermined unit is permitted, and if the development position exceeds the printing position, the expansion of the image data of the predetermined unit is permitted. Recording a program having a process of waiting for expansion of the image data of the predetermined unit.
JP03813399A 1998-07-29 1999-02-17 Printer Expired - Fee Related JP3947890B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03813399A JP3947890B2 (en) 1998-07-29 1999-02-17 Printer

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-213846 1998-07-29
JP21384698 1998-07-29
JP03813399A JP3947890B2 (en) 1998-07-29 1999-02-17 Printer

Publications (2)

Publication Number Publication Date
JP2000103127A true JP2000103127A (en) 2000-04-11
JP3947890B2 JP3947890B2 (en) 2007-07-25

Family

ID=26377333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03813399A Expired - Fee Related JP3947890B2 (en) 1998-07-29 1999-02-17 Printer

Country Status (1)

Country Link
JP (1) JP3947890B2 (en)

Also Published As

Publication number Publication date
JP3947890B2 (en) 2007-07-25

Similar Documents

Publication Publication Date Title
JP5072573B2 (en) Recording apparatus and recording head control method
JP2008168625A (en) Recording apparatus, recording system, and temperature controlling method for recording head
US10223046B2 (en) Image processor, printing system, and image processing method
JP2009018534A (en) Inkjet recording apparatus
JP4185738B2 (en) Inkjet recording apparatus and inkjet recording method
JP4018433B2 (en) Recording device
JP5480460B2 (en) Printing system and method for forming an image on a medium
JP2005246642A (en) Recording apparatus and control method therefor
JP4401618B2 (en) Recording apparatus and buffer management method
JP2000103127A (en) Printer, printing method, and method for developing image data
JP2007130934A (en) Inkjet recording apparatus
JPH06127033A (en) Recording method in serial recording apparatus
JP2004050705A (en) Inkjet recorder, method of inkjet recording, program and memory medium
JP2003039652A (en) Control method of ink jet recorder
JPH10278318A (en) Printing method employing ink jet printer
JP5261603B2 (en) Inkjet printer, printing method, and program
JP2005238556A (en) Image forming apparatus, and image formation control program
JP2022072511A (en) Inkjet recording device, control method and program
JP2007245626A (en) Image forming apparatus
JP4280453B2 (en) Recording apparatus and recording head temperature management method
JP5028432B2 (en) Image recording apparatus and control method of image recording apparatus
JP5101320B2 (en) Inkjet printer, printing method, and program
US7920289B2 (en) Printing system and method
JP2002137373A (en) Record processing method, recording system, information processor and ink jet recorder
JP2007125843A (en) Recording system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060328

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060421

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061114

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20061215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070223

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070404

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110427

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110427

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140427

Year of fee payment: 7

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