JP2000127519A - Printer - Google Patents

Printer

Info

Publication number
JP2000127519A
JP2000127519A JP10301022A JP30102298A JP2000127519A JP 2000127519 A JP2000127519 A JP 2000127519A JP 10301022 A JP10301022 A JP 10301022A JP 30102298 A JP30102298 A JP 30102298A JP 2000127519 A JP2000127519 A JP 2000127519A
Authority
JP
Japan
Prior art keywords
printing
print
data
paper
print data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10301022A
Other languages
Japanese (ja)
Inventor
Takayuki Oyama
孝幸 大山
Minoru Horikawa
稔 堀川
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 Instruments Inc
Original Assignee
Seiko Instruments 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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP10301022A priority Critical patent/JP2000127519A/en
Publication of JP2000127519A publication Critical patent/JP2000127519A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)
  • Handling Of Sheets (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer capable of quickly performing substitution printing and suppressing variation in timing in the substitution printing. SOLUTION: Printing data received from a host computer via a receiving circuit 101 is rasterized by a CPU circuit 102 and is stored in a page memory circuit 104 having a memory region corresponding to a maximum printing paper to be printed. In terms of the print data stored in the page memory circuit 104, the print data in a range from a reading start address to a reading end address of the page memory circuit 104 set in a reading start address register 110 and a reading end address register 111 corresponding to the size of the printing paper for the substitution printing is cut therefrom and is outputted to a printing mechanism 108 via a reading buffer 106, then the data is printed on the printing paper for the substitution printing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、図形や文字等の印
刷データを受信して、プリント用紙に印刷を行うプリン
ト装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a printing apparatus for receiving print data such as figures and characters and performing printing on print paper.

【0002】[0002]

【従来の技術】従来から、異なる大きさの複数種類のプ
リント用紙を収納する複数の給紙装置を備え、前記複数
のプリント用紙から選択して印刷できるようにした多段
ページプリンタ装置等のプリント装置においては、図形
や文字等の印刷データに対応する正規のプリント用紙の
用紙切れが発生した際、用紙切れを起こしたプリント用
紙よりも大きいプリント用紙が他の給紙装置にセットさ
れている場合には、該プリント用紙を代替使用して代替
印刷を行うようにしている。一般に、ページプリンタエ
ンジンでは、ページデータの主走査方向(紙送り方向と
直交する方向)のドット数が、プリント用紙のサイズ毎
に印刷機構によって一定数に決められている。したがっ
て、小さなサイズのプリント用紙が用紙切れを起こした
際、大きなサイズのプリント用紙に代替印刷を行う場
合、前記小さなプリント用紙用にラスタライズした印刷
データをそのまま使用して前記大きなプリント用紙に印
刷を行うことはできない。このため従来のプリント装置
においては、ラスタライズを行う前の印刷データを記憶
装置に保存しておき、用紙切れが発生した際に大きなプ
リント用紙で代替印刷を行う場合には、前記保存してお
いた印刷データを、前記大きなサイズの代替用プリント
用紙に用に再度ラスタライズし直し、代替印刷を行って
いた。
2. Description of the Related Art Heretofore, a printing apparatus such as a multi-stage page printer apparatus has been provided with a plurality of paper feeders for accommodating a plurality of types of print papers of different sizes so as to select and print from the plurality of print papers. In the case where the normal print paper corresponding to the print data such as figures and characters has run out, if a print paper larger than the print paper that has run out is set in another paper feeder, Is designed to perform alternative printing using the printing paper as an alternative. In general, in the page printer engine, the number of dots in the main scanning direction (the direction orthogonal to the paper feeding direction) of page data is determined to be a fixed number by a printing mechanism for each size of print paper. Therefore, when alternative printing is performed on a large-size print sheet when a small-size print sheet runs out of paper, printing is performed on the large-size print sheet using the print data rasterized for the small-size print sheet as it is. It is not possible. For this reason, in a conventional printing apparatus, print data before rasterization is stored in a storage device, and when alternative printing is performed on a large print sheet when the paper runs out, the print data is stored. The print data is rasterized again for use on the large-size substitute print paper, and substitute print is performed.

【0003】[0003]

【発明が解決しようとする課題】前記従来のプリント装
置においては、前記代替印刷を行う場合に再度ラスタラ
イズを行うため、印刷切替に長時間要するという問題が
あった。また、入力データの種類やデータ量によって、
代替印刷に要する時間にバラツキが生じるという問題が
あった。本発明は、代替印刷を速やかに行うと共に、代
替印刷の時間的なバラツキを抑えたプリント装置を提供
することを課題としている。
In the conventional printing apparatus, since the rasterization is performed again when the alternative printing is performed, there is a problem that it takes a long time to switch the printing. Also, depending on the type and amount of input data,
There is a problem that the time required for the substitute printing varies. SUMMARY OF THE INVENTION It is an object of the present invention to provide a printing apparatus which performs alternative printing quickly and suppresses variation in time of the alternative printing.

【0004】[0004]

【課題を解決するための手段】本発明は、大きさの異な
る複数種類のプリント用紙を供給するプリント用紙供給
手段を有する印刷手段を備え、正規のプリント用紙の用
紙切れが発生したとき前記プリント用紙供給手段に収納
された代替用プリント用紙を選択し、受信手段によって
受信した印刷データを前記印刷手段により印刷するプリ
ント装置において、前記受信手段によって受信した印刷
データに基づいて、前記印刷手段で印刷可能な最大のプ
リント用紙に合わせて有効データ及び白データから成る
印刷データを生成し記憶する記憶手段と、前記記憶手段
に記憶された印刷データから、印刷を行うプリント用紙
の大きさに合わせて所定範囲を抽出し前記印刷手段に出
力する印刷データ抽出手段とを備えて成ることを特徴と
している。記憶手段は、受信手段によって受信した印刷
データに基づいて、印刷可能な最大のプリント用紙に合
わせて有効データ及び白データから成る印刷データを生
成し記憶する。印刷データ抽出手段は、前記記憶手段に
記憶された印刷データから、印刷を行うプリント用紙の
大きさに合わせて所定範囲を抽出し前記印刷手段に出力
する。前記抽出手段は、読出開始アドレスを設定する読
出開始アドレスレジスタ及び読出終了アドレスを設定す
る読出終了アドレスレジスタを備え、前記読出開始アド
レスレジスタと読出終了アドレスレジスタによって設定
された範囲の印刷データを前記記憶手段から抽出するよ
うに構成することができる。また、本発明は、大きさの
異なる複数種類のプリント用紙を供給するプリント用紙
供給手段を有する印刷手段を備え、正規のプリント用紙
の用紙切れが発生したとき前記プリント用紙供給手段に
収納された代替用プリント用紙を選択し、受信手段によ
って受信した印刷データを前記印刷手段により印刷する
プリント装置において、前記受信手段で受信した印刷デ
ータをラスタライズした印刷データを記憶する記憶手段
と、代替用プリント用紙の大きさに合わせて、前記記憶
手段に記憶した印刷データに白データを付加して、新た
な印刷データを作成し前記記憶手段に記憶する印刷デー
タ作成手段とを備え、前記新たに作成した印刷データを
前記印刷手段に出力することを特徴としている。記憶手
段は、受信手段で受信した印刷データをラスタライズし
た印刷データを記憶する。印刷データ作成手段は、代替
用プリント用紙の大きさに合わせて、前記記憶手段に記
憶した印刷データに白データを付加して、新たな印刷デ
ータを作成し前記記憶手段に記憶する。前記新たに作成
した印刷データを前記印刷手段に出力されて印刷され
る。また、本発明は、大きさの異なる複数種類のプリン
ト用紙を供給するプリント用紙供給手段を有する印刷手
段を備え、正規のプリント用紙の用紙切れが発生したと
き前記プリント用紙供給手段に収納された代替用プリン
ト用紙を選択し、受信手段によって受信した印刷データ
を前記印刷手段により印刷するプリント装置において、
受信手段から受信した印刷データをラスタライズした印
刷データを記憶する記憶手段と、白データを出力する白
データ発生手段と、代替用プリント用紙の大きさに合わ
せて、前記記憶手段に記憶された印刷データに前記白デ
ータ発生手段からの白データを付加して前記印刷手段に
出力する白データ付加手段とを備えて成ることを特徴と
している。記憶手段は、受信手段から受信した印刷デー
タをラスタライズした印刷データを記憶する。白データ
付加手段は、代替用プリント用紙の大きさに合わせて、
前記記憶手段に記憶された印刷データに白データ発生手
段からの白データを付加して前記印刷手段に出力する。
前記白データ付加手段は、ライン上における有効データ
の開始タイミングを設定する有効データ開始タイミング
レジスタと、ライン上における有効データの終了タイミ
ングを設定する有効データ終了タイミングレジスタとを
備え、前記有効データ開始タイミングレジスタと有効デ
ータ終了タイミングレジスタによって設定された範囲内
で出力される前記記憶手段に記憶された有効な印刷デー
タに、前記範囲以外で出力される前記白データ発生手段
からの白データをライン毎に付加して前記印刷手段に出
力するように構成することができる。さらに、前記各プ
リント装置は、代替印刷を行うか否かを設定する操作手
段を備えて成るように構成することができる。
SUMMARY OF THE INVENTION The present invention comprises a printing means having a printing paper supply means for supplying a plurality of types of printing papers having different sizes. In a printing apparatus for selecting a substitute print sheet stored in the supply unit and printing the print data received by the receiving unit by the printing unit, the printing unit can print based on the print data received by the receiving unit. Storage means for generating and storing print data composed of valid data and white data in accordance with the largest print paper, and a predetermined range in accordance with the size of the print paper to be printed from the print data stored in the storage means. And print data extracting means for extracting the data to the printing means. The storage unit generates and stores print data composed of valid data and white data in accordance with the maximum printable print sheet based on the print data received by the reception unit. The print data extracting means extracts a predetermined range from the print data stored in the storage means in accordance with the size of the print paper to be printed, and outputs the predetermined range to the printing means. The extraction means includes a read start address register for setting a read start address and a read end address register for setting a read end address, and stores the print data in a range set by the read start address register and the read end address register. It can be configured to extract from the means. Further, the present invention includes a printing unit having a printing paper supply unit for supplying a plurality of types of printing paper having different sizes, and when the regular printing paper runs out of paper, the replacement unit stored in the printing paper supply unit. A printing device for selecting print paper for printing and printing the print data received by the receiving device by the printing device, wherein the storage device stores print data obtained by rasterizing the print data received by the receiving device, Print data creating means for creating new print data by adding white data to the print data stored in the storage means in accordance with the size, and storing the print data in the storage means. Is output to the printing means. The storage unit stores print data obtained by rasterizing the print data received by the reception unit. The print data creating means creates new print data by adding white data to the print data stored in the storage means in accordance with the size of the substitute print sheet, and stores the new print data in the storage means. The newly created print data is output to the printing means and printed. Further, the present invention includes a printing unit having a printing paper supply unit for supplying a plurality of types of printing paper having different sizes, and when the regular printing paper runs out of paper, the replacement unit stored in the printing paper supply unit. A printing apparatus for selecting print paper for printing and printing the print data received by the receiving means by the printing means,
Storage means for storing print data obtained by rasterizing the print data received from the receiving means, white data generating means for outputting white data, and print data stored in the storage means according to the size of the substitute print sheet And white data adding means for adding the white data from the white data generating means and outputting the white data to the printing means. The storage unit stores print data obtained by rasterizing the print data received from the reception unit. The white data adding means matches the size of the substitute print paper,
The print data stored in the storage unit is added with white data from the white data generation unit and output to the printing unit.
The white data adding means includes: a valid data start timing register that sets a start timing of valid data on a line; and a valid data end timing register that sets an end timing of valid data on the line. In the valid print data stored in the storage unit output within the range set by the register and the valid data end timing register, white data from the white data generation unit output outside the range is added for each line. In addition, it can be configured to output to the printing unit. Further, each of the printing apparatuses can be configured to include an operation unit for setting whether or not to perform alternative printing.

【0005】[0005]

【発明の実施の形態】図1は本発明の第1の実施の形態
に係るプリント装置のブロック図で、異なる大きさのプ
リント用紙を収納する複数の給紙装置を有し、印刷デー
タに応じて前記プリント用紙を切換選択して印刷を行う
多段プリンタ装置の例を示している。図1において、ホ
ストコンピュータから送信される図形や文字等の印刷デ
ータを受信する受信手段としての受信回路101、後述
する処理や制御を行う中央処理装置(CPU回路)10
2、操作パネルに設けられ代替印刷するか否かの設定等
を行う操作手段103、CPU回路102によって前記
印刷データがラスタライズされたビットマップ形式の印
刷データを記憶し出力する記憶手段としてのページメモ
リ回路104、ページメモリ回路104の書込/読出制
御やアドレス指定を行うページメモリ制御回路105、
ページメモリ回路104に記憶された印刷データを一時
記憶しながら出力する読出バッファ106、給紙装置
(図示せず)に収納されたプリント用紙の有無や大きさ
を検出してCPU回路102に検出信号を出力するプリ
ント用紙検出手段107、読出バッファ106から出力
される印刷データをプリント用紙に印刷する印刷手段と
しての印刷機構108を備えている。尚、図示していな
いが、印刷機構108は、大きさの異なる複数種類のプ
リント用紙を収納し、選択的に前記プリント用紙を供給
するプリント用紙供給手段としての複数の給紙装置を内
蔵している。また、ページメモリ回路104から印刷デ
ータを読出す際の行アドレスのオフセット値をレジスト
する行オフセットレジスタ109、ページメモリ回路1
04から印刷データを読出す際の先頭のアドレスをレジ
ストする読出開始アドレスレジスタ110、ページメモ
リ回路104から印刷データを読出す際の最後のアドレ
スをレジストする読出終了アドレスレジスタ111、ペ
ージメモリ回路104に記憶された印刷データのセルサ
イズをレジストするセルサイズレジスタ112、印刷す
るプリント用紙の主走査方向のドット数に相当するライ
ンサイズをレジストするラインサイズレジスタ113、
読出開始アドレスレジスタ110と加算回路119から
の信号を選択的に出力する選択回路114、選択回路1
14の出力信号をレジストするレジスタ回路117、選
択回路114の出力信号からセルサイズカウンタ115
の出力信号をアップカウントしページメモリ回路104
の読出アドレス信号を出力するアドレスカウンタ11
8、ダウンカウンタによって構成され、ページメモリ制
御回路105からの信号を計数してセルサイズレジスタ
112にレジストされたセルサイズデータからダウンカ
ウントし選択回路114、レジスタ回路117及びアド
レスカウンタ118を制御するセルサイズカウンタ11
5、ダウンカウンタによって構成され、ページメモリ制
御回路105からの信号を計数してラインサイズレジス
タにレジストされたラインサイズデータからダウンカウ
ントし読出バッファ106を制御するラインサイズカウ
ンタ116、レジスタ回路117及び行オフセットレジ
スタ107の出力信号を加算し選択回路114に出力す
る加算回路119、アドレスカウンタ118の出力信号
と読出終了アドレスレジスタ111の出力信号を比較
し、両者が一致したときアドレスカウンタ118をリセ
ットするアドレス比較器120を備えている。CPU回
路102、ページメモリ制御回路105、読出バッファ
106、プリント用紙検出手段107、行オフセットレ
ジスタ109、読出開始アドレスレジスタ110、読出
終了アドレスレジスタ111、セルサイズレジスタ11
2、ラインサイズレジスタ113、選択回路114、セ
ルサイズカウンタ115、ラインサイズカウンタ11
6、レジスタ回路117、アドレスカウンタ118、加
算回路119及びアドレス比較器120は抽出手段を構
成している。
FIG. 1 is a block diagram of a printing apparatus according to a first embodiment of the present invention. The printing apparatus has a plurality of paper feeders for storing print papers of different sizes. 2 shows an example of a multi-stage printer device for switching and selecting the print paper and performing printing. In FIG. 1, a receiving circuit 101 as a receiving means for receiving print data such as figures and characters transmitted from a host computer, and a central processing unit (CPU circuit) 10 for performing processing and control described later.
2. Operation means 103 provided on the operation panel for setting whether or not to perform alternative printing, etc .; page memory as storage means for storing and outputting bitmap print data in which the print data is rasterized by the CPU circuit 102 A circuit 104, a page memory control circuit 105 for performing write / read control and address designation of the page memory circuit 104,
A read buffer 106 for temporarily storing and outputting the print data stored in the page memory circuit 104; detecting a presence or a size of the print paper stored in a paper feeding device (not shown); And a printing mechanism 108 as printing means for printing the print data output from the read buffer 106 on print paper. Although not shown, the printing mechanism 108 contains a plurality of paper feeders as print paper supply means for storing a plurality of types of print papers having different sizes and selectively supplying the print papers. I have. Also, a row offset register 109 for registering an offset value of a row address when reading print data from the page memory circuit 104, a page memory circuit 1
04, a read start address register 110 for registering the first address when the print data is read, a read end address register 111 for registering the last address when the print data is read from the page memory circuit 104, and the page memory circuit 104. A cell size register 112 for registering the cell size of the stored print data, a line size register 113 for registering a line size corresponding to the number of dots in the main scanning direction of the printing paper to be printed,
Selection circuit 114 for selectively outputting signals from read start address register 110 and addition circuit 119, selection circuit 1
A register circuit 117 for registering the output signal of the selector 14;
Of the page memory circuit 104
Counter 11 which outputs a read address signal of
8. A cell which is constituted by a down counter, counts the signal from the page memory control circuit 105, counts down from the cell size data registered in the cell size register 112, and controls the selection circuit 114, the register circuit 117 and the address counter 118. Size counter 11
5. A line size counter 116, a register circuit 117, and a line which are constituted by a down counter, count signals from the page memory control circuit 105, count down from the line size data registered in the line size register, and control the read buffer 106. An adding circuit 119 for adding the output signal of the offset register 107 and outputting the added signal to the selection circuit 114; comparing the output signal of the address counter 118 with the output signal of the read end address register 111; A comparator 120 is provided. CPU circuit 102, page memory control circuit 105, read buffer 106, print paper detecting means 107, row offset register 109, read start address register 110, read end address register 111, cell size register 11
2. Line size register 113, selection circuit 114, cell size counter 115, line size counter 11
6, the register circuit 117, the address counter 118, the adder circuit 119, and the address comparator 120 constitute an extracting means.

【0006】図2はページメモリ回路104の記憶内容
を説明するための図で、メモリアドレス(番地)を16
進数(0xで表示)で示している。アドレスが付された
各セルは、64ビット(D63〜D0)の印刷データに
よって構成されている。図3は図1に示した第1の実施
の形態の動作を説明するためのタイミング図である。ま
た、図4は図1に示した第1の実施の形態の印刷動作を
説明するための図である。以下、図1〜図4を用いて、
第1の実施の形態の動作を説明する。先ず、プリント用
紙検出手段は、複数の給紙装置が供給可能なプリント用
紙の大きさを検出して、各プリント用紙の大きさを表す
用紙サイズ検出信号をCPU回路102に出力する。C
PU回路102は前記用紙サイズ検出信号に基づいて、
複数の給紙装置が供給可能なプリント用紙のうち、最も
大きいプリント用紙のサイズ407を認識し、これに対
応する大きさの領域404をページメモリ回路104に
確保する。これにより、前記確保した領域404は、プ
リント用紙に印刷した場合に空白領域となる白データで
一旦占められる。その後、受信回路101によって受信
されたホストコンピュータからの印刷データはCPU回
路102によってラスタライズされ、ページメモリ回路
104に記憶される。このとき、ページメモリ回路10
4は、ページメモリ制御回路105によって書込状態に
制御されると共に書込アドレスが順次指定され、指定さ
れたアドレスにビットマップ形式の印刷データが順次記
憶される。これにより、ページメモリ回路104には、
前記確保した領域のうち、前記書込アドレスが指定され
た領域には、受信回路101で受信した有効な印刷デー
タ402が記憶され、それ以外のアドレス領域(領域4
04から領域402を除外した領域)には白(空白)の
印刷データが記憶される。即ち、全体として、図4に示
すように、ページメモリ回路104には、プリント用紙
405に対応する前記有効な印刷データのみならず、最
も大きいサイズのプリント用紙404に対応する印刷デ
ータ401が記憶されたことになる。正規のプリント用
紙405に印刷する場合は領域402の印刷データを抽
出して印刷し、代替用プリント用紙406に印刷する場
合は領域403の印刷データを抽出して印刷し、代替用
プリント用紙407に印刷する場合は領域404の印刷
データを抽出して印刷を行う。
FIG. 2 is a diagram for explaining the contents stored in the page memory circuit 104.
It is indicated by a base number (represented by 0x). Each cell to which an address is assigned is constituted by print data of 64 bits (D63 to D0). FIG. 3 is a timing chart for explaining the operation of the first embodiment shown in FIG. FIG. 4 is a diagram for explaining the printing operation of the first embodiment shown in FIG. Hereinafter, using FIGS. 1 to 4,
The operation of the first embodiment will be described. First, the print paper detecting unit detects the size of the print paper that can be supplied by the plurality of paper feeders, and outputs a paper size detection signal indicating the size of each print paper to the CPU circuit 102. C
The PU circuit 102, based on the paper size detection signal,
Among the print papers that can be supplied by the plurality of paper feeders, the largest print paper size 407 is recognized, and an area 404 of a size corresponding to this is reserved in the page memory circuit 104. As a result, the reserved area 404 is once occupied by white data that becomes a blank area when printed on print paper. After that, the print data received from the host computer by the receiving circuit 101 is rasterized by the CPU circuit 102 and stored in the page memory circuit 104. At this time, the page memory circuit 10
Reference numeral 4 is controlled to a write state by the page memory control circuit 105, a write address is sequentially designated, and print data in a bitmap format is sequentially stored at the designated address. Thereby, the page memory circuit 104 includes:
In the area where the write address is designated in the reserved area, the valid print data 402 received by the receiving circuit 101 is stored, and the other address areas (area 4)
04 (excluding the area 402) stores white (blank) print data. That is, as a whole, as shown in FIG. 4, not only the valid print data corresponding to the print paper 405 but also the print data 401 corresponding to the print paper 404 of the largest size is stored in the page memory circuit 104. It will be. When printing on the regular print paper 405, the print data of the area 402 is extracted and printed. When printing on the substitute print paper 406, the print data of the area 403 is extracted and printed. When printing, the print data in the area 404 is extracted and printed.

【0007】次に、ページメモリ104に記憶された印
刷データをプリント用紙に印刷する場合の動作を説明す
る。正規のプリント用紙が存在する場合には、後述する
ような印刷データの抽出処理を行うことにより、領域4
02の印刷データを抽出して正規のプリント用紙405
に印刷する。一方、正規のプリント用紙405が用紙切
れを起こした場合には、プリント用紙検出手段107
は、正規のプリント用紙405が用紙切れを起こしたこ
とを検出してCPU回路102に用紙切れ検出信号を出
力すると共に、用紙切れを生じた正規のプリント用紙4
05よりも大きいサイズの代替用プリント用紙406が
他の給紙装置に収納されていることを検出して、代替用
紙検出信号をCPU回路102に出力する。このとき、
操作手段103によって、代替印刷を行う設定がなされ
ていない場合、即ち代替印刷設定信号が入力されていな
い場合には、プリント用紙切れである旨を操作手段10
3で表示して処理を停止し、操作者の指示待ち状態とな
る。また、正規のプリント用紙405よりも大きいプリ
ント用紙が他の給紙装置に収納されていない場合には、
前記代替用紙検出信号がCPU回路102に入力され
ず、プリント用紙切れである旨を操作手段103で表示
して処理を停止し、操作者の指示待ち状態となる。操作
手段103によってCPU回路102に代替印刷設定信
号が入力されると共に、用紙切れ検出信号及び代替用紙
検出信号がプリント用紙検出手段107からCPU回路
102に入力された場合には、以下の代替印刷が行われ
る。前記代替印刷設定信号、用紙切れ検出信号及び代替
用紙検出信号は代替印刷指示信号を構成している。代替
用プリント用紙406に代替印刷する場合、即ち、ペー
ジメモリ回路104に記憶された印刷データのうちから
図2の太線部分を抽出して印刷する場合には、先ず、行
オフセットレジスタ109には、ページメモリ回路10
4の行アドレスのオフセット値である「20」がセット
される。読出開始アドレスレジスタ110には読出しを
行う先頭のアドレス「1048」がセットされ、読出終
了アドレスレジスタ111には読出を行う最後のアドレ
ス「1110」がセットされる。また、セルサイズレジ
スタ112には読出しを行うセルの列数に対応した値
(本例では2列であるため「1」)がセットされ、ライ
ンサイズレジスタ113には印刷するプリント用紙40
6の主走査方向のドット数に対応する値がセットされ
る。
Next, an operation for printing the print data stored in the page memory 104 on a print sheet will be described. If there is a regular print sheet, by performing a print data extraction process as described below, the area 4
02 and extract the print data of regular print paper 405
Print on On the other hand, if the regular print paper 405 runs out of paper, the print paper detection unit 107
Detects that the regular print paper 405 has run out of paper and outputs an out-of-paper detection signal to the CPU circuit 102;
It detects that the substitute print paper 406 having a size larger than 05 is stored in another paper feeding device, and outputs a substitute paper detection signal to the CPU circuit 102. At this time,
If the setting for performing the alternative printing has not been made by the operating means 103, that is, if the alternative printing setting signal has not been input, the operating means 10 indicates that the print paper has run out.
The display is stopped at 3 and the process is stopped, and the operation waits for an instruction from the operator. If print paper larger than the regular print paper 405 is not stored in another paper feeder,
The alternative sheet detection signal is not input to the CPU circuit 102, and the operation means 103 displays that the print sheet is out of print, stops the process, and waits for an instruction from the operator. When an alternative print setting signal is input to the CPU circuit 102 by the operation unit 103 and a paper out detection signal and an alternative paper detection signal are input to the CPU circuit 102 from the print paper detection unit 107, the following alternative printing is performed. Done. The alternative print setting signal, the out-of-sheet detection signal, and the alternative sheet detection signal constitute an alternative print instruction signal. When performing alternative printing on the alternative print paper 406, that is, when extracting and printing the thick line portion in FIG. 2 from the print data stored in the page memory circuit 104, first, the row offset register 109 includes: Page memory circuit 10
The offset value “20” of the row address of No. 4 is set. The read start address register 110 is set with the leading address “1048” to be read, and the read end address register 111 is set with the last address “1110” to be read. In the cell size register 112, a value corresponding to the number of columns of cells to be read (in this example, “1” because there are two columns) is set, and in the line size register 113, the print paper 40 to be printed is set.
6, a value corresponding to the number of dots in the main scanning direction is set.

【0008】この状態で、読出開始アドレスレジスタ1
10のレジスト値が選択回路114に出力され、セルサ
イズレジスタ112のレジスト値がセルサイズカウンタ
115に出力され又、ラインサイズレジスタ113のレ
ジスト値がラインサイズカウンタ116に出力される。
ラインサイズカウンタ116はラインサイズレジスタ1
13の出力信号をレジストする。一方、セルサイズカウ
ンタ115はセルサイズレジスタ112の出力信号をレ
ジストして、その計数値を「1」にすると共に、選択回
路114、レジスタ回路117及びアドレスカウンタ1
18に制御信号を出力する。選択回路114は、セルサ
イズカウンタ115からの制御信号に応答して、読出開
始アドレスレジスタ110のレジスト値「1048」を
レジスタ回路117及びアドレスカウンタ118に出力
する。レジスタ回路117及びアドレスアドレスカウン
タ118は、セルサイズカウンタ115からの制御信号
に応答して、選択回路114の出力信号をレジストす
る。レジスト回路117からそのレジスト値「104
8」が加算回路119に出力され、加算回路119から
は、レジスタ回路117にレジストされているアドレス
値「1048」と行オフセットレジスタ109にレジス
トされているオフセットアドレス値「20」を加算した
アドレス値「1068」が出力される。
In this state, the read start address register 1
The resist value of 10 is output to the selection circuit 114, the resist value of the cell size register 112 is output to the cell size counter 115, and the resist value of the line size register 113 is output to the line size counter 116.
The line size counter 116 is a line size register 1
13 is registered. On the other hand, the cell size counter 115 registers the output signal of the cell size register 112 to set its count value to “1”, and also selects the selection circuit 114, the register circuit 117 and the address counter 1.
The control signal is output to 18. The selection circuit 114 outputs the register value “1048” of the read start address register 110 to the register circuit 117 and the address counter 118 in response to the control signal from the cell size counter 115. The register circuit 117 and the address / address counter 118 register the output signal of the selection circuit 114 in response to a control signal from the cell size counter 115. From the resist circuit 117, the resist value "104"
8 ”is output to the adder circuit 119, and the adder circuit 119 outputs an address value obtained by adding the address value“ 1048 ”registered in the register circuit 117 and the offset address value“ 20 ”registered in the row offset register 109. “1068” is output.

【0009】また、アドレスカウンタ118からは、そ
のレジスト値「1048」がページメモリ制御回路10
5に出力される。ページメモリ制御回路105はアドレ
スカウンタ118からの前記アドレス値に対応するアド
レスの印刷データを読出すための読出信号をページメモ
リ回路104に出力する。これにより、ページメモリ回
路104の1048番地に記憶された印刷データが64
ビット単位で読出バッファ106に出力される。読出バ
ッファ106は受信した印刷データを一時記憶しなが
ら、8ビット単位で印刷機構108に印刷データが出力
する。次に、セルサイズカウンタ115は、ページメモ
リ制御回路105からの信号に応答して1だけダウンカ
ウントし、計数値「0」を出力する。また、ラインサイ
ズカウンタ116は、ページメモリ制御回路105から
の信号に応答して1だけダウンカウントする。アドレス
カウンタ118はセルサイズカウンタ115からの信号
に応答して次のセルのアドレス値「1050」をページ
メモリ制御回路105に出力する。ページメモリ制御回
路105はアドレスカウンタ118からの前記アドレス
信号に対応する読出信号をページメモリ回路104に出
力する。これにより、ページメモリ回路104の105
0番地に記憶された印刷データが読出バッファ106に
出力される。
From the address counter 118, the register value “1048” is stored in the page memory control circuit 10.
5 is output. The page memory control circuit 105 outputs to the page memory circuit 104 a read signal for reading the print data of the address corresponding to the address value from the address counter 118. As a result, the print data stored at the address 1048 of the page memory circuit 104 becomes 64
The data is output to the read buffer 106 in bit units. The read buffer 106 outputs the print data to the printing mechanism 108 in 8-bit units while temporarily storing the received print data. Next, the cell size counter 115 counts down by 1 in response to a signal from the page memory control circuit 105 and outputs a count value “0”. Further, the line size counter 116 counts down by one in response to a signal from the page memory control circuit 105. Address counter 118 outputs the address value “1050” of the next cell to page memory control circuit 105 in response to a signal from cell size counter 115. The page memory control circuit 105 outputs a read signal corresponding to the address signal from the address counter 118 to the page memory circuit 104. Thereby, 105 of the page memory circuit 104
The print data stored at the address 0 is output to the read buffer 106.

【0010】次に、セルサイズカウンタ115はセルサ
イズレジスタ112の出力信号をレジストして、その計
数値を再び「1」にすると共に、選択回路114、レジ
スタ回路117及びアドレスカウンタ118に制御信号
を出力する。選択回路114は、セルサイズカウンタ1
15からの制御信号に応答して、加算回路119からの
アドレス値「1068」をレジスタ回路117及びアド
レスカウンタ118に出力する。レジスタ回路117及
びアドレスアドレスカウンタ118は、セルサイズカウ
ンタ115からの制御信号に応答して、選択回路114
の出力信号をレジストする。レジスト回路117からそ
のレジスト値「1068」が加算回路119に出力さ
れ、加算回路119からは、レジスタ回路117にレジ
ストされているアドレス値「1068」と行オフセット
レジスタ109にレジストされているオフセットアドレ
ス値「20」を加算したアドレス値「1088」が出力
される。
Next, the cell size counter 115 registers the output signal of the cell size register 112 to set the count value to "1" again, and sends a control signal to the selection circuit 114, the register circuit 117 and the address counter 118. Output. The selection circuit 114 includes the cell size counter 1
The address value “1068” from the adding circuit 119 is output to the register circuit 117 and the address counter 118 in response to the control signal from the control circuit 15. The register circuit 117 and the address counter 118 respond to the control signal from the cell size counter 115 and
Register the output signal. The register circuit 117 outputs the register value “1068” to the adder circuit 119, and the adder circuit 119 outputs the address value “1068” registered in the register circuit 117 and the offset address value registered in the row offset register 109. An address value “1088” obtained by adding “20” is output.

【0011】また、アドレスカウンタ118からは、そ
のレジスト値「1068」がページメモリ制御回路10
5に出力される。ページメモリ制御回路105はアドレ
スカウンタ118からの前記アドレス値に対応する読出
信号をページメモリ回路104に出力する。これによ
り、ページメモリ回路104の1068番地に記憶され
た印刷データが読出バッファ106に出力される。次
に、セルサイズカウンタ115は、ページメモリ制御回
路105からの信号に応答して1だけダウンカウント
し、計数値「0」を出力する。また、ラインサイズカウ
ンタ116は、ページメモリ制御回路105からの信号
に応答して1だけダウンカウントする。アドレスカウン
タ118はセルサイズカウンタ115からの信号に応答
して次のセルのアドレス値「1070」をページメモリ
制御回路105に出力する。ページメモリ制御回路10
5はアドレスカウンタ118からの前記アドレス値に対
応する読出信号をページメモリ回路104に出力する。
これにより、ページメモリ回路104の1070番地に
記憶された印刷データが読出バッファ106に出力され
る。
From the address counter 118, the register value “1068” is stored in the page memory control circuit 10.
5 is output. The page memory control circuit 105 outputs a read signal corresponding to the address value from the address counter 118 to the page memory circuit 104. As a result, the print data stored at the address 1068 of the page memory circuit 104 is output to the read buffer 106. Next, the cell size counter 115 counts down by 1 in response to a signal from the page memory control circuit 105 and outputs a count value “0”. Further, the line size counter 116 counts down by one in response to a signal from the page memory control circuit 105. Address counter 118 outputs the address value “1070” of the next cell to page memory control circuit 105 in response to a signal from cell size counter 115. Page memory control circuit 10
5 outputs a read signal corresponding to the address value from the address counter 118 to the page memory circuit 104.
As a result, the print data stored at the address 1070 of the page memory circuit 104 is output to the read buffer 106.

【0012】以後、前記同様の動作を行って、図2の太
線で囲まれた領域の印刷データがページメモリ回路10
4から64ビット単位で読出バッファ106に出力され
又、読出バッファから8ビット単位で印刷機構108に
出力され、選択されたプリント用紙406に印刷され
る。これにより、印刷機構108によって決められた主
走査方向のドット数に応じた印刷が行われ、代替用プリ
ント用紙406には、受信回路101で受信した有効な
印刷データと白(余白)データとを結合した印刷が行わ
れる。尚、アドレスカウンタ118は、その計数値が
「1110」になると、アドレス比較器120によって
リセットされる。また、ラインサイズカウンタ116に
よって、選択したプリント用紙に対応するドット数のデ
ータが計数されると、読出バッファ106の出力は停止
される。これにより、選択したプリント用紙の1ライン
分を越える不要なデータは出力されず、1ライン当た
り、選択したプリント用紙に対応するドット数の印刷デ
ータが印刷機構108に出力される。プリント用紙40
5、407に印刷する場合には、読出開始アドレスレジ
スタ110、読出終了アドレスレジスタ111、セルサ
イズレジスタ112及びラインサイズレジスタ113の
レジスト値を、プリント用紙のサイズに合わせて変更す
ることにより抽出する印刷データを変更し、前記同様に
して印刷を行うことができる。以上述べたように、代替
用プリント用紙への印刷切替時に再度ラスタライズを行
わないため印刷切替に時間がかからず又、入力データの
相違による代替印刷要する時間的なバラツキが小さくな
るという効果を奏する。尚、本実施の形態においては、
予め、印刷可能な最も大きいサイズのプリント用紙40
7に合わせた印刷データをページメモリ回路104に用
意しておき、正規のプリント用紙405に印刷する場合
にも、該印刷データを抽出して印刷するようにしたが、
操作手段103によって代替印刷設定信号が入力されて
いない場合には、従来のように、受信回路101で受信
した印刷データをラスタライズして領域402に記憶
し、正規のプリント用紙405が存在する場合にのみ印
刷を行うように構成する等、種々の変更が可能である。
Thereafter, the same operation as described above is performed, and the print data in the area surrounded by the thick line in FIG.
The data is output to the reading buffer 106 in units of 4 to 64 bits, and is output to the printing mechanism 108 in units of 8 bits from the reading buffer, and is printed on the selected print paper 406. As a result, printing is performed in accordance with the number of dots in the main scanning direction determined by the printing mechanism 108, and the valid print data and white (margin) data received by the receiving circuit 101 are printed on the substitute print paper 406. The combined printing is performed. It should be noted that the address counter 118 is reset by the address comparator 120 when the count value becomes “1110”. When the data of the number of dots corresponding to the selected print paper is counted by the line size counter 116, the output of the reading buffer 106 is stopped. Thus, unnecessary data exceeding one line of the selected print sheet is not output, and print data of the number of dots corresponding to the selected print sheet per line is output to the print mechanism 108. Print paper 40
When printing on 5, 407, printing is performed by changing the register values of the read start address register 110, the read end address register 111, the cell size register 112, and the line size register 113 according to the size of the printing paper. The data can be changed and printing can be performed in the same manner as described above. As described above, since the rasterization is not performed again at the time of switching the printing to the substitute printing paper, it does not take much time to switch the printing, and the variation in the time required for the alternate printing due to the difference in the input data is reduced. . In the present embodiment,
The largest size print paper 40 that can be printed in advance
7 is prepared in the page memory circuit 104, and the print data is extracted and printed also when printing on the regular print paper 405.
When the substitute print setting signal is not input by the operation unit 103, the print data received by the receiving circuit 101 is rasterized and stored in the area 402 as in the related art. Various changes are possible, such as a configuration in which only printing is performed.

【0013】図5は、本発明の第2の実施の形態に係る
プリント装置のブロック図で、多段プリンタ装置の例を
示している。図5において、ホストコンピュータから送
信される図形や文字等の印刷データを受信する受信手段
としての受信回路501、印刷データ作成手段を構成す
る中央処理装置(CPU回路)502、操作パネルに設
けられ代替印刷するか否かの設定等を行う操作手段50
3、CPU回路502によってラスタライズされたビッ
トマップ形式の印刷データを記憶する第1記憶領域70
1と有効な印刷データ及び空白の印刷データを含む印刷
データを記憶する第2記憶領域702を形成可能な記憶
手段としてのページメモリ回路504、ページメモリ回
路504の書込/読出切換制御やアドレス指定を行う印
刷データ作成手段を構成するページメモリ制御回路50
5、ページメモリ回路504に記憶された印刷データを
一時記憶しながら出力する読出バッファ506、給紙装
置(図示せず)に収納されたプリント用紙の有無やサイ
ズを検出して検出信号をCPU回路502に出力するプ
リント用紙検出手段507、読出バッファ506から出
力される印刷データの印刷を行う印刷手段としての印刷
機構508によって構成されている。尚、図示していな
いが、印刷機構508は、プリント用紙収納用の複数の
給紙装置を有し、大きさの異なる複数種類のプリント用
紙を選択的に供給するプリント用紙供給手段を内蔵して
いる。
FIG. 5 is a block diagram of a printing apparatus according to a second embodiment of the present invention, showing an example of a multi-stage printer. In FIG. 5, a receiving circuit 501 as a receiving means for receiving print data such as figures and characters transmitted from a host computer, a central processing unit (CPU circuit) 502 constituting a print data creating means, and a substitute provided on an operation panel Operation means 50 for setting whether to print or not
3. First storage area 70 for storing bitmap print data rasterized by CPU circuit 502
1, a page memory circuit 504 as storage means capable of forming a second storage area 702 for storing print data including valid print data and blank print data, and write / read switching control and address designation of the page memory circuit 504. Memory control circuit 50 that constitutes print data creating means for performing
5. a read buffer 506 for temporarily storing and outputting the print data stored in the page memory circuit 504; a CPU circuit for detecting the presence / absence and size of the print paper stored in a paper feeding device (not shown) and outputting a detection signal to the CPU circuit A print paper detection unit 507 for outputting the print data 502 and a print mechanism 508 as a print unit for printing the print data output from the read buffer 506 are provided. Although not shown, the printing mechanism 508 has a plurality of paper feeding devices for storing printing paper, and has built-in printing paper supply means for selectively supplying a plurality of types of printing paper having different sizes. I have.

【0014】図6はCPU回路502の処理を示すフロ
ーチャート、図7はページメモリ回路504の記憶内容
を示す説明図、図8は印刷動作を説明するための図であ
る。以下、図5〜図8を用いて、第2の実施の形態の動
作を説明する。先ず、印刷する正規のプリント用紙80
1が給紙装置に収納されている通常の状態では、受信回
路501によって受信されたホストコンピュータからの
印刷データはCPU回路502によってラスタライズさ
れ、ページメモリ回路504に記憶される。このとき、
ページメモリ回路504は、ページメモリ制御回路50
5によって書込状態に制御されると共に書込アドレスが
順次指定され、指定されたアドレスにビットマップ形式
の印刷データが順次記憶される。その後、ページメモリ
回路504は、ページメモリ制御回路505によって読
出状態に制御されると共に読出アドレスが順次指定され
て記憶された印刷データが順次読出される。読出された
前記印刷データは読出バッファ506を介して印刷機構
508に出力される。このとき、CPU回路502によ
って、プリント用紙供給手段に設けられ異なるサイズの
プリント用紙を収容する複数の給紙装置のうち、印刷デ
ータに対応する正規のプリント用紙801を収容する給
紙装置が選択されているので、前記印刷データが正規の
プリント用紙801に印刷される。
FIG. 6 is a flowchart showing the processing of the CPU circuit 502, FIG. 7 is an explanatory diagram showing the contents stored in the page memory circuit 504, and FIG. 8 is a diagram for explaining the printing operation. Hereinafter, the operation of the second embodiment will be described with reference to FIGS. First, regular print paper 80 to be printed
In a normal state in which the print data 1 is stored in the sheet feeding device, the print data received from the host computer by the receiving circuit 501 is rasterized by the CPU circuit 502 and stored in the page memory circuit 504. At this time,
The page memory control circuit 50
5, the write state is controlled, the write address is sequentially designated, and the bit map print data is sequentially stored at the designated address. Thereafter, the page memory circuit 504 is controlled to the read state by the page memory control circuit 505, and the read address is sequentially designated, and the stored print data is sequentially read. The read print data is output to the print mechanism 508 via the read buffer 506. At this time, the CPU circuit 502 selects a paper feeder that accommodates the regular print paper 801 corresponding to the print data from among a plurality of paper feeders provided in the print paper supply unit and accommodates print papers of different sizes. Therefore, the print data is printed on the regular print paper 801.

【0015】次に、正規のプリント用紙801が用紙切
れを起こした場合の動作を説明する。プリント用紙検出
手段507は、正規のプリント用紙801が用紙切れを
起こしたことを検出してCPU回路502に用紙切れ検
出信号を出力すると共に、用紙切れを生じた正規のプリ
ント用紙801よりも大きいサイズの代替用プリント用
紙802が他の給紙装置に収納されていることを検出し
て、代替用紙検出信号をCPU回路502に出力する。
このとき、操作手段503によって、代替印刷を行う旨
の設定がなされていない場合、即ち代替印刷設定信号が
入力されていない場合には、プリント用紙切れである旨
を操作手段503で表示して処理を停止し、操作者の指
示待ち状態となる。また、正規のプリント用紙801よ
りも大きいプリント用紙が他の給紙装置に収納されてい
ない場合には、前記代替用紙検出信号がCPU回路50
2に入力されず、プリント用紙切れである旨を操作手段
503で表示して処理を停止し、操作者の指示待ち状態
となる。操作手段503によってCPU回路502に代
替印刷設定信号が入力されると共に、用紙切れ検出信号
及び代替用紙検出信号がプリント用紙検出手段507か
らCPU回路502に入力された場合には、以下の代替
印刷が行われる。尚、前記代替印刷設定信号、用紙切れ
検出信号及び代替用紙検出信号は代替印刷指示信号を構
成している。
Next, the operation when the regular print paper 801 has run out of paper will be described. The print paper detecting means 507 detects that the regular print paper 801 has run out of paper, outputs a paper shortage detection signal to the CPU circuit 502, and has a size larger than the regular print paper 801 that has run out of paper. The alternative print paper 802 is stored in another paper feeder, and an alternative paper detection signal is output to the CPU circuit 502.
At this time, if the setting for performing the alternative printing has not been made by the operating unit 503, that is, if the alternative printing setting signal has not been input, the fact that the print paper is out is displayed on the operating unit 503 and the processing is performed. Is stopped, and the operation waits for an instruction from the operator. If a print sheet larger than the regular print sheet 801 is not stored in another sheet feeder, the alternative sheet detection signal is output from the CPU circuit 50.
2, the operation means 503 displays a message indicating that the print paper has run out, stops the process, and waits for an instruction from the operator. When an alternative print setting signal is input to the CPU circuit 502 by the operation unit 503 and a paper out detection signal and an alternative paper detection signal are input to the CPU circuit 502 from the print paper detection unit 507, the following alternative printing is performed. Done. The alternative print setting signal, the out-of-paper detection signal, and the alternative paper detection signal constitute an alternative print instruction signal.

【0016】先ず、CPU回路502は、前記代替印刷
指示信号を受信すると(ステップS601)、ページメ
モリ回路504内で、前記印刷データが記憶されている
第1記憶領域701以外の領域に、代替用プリント用紙
802用のページメモリとして第2記憶領域702を確
保し(ステップS602)、次に、確保した第2記憶領
域702をクリアし、該領域を白(空白)データで占め
るようにする(ステップS603)。次に、第1記憶領
域701に記憶していた1列目の印刷データを第2記憶
領域702の1列目に複写する(ステップS605)。
この複写動作を最終列の印刷データまで順次行う(ステ
ップS604)。これにより、第2記憶領域702に
は、図7に示すように、第1記憶領域701に記憶した
印刷データに対応する有効な印刷データ702に白の印
刷データ703を付加した印刷データが形成される。最
終列の印刷データまで複写が完了すると、第2記憶領域
702に記憶した印刷データは読出バッファ506に出
力されて印刷処理が行なわれる(ステップS606)。
代替用紙802には、印刷機構によって、白(余白)領
域が形成された状態で文字等の代替印刷が行われる。こ
れにより、印刷機構508によって決められた主走査方
向のドット数に応じた印刷が行われ、代替用プリント用
紙802には、受信回路501で受信した有効な印刷デ
ータと白データとを結合した印刷が行われる。以上述べ
たように、代替用プリント用紙への印刷切替時に再度ラ
スタライズを行わないため印刷切替に時間がかからず
又、入力データの相違による代替印刷要する時間的なバ
ラツキが小さくなるという効果が生じる。
First, upon receiving the substitute print instruction signal (step S601), the CPU circuit 502 stores the substitute print instruction in an area other than the first storage area 701 where the print data is stored in the page memory circuit 504. The second storage area 702 is secured as a page memory for the print paper 802 (step S602), and the secured second storage area 702 is cleared so that the area is occupied by white (blank) data (step S602). S603). Next, the print data of the first column stored in the first storage area 701 is copied to the first column of the second storage area 702 (step S605).
This copying operation is sequentially performed up to the print data of the last column (step S604). As a result, in the second storage area 702, as shown in FIG. 7, print data in which white print data 703 is added to valid print data 702 corresponding to the print data stored in the first storage area 701 is formed. You. When copying is completed up to the print data of the last column, the print data stored in the second storage area 702 is output to the read buffer 506, and the printing process is performed (step S606).
On the substitute paper 802, substitute printing of characters and the like is performed in a state where a white (margin) area is formed by a printing mechanism. As a result, printing is performed in accordance with the number of dots in the main scanning direction determined by the printing mechanism 508, and the print data obtained by combining the valid print data received by the receiving circuit 501 with the white data is printed on the substitute print paper 802. Is performed. As described above, since the rasterization is not performed again when the print is switched to the substitute print paper, it does not take much time to switch the print, and the variation in the time required for the substitute print due to the difference in the input data is reduced. .

【0017】図9は本発明の第3の実施の形態に係るプ
リント装置のブロック図で、多段プリンタ装置の例を示
している。図9において、ホストコンピュータから送信
される図形や文字等の印刷データを受信する受信手段と
しての受信回路901、後述する処理や制御を行う中央
処理装置(CPU回路)902、操作パネルに設けられ
代替印刷するか否かの設定等を行う操作手段903、C
PU回路902によって前記印刷データがラスタライズ
されたビットマップ形式の印刷データを記憶し出力する
記憶手段としてのページメモリ回路904、ページメモ
リ回路904の書込/読出制御やアドレス指定を行うペ
ージメモリ制御回路905、ページメモリ回路904に
記憶された印刷データを一時記憶しながら出力する読出
バッファ906、給紙装置(図示せず)に収納されたプ
リント用紙の有無や大きさを検出してCPU回路902
に検出信号を出力するプリント用紙検出手段907、読
出バッファ906から出力される印刷データをプリント
用紙に印刷する印刷手段としての印刷機構908、読出
バッファ906に白(空白)データを出力する白データ
発生手段としての白データ回路909を備えている。
尚、図示していないが、印刷機構908は、大きさの異
なる複数種類のプリント用紙を収納し、選択的に前記プ
リント用紙を供給するプリント用紙供給手段としての複
数の給紙装置を内蔵している。
FIG. 9 is a block diagram of a printing apparatus according to a third embodiment of the present invention, showing an example of a multi-stage printer apparatus. In FIG. 9, a receiving circuit 901 as a receiving means for receiving print data such as figures and characters transmitted from a host computer, a central processing unit (CPU circuit) 902 for performing processing and control described later, and a substitute provided on an operation panel An operation unit 903 for setting whether to print or not, and C
A page memory circuit 904 as storage means for storing and outputting bitmap print data in which the print data is rasterized by the PU circuit 902, and a page memory control circuit for performing write / read control and address designation of the page memory circuit 904 905, a read buffer 906 for temporarily storing and outputting the print data stored in the page memory circuit 904, and a CPU circuit 902 for detecting the presence and size of print paper stored in a paper feeding device (not shown)
And a printing mechanism 908 as printing means for printing the print data output from the read buffer 906 on print paper, and generating white data for outputting white (blank) data to the read buffer 906. A white data circuit 909 is provided as a means.
Although not shown, the printing mechanism 908 stores a plurality of types of print papers having different sizes and incorporates a plurality of paper feeders as print paper supply means for selectively supplying the print papers. I have.

【0018】また、ページメモリ回路904から印刷デ
ータを読出す際の先頭のアドレスをレジストする読出開
始アドレスレジスタ910、ページメモリ回路904か
ら印刷データを読出す際の最後のアドレスをレジストす
る読出終了アドレスレジスタ911、文字や図形等の有
効な印刷データが始まるタイミングを示す開始タイミン
グデータをレジストする有効データ開始タイミングレジ
スタ912、前記有効な印刷データが終了するタイミン
グを示す終了タイミングデータをレジストする有効デー
タ終了タイミングレジスタ913、印刷するプリント用
紙の主走査方向のドット数に対応する値をラインサイズ
としてレジストするラインサイズレジスタ914、読出
開始アドレスレジスタ910のレジスト値から、ページ
メモリ制御回路905からの信号に応答してアップカウ
ントしページメモリ回路904の読出アドレス信号を出
力するアドレスカウンタ915、アドレスカウンタ91
5の出力信号が読出終了アドレスレジスタ911のレジ
スト値に一致したときアドレスカウンタ915の計数値
をリセットするアドレス比較器916、ページメモリ制
御回路905からの信号を計数してラインサイズレジス
タ914にレジストされたラインサイズデータからダウ
ンカウントし、第1比較器918及び第2比較器919
に計数値を出力すると共に読出バッファ906に制御信
号を出力するラインサイズカウンタ917、ラインサイ
ズカウンタ917の出力信号と有効データ開始タイミン
グレジスタ912のレジスト値が一致したとき読出バッ
ファ906に制御信号を出力する第1比較器918、ラ
インサイズカウンタ917の出力信号と有効データ終了
タイミングレジスタ913のレジスト値が一致したとき
読出バッファ906に制御信号を出力する第2比較器9
19を備えている。CPU回路902、ページメモリ制
御回路905、読出バッファ906、読出開始アドレス
レジスタ910、読出終了アドレスレジスタ911、有
効データ開始タイミングレジスタ912、有効データ終
了タイミングレジスタ913、ラインサイズレジスタ9
14、アドレスカウンタ915、アドレス比較器91
6、ラインサイズカウンタ917、第1比較器918及
び第2比較器919は、白データ付加手段を構成してい
る。
A read start address register 910 for registering a head address when reading print data from the page memory circuit 904, and a read end address for registering a last address when reading print data from the page memory circuit 904. A register 911, a valid data start timing register 912 for registering start timing data indicating a timing at which valid print data such as characters and figures start, and a valid data end for registering end timing data indicating a timing at which the valid print data ends. The page memory control circuit 9 is determined based on a timing register 913, a line size register 914 that registers a value corresponding to the number of dots in the main scanning direction of a print sheet to be printed as a line size, and a registration value of a reading start address register 910. Address counter 915 outputs read address signal counts up in response to signals from 5 the page memory circuit 904, the address counter 91
The address comparator 916 resets the count value of the address counter 915 when the output signal of No. 5 coincides with the register value of the read end address register 911. The signal from the page memory control circuit 905 is counted and registered in the line size register 914. The first comparator 918 and the second comparator 919 count down from the line size data.
The line size counter 917 outputs a count value to the read buffer 906 and outputs a control signal to the read buffer 906. A control signal is output to the read buffer 906 when the output signal of the line size counter 917 matches the register value of the valid data start timing register 912. The first comparator 918 outputs a control signal to the read buffer 906 when the output signal of the line size counter 917 matches the registration value of the valid data end timing register 913.
19 is provided. CPU circuit 902, page memory control circuit 905, read buffer 906, read start address register 910, read end address register 911, valid data start timing register 912, valid data end timing register 913, line size register 9
14, address counter 915, address comparator 91
6. The line size counter 917, the first comparator 918, and the second comparator 919 constitute white data adding means.

【0019】図10は、ページメモリ回路904の記憶
内容を説明するための図で、メモリアドレス(番地)を
16進数(0xで表示)で示している。図11は図9に
示した第3の実施の形態の動作を説明するためのタイミ
ング図である。また、図12は図9に示した第3の実施
の形態の印刷動作を説明するための図である。以下、図
9〜図12を用いて、第3の実施の形態の動作を説明す
る。先ず、印刷する正規のプリント用紙1204が給紙
装置に収納されている通常の状態では、受信回路901
によって受信されたホストコンピュータからの印刷デー
タはCPU回路902によってラスタライズされ、ペー
ジメモリ回路904に記憶される。このとき、ページメ
モリ回路904は、ページメモリ制御回路905によっ
て書込状態に制御されると共に書込アドレスが順次指定
され、指定されたアドレスにビットマップ形式の印刷デ
ータが順次記憶される。その後、ページメモリ回路90
4は、ページメモリ制御回路905によって読出状態に
制御されると共に読出アドレスが順次指定されて記憶さ
れた印刷データが順次読出される。読出された前記印刷
データは読出バッファ906を介して印刷機構908に
出力される。このとき、CPU回路902によって、プ
リント用紙供給手段に設けられ異なるサイズのプリント
用紙を収容する複数の給紙装置のうち、印刷データに対
応する正規のプリント用紙を収容する給紙装置が選択さ
れているので、前記印刷データが正規のプリント用紙1
205に印刷される。
FIG. 10 is a diagram for explaining the storage contents of the page memory circuit 904, in which memory addresses (addresses) are represented by hexadecimal numbers (represented by 0x). FIG. 11 is a timing chart for explaining the operation of the third embodiment shown in FIG. FIG. 12 is a diagram for explaining the printing operation of the third embodiment shown in FIG. Hereinafter, the operation of the third embodiment will be described with reference to FIGS. First, in a normal state where the regular print paper 1204 to be printed is stored in the paper feeder, the receiving circuit 901
The print data received from the host computer is rasterized by the CPU circuit 902 and stored in the page memory circuit 904. At this time, the page memory circuit 904 is controlled to be in a write state by the page memory control circuit 905, and a write address is sequentially designated, and print data in a bitmap format is sequentially stored at the designated address. Thereafter, the page memory circuit 90
4 is controlled to a read state by the page memory control circuit 905, and the read address is sequentially designated, and the stored print data is sequentially read. The read print data is output to the print mechanism 908 via the read buffer 906. At this time, the CPU circuit 902 selects a paper feeder that stores regular print paper corresponding to print data from among a plurality of paper feeders provided in the print paper supply unit and stores print papers of different sizes. The print data is a regular print paper 1
205 is printed.

【0020】次に、正規のプリント用紙1205が用紙
切れを起こした場合の動作を説明する。プリント用紙検
出手段907は、正規のプリント用紙1205が用紙切
れを起こしたことを検出してCPU回路902に用紙切
れ検出信号を出力すると共に、用紙切れを生じた正規の
プリント用紙1205よりも大きいサイズの代替用プリ
ント用紙1206が他の給紙装置に収納されていること
を検出して、代替用紙検出信号をCPU回路902に出
力する。このとき、操作手段903によって代替印刷を
行う旨の設定が行われていない場合、即ち代替印刷設定
信号が入力されていない場合には、プリント用紙切れで
ある旨を操作手段903で表示して処理を停止し、操作
者の指示待ち状態となる。また、正規のプリント用紙1
205よりも大きいプリント用紙が他の給紙装置に収納
されていない場合には、前記代替用紙検出信号がCPU
回路902に入力されず、プリント用紙切れである旨を
操作手段903で表示して処理を停止し、操作者の指示
待ち状態となる。操作手段903によってCPU回路9
02に代替印刷設定信号が入力されると共に、用紙切れ
検出信号及び代替用紙検出信号がプリント用紙検出手段
907からCPU回路902に入力された場合には、以
下の代替印刷が行われる。前記代替印刷設定信号、用紙
切れ検出信号及び代替用紙検出信号は代替印刷指示信号
を構成している。
Next, the operation when the regular print paper 1205 runs out of paper will be described. The print paper detection means 907 detects that the regular print paper 1205 has run out of paper, outputs a paper shortage detection signal to the CPU circuit 902, and has a size larger than the regular print paper 1205 that has run out of paper. The alternative print paper 1206 is detected to be stored in another paper feeder, and an alternative paper detection signal is output to the CPU circuit 902. At this time, if the setting for performing the alternative printing has not been made by the operation unit 903, that is, if the alternative print setting signal has not been input, the fact that the print paper has run out is displayed on the operation unit 903 and the processing is performed. Is stopped, and the operation waits for an instruction from the operator. In addition, regular print paper 1
If a print sheet larger than 205 is not stored in another sheet feeder, the alternative sheet detection signal is output from the CPU.
It is not input to the circuit 902, and the fact that the print paper is out is displayed by the operation means 903, the processing is stopped, and the operation waits for an instruction from the operator. CPU circuit 9 by operating means 903
When an alternative print setting signal is input to the CPU 02 and a paper out detection signal and an alternative paper detection signal are input from the print paper detector 907 to the CPU circuit 902, the following alternative printing is performed. The alternative print setting signal, the out-of-sheet detection signal, and the alternative sheet detection signal constitute an alternative print instruction signal.

【0021】ページメモリ回路904に記憶された印刷
データのうち、図10の太線で囲まれた有効な印刷デー
タを抽出し、白データを付加して印刷する場合を説明す
る。この場合、先ず、CPU回路902は、プリント用
紙検出手段907から出力される代替用プリント用紙1
206の大きさを表す用紙サイズ検出信号に基づいて、
主走査方向のラインサイズデータをラインサイズレジス
タ914にレジストすると共に、読出開始アドレスレジ
スタ910にページメモリ回路904の読出開始アドレ
ス値(本例では「1020」)を、読出終了アドレスレ
ジスタ911にページメモリ回路904の読出終了アド
レス値(本例では「1088」)を、有効データ開始タ
イミングレジスタ912に有効データ開始タイミングデ
ータ(本例では「12」)を、有効データ終了タイミン
グレジスタ913に有効データ終了タイミングデータ
(本例では「2」)を各々レジストする。この状態で、
読出開始アドレスレジスタ910にレジストされたアド
レス値「1020」はアドレスカウンタ915にレジス
トされる。また、ラインサイズレジスタ914にレジス
トされたラインサイズデータはラインサイズカウンタ9
17にレジストされる。アドレスカウンタ915にレジ
ストされたアドレス値「1020」はページメモリ制御
回路905に出力される。ページメモリ制御回路905
は、アドレスカウンタ915からの前記アドレス値に対
応するアドレスの印刷データを読出すための読出信号を
ページメモリ回路904に出力する。これにより、ペー
ジメモリ回路904の1020番地に記憶された印刷デ
ータが64ビット単位で読出バッファ906に出力され
る。後述するように、読出バッファ106は入力された
印刷データを一時記憶しながら、8ビット単位で印刷機
構908に出力する。
A description will be given of a case where effective print data surrounded by a thick line in FIG. 10 is extracted from the print data stored in the page memory circuit 904 and printed with white data added. In this case, first, the CPU circuit 902 outputs the substitute print paper 1 output from the print paper detection unit 907.
Based on a paper size detection signal indicating the size of 206,
The line size data in the main scanning direction is registered in the line size register 914, the read start address value (“1020” in this example) of the page memory circuit 904 is stored in the read start address register 910, and the page memory is stored in the read end address register 911. The read end address value (“1088” in this example) of the circuit 904 is stored in the valid data start timing register 912, and the valid data start timing data (“12” in this example) is stored in the valid data end timing register 913. The data (in this example, “2”) is registered. In this state,
The address value “1020” registered in the read start address register 910 is registered in the address counter 915. The line size data registered in the line size register 914 is stored in the line size counter 9.
17 is registered. The address value “1020” registered in the address counter 915 is output to the page memory control circuit 905. Page memory control circuit 905
Outputs to the page memory circuit 904 a read signal for reading print data at an address corresponding to the address value from the address counter 915. As a result, the print data stored at address 1020 of the page memory circuit 904 is output to the read buffer 906 in 64-bit units. As described below, the read buffer 106 outputs the print data to the print mechanism 908 in 8-bit units while temporarily storing the input print data.

【0022】一方、ラインサイズカウンタ917の計数
値は有効データ開始タイミングレジスタ912のレジス
ト値よりも大きいため、第1比較器918はこれを検出
して、白データ回路909から出力される白(空白)デ
ータが、読出バッファ906を介して印刷機構908に
出力されるように、読出バッファ906を制御する。次
に、ラインサイズカウンタ917は、ページメモリ制御
回路905の出力信号に応答して1だけダウンカウント
する。これにより、ラインサイズカウンタ917の計数
値と有効データ開始タイミングレジスタのレジスタが、
ともに等しく「12」となる。第1比較器918は両者
が等しくなったことを検出して、その出力信号がLレベ
ルに変化する。これにより、ページメモリ回路904か
らの有効な印刷データ(1020番地の印刷データ)が
8ビット単位で読出バッファ906を介して印刷機構9
08に出力されるように、読出バッファ906が制御さ
れる。次に、アドレスカウンタ915はページメモリ制
御回路905からの信号に応答してアップカウントし、
その計数値「1028」をページメモリ制御回路905
に出力する。一方、ラインサイズカウンタ917は、ペ
ージメモリ制御回路905からの信号に応答してダウン
カウントし、計数値「11」を出力する。ページメモリ
制御回路905はアドレスカウンタ915からの前記ア
ドレス値「1028」に対応する読出信号をページメモ
リ回路904に出力する。これにより、ページメモリ回
路904の1028番地に記憶された印刷データが読出
バッファ906に出力される。このとき、ラインサイズ
カウンタ917の計数値は、依然として、有効データ開
始タイミングレジスタ912のレジスト値より小さく且
つ有効データ終了タイミングレジスタ913のレジスト
値よりも大きいため、ページメモリ回路904からの有
効な印刷データが読出バッファ906を介して印刷機構
908に出力されるように、読出バッファ906が制御
される。以後同様にして、アドレスカウンタ915はペ
ージメモリ制御回路905からの信号を計数してアドレ
ス値を順次出力し、ページメモリ制御回路905は前記
アドレス値に対応する印刷データをページメモリ回路9
04から読出バッファ906に出力する。尚、前記アド
レス値が読出終了アドレスアドレスレジスタ911のレ
ジスト値「1088」になると、アドレス比較器916
によってリセットされる。
On the other hand, since the count value of the line size counter 917 is larger than the register value of the valid data start timing register 912, the first comparator 918 detects this and outputs white (blank) output from the white data circuit 909. And) controlling the read buffer 906 so that data is output to the printing mechanism 908 via the read buffer 906. Next, the line size counter 917 counts down by one in response to the output signal of the page memory control circuit 905. Thereby, the count value of the line size counter 917 and the register of the valid data start timing register are
Both are equal to “12”. The first comparator 918 detects that both have become equal, and the output signal changes to the L level. As a result, valid print data (print data at address 1020) from the page memory circuit 904 is transferred in a unit of 8 bits via the read buffer 906 to the printing mechanism 9.
The read buffer 906 is controlled so as to be output to 08. Next, the address counter 915 counts up in response to a signal from the page memory control circuit 905,
The count value “1028” is stored in the page memory control circuit 905.
Output to On the other hand, the line size counter 917 counts down in response to a signal from the page memory control circuit 905 and outputs a count value “11”. The page memory control circuit 905 outputs a read signal corresponding to the address value “1028” from the address counter 915 to the page memory circuit 904. As a result, the print data stored at the address 1028 of the page memory circuit 904 is output to the read buffer 906. At this time, since the count value of the line size counter 917 is still smaller than the register value of the valid data start timing register 912 and larger than the register value of the valid data end timing register 913, the valid print data from the page memory circuit 904 Is output to the printing mechanism 908 via the read buffer 906. Thereafter, similarly, the address counter 915 counts signals from the page memory control circuit 905 and sequentially outputs address values, and the page memory control circuit 905 stores print data corresponding to the address values in the page memory circuit 9.
04 to the read buffer 906. When the address value becomes the register value "1088" of the read end address register 911, the address comparator 916
Reset by

【0023】一方、ラインサイズカウンタ917の計数
値が有効データ終了タイミングレジスタ913のレジス
ト値と等しい値「2」になると、第2比較器919は、
これを検出して、白データ回路909から出力される白
データが、読出バッファ906を介して印刷機構908
に出力されるように、読出バッファ906を制御する。
ラインサイズカウンタ917の計数値がプリント用紙の
1ラインサイズに等しくなると、読出バッファ906の
出力は停止される。これにより、選択した代替用プリン
ト用紙1206の1ライン分を越える不要なデータは出
力されず、代替用プリント用紙1206に対応する印刷
データが印刷される。以上の処理を繰り返すことによ
り、代替用プリント用紙1206の1ライン毎に、有効
な印刷データに白データを付加した印刷データが出力さ
れ、その結果、文字や図形等の有効なデータ領域120
2の両側に白データ領域1203、1204を付加した
印刷データが印刷機構908に出力され、代替用プリン
ト用紙1206には、印刷機構908によって決められ
た主走査方向のドット数に応じて、文字や図形等と空白
が結合されて印刷される。以上述べたように、代替用プ
リント用紙への印刷切替時に再度ラスタライズを行わな
いため印刷切替に時間がかからず又、入力データの相違
による代替印刷要する時間的なバラツキが小さくなると
いう効果が生じる。
On the other hand, when the count value of the line size counter 917 becomes “2” which is equal to the register value of the valid data end timing register 913, the second comparator 919
Upon detecting this, the white data output from the white data circuit 909 is sent to the printing mechanism 908 via the read buffer 906.
The read buffer 906 is controlled so as to be output to
When the count value of the line size counter 917 becomes equal to one line size of the print paper, the output of the reading buffer 906 is stopped. As a result, unnecessary data exceeding one line of the selected substitute print paper 1206 is not output, and print data corresponding to the substitute print paper 1206 is printed. By repeating the above processing, the print data in which the white data is added to the effective print data is output for each line of the substitute print paper 1206, and as a result, the effective data area 120 such as a character or a figure is output.
2 is output to the printing mechanism 908 with white data areas 1203 and 1204 added to both sides, and characters and characters are printed on the substitute print paper 1206 in accordance with the number of dots in the main scanning direction determined by the printing mechanism 908. The figure or the like and the blank are combined and printed. As described above, since the rasterization is not performed again when the print is switched to the substitute print paper, it does not take much time to switch the print, and the variation in the time required for the substitute print due to the difference in the input data is reduced. .

【0024】図13は、本発明の第4の実施の形態に係
るプリント装置の処理を示すフローチャートで、多段プ
リンタ装置の例を示している。図14は図13に示した
実施の形態の動作を説明するための図である。尚、第4
の実施の形態におけるハードウェア構成は図5に示した
ものと同一であり又、通常の印刷処理及び用紙切れが発
生した際に代替印刷しない場合の処理も第2の実施の形
態と同一であるので、そのブロック図及びその説明は省
略し、相違点についてのみ以下説明する。第4の実施の
形態は、文字、図形等の有効な印刷データをページメモ
リ回路504から出力する場合に、代替用プリント用紙
のラインサイズに不足するドット数の白データをCPU
502で発生させて、読出バッファ506に出力するよ
うにした点で、第2の実施の形態と相違している。即
ち、CPU回路502が白データを発生する白データ発
生手段を構成し又、CPU回路502、ページメモリ制
御回路505及び読出バッファ506が前記有効な印刷
データに前記白データを付加する白データ付加手段とし
て機能する点で相違している。以下、図5、図13及び
図14を用いて、前記相違点について説明する。
FIG. 13 is a flowchart showing processing of the printing apparatus according to the fourth embodiment of the present invention, and shows an example of a multistage printer apparatus. FIG. 14 is a diagram for explaining the operation of the embodiment shown in FIG. The fourth
The hardware configuration in this embodiment is the same as that shown in FIG. 5, and the normal printing process and the process in the case where the alternative printing is not performed when the paper runs out are also the same as those in the second embodiment. Therefore, the block diagram and the description thereof are omitted, and only different points will be described below. In the fourth embodiment, when valid print data such as characters and graphics is output from the page memory circuit 504, white data of a dot number that is insufficient for the line size of the substitute print paper is output to the CPU.
The second embodiment differs from the second embodiment in that it is generated at 502 and output to the read buffer 506. That is, the CPU circuit 502 constitutes white data generating means for generating white data, and the CPU circuit 502, the page memory control circuit 505, and the read buffer 506 add white data to the valid print data. They differ in that they function as Hereinafter, the difference will be described with reference to FIGS. 5, 13, and 14.

【0025】先ず、CPU回路502は、正規のプリン
ト用紙の用紙切れが発生して代替印刷指示信号を受信す
ると(ステップS1301)、正規のプリント用紙より
も大きいサイズの代替用プリント用紙を選択する(ステ
ップS1302)。次に、ページメモリ制御回路505
を制御して、ページメモリ回路504に記憶された印刷
データのN(Nは整数)列目を読出し(ステップS13
04)、足りないページデータを1列分送出する(ステ
ップS1305)。これを1列目から最終列目まで行う
(ステップS1303)。以上のようにして、図14に
示すように、元の印刷データ1401に基づいて、元の
印刷データに対応する領域1403に白データの領域1
404を付加した形の印刷データが読出バッファ506
を介して印刷機構508に出力される。印刷機構508
では、決められた主走査方向のドット数に応じて、受信
回路501で受信した有効な印刷データと白データとを
結合した印刷が代替用プリント用紙に行われる。このと
き、代替用プリント用紙への印刷切替時に再度ラスタラ
イズを行わないため印刷切替に時間がかからず又、入力
データの相違による代替印刷要する時間的なバラツキが
小さくなるという効果が生じる。
First, when the regular print paper runs out of paper and receives an alternative print instruction signal (step S1301), the CPU circuit 502 selects a substitute print paper of a size larger than the regular print paper (step S1301). Step S1302). Next, the page memory control circuit 505
To read the Nth (N is an integer) column of the print data stored in the page memory circuit 504 (step S13).
04), and sends out the missing page data for one column (step S1305). This is performed from the first column to the last column (step S1303). As described above, as shown in FIG. 14, based on the original print data 1401, the area 1403 corresponding to the original print data
The print data to which the 404 is added is stored in the read buffer 506.
Is output to the printing mechanism 508 via the. Printing mechanism 508
According to the embodiment, according to the determined number of dots in the main scanning direction, printing in which valid print data received by the receiving circuit 501 and white data are combined is performed on a substitute print sheet. At this time, since the rasterization is not performed again when the printing is switched to the substitute printing paper, it does not take much time for the printing to be switched, and the variation in the time required for the substitute printing due to the difference in the input data is reduced.

【0026】[0026]

【発明の効果】本発明によれば、代替印刷を速やかに行
うことが可能となり又、代替印刷の時間的なバラツキを
抑え得るという効果を奏する。
According to the present invention, the alternative printing can be performed quickly, and the variation in the time of the alternative printing can be suppressed.

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

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

【図2】本発明の第1の実施の形態に使用するページメ
モリ回路の動作説明図である。
FIG. 2 is an operation explanatory diagram of a page memory circuit used in the first embodiment of the present invention.

【図3】本発明の第1の実施の形態に係るプリント装置
のタイミング図である。
FIG. 3 is a timing chart of the printing apparatus according to the first embodiment of the present invention.

【図4】本発明の第1の実施の形態において、プリント
用紙に印刷される態様を説明するための図である。
FIG. 4 is a diagram for explaining an aspect of printing on a print sheet in the first embodiment of the present invention.

【図5】本発明の第2の実施の形態に係るプリント装置
のブロック図である。
FIG. 5 is a block diagram of a printing apparatus according to a second embodiment of the present invention.

【図6】本発明の第2の実施の形態の動作を説明するた
めのフローチャートである。
FIG. 6 is a flowchart for explaining the operation of the second exemplary embodiment of the present invention.

【図7】本発明の第2の実施の形態に使用するページメ
モリ回路の動作説明図である。
FIG. 7 is an operation explanatory diagram of a page memory circuit used in the second embodiment of the present invention.

【図8】本発明の第2の実施の形態において、プリント
用紙に印刷される態様を説明するための図である。
FIG. 8 is a diagram for explaining an aspect of printing on a print sheet in the second embodiment of the present invention.

【図9】本発明の第3の実施の形態に係るプリント装置
のブロック図である。
FIG. 9 is a block diagram of a printing apparatus according to a third embodiment of the present invention.

【図10】本発明の第3の実施の形態に使用するページ
メモリ回路の動作説明図である。
FIG. 10 is an operation explanatory diagram of a page memory circuit used in the third embodiment of the present invention.

【図11】本発明の第3の実施の形態に係るプリント装
置のタイミング図である。
FIG. 11 is a timing chart of a printing apparatus according to a third embodiment of the present invention.

【図12】本発明の第3の実施の形態において、プリン
ト用紙に印刷される態様を説明するための図である。
FIG. 12 is a diagram for explaining an aspect of printing on print paper in a third embodiment of the present invention.

【図13】本発明の第4の実施の形態の動作を説明する
ためのフローチャートである。
FIG. 13 is a flowchart for explaining the operation of the fourth exemplary embodiment of the present invention.

【図14】本発明の第4の実施の形態における印刷デー
タの態様を説明するための図である。
FIG. 14 is a diagram illustrating a form of print data according to a fourth embodiment of the present invention.

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

101、501、901・・・受信手段としての受信回
路 102・・・抽出手段を構成するCPU回路 103、503、903・・・操作手段 105・・・抽出手段を構成するページメモリ制御回路 106・・・抽出手段を構成する読出バッファ 107・・・抽出手段を構成するプリント用紙検出手段 108、508、908・・・印刷手段を構成する印刷
機構 109・・・抽出手段を構成する行オフセットレジスタ 110・・・抽出手段を構成する読出開始アドレスレジ
スタ 111・・・抽出手段を構成する読出終了アドレスレジ
スタ 112・・・抽出手段を構成するセルサイズレジスタ 113・・・抽出手段を構成するラインサイズレジスタ 114・・・抽出手段を構成する選択回路 115・・・抽出手段を構成するセルサイズカウンタ 116・・・抽出手段を構成するラインサイズカウンタ 117・・・抽出手段を構成するレジスタ回路 118・・・抽出手段を構成するアドレスカウンタ 119・・・抽出手段を構成する加算回路 120・・・抽出手段を構成するアドレス比較器 104・・・記憶手段としてのページメモリ回路 502・・・印刷データ作成手段又は、白データ発生手
段及び白データ付加手段を構成するCPU回路 504・・・記憶手段としてのページメモリ回路 505・・・印刷データ作成手段又は白データ付加手段
を構成するページメモリ制御回路 506・・・印刷データ作成手段又は白データ付加手段
を構成する読出バッファ 902・・・白データ付加手段を構成するCPU回路 904・・・記憶手段を構成するページメモリ回路 905・・・白データ付加手段を構成するページメモリ
制御回路 906・・・白データ付加手段を構成する読出バッファ 909・・・白データ発生手段としての白データ回路 910・・・白データ付加手段を構成する読出開始アド
レスレジスタ 911・・・白データ付加手段を構成する読出終了アド
レスレジスタ 912・・・白データ付加手段を構成する有効データ開
始タイミングレジスタ 913・・・白データ付加手段を構成する有効データ終
了タイミングレジスタ 914・・・白データ付加手段を構成するラインサイズ
レジスタ 915・・・白データ付加手段を構成するアドレスカウ
ンタ 916・・・白データ付加手段を構成するアドレス比較
器 917・・・白データ付加手段を構成するラインサイズ
カウンタ 918・・・白データ付加手段を構成する第1比較器 919・・・白データ付加手段を構成する第2比較器
101, 501, 901: receiving circuit as receiving means 102: CPU circuit constituting extracting means 103, 503, 903: operating means 105: page memory control circuit constituting extracting means 106 .. Readout buffer 107 constituting the extraction unit. Print sheet detection unit 108, 508, 908 constituting the extraction unit. Printing mechanism 109 constituting the printing unit 109 .... row offset register 110 constituting the extraction unit. ·········································································································· ... Selection circuit constituting extraction means 115 ... Cell size constituting extraction means Counter 116: a line size counter forming the extracting means 117: a register circuit forming the extracting means 118: an address counter forming the extracting means 119: an adding circuit forming the extracting means 120 ... Address comparator 104 constituting extraction means 104 page memory circuit as storage means 502 CPU circuit constituting print data creation means or white data generation means and white data addition means 504 ... storage means Page memory circuit 505... Page memory control circuit constituting print data creating means or white data adding means 506... Read buffer constituting print data creating means or white data adding means 902. CPU circuit 904... Page memory circuit 90 constituting storage means 90 5: A page memory control circuit constituting the white data adding means 906: a read buffer constituting the white data adding means 909: a white data circuit as a white data generating means 910: a white data adding means Read start address register 911 to configure Read end address register 912 to configure white data addition means Valid data start timing register to configure white data addition means 913 Valid data to configure white data addition means End timing register 914... Line size register forming white data adding means 915... Address counter forming white data adding means 916... Address comparator forming white data adding means 917. Line size counter 918 constituting the adding means ・ ・ ・ ・ ・ ・ White data Second comparator constituting the first comparator 919 ... white data adding means constituting the pressurizing means

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成11年11月16日(1999.11.
16)
[Submission date] November 16, 1999 (1999.11.
16)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0016[Correction target item name] 0016

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0016】先ず、CPU回路502は、前記代替印刷
指示信号を受信すると(ステップS601)、ページメ
モリ回路504内で、前記印刷データが記憶されている
第1記憶領域701以外の領域に、代替用プリント用紙
802用のページメモリとして第2記憶領域702を確
保し(ステップS602)、次に、確保した第2記憶領
域702をクリアし、該領域を白(空白)データで占め
るようにする(ステップS603)。次に、第1記憶領
域701に記憶していた1列目の印刷データを第2記憶
領域702の1列目に複写する(ステップS605)。
この複写動作を最終列の印刷データまで順次行う(ステ
ップS604)。これにより、第2記憶領域702に
は、図7に示すように、第1記憶領域701に記憶した
印刷データに対応する有効な印刷データ70に白の印
刷データ70を付加した印刷データが形成される。最
終列の印刷データまで複写が完了すると、第2記憶領域
702に記憶した印刷データは読出バッファ506に出
力されて印刷処理が行なわれる(ステップS606)。
代替用紙802には、印刷機構によって、白(余白)領
域が形成された状態で文字等の代替印刷が行われる。こ
れにより、印刷機構508によって決められた主走査方
向のドット数に応じた印刷が行われ、代替用プリント用
紙802には、受信回路501で受信した有効な印刷デ
ータと白データとを結合した印刷が行われる。以上述べ
たように、代替用プリント用紙への印刷切替時に再度ラ
スタライズを行わないため印刷切替に時間がかからず
又、入力データの相違による代替印刷要する時間的なバ
ラツキが小さくなるという効果が生じる。
First, upon receiving the substitute print instruction signal (step S601), the CPU circuit 502 stores the substitute print instruction in an area other than the first storage area 701 where the print data is stored in the page memory circuit 504. The second storage area 702 is secured as a page memory for the print paper 802 (step S602), and the secured second storage area 702 is cleared so that the area is occupied by white (blank) data (step S602). S603). Next, the print data of the first column stored in the first storage area 701 is copied to the first column of the second storage area 702 (step S605).
This copying operation is sequentially performed up to the print data of the last column (step S604). Thus, in the second storage area 702, as shown in FIG. 7, the print data added with the valid print data 70 3 white print data 70 4 to corresponding to the print data stored in the first storage area 701 It is formed. When copying is completed up to the print data of the last column, the print data stored in the second storage area 702 is output to the read buffer 506, and the printing process is performed (step S606).
On the substitute paper 802, substitute printing of characters and the like is performed in a state where a white (margin) area is formed by a printing mechanism. As a result, printing is performed in accordance with the number of dots in the main scanning direction determined by the printing mechanism 508, and the print data obtained by combining the valid print data received by the receiving circuit 501 with the white data is printed on the substitute print paper 802. Is performed. As described above, since the rasterization is not performed again when the print is switched to the substitute print paper, it does not take much time to switch the print, and the variation in the time required for the substitute print due to the difference in the input data is reduced. .

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0019[Correction target item name] 0019

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0019】図10は、ページメモリ回路904の記憶
内容を説明するための図で、メモリアドレス(番地)を
16進数(0xで表示)で示している。図11は図9に
示した第3の実施の形態の動作を説明するためのタイミ
ング図である。また、図12は図9に示した第3の実施
の形態の印刷動作を説明するための図である。以下、図
9〜図12を用いて、第3の実施の形態の動作を説明す
る。先ず、印刷する正規のプリント用紙120が給紙
装置に収納されている通常の状態では、受信回路901
によって受信されたホストコンピュータからの印刷デー
タはCPU回路902によってラスタライズされ、ペー
ジメモリ回路904に記憶される。このとき、ページメ
モリ回路904は、ページメモリ制御回路905によっ
て書込状態に制御されると共に書込アドレスが順次指定
され、指定されたアドレスにビットマップ形式の印刷デ
ータが順次記憶される。その後、ページメモリ回路90
4は、ページメモリ制御回路905によって読出状態に
制御されると共に読出アドレスが順次指定されて記憶さ
れた印刷データが順次読出される。読出された前記印刷
データは読出バッファ906を介して印刷機構908に
出力される。このとき、CPU回路902によって、プ
リント用紙供給手段に設けられ異なるサイズのプリント
用紙を収容する複数の給紙装置のうち、印刷データに対
応する正規のプリント用紙を収容する給紙装置が選択さ
れているので、前記印刷データが正規のプリント用紙1
205に印刷される。
FIG. 10 is a diagram for explaining the storage contents of the page memory circuit 904, in which memory addresses (addresses) are represented by hexadecimal numbers (represented by 0x). FIG. 11 is a timing chart for explaining the operation of the third embodiment shown in FIG. FIG. 12 is a diagram for explaining the printing operation of the third embodiment shown in FIG. Hereinafter, the operation of the third embodiment will be described with reference to FIGS. First, in the normal state in which the print paper 120 5 regular for printing are accommodated in the sheet feeding device, the receiving circuit 901
The print data received from the host computer is rasterized by the CPU circuit 902 and stored in the page memory circuit 904. At this time, the page memory circuit 904 is controlled to be in a write state by the page memory control circuit 905, and a write address is sequentially designated, and print data in a bitmap format is sequentially stored at the designated address. Thereafter, the page memory circuit 90
4 is controlled to a read state by the page memory control circuit 905, and the read address is sequentially designated, and the stored print data is sequentially read. The read print data is output to the print mechanism 908 via the read buffer 906. At this time, the CPU circuit 902 selects a paper feeder that stores regular print paper corresponding to print data from among a plurality of paper feeders provided in the print paper supply unit and stores print papers of different sizes. The print data is a regular print paper 1
205 is printed.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C058 AB08 AC12 AE02 AF04 HA09 HD02 HD07 2C087 AB05 BC05 BD10 CA03 CA04 CB13 DA02 DA17 5B021 AA01 AA02 CC05 CC10 KK02 KK07 5C062 AA05 AB08 AB22 AB30 AB38 AB42 AB53 AC22 AC24 BA04 5C073 CC01 CE04  ──────────────────────────────────────────────────続 き Continued on front page F term (reference) 2C058 AB08 AC12 AE02 AF04 HA09 HD02 HD07 2C087 AB05 BC05 BD10 CA03 CA04 CB13 DA02 DA17 5B021 AA01 AA01 CC05 CC10 KK02 KK07 5C062 AA05 AB08 AB22 AB30 AB38 AB42 AB53 AC22 AC04 BA04

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 大きさの異なる複数種類のプリント用紙
を供給するプリント用紙供給手段を有する印刷手段を備
え、正規のプリント用紙の用紙切れが発生したとき前記
プリント用紙供給手段に収納された代替用プリント用紙
を選択し、受信手段によって受信した印刷データを前記
印刷手段により印刷するプリント装置において、 前記受信手段によって受信した印刷データに基づいて、
前記印刷手段で印刷可能な最大のプリント用紙に合わせ
て有効データ及び白データから成る印刷データを生成し
記憶する記憶手段と、 前記記憶手段に記憶された印刷データから、印刷を行う
プリント用紙の大きさに合わせて所定範囲を抽出し前記
印刷手段に出力する印刷データ抽出手段とを備えて成る
ことを特徴とするプリント装置。
1. A printing device comprising a printing paper supply means for supplying a plurality of types of printing papers having different sizes, and when a regular print paper runs out of paper, the substitute paper stored in the printing paper supply means is provided. In a printing apparatus for selecting a print sheet and printing the print data received by the receiving unit by the printing unit, based on the print data received by the receiving unit,
A storage unit for generating and storing print data including valid data and white data in accordance with the maximum print paper printable by the printing unit; and a print paper size for printing based on the print data stored in the storage unit. And a print data extracting means for extracting a predetermined range and outputting the extracted data to the printing means.
【請求項2】 前記抽出手段は、読出開始アドレスを設
定する読出開始アドレスレジスタ及び読出終了アドレス
を設定する読出終了アドレスレジスタを備え、前記読出
開始アドレスレジスタと読出終了アドレスレジスタによ
って設定された範囲の印刷データを前記記憶手段から抽
出することを特徴とする請求項1記載のプリント装置。
2. The method according to claim 1, wherein the extracting unit includes a read start address register for setting a read start address and a read end address register for setting a read end address. 2. The printing apparatus according to claim 1, wherein print data is extracted from the storage unit.
【請求項3】 大きさの異なる複数種類のプリント用紙
を供給するプリント用紙供給手段を有する印刷手段を備
え、正規のプリント用紙の用紙切れが発生したとき前記
プリント用紙供給手段に収納された代替用プリント用紙
を選択し、受信手段によって受信した印刷データを前記
印刷手段により印刷するプリント装置において、 前記受信手段で受信した印刷データをラスタライズした
印刷データを記憶する記憶手段と、 代替用プリント用紙の大きさに合わせて、前記記憶手段
に記憶した印刷データに白データを付加して、新たな印
刷データを作成し前記記憶手段に記憶する印刷データ作
成手段とを備え、 前記新たに作成した印刷データを前記印刷手段に出力す
ることを特徴とするプリント装置。
3. A printing unit having a printing paper supply unit for supplying a plurality of types of printing papers having different sizes, and when the regular printing paper runs out of paper, the replacement unit stored in the printing paper supply unit. A printing apparatus for selecting print paper and printing the print data received by the receiving means by the printing means, comprising: storage means for storing print data obtained by rasterizing the print data received by the receiving means; A print data creating unit that creates new print data by adding white data to the print data stored in the storage unit and stores the print data in the storage unit. A printing apparatus for outputting to the printing means.
【請求項4】 大きさの異なる複数種類のプリント用紙
を供給するプリント用紙供給手段を有する印刷手段を備
え、正規のプリント用紙の用紙切れが発生したとき前記
プリント用紙供給手段に収納された代替用プリント用紙
を選択し、受信手段によって受信した印刷データを前記
印刷手段により印刷するプリント装置において、 受信手段から受信した印刷データをラスタライズした印
刷データを記憶する記憶手段と、 白データを出力する白データ発生手段と、 代替用プリント用紙の大きさに合わせて、前記記憶手段
に記憶された印刷データに前記白データ発生手段からの
白データを付加して前記印刷手段に出力する白データ付
加手段とを備えて成ることを特徴とするプリント装置。
4. A printing apparatus comprising a printing paper supply means for supplying a plurality of types of printing papers having different sizes, and when the regular printing paper runs out of paper, the substitute paper stored in the printing paper supply means is provided. In a printing apparatus for selecting print paper and printing the print data received by the receiving means by the printing means, storage means for storing print data obtained by rasterizing the print data received from the receiving means, and white data for outputting white data Generating means, and white data adding means for adding white data from the white data generating means to the print data stored in the storage means and outputting the white data from the white data generating means to the printing means in accordance with the size of the substitute print sheet. A printing apparatus, comprising:
【請求項5】 前記白データ付加手段は、ライン上にお
ける有効データの開始タイミングを設定する有効データ
開始タイミングレジスタと、ライン上における有効デー
タの終了タイミングを設定する有効データ終了タイミン
グレジスタとを備え、前記有効データ開始タイミングレ
ジスタと有効データ終了タイミングレジスタによって設
定された範囲内で出力される前記記憶手段に記憶された
有効な印刷データに、前記範囲以外で出力される前記白
データ発生手段からの白データをライン毎に付加して前
記印刷手段に出力することを特徴とする請求項4記載の
プリント装置。
5. The white data adding means includes a valid data start timing register that sets a start timing of valid data on a line, and a valid data end timing register that sets an end timing of valid data on a line. The valid print data stored in the storage unit output within the range set by the valid data start timing register and the valid data end timing register is added to the white data from the white data generation unit output outside the range. 5. The printing apparatus according to claim 4, wherein data is added to each line and output to said printing means.
【請求項6】 代替印刷を行うか否かを設定する操作手
段を備えて成ることを特徴とする請求項1乃至5のいず
れか一に記載のプリント装置。
6. The printing apparatus according to claim 1, further comprising operation means for setting whether or not to perform alternative printing.
JP10301022A 1998-10-22 1998-10-22 Printer Pending JP2000127519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10301022A JP2000127519A (en) 1998-10-22 1998-10-22 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10301022A JP2000127519A (en) 1998-10-22 1998-10-22 Printer

Publications (1)

Publication Number Publication Date
JP2000127519A true JP2000127519A (en) 2000-05-09

Family

ID=17891912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10301022A Pending JP2000127519A (en) 1998-10-22 1998-10-22 Printer

Country Status (1)

Country Link
JP (1) JP2000127519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002036679A (en) * 2000-07-27 2002-02-06 Canon Inc Imaging system and imaging method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002036679A (en) * 2000-07-27 2002-02-06 Canon Inc Imaging system and imaging method

Similar Documents

Publication Publication Date Title
US7409169B2 (en) Image forming apparatus and image forming system
US5150460A (en) Apparatus for character output with modification of character code array
US20060088160A1 (en) Method and apparatus for generating and printing a security stamp with custom logo on an electrophotographic printer
JP2007238305A (en) Image forming device
US4975858A (en) Controller for a printer for printing data received from an external data processor
JP2000127519A (en) Printer
JP2002086852A (en) Image forming system, control method therefor, and recording medium
JPH02156325A (en) Computer terminal equipment
US7320552B2 (en) Image forming apparatus
JP3160251B2 (en) Printing equipment
JPS61197252A (en) Image output device
JP2000108415A (en) Printer
JP2001205899A (en) Image output unit, image processing system, sheet discharge control method, and storage medium
JP2000127566A (en) Printer
JP2007055086A (en) Printing device
JP2008077158A (en) Printer driver program
JP3622812B2 (en) Printing device
JPH0685115B2 (en) output method
JP2007067579A (en) Image forming apparatus
JP2004252280A (en) Character generating device
JP3226226B2 (en) Character processing method and apparatus
JP2608393B2 (en) Information processing device
JP2005096166A (en) Printing device
JP2001138595A (en) Printing system and printer
JPH06166214A (en) Printer