JP2004058488A - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP2004058488A
JP2004058488A JP2002220894A JP2002220894A JP2004058488A JP 2004058488 A JP2004058488 A JP 2004058488A JP 2002220894 A JP2002220894 A JP 2002220894A JP 2002220894 A JP2002220894 A JP 2002220894A JP 2004058488 A JP2004058488 A JP 2004058488A
Authority
JP
Japan
Prior art keywords
data
print
printer
buf
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002220894A
Other languages
Japanese (ja)
Inventor
Yasushi Matsuoka
松岡 靖
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002220894A priority Critical patent/JP2004058488A/en
Publication of JP2004058488A publication Critical patent/JP2004058488A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten a processing time for perfecting by switching a print buffer and a back print buffer to arrange the front and the back front of post cards laterally when a large volume of post cards are printed on the opposite sides thereby halving the number of times of feeding/discharging the sheet. <P>SOLUTION: Print buffers are provided for the front (address surface) and the back when post cards are printed and printing is performed simultaneously by arranging the front and back of a plurality of post cards laterally. The printer driver of a host PC generates print commands for the front (address surface) and the back being affixed to the front header and back header of data. When print data is generated from a receiving buffer, it is developed into the back print BUF for front data whereas it is developed into the back BUF for dedicated data. Only one front print buffer is provided and the back buffers are provided for respective colors. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明はプリンタに関するものである。
【0002】
【従来の技術】
従来、インクジェットプリンタのようなシリアルプリンタではがき印刷を複数する場合に、表面(宛名面)と裏面を同時に印刷することが出来なかった。
【0003】
例えば、100枚はがき印刷を行う場合に、まず表面を100枚印刷して、次に表面を印刷したはがきを裏面にして100枚印刷を行ってきた。
【0004】
【発明が解決しようとする課題】
従来のプリンタでは、同じデータを印刷する場合に横方向に複数枚並べて給紙できるスペースがあるのに1枚ずつのみしか印刷できないために、はがきの両面を大量に複数印刷するのに時間が掛かっていた。
【0005】
【課題を解決するための手段】
本発明は、上記の問題点を解消するためになされたもので、本発明に係わる請求項1の発明〜請求項6の発明の目的は、はがきの両面を大量に複数印刷する場合に表用と裏用のプリントバッファを切り替えて表面と裏面を横方向に並べて印刷することで、給紙、排紙の回数を半分に減らし、はがき両面印刷の処理時間を短縮することである。
【0006】
本発明に係わる請求項1の発明は、はがき印刷を行う場合に表面用(宛名面)と裏面用のプリントバッファを備え、横方向に表面と裏面を複数並べて同時に印字することを特徴とする。
【0007】
本発明に係わる請求項2の発明は、ホストPCのプリンタドライバは表面用(宛名面)と裏面用の印字コマンドを表用ヘッダと裏用ヘッダをデータの先頭に付けて生成を行い、最初は、表面用データと裏面用データを同時にスプールして、プリンタにデータ転送を行い、2回目以降は、表面用(宛名面)データのみ生成してスプールデータ(表用ヘッダ以下のデータ)を更新してホスト側から転送されることを特徴とする。
【0008】
本発明に係わる請求項3の発明は、上記のプリンタにおいて受信バッファから印字データを作成するときに、表用ヘッダが先頭にあるデータは、表面用プリントBUFに印字データを展開処理を行い、裏用ヘッダが先頭にあるデータは、裏面用プリントBUFに印字データを展開処理を行うことを特徴とする。
【0009】
本発明に係わる請求項4の発明は、上記1のプリンタにおいて、表用プリントバッファは、K1本分のみで、裏用プリントバッファは、カラー色分備えることを特徴とする。
【0010】
本発明に係わる請求項5の発明は、次ページ開始位置割り込みにより、表用と裏用のプリントバッファを切り替えて印字することを特徴とする。
【0011】
本発明に係わる請求項6の発明は、上記の位置割り込みを発生させるために横方向に並べたデータの印字開始位置を次ページ開始位置用レジスタに設定することを特徴とする。
【0012】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。
【0013】
図1は、本発明の構成を示す図である。10は、ホストPCであり、ホストPCには、100プリンタドライバがあり、プリンタドライバは表面用(宛名面)と裏面用の印字コマンドを表用ヘッダと裏用ヘッダをデータの先頭に付けて印字コマンドの生成を行い、最初は、表面用データと裏面用データを同時にスプールして、プリンタにデータ転送を行い、2回目以降は、表面用(宛名面)データのみ生成してスプールデータ(表用ヘッダ以下のデータ)を更新してホスト側から転送する。11は、ホストPCとプリンタの間のインターフェースである。12は、本発明のプリンタである。13はプリンタの処理を行うCPUである。14は、プリンタの受信BUFであり、ホストPCからの印字コマンドを格納する。
【0014】
15は、1スキャン分の印字コマンドを展開した印字データを格納するプリントBUFである。14受信バッファのデータから印字データを作成するときに、表用ヘッダが先頭にあるデータは、150表面用プリントBUFに印字データを展開処理を行い、裏用ヘッダが先頭にあるデータは、151裏面用プリントBUFに印字データを展開処理を行う。表用プリントBUFは、K1本分のみで、裏用プリントBUFは、カラー色分備える。
【0015】
16は、プリンタにおいて、印字を行うためのトリガ数を設定するレジスタである。表用1スキャン分データと裏用1スキャン分データの和(横方向に並べるデータ分)の値を設定する。
【0016】
17は、横方向に並べた表面データの開始位置を設定するためのレジスタである。このレジスタに設定した位置をプリントヘッドが通過したときに割り込みが入るようになっている。
【0017】
図2は、本発明の特徴を示す図である。20〜22は、本発明のプリンタで印字を行ったときの様子を示す図であり、20は、はがきの裏面データの出力結果を示し、21は、はがきの表面データの出力結果を示し、裏面用プリントBUFと表面用プリントBUFを切り替えて横方向に並べて印刷したときの図である。22は、印字を行うためのプリントヘッドである。
【0018】
23は、本発明のプリンタの特徴であるプリントBUFを示す図であり、プリントBUFには、表面用と裏面用のプリントBUFがあり、それぞれScan StartAddrとScan End Addrをもつ。このプリントバッファは、裏面用のScan End Addrまでインクリメントされると表面用のScan Start Addrに進み、表面用のScan End Addrまでインクリメントされると裏面用のScan Start Addrに進むバッファとなっている。裏面用データの1スキャン分のデータを印刷すると表面用のScan Start Addrにリードポインタが進み、横方向に並べられた表面用スキャン開始位置にプリントヘッドが通過したときに割り込みがはいり、横方向に並べられた表面用データの印刷を開始する。
【0019】
横方向に並べられた表面用データの1スキャン目の印字が終了すると表面用、裏面用のプリントBUFのそれぞれの中身が2スキャン目データに更新され、1スキャン目と同様の処理を行い、さらに2スキャン目の印字が終了すると3スキャン目データに更新され印字を行い、表面用と裏面用のデータをプリントバッファを切り換えて横方向に同時に並べた印刷を行うことが可能となる。
【0020】
図3は、本発明の処理の流れを示すフローチャートである。
【0021】
S1で、ホストPCのプリンタドライバで表面用(宛名面)と裏面用の印字コマンドを表用ヘッダと裏用ヘッダをデータの先頭に付けて生成し、プリンタの受信BUFへ転送する。次にS2で、プリンタの受信BUFからデータを取得してヘッダでデータを識別してワークBUF等に表面用、裏面用のデータ展開を行う。S3で、展開したデータをもとに、ヒートトリガ数(1スキャン分の裏面用データ数+1スキャン分の表面用データ数)を計算しヒートトリガ数設定レジスタに設定を行う。S4で横方向に並べた表面用データの印字開始位置を次ページ開始位置レジスタに設定する。本発明では、プリントヘッドがこのレジスタで設定した位置をプリントヘッドが通過したときに割り込みが入るようになっている。
【0022】
S5で1スキャン分の表面用、裏面用印字データをそれぞれのプリントBUFへ展開を行う。
【0023】
S6でread pointerが裏面用プリントBUFの裏用Scan start Addrからデータを読み出して印刷処理を行う。
【0024】
S7でread pointerをインクリメントして読み出しデータを順に印刷する。そして、S8でread pointerが裏面用プリントBUFの裏用Scan End Addrまでインクリメントしたかチェックする。Scan End Addrでないときは、S7の処理を繰り返す。裏用Scan End Addrのときは、S9の処理へ進む。S9では、次ページ開始位置割り込みにより、プリントヘッドが横方向に並べた表用データの印字開始位置に来たことが通知されるので、割り込みが入ったらS10の処理に進み、横方向に並べた表用データの印刷を開始する。
【0025】
S10でread pointerが表面用プリントBUFの表用Scan start Addrからデータを読み出して印刷処理を行う。
【0026】
S11でread pointerをインクリメントして読み出しデータを順に印刷する。そして、S12でread pointerが表面用プリントBUFの表用Scan End Addrまでインクリメントしたかチェックする。Scan End Addrでないときは、S11の処理を繰り返す。表用Scan End Addrのときは、S13の処理へ進む。S13でread pointerを裏面用プリントBUFの裏用Scan start Addrに戻し、S14の処理へ進む。S14では、印刷終了かチェックを行い印刷終了でないときは、S15で紙送り処理を行い、S2の処理へ戻り次のスキャンに対しても裏用、表用それぞれのプリントBUFの中身を更新して同様の処理を最後のスキャンまで行う。S14で印刷終了の場合は、S16で排紙処理を行い処理を終了する。
【0027】
【発明の効果】
以上説明したように、本発明によれば、はがきの両面を大量に複数印刷する場合に表用と裏用のプリントバッファを切り替えて表面と裏面を横方向に並べて印刷することで、給紙、排紙の回数を半分に減らし、はがき両面印刷の処理時間を短縮する。
【図面の簡単な説明】
【図1】本発明のプリンタの構成を示す図である。
【図2】本発明のプリンタの特徴を示す図である。
【図3】本発明のプリンタの処理を示すフローチャートである。
【符号の説明】
10 ホストPC
11 インターフェース
12 プリンタ
13 CPU
14 受信BUF
15 プリントBUF
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a printer.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, when a plurality of postcards are printed by a serial printer such as an ink jet printer, it is not possible to simultaneously print the front side (addressing side) and the back side.
[0003]
For example, when performing postcard printing of 100 sheets, first, 100 sheets of the front side are printed, and then 100 sheets of the postcard are printed with the front side printed on the back side.
[0004]
[Problems to be solved by the invention]
In a conventional printer, when printing the same data, there is a space where a plurality of sheets can be fed side by side, but only one sheet can be printed. Therefore, it takes time to print a large number of both sides of a postcard. I was
[0005]
[Means for Solving the Problems]
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above problems, and an object of the invention of claims 1 to 6 according to the present invention is to provide a table for printing a large number of both sides of a postcard. By switching the print buffer for the back and back sides and printing the front and back sides side by side in the horizontal direction, the number of times of feeding and discharging is reduced by half, and the processing time of postcard double-sided printing is shortened.
[0006]
The invention according to claim 1 of the present invention is characterized in that when performing postcard printing, a print buffer for the front side (addressing side) and a print buffer for the back side are provided, and a plurality of front and back sides are arranged in the horizontal direction and printing is performed simultaneously.
[0007]
According to a second aspect of the present invention, the printer driver of the host PC generates print commands for the front side (addressing side) and the back side by attaching a front header and a back header to the head of data. The data for the front side and the data for the back side are spooled at the same time, and the data is transferred to the printer. From the second time, only the front side (address side) data is generated and the spool data (data below the table header) is updated. And transferred from the host.
[0008]
According to a third aspect of the present invention, when print data is created from a reception buffer in the above-described printer, data having a front header is subjected to expansion processing of the print data to the front print BUF, The data with the header at the top is subjected to a process of expanding the print data on the back side print BUF.
[0009]
The invention according to claim 4 of the present invention is characterized in that, in the above-mentioned one printer, the front print buffer is provided for only one K, and the back print buffer is provided for color.
[0010]
The invention according to claim 5 according to the present invention is characterized in that printing is performed by switching between front and back print buffers by interruption of the next page start position.
[0011]
The invention according to claim 6 of the present invention is characterized in that a print start position of data arranged in a horizontal direction is set in a next page start position register in order to generate the position interrupt.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0013]
FIG. 1 is a diagram showing the configuration of the present invention. Reference numeral 10 denotes a host PC. The host PC has 100 printer drivers. The printer driver prints print commands for the front side (addressing side) and the back side by attaching a front header and a back header to the head of data. A command is generated, first the front side data and the back side data are simultaneously spooled, and the data is transferred to the printer. From the second time, only the front side (address side) data is generated and the spool data (front side data) is generated. Update the data below the header) and transfer from the host. Reference numeral 11 denotes an interface between the host PC and the printer. Reference numeral 12 denotes a printer of the present invention. Reference numeral 13 denotes a CPU that performs processing of the printer. Reference numeral 14 denotes a reception BUF of the printer, which stores a print command from the host PC.
[0014]
Reference numeral 15 denotes a print BUF that stores print data obtained by developing print commands for one scan. 14 When print data is created from the data in the reception buffer, the data with the header for the front is expanded to print data for the 150-side front print BUF, and the data with the header for the back is 151 back. The print data is expanded in the print buffer BUF. The front print BUF is only for one K, and the back print BUF is provided for the color.
[0015]
Reference numeral 16 denotes a register for setting the number of triggers for performing printing in the printer. The value of the sum of the data for one scan for the front and the data for one scan for the back (the data arranged in the horizontal direction) is set.
[0016]
Reference numeral 17 denotes a register for setting the start position of the surface data arranged in the horizontal direction. When the print head passes through the position set in this register, an interrupt occurs.
[0017]
FIG. 2 is a diagram showing features of the present invention. 20 to 22 are views showing a state when printing is performed by the printer of the present invention, 20 shows the output result of the back data of the postcard, 21 shows the output result of the front data of the post card, FIG. 6 is a diagram when printing is performed by switching between a print BUF for printing and a print BUF for front side and by arranging them in the horizontal direction. Reference numeral 22 denotes a print head for performing printing.
[0018]
Reference numeral 23 denotes a print BUF which is a feature of the printer of the present invention. The print BUF includes a print BUF for the front side and a print BUF for the back side, and has a Scan Start Addr and a Scan End Addr, respectively. This print buffer is a buffer that advances to a scan start addr for the front surface when it is incremented to the scan end addr for the back surface, and advances to a scan start addr for the back surface when it is incremented to the scan end addr for the front surface. When the data for one scan of the back side data is printed, the read pointer advances to the scan start addr for the front side, and when the print head passes the scan start position for the front side arranged in the horizontal direction, an interrupt is input, and the horizontal direction is started. Printing of the arranged front side data is started.
[0019]
When the printing of the first scan of the front side data arranged in the horizontal direction is completed, the contents of the front side and back side print BUFs are updated to the second scan data, and the same processing as the first scan is performed. When the printing of the second scan is completed, the data is updated to the data of the third scan and printing is performed, and the data for the front surface and the back surface can be simultaneously printed in the horizontal direction by switching the print buffer.
[0020]
FIG. 3 is a flowchart showing the flow of the process of the present invention.
[0021]
In S1, a print command for the front side (address side) and a back side are generated by the printer driver of the host PC by attaching the front header and the back header to the head of the data, and are transferred to the reception BUF of the printer. Next, in S2, data is acquired from the reception BUF of the printer, the data is identified by the header, and data development for the front surface and the back surface is performed on the work BUF or the like. In S3, based on the developed data, the number of heat triggers (the number of back surface data for one scan + the number of front surface data for one scan) is calculated and set in the heat trigger number setting register. In S4, the print start position of the front side data arranged in the horizontal direction is set in the next page start position register. In the present invention, an interrupt is issued when the print head passes through the position set in this register.
[0022]
In S5, the print data for the front surface and the back surface for one scan is developed in each print BUF.
[0023]
In step S6, the read pointer reads data from the back-side Scan start Addr of the back-side print BUF and performs print processing.
[0024]
In S7, the read pointer is incremented and the read data is printed in order. Then, in S8, it is checked whether or not the read pointer has been incremented to the back-side Scan End Addr of the back-side print BUF. If it is not Scan End Addr, the process of S7 is repeated. In the case of the back-side Scan End Addr, the process proceeds to S9. In S9, it is notified that the print head has reached the print start position of the table data arranged in the horizontal direction by the next page start position interrupt. Start printing the table data.
[0025]
In S10, the read pointer reads data from the front Scan Start Addr of the front surface print BUF and performs a printing process.
[0026]
In step S11, the read pointer is incremented and the read data is printed in order. Then, in S12, it is checked whether the read pointer has been incremented up to the front scan end addr of the front surface print BUF. If it is not Scan End Addr, the process of S11 is repeated. In the case of the table Scan End Addr, the process proceeds to S13. In S13, the read pointer is returned to the back scan start addr of the back print BUF, and the process proceeds to S14. In S14, it is checked whether or not the printing is completed. If the printing is not completed, the paper feeding process is performed in S15, and the process returns to S2 to update the contents of the back and front print BUFs for the next scan. The same processing is performed until the last scan. If the printing is completed in S14, the paper discharge process is performed in S16, and the process ends.
[0027]
【The invention's effect】
As described above, according to the present invention, when printing a large number of both sides of a postcard, the print buffer for front and back is switched and the front and back sides are arranged side by side and printed, so that paper feeding, The number of times of paper ejection is reduced by half, and the processing time of postcard double-sided printing is shortened.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration of a printer according to the present invention.
FIG. 2 is a diagram illustrating features of the printer of the present invention.
FIG. 3 is a flowchart illustrating processing of the printer of the present invention.
[Explanation of symbols]
10. Host PC
11 Interface 12 Printer 13 CPU
14 Receive BUF
15 Print BUF

Claims (6)

はがき印刷を行う場合に表面用(宛名面)と裏面用のプリントバッファを備え、横方向に表面と裏面を複数並べて同時に印字することを特徴とするプリンタ。A printer characterized in that it has a print buffer for the front side (addressing side) and a back side for postcard printing, and simultaneously prints a plurality of front and back sides in a horizontal direction. ホストPCのプリンタドライバは表面用(宛名面)と裏面用の印字コマンドを表用ヘッダと裏用ヘッダをデータの先頭に付けて生成を行い、最初は、表面用データと裏面用データを同時にスプールして、プリンタにデータ転送を行い、2回目以降は、表面用(宛名面)データのみ生成してスプールデータ(表用ヘッダ以下のデータ)を更新してホスト側から転送されることを特徴とするプリンタ。The printer driver of the host PC generates print commands for the front side (addressing side) and the back side with the front and back headers at the beginning of the data, and first spools the front side data and back side data simultaneously. Then, the data is transferred to the printer, and after the second time, only the front side (address side) data is generated, and the spool data (data below the table header) is updated and transferred from the host. Printer. 上記請求項1のプリンタにおいて受信バッファから印字データを作成するときに、表用ヘッダが先頭にあるデータは、表面用プリントBUFに印字データを展開処理を行い、裏用ヘッダが先頭にあるデータは、裏面用プリントBUFに印字データを展開処理を行うことを特徴とするプリンタ。When the print data is created from the reception buffer in the printer according to the first aspect, the data having the front header is subjected to the expansion processing of the print data to the front print BUF, and the data having the front header is performed. A printer for performing a process of developing print data on a back side print BUF. 上記請求項1のプリンタにおいて、表用プリントバッファは、K1本分のみで、裏用プリントバッファは、カラー色分備えることを特徴とするプリンタ。2. The printer according to claim 1, wherein the front print buffer is provided for only one K, and the back print buffer is provided for a color color. 次ページ開始位置割り込みにより、表用と裏用のプリントバッファを切り替えて印字することを特徴とするプリンタ。A printer characterized by switching between a front and back print buffer and printing by a next page start position interrupt. 上記請求項5の位置割り込みを発生させるために横方向に並べたデータの印字開始位置を次ページ開始位置用レジスタに設定することを特徴とするプリンタ。6. A printer according to claim 5, wherein a print start position of data arranged in a horizontal direction is set in a register for a next page start position in order to generate the position interrupt.
JP2002220894A 2002-07-30 2002-07-30 Printer Pending JP2004058488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002220894A JP2004058488A (en) 2002-07-30 2002-07-30 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002220894A JP2004058488A (en) 2002-07-30 2002-07-30 Printer

Publications (1)

Publication Number Publication Date
JP2004058488A true JP2004058488A (en) 2004-02-26

Family

ID=31941367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002220894A Pending JP2004058488A (en) 2002-07-30 2002-07-30 Printer

Country Status (1)

Country Link
JP (1) JP2004058488A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8253961B2 (en) 2008-01-30 2012-08-28 Seiko Epson Corporation Printer and printer control method
JP2016203619A (en) * 2015-04-17 2016-12-08 ゼロックス コーポレイションXerox Corporation System and method for forming hydrophobic structures in hydrophilic print medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8253961B2 (en) 2008-01-30 2012-08-28 Seiko Epson Corporation Printer and printer control method
JP2016203619A (en) * 2015-04-17 2016-12-08 ゼロックス コーポレイションXerox Corporation System and method for forming hydrophobic structures in hydrophilic print medium

Similar Documents

Publication Publication Date Title
JPS6022234A (en) Form overlay type printer
JP2004058488A (en) Printer
JPH0624082A (en) Perfecting press
US20030218775A1 (en) Print control method and printing apparatus
JPH0564925A (en) Image forming device
JPH11179973A (en) Printer
JPH01160661A (en) Control of perfecting printer
JP2008012832A (en) Printing control device
JP2004058489A (en) Printer
JP2005103994A (en) Printer
JPS6145325A (en) Printer
JPH0485064A (en) Two-sided printer
JP3800908B2 (en) Image output device
JP2007067579A (en) Image forming apparatus
JP2003186647A (en) Printing data outputting device and program
JP3243164B2 (en) Line printer
JP2004086559A (en) Printing processing system, and program and recording medium to be used for the same
JPH11291590A (en) Printer
JP2004004403A (en) Printer and print control method
JP2003182163A (en) Method of double-sided printing in printing controller
JP2007055086A (en) Printing device
JPS63186324A (en) Printer device
JPH0746305B2 (en) Print controller
JP2002172829A (en) Imaging apparatus
JPH09104143A (en) Printer and printing processing therefor