JP5251166B2 - Printer control method and apparatus, and printer control program - Google Patents
Printer control method and apparatus, and printer control program Download PDFInfo
- Publication number
- JP5251166B2 JP5251166B2 JP2008047300A JP2008047300A JP5251166B2 JP 5251166 B2 JP5251166 B2 JP 5251166B2 JP 2008047300 A JP2008047300 A JP 2008047300A JP 2008047300 A JP2008047300 A JP 2008047300A JP 5251166 B2 JP5251166 B2 JP 5251166B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- line
- printing
- procedure
- reduced
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
Description
本発明はプリンタに印刷媒体の種類に応じたレイアウトで印刷させるためのプリンタ制御方法および装置ならびにプリンタ制御プログラムに関する。本明細書において「プリンタ」とは、黒あるいは色の付いた気体、液体あるいは粉体を用いて対象とする媒体に着色する装置全般をいい、流体を噴射して着色する装置や、印刷機能に加えスキャナ機能やコピー機能が付加された複合機と呼ばれる機器を含む。 The present invention relates to a printer control method and apparatus for causing a printer to print with a layout corresponding to the type of print medium, and a printer control program. In this specification, the term “printer” refers to all devices that color a target medium using black or colored gas, liquid, or powder. In addition, it includes devices called multifunction devices with scanner and copy functions.
プリンタで印刷可能な印刷媒体として、裏面に粘着層が設けられたシールが1枚のシートに複数配置されたミニフォトシールあるいはミニ写真シールと呼ばれる分割シール印刷用紙が市販されている。このような用紙の個々のシールに同一の画像を印刷する技術として、特許文献1には、プリンタ独自で印刷媒体の種類を検出し、その検出結果に応じて、入力された画像を縮小して個々のシールに印刷することが開示されている。また、特許文献2には、同じ画像を複数並べて印刷する際の実行時間をプリンタ側で短縮する技術が開示されている。
As print media that can be printed by a printer, divided seal printing paper called a mini photo sticker or a mini photo sticker in which a plurality of stickers each having an adhesive layer on the back surface are arranged on one sheet is commercially available. As a technique for printing the same image on each sticker of such paper,
コンピュータ上で動作するアプリケーションプログラムから分割シールへの印刷を行うには、プリンタからそのプリンタの固有の情報であるアトリビュート情報を取得し、その情報に基づいて処理を行う。アトリビュート情報の取得およびその情報に基づく印刷媒体種類等のメニューの表示は、同じコンピュータ上で動作するプリンタドライバプログラムにより行われる。プリンタドライバプログラムはまた、アプリケーションプログラムからの印刷命令に従って、アプリケーションプログラムから送られてくる画像データをそのプリンタでの印刷に適したデータに変換してプリンタに送信する。 In order to perform printing on the divided sticker from an application program operating on a computer, attribute information that is unique information of the printer is acquired from the printer, and processing is performed based on the information. Acquisition of attribute information and display of a menu such as a print medium type based on the information are performed by a printer driver program operating on the same computer. The printer driver program also converts image data sent from the application program into data suitable for printing by the printer in accordance with a print command from the application program, and transmits the data to the printer.
プリンタが分割シールに対応している場合には、アトリビュート情報内に、その印刷媒体種類に対応していることを示す情報が含まれる。プリンタドライバプログラムは、その情報を取得し、アプリケーションプログラムに表示する。分割シールの印刷に対応したアプリケーションプログラムであれば、例えば、画像の選択(1枚または複数枚)、印刷媒体サイズ選択、印刷媒体種類選択、レイアウト選択、レイアウト実施、印刷というようなユーザインタフェースの流れによって、あらかじめ印刷媒体の種類に応じたレイアウト選択を行い、利用者の望む通りのレイアウトで印刷することができる。
しかし、分割シールの個々のシールに対応して画像を印刷できるのは、アプリケーションプログラムが対応しているか、プリンタが独自に対応している必要がある。分割シールに対応していないアプリケーションプログラムから印刷しようとすると、1画像の選択、印刷媒体サイズ選択、印刷媒体種類選択、印刷開始という固定した流れでプリンタドライブバを使用することになる。このようなアプリケーションプログラムにはレイアウトの概念はなく、印刷媒体種類として例えば1枚のシートに16分割のシールが配置されたミニフォトシールが選択されていても、アプリケーションプログラムではその印刷媒体の大きさを考慮するだけで、プリンタドライバへは印刷媒体サイズ一杯の画像を渡すことになる。利用者は、印刷媒体種類としてミニフォトシールを選択したので、当然、16分割されたミニフォトシールが印刷されるものと予測するが、ドライバの構造上、他の印刷媒体同様に印刷媒体一杯に画像が印刷されてしまうことになる。また、プリンタ側で独自に対応する場合には、画像データを蓄えるための大きな画像メモリが必要となり、処理負荷も大きく、高速に処理することは困難である。 However, it is necessary for the application program or the printer to be able to print an image corresponding to each seal of the divided seal. When trying to print from an application program that does not support the division seal, the printer drive bar is used in a fixed flow of selecting one image, selecting a print medium size, selecting a print medium type, and starting printing. Such an application program has no concept of layout, and even if, for example, a mini photo sticker in which a 16-part sticker is arranged on one sheet is selected as the type of print medium, the size of the print medium in the application program is selected. Therefore, an image having the full print medium size is passed to the printer driver. Since the user has selected the mini photo sticker as the print medium type, the user expects that the 16-divided mini photo sticker will be printed. However, due to the structure of the driver, the print medium fills up like any other print medium. The image will be printed. In addition, when the printer side uniquely handles it, a large image memory for storing image data is required, the processing load is large, and high-speed processing is difficult.
さらに、現在市販の特殊印刷媒体にアプリケーションプログラムが対応していたとしても、アプリケーションプログラムの作成後に発売された特殊印刷媒体に対しては、プリンタが対応していてもアプリケーションプログラムでは対応できないことになる。 In addition, even if an application program is compatible with a commercially available special print medium, the application program cannot support a special print medium released after the application program is created even if the printer supports it. .
本発明は、このような課題を解決し、ひとつの画像データから同一の画像を1枚の印刷媒体に複数並べてプリンタに印刷させることのできるプリンタ制御方法および装置ならびにプリンタ制御プログラムを提供することを目的とする。 The present invention solves such problems and provides a printer control method and apparatus, and a printer control program capable of causing a printer to print a plurality of identical images from a single image data on a single print medium. Objective.
本発明の第1の観点によると、画像データを取り込んで1枚の印刷媒体にM×N個(M、Nは共に2以上の整数)の同一画像として印刷できるサイズに縮小する第1のステップと、縮小された画像データの1ラインのデータをM回繰り返して印刷用の1ラインのラスタデータを生成する第2のステップと、この第2のステップで生成されたラスタデータをプリンタに送信する第3のステップとを含み、第2のステップおよび第3のステップを縮小された画像データの最初のラインから最後のラインまで繰り返し、さらにそれをN回繰り返すことを特徴とするプリンタ制御方法が提供される。 According to the first aspect of the present invention, the first step of capturing image data and reducing it to a size that can be printed as one M × N (M and N are integers of 2 or more) identical images on a single print medium. A second step of generating one line raster data for printing by repeating one line of the reduced image data M times, and transmitting the raster data generated in the second step to the printer. A printer control method comprising: repeating a second step and a third step from the first line to the last line of the reduced image data, and further repeating it N times Is done.
第1のステップで1ライン分のデータを縮小する毎に第2のステップおよび第3のステップを実行し、第1のステップにより縮小された画像データを最初のラインから最後のラインまで蓄え、この蓄えられた画像データに対して、第2のステップおよび第3のステップをその画像データの最初のラインから最後のラインまで繰り返し、さらにそれをN−1回繰り返すことが望ましい。 Each time the data for one line is reduced in the first step, the second step and the third step are executed, and the image data reduced in the first step is stored from the first line to the last line. It is desirable to repeat the second step and the third step for the stored image data from the first line to the last line of the image data, and then repeat it N-1 times.
本発明の第2の観点によると、画像データが入力される画像データ入力部と、入力された画像データを1枚の印刷媒体にM×N個(M、Nは共に2以上の整数)の同一画像として印刷できるサイズに縮小する縮小処理部と、縮小された画像データの1ライン毎のデータをM回繰り返してそれぞれ印刷用の1ラインのラスタデータを生成し、縮小された画像データの最初のラインに相当するラスタデータから縮小された画像データの最後のラインに相当するラスタデータまでをN回繰り返して生成するラスタデータ生成部と、生成されたラスタデータを1ライン毎にプリンタに送信するラスタバッファとを備えたことを特徴とするプリンタ制御装置が提供される。 According to the second aspect of the present invention, an image data input unit to which image data is input, and M × N pieces of input image data (M and N are integers of 2 or more) on one print medium. A reduction processing unit that reduces to a size that can be printed as the same image, and data for each line of the reduced image data are repeated M times to generate one line of raster data for printing, and the first of the reduced image data A raster data generation unit that repeatedly generates N data from raster data corresponding to the first line to raster data corresponding to the last line of the reduced image data, and transmits the generated raster data to the printer line by line. A printer control apparatus comprising a raster buffer is provided.
縮小処理部により縮小された画像データを蓄える縮小画像バッファを備え、ラスタデータ生成部は、縮小処理部が1ライン分のデータを縮小する毎にその縮小されたデータをM回繰り返して印刷用のラスタデータを生成し、縮小処理部が最後のラインの縮小処理を終えた後は、縮小画像バッファから1ライン毎のデータを取り出しそのデータをM回繰り返すことでそれぞれ印刷用の1ラインのラスタデータを生成し、縮小画像バッファに蓄えられた画像データの最初のラインから最後のラインまでをN−1回繰り返すことが望ましい。 A reduced image buffer for storing image data reduced by the reduction processing unit is provided, and the raster data generation unit repeats the reduced data M times each time the reduction processing unit reduces the data for one line. After the raster data is generated and the reduction processing unit finishes the reduction processing of the last line, the data for each line is taken out from the reduced image buffer and the data is repeated M times so that each line of raster data for printing is printed. Is preferably repeated N-1 times from the first line to the last line of the image data stored in the reduced image buffer.
本発明の第3の観点によると、コンピュータに、画像データを取り込んで1枚の印刷媒体にM×N個(M、Nは共に2以上の整数)の同一画像として印刷できるサイズに縮小する第1の手順と、縮小された画像データの1ラインのデータをM回繰り返して印刷用の1ラインのラスタデータを生成する第2の手順と、この第2の手順で生成されたラスタデータをプリンタに送信する第3の手順と、第2の手順および第3の手順を縮小された画像データの最初のラインから最後のラインまで繰り返し、さらにそれをN回繰り返す第4の手順とを実行させることを特徴とするプリンタ制御プログラムが提供される。 According to the third aspect of the present invention, the image data is taken into a computer and reduced to a size that can be printed as M × N (M and N are integers of 2 or more) identical images on a single print medium. 1 procedure, a second procedure for generating 1 line raster data for printing by repeating 1 line data of the reduced image data M times, and the raster data generated by the second procedure is printed on the printer. And a fourth procedure that repeats the second procedure and the third procedure from the first line to the last line of the reduced image data and repeats it N times. A printer control program is provided.
コンピュータに、第4の手順として、第1の手順で1ライン分のデータを縮小する毎に第2の手順および第3の手順を実行する手順と、第1の手順により縮小された画像データを最初のラインから最後のラインまで蓄える手順と、この蓄えられた画像データに対して、第2の手順および第3の手順をその画像データの最初のラインから最後のラインまで繰り返し、さらにそれをN−1回繰り返す手順とを実行させることが望ましい。 As a fourth procedure, the computer stores the procedure for executing the second procedure and the third procedure every time data for one line is reduced in the first procedure, and the image data reduced by the first procedure. For the stored procedure from the first line to the last line and for the stored image data, the second and third procedures are repeated from the first line to the last line of the image data, It is desirable to execute a procedure that is repeated once.
[第1の実施の形態]
図1は本発明の第1の実施の形態を示すブロック構成図であり、本発明をプリンタ制御装置として実施した例を示す。このプリンタ制御装置1は、コンピュータ、ネットワーク、画像メモリその他の画像データ供給源とプリンタ2との間に接続され、入力された画像データからプリンタ2が印刷するためのデータを1ラスタライン毎に生成して出力する装置であり、画像データが入力される画像データ入力部11と、入力された画像データを1枚の印刷媒体にM×N個(M、Nは共に2以上の整数)の同一画像として印刷できるサイズに縮小する縮小処理部12と、縮小処理部12により縮小された画像データを蓄える縮小画像バッファ13と、縮小された画像データの1ライン毎のデータをM回繰り返してそれぞれ印刷用の1ラインのラスタデータを生成し、縮小された画像データの最初のラインに相当するラスタデータから縮小された画像データの最後のラインに相当するラスタデータまでをN回繰り返して生成するラスタデータ生成部14と、生成されたラスタデータを1ライン毎にプリンタに送信するラスタバッファ15とを備える。
[First Embodiment]
FIG. 1 is a block diagram showing the first embodiment of the present invention, and shows an example in which the present invention is implemented as a printer control apparatus. The
[第1の実施の形態の動作]
図2は図1に示したプリンタ制御装置1の動作のフローチャートである。画像データをM×N個印刷するには、余白を含める必要があるため、元の画像データをM分の1またはN分の1より小さく縮小する必要がある。以下では、簡単のため、余白部分は考慮せず、画像データ入力部11に入力された画像データを縦、横共にM分の1に縮小し、1枚の印刷媒体に横M個、縦N個印刷するものとして説明する。ここで「縦」および「横」とはそれぞれ、プリンタの給紙方向およびラスタ方向を意味する。この方向は、必ずしも、印刷される画像データの方向と同一となるわけではないことに注意する必要がある。
[Operation of First Embodiment]
FIG. 2 is a flowchart of the operation of the
画像データ入力部11は画像バッファを備え、この画像バッファに画像データが格納されると、縮小処理部12は、その画像データを印刷する際の1ラスタラインに相当する画像データを受け取り(ステップS1)、M分の1に縮小して(ステップS2)、縮小画像バッファ13へ格納する(ステップS3)。ここで、縮小処理部12が受け取る「1ラスタラインに相当する画像データ」とは、元の画像データが縦方向に縮小されるように間引いたデータでもよく、縮小処理部12で縦方向の縮小も行うものとして、その縮小の対象となる画像データでもよい。ラスタデータ生成部14は、縮小処理部12から縮小された1ライン分のデータを受け取り、それを横方向にM回繰り返してラスタバッファ15に書き込むことで、1ライン分のラスタデータを生成する(ステップS4)、ラスタバッファ15に蓄えられたデータは、プリンタ2に送信される(ステップS5)。以上の処理を画像データの最後のラスタラインまで繰り返す(S6)。以上の処理により、プリンタ2では、横方向にM個の縮小画像が印刷される。
The image data input unit 11 includes an image buffer. When image data is stored in the image buffer, the
続いてラスタデータ生成部14は、縮小画像バッファ13から縮小された1ライン分のデータを取り出し(ステップS7)、それを横方向にM回繰り返してラスタバッファ15に書き込むことで、1ライン分のラスタデータを生成する(ステップS8)、ラスタバッファ15に蓄えられたデータはプリンタ2に送信される(ステップS9)。以上の処理を画像データの最後のラスタラインまで繰り返す(ステップS10)。以上の処理により、プリンタ2では、2行目のM個の縮小画像が印刷される。ステップS7からステップ11の処理をN−1回繰り返すことで(ステップS11)、プリンタ2でM×N個の縮小画像の印刷が完了する。
Subsequently, the raster
この実施の形態では、最初のM個の縮小画像について、縮小処理部12の出力から直接にラスタデータ生成部14でラスタデータを生成している。これにより、画像データの縮小処理中に印刷を開始することができ、プリンタ2の待ち時間を短縮することができる。また、それ以降の縮小画像については、縮小画像バッファ13に蓄えたデータを利用することで、縮小処理を繰り返す必要がなくなる。
In this embodiment, raster
[印刷媒体と印刷レイアウトの例]
図3は分割シールのレイアウト例を説明する図であり、図4は正常な印刷結果の例、図5はレイアウト処理しない場合の印刷結果の例を示す。ここでは、1枚のシートに16枚のシールが配置されたミニフォトシールのレイアウト例を示す。画像データをレイアウト処理せずにそのまま印刷媒体サイズで印刷すると、図5に示すように、印刷媒体サイズ一杯の画像が印刷されてしまう。これに対して、図1および図2を参照して説明したレイアウト処理をM=N=4として実行することで、図4に示すような印刷結果が得られる。
[Examples of print media and print layout]
FIG. 3 is a diagram for explaining a layout example of divided seals. FIG. 4 shows an example of a normal printing result, and FIG. Here, a layout example of a mini photo sticker in which 16 stickers are arranged on one sheet is shown. If the image data is printed as it is in the print medium size without performing layout processing, an image having the full print medium size is printed as shown in FIG. In contrast, when the layout process described with reference to FIGS. 1 and 2 is executed with M = N = 4, a print result as shown in FIG. 4 is obtained.
なお、印刷媒体の給紙方向が図3から図5における横方向(印刷媒体の長手方向)である場合、図2を参照した説明において用いた「横方向」とは、図3から図5における縦方向となる。 When the print medium feeding direction is the horizontal direction in FIG. 3 to FIG. 5 (the longitudinal direction of the print medium), the “lateral direction” used in the description with reference to FIG. The vertical direction.
[第2の実施の形態]
図6は本発明の第2の実施の形態を示すブロック構成図である。この実施の形態は、プリンタ2のアトリビュート情報を取得して画像データ供給源に通知し、また、縮小処理部12およびラスタデータ生成部14にも通知するアトリビュート情報取得処理部16を備えたことが第1の実施の形態と異なる。
[Second Embodiment]
FIG. 6 is a block diagram showing a second embodiment of the present invention. This embodiment includes an attribute information
第1の実施の形態に関する説明では、単純化のため、プリンタ制御装置1が入力画像データを縮小してプリンタ2にM×N個の縮小画像を印刷させる処理に関してのみ説明した。実用的には、プリンタ制御装置1を、プリンタ2のアトリビュート情報や入力される画像データの大きさに係わらずに、入力された画像データをある特定の印刷媒体種類に対応するサイズに縮小して、1枚の印刷媒体にM×N個の同一画像として印刷する装置として実施することもできる。この場合、画像データの縦横比と印刷すべき領域の縦横比が一致しない場合には、縦横比が変化しないように画像データの一部を切り取って処理してもよく、縦横比が変化を許容することとしてもよい。ただ、このような装置は固定的な処理しかできず、柔軟性に乏しいものとなってしまう。
In the description of the first embodiment, for simplification, only the process in which the
これに対して第2の実施の形態では、アトリビュート情報取得処理部16がプリンタ2からアトリビュート情報を取得し、縮小処理部12およびラスタデータ生成部14は、画像データ供給源からの印刷媒体種類の指定に対応して、レイアウト処理が必要かどうかを判断し、その判断に基づいてプリンタ制御を行う。
On the other hand, in the second embodiment, the attribute information
[第3の実施の形態]
図7は本発明の第3の実施の形態を示すブロック構成図であり、本発明をプリンタドライバプログラムとして実施した例を示す。コンピュータ20は、CPU、RAM、ROM、ハードディスク、各種インタフェース等のハードウェアを備え、所定のオペレーティングシステムの下で、アプリケーションプログラム31、ビデオドライバプログラム32、プリンタドライバプログラム33等のプログラムが動作可能となっている。なお、図7では、コンピュータ20を構成するハードウェアのうち、プリンタ制御に関連するメモリ23、ビデオインタフェース24およびプリンタインタフェース25を破線のブロックで示す。プリンタドライバプログラム33は、画像データを取り込んで1枚の印刷媒体にM×N個(M、Nは共に2以上の整数)の同一画像として印刷できるサイズに縮小する第1の手順を実行する画像データ入力部35および縮小処理部36と、縮小された画像データの1ラインのデータをM回繰り返して印刷用の1ラインのラスタデータを生成する第2の手順、この第2の手順で生成されたラスタデータをプリンタ22に送信する第3の手順、ならびに第2の手順および第3の手順を縮小された画像データの最初のラインから最後のラインまで繰り返し、さらにそれをN回繰り返す第4の手順を実行するラスタデータ生成部37とを備える。
[Third Embodiment]
FIG. 7 is a block diagram showing the third embodiment of the present invention, and shows an example in which the present invention is implemented as a printer driver program. The
各プログラムによる印刷処理について説明する。アプリケーションプログラム31は、画像の加工、表示および印刷を行うための各種の処理を行う。ビデオドライバプログラム32は、アプリケーションプログラム31からの指示により、ビデオインタフェース24を介してディスプレイ装置21に、画像や文字、映像、ユーザインタフェース等の各種情報などを表示させる。プリンタドライバプログラム33は、アプリケーションプログラム31からの指示により、プリンタ22で画像や文字を印刷するための処理を行う。
The printing process by each program will be described. The
次に、プリンタドライバプログラム34の動作について説明する。アトリビュート情報取得処理部34は、プリンタインタフェース25を介して、プリンタ22からそのプリンタの固有の情報であるアトリビュート情報を取得し、その情報をアプリケーションプログラム31に通知すると共に、縮小処理部36およびラスタデータ生成部37にも通知する。画像データ入力部35は、アプリケーションプログラム31から、印刷命令と印刷すべき画像データを受け取る。この印刷命令には、選択された印刷媒体サイズおよび印刷媒体種類の情報が含まれる。縮小処理部36は、選択された印刷媒体種類がM×Nの分割シートである場合、その個々の分割シートに画像が印刷されるような大きさに画像データを縮小し、メモリ23に格納すると共に、ラスタデータ生成部37に出力する。ラスタデータ生成部37は、縮小処理部36から縮小された1ライン分のデータを受け取り、それを横方向にM回繰り返した1ライン分のラスタデータを生成して、プリンタインタフェース25を介してプリンタ22に送信する。ラスタデータ生成部37は以上の処理を画像データの最後のラスタラインまで繰り返し、プリンタ22に、横方向にM個の縮小画像を印刷させる。続いてラスタデータ生成部37は、メモリ23から縮小された1ライン分のデータを取り出し、それを横方向にM回繰り返して1ライン分のラスタデータを生成し、プリンタインタフェース25を介してプリンタ22に送信する。これを画像データの最後のラスタラインまで繰り返し、さらに、その繰り返し処理をN−1回繰り返す。これによりプリンタ22では、M×N個の縮小画像の印刷が完了する。
Next, the operation of the
この実施の形態では、分割シートのような特殊印刷媒体をサポートするためにアプリケーションプログラム31側で対応する必要はない。このため、アプリケーションプログラム31の製作者がドライバプログラム33の製作者と異なる場合でも、ドライバプログラム33の製作者のみの作業で特殊印刷媒体に対応できるようになる。
In this embodiment, it is not necessary to deal with the
以上の説明では分割シートを例に説明したが、本発明は、他の印刷媒体に印刷する場合にも同様に実施できる。例えば、通常の紙に複数の縮小画像を印刷したり、プラスチックや布などの紙以外の印刷媒体に縮小画像を印刷することもできる。 In the above description, the divided sheet has been described as an example. However, the present invention can be similarly implemented when printing on another print medium. For example, a plurality of reduced images can be printed on normal paper, or the reduced images can be printed on a printing medium other than paper such as plastic or cloth.
1 プリンタ制御装置
2、22 プリンタ
11、35 画像データ入力部
12、36 縮小処理部
13 縮小画像バッファ
14、37 ラスタデータ生成部
15 ラスタバッファ
16、34 アトリビュート情報取得処理部
20 コンピュータ
21 ディスプレイ装置
23 メモリ
24 ビデオインタフェース
25 プリンタインタフェース
31 アプリケーションプログラム
32 ビデオドライバプログラム
33 プリンタドライバ
DESCRIPTION OF
Claims (4)
縮小された1ライン分の画像データをM回繰り返して印刷用の1ラインのラスタデータを生成する第2のステップと、
この第2のステップで生成された上記ラスタデータをプリンタに送信する第3のステップと
を含み、
上記M個×N行の同一画像のうち、プリンタの給紙方向において1行目のM個の同一画像を印刷する際には、
上記第1のステップで1ライン分の画像データを縮小する毎に上記第2のステップおよび上記第3のステップを実行し、
上記第1のステップにより縮小された画像データを最初のラインから最後のラインまで蓄え、
上記M個×N行の同一画像のうち、プリンタの給紙方向において2行目以降のM個の同一画像を印刷する際には、
蓄えられた最初のラインから最後のラインまでの画像データに対して、上記第2のステップおよび上記第3のステップを繰り返し、さらにそれをN−1回繰り返す
ことを特徴とするプリンタ制御方法。 Capturing image data, the image data corresponding to one line for printing among the image data captured, M pieces × N rows whole image data on one print medium (M, N are both integer of 2 or more A first step of reducing the image to a size that can be printed as the same image of
The reduced image data for one line has a second step of generating the raster data for one line for printing repeated M times,
A third step of transmitting the raster data generated in the second step to a printer,
When printing M identical images in the first row in the paper feeding direction of the M × N identical images,
Each time the image data for one line is reduced in the first step, the second step and the third step are executed.
The image data reduced by the first step is stored from the first line to the last line,
Of the above M × N same images, when printing M same images in the second and subsequent rows in the paper feed direction of the printer,
A printer control method characterized by repeating the second step and the third step with respect to the stored image data from the first line to the last line, and further repeating it N-1 times .
入力された画像データのうち印刷する際の1ラインに相当する画像データを、画像データ全体が1枚の印刷媒体にM個×N行(M、Nは共に2以上の整数)の同一画像として印刷できるサイズに縮小する縮小処理部と、
縮小された1ライン分の画像データをM回繰り返してそれぞれ印刷用の1ラインのラスタデータを生成し、上記画像データの最初のラインに相当するラスタデータから上記画像データの最後のラインに相当するラスタデータまでをN回繰り返して生成するラスタデータ生成部と、
生成されたラスタデータを1ライン毎にプリンタに送信するラスタバッファと、
上記縮小処理部により縮小された画像データを蓄える縮小画像バッファと
を備え、
上記M個×N行の同一画像のうち、プリンタの給紙方向において1行目のM個の同一画像を印刷する際には、
上記ラスタデータ生成部は、上記縮小処理部が1ライン分の画像データを縮小する毎にその縮小された画像データをM回繰り返して印刷用のラスタデータを生成し、
上記縮小画像バッファは、上記縮小処理部により縮小された画像データを最初のラインから最後のラインまで蓄え、
上記M個×N行の同一画像のうち、プリンタの給紙方向において2行目以降のM個の同一画像を印刷する際には、
上記縮小画像バッファから1ライン毎の画像データを取り出しその画像データをM回繰り返すことでそれぞれ印刷用の1ラインのラスタデータを生成し、上記縮小画像バッファに蓄えられた画像データの最初のラインから最後のラインまでをN−1回繰り返す
ことを特徴とするプリンタ制御装置。 An image data input unit for inputting image data;
The image data corresponding to one line when printing of the input image data, M number × N rows whole image data on one print medium (M, N are both integer of 2 or more) as the same images A reduction processing unit that reduces the size to a printable size;
The reduced image data for one line was generated raster data for one line for printing each repeated M times, which corresponds to the last line of the image data from the raster data corresponding to the first line of the image data A raster data generation unit that repeatedly generates up to raster data N times;
A raster buffer for transmitting the generated raster data to the printer line by line ;
A reduced image buffer for storing the image data reduced by the reduction processing unit ,
When printing M identical images in the first row in the paper feeding direction of the M × N identical images,
The raster data generation unit generates raster data for printing by repeating the reduced image data M times each time the reduction processing unit reduces the image data for one line,
The reduced image buffer stores the image data reduced by the reduction processing unit from the first line to the last line,
Of the above M × N same images, when printing M same images in the second and subsequent rows in the paper feed direction of the printer,
The image data for each line is extracted from the reduced image buffer, and the image data is repeated M times to generate one line of raster data for printing. From the first line of the image data stored in the reduced image buffer, A printer control apparatus characterized by repeating N-1 times up to the last line .
画像データを取り込んで、取り込んだ画像データのうち印刷する際の1ラインに相当する画像データを、画像データ全体が1枚の印刷媒体にM個×N行(M、Nは共に2以上の整数)の同一画像として印刷できるサイズに縮小する第1の手順と、
縮小された1ライン分の画像データをM回繰り返して印刷用の1ラインのラスタデータを生成する第2の手順と、
この第2の手順で生成されたラスタデータをプリンタに送信する第3の手順と
を実行させ、
上記M個×N行の同一画像のうち、プリンタの給紙方向において1行目のM個の同一画像を印刷する際には、
上記第1の手順で1ライン分の画像データを縮小する毎に上記第2の手順および上記第3の手順を実行する手順と、
上記第1の手順により縮小された画像データを最初のラインから最後のラインまで蓄える手順と、
を実行させ、
上記M個×N行の同一画像のうち、プリンタの給紙方向において2行目以降のM個の同一画像を印刷する際には、
蓄えられた最初のラインから最後のラインまでの画像データに対して、上記第2の手順および上記第3の手順を繰り返し、さらにそれをN−1回繰り返す手順と
を実行させることを特徴とするプリンタ制御プログラム。 On the computer,
Capturing image data, the image data corresponding to one line for printing among the image data captured, M pieces × N rows whole image data on one print medium (M, N are both integer of 2 or more ) A first procedure for reducing the size so that it can be printed as the same image;
The reduced image data for one line has a second procedure for generating raster data for one line for printing repeated M times,
A third procedure for transmitting the raster data generated in the second procedure to the printer ; and
When printing M identical images in the first row in the paper feeding direction of the M × N identical images,
A procedure for executing the second procedure and the third procedure each time image data for one line is reduced in the first procedure;
A procedure for storing the image data reduced by the first procedure from the first line to the last line;
And execute
Of the above M × N same images, when printing M same images in the second and subsequent rows in the paper feed direction of the printer,
A procedure in which the second procedure and the third procedure are repeated on the stored image data from the first line to the last line, and the procedure is repeated N-1 times.
Printer control program characterized Rukoto allowed to run.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008047300A JP5251166B2 (en) | 2008-02-28 | 2008-02-28 | Printer control method and apparatus, and printer control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008047300A JP5251166B2 (en) | 2008-02-28 | 2008-02-28 | Printer control method and apparatus, and printer control program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009205460A JP2009205460A (en) | 2009-09-10 |
| JP5251166B2 true JP5251166B2 (en) | 2013-07-31 |
Family
ID=41147645
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008047300A Expired - Fee Related JP5251166B2 (en) | 2008-02-28 | 2008-02-28 | Printer control method and apparatus, and printer control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5251166B2 (en) |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08332745A (en) * | 1995-06-08 | 1996-12-17 | Casio Electron Mfg Co Ltd | Copy printing apparatus and copy printing reading apparatus |
| JP2000313143A (en) * | 1999-04-30 | 2000-11-14 | Olympus Optical Co Ltd | Printer |
| JP2004102712A (en) * | 2002-09-10 | 2004-04-02 | Fuji Xerox Co Ltd | Printing device, printing instruction device, image forming device, printing method and program |
| JP2004142435A (en) * | 2002-10-01 | 2004-05-20 | Seiko Epson Corp | Printing apparatus, printing method, program, and printing system |
| JP2006062132A (en) * | 2004-08-25 | 2006-03-09 | Canon Inc | Image data conversion circuit |
| JP4454532B2 (en) * | 2005-05-16 | 2010-04-21 | ローム株式会社 | Image processing device, mobile phone |
-
2008
- 2008-02-28 JP JP2008047300A patent/JP5251166B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009205460A (en) | 2009-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5531531B2 (en) | Image processing system and image processing program | |
| US8605341B2 (en) | Control device controlling scan operation | |
| JP2009282853A (en) | Image processing apparatus, image processing method, and image processing program | |
| JP2018147259A (en) | Information processing device, program, storage medium, and information processing method | |
| JP2009059197A (en) | Display system, display method, and display program | |
| US20140204418A1 (en) | Print data generating apparatus and image recording system | |
| JP6447564B2 (en) | Image forming apparatus, program, and information processing system | |
| JP5251166B2 (en) | Printer control method and apparatus, and printer control program | |
| US10140558B2 (en) | Print control system, print control apparatus, and program | |
| CN101093438A (en) | Image forming method and system to perform overlay | |
| JP2009269179A (en) | Printer, program and recording medium | |
| JP6755644B2 (en) | Character processing device, character processing method, character processing program | |
| JP2010238086A (en) | Image input / output device, print preview display method, and print preview display program | |
| JP2019128637A (en) | Information processing apparatus, print processing method, and computer program | |
| JP4552695B2 (en) | Driver program and print control method | |
| JP2017054470A (en) | Image processing device and image processing method | |
| JP2014197349A (en) | Picture processing device, information processing method, and program | |
| JP2016200999A (en) | Printing instruction device, printing system, and program | |
| JP5151564B2 (en) | Printer control method and apparatus, and printer control program | |
| JP5675160B2 (en) | Printing apparatus, image processing method, and program | |
| JP4496798B2 (en) | Print control program, print control method, and print control apparatus | |
| JP2011022759A (en) | Image forming system and printing control device | |
| JP2008020994A (en) | Printer driver software and computer | |
| JP2011186655A (en) | Label printer, information processing terminal and program | |
| JP2008028687A (en) | Unit and method for processing image, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110114 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120815 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120820 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121017 |
|
| 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: 20130319 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130401 |
|
| 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: 20160426 Year of fee payment: 3 |
|
| 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 |