JPH05201075A - Page printer device - Google Patents

Page printer device

Info

Publication number
JPH05201075A
JPH05201075A JP4011241A JP1124192A JPH05201075A JP H05201075 A JPH05201075 A JP H05201075A JP 4011241 A JP4011241 A JP 4011241A JP 1124192 A JP1124192 A JP 1124192A JP H05201075 A JPH05201075 A JP H05201075A
Authority
JP
Japan
Prior art keywords
page
image data
buffer
page buffer
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
JP4011241A
Other languages
Japanese (ja)
Inventor
Nobuyuki Hirokawa
伸幸 廣川
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4011241A priority Critical patent/JPH05201075A/en
Publication of JPH05201075A publication Critical patent/JPH05201075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To reprint image data in a page buffer whose printing is already completed, when it is requested by an external part. CONSTITUTION:A page printer device houses a controller 3 which comprises a CPU 5 for controlling the whole controller, a buffer memory 6, a page buffer 7, a program ROM 8, a host interface 9, and a bus 10 for connecting these members. A control panel 11 at the outside of the controller is connected to the CPU 5. Setting of printing condition in the inside of a printer device can be changed by the control panel 11.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はレーザプリンタ、LED
プリンタ、液晶プリンタなどのページプリンタ装置に関
し、特に画像データの再印刷に関する。
The present invention relates to a laser printer, an LED
The present invention relates to page printer devices such as printers and liquid crystal printers, and more particularly to reprinting image data.

【0002】[0002]

【従来の技術】従来のページプリンタ装置では、1ペー
ジ分の画像データがページバッファ上に展開され、排出
命令を受信した段階で印刷が開始される。1ページの印
刷が終了すると、ホスト装置から受信した未処理データ
が残っているかいないかにかかわらず、ページバッファ
内の画像データは自動的に初期化される。このため、ホ
スト装置からの印刷データが1ページに満たない場合で
も、一度印刷したページバッファ内の画像データは再び
印刷することはできない。
2. Description of the Related Art In a conventional page printer, image data for one page is developed on a page buffer, and printing is started when a discharge command is received. When the printing of one page is completed, the image data in the page buffer is automatically initialized regardless of whether unprocessed data received from the host device remains. Therefore, even if the print data from the host device is less than one page, the image data once printed in the page buffer cannot be printed again.

【0003】[0003]

【発明が解決しようとする課題】ホスト装置で編集を行
い、印刷結果を確認した上で再び編集を行うことを繰り
返し、最終的に複数部数の出力を得たい場合がある。
There are cases where it is desired to obtain a plurality of copies of the output by repeating the editing by the host device, confirming the print result, and then the editing again.

【0004】従来のページプリンタ装置においては、印
刷が終了したページバッファ内画像データは自動的に初
期化されるので、再印刷はできない。
In the conventional page printer device, the image data in the page buffer after printing is automatically initialized, and therefore cannot be reprinted.

【0005】プリンタ装置本体には、コピー機能を内蔵
していて、複数部数同じ印刷結果を出力することができ
る。しかし、この機能はホスト装置よりデータを受信す
る前にコピー枚数を設定する必要があり、データ受信後
に設定を変更することはできないので、あらかじめ複数
部数を設定しておくと、編集途中の印刷結果も複数部数
出力され用紙が無駄になってしまう。
The printer main body has a built-in copy function and can output the same print result for a plurality of copies. However, this function requires you to set the number of copies before receiving data from the host device, and you cannot change the setting after receiving the data. Also, multiple copies are output and the paper is wasted.

【0006】またイメージなどの膨大な量のデータをホ
スト装置から受信する場合、印刷が終了するまでに非常
に時間がかかる。このような場合に一度印刷が終了した
後に、同じ出力結果を得たい場合はもう一度同じデータ
を送信する必要があり、印刷に非常に時間がかかってし
まう。
When receiving a huge amount of data such as an image from a host device, it takes a very long time to finish printing. In such a case, after printing is completed once, if the same output result is desired, the same data needs to be transmitted again, and it takes a very long time to print.

【0007】本発明の目的は、一度印刷が終了したペー
ジバッファ内の画像データを外部からの再印刷要求によ
り再び印刷できるページプリンタ装置を提供することに
ある。
It is an object of the present invention to provide a page printer device capable of reprinting image data in a page buffer, which has been printed once, in response to an external reprint request.

【0008】[0008]

【課題を解決するための手段】本発明のページプリンタ
装置は、ホスト装置からの印刷データを画像データに変
換し、前記画像データ1ページ分を格納する容量を持っ
たメモリであるページバッファに記憶し、ページバッフ
ァ内の1ページ分の画像データをまとめて印刷するペー
ジプリンタ装置において、一度印刷が終了したページバ
ッファ内の画像データを初期化するかまたは装置内に保
存するかを判断する手段を持ち、さらに再印刷を可能と
する手段を有する。
A page printer apparatus according to the present invention converts print data from a host apparatus into image data and stores the image data in a page buffer which is a memory having a capacity for storing one page of the image data. Then, in a page printer device that collectively prints image data for one page in the page buffer, a means for determining whether to initialize the image data in the page buffer after printing once or save it in the device is provided. In addition, it has a means for enabling reprinting.

【0009】[0009]

【作用】ページプリンタ装置内蔵のコントローラは、コ
ントローラ全体を制御するCPU、ホスト装置からの印
刷データを一時的に格納するバッファメモリ、CPUが
バッファメモリ内のデータを取り出しプログラムROM
のプログラムに従って解析した画像データを展開書き込
むページバッファ等から構成されている。
The controller incorporated in the page printer device is a CPU that controls the entire controller, a buffer memory that temporarily stores print data from the host device, and a program ROM that the CPU takes out data from the buffer memory.
It is composed of a page buffer and the like for developing and writing the image data analyzed according to the program.

【0010】CPUは印刷要求を受けると、ページバッ
ファに書き込まれた1ページ分の画像データをまとめて
印刷を行う。その後で、バッファメモリに未処理データ
が残っていない時は、ページバッファ内の画像データは
そのまま残しておく。その後、このページバッファ内の
画像データは外部からの印刷要求によって、印刷が終了
したページを再び印刷することがきる。次に、バッファ
メモリに未処理データが残っている場合は、普通CPU
が次ページの1つ目のデータを解析する際に、ページバ
ッファの初期化を行う。
Upon receiving the print request, the CPU collectively prints the image data for one page written in the page buffer. After that, when no unprocessed data remains in the buffer memory, the image data in the page buffer is left as it is. After that, the image data in the page buffer can be printed again with a print-completed page by a print request from the outside. Next, if unprocessed data remains in the buffer memory, the normal CPU
Initializes the page buffer when analyzing the first data of the next page.

【0011】上述したように、既に印刷したページバッ
ファ内の画像データをプリンタ装置内に保存するかどう
かの判断を行う。
As described above, it is determined whether the image data in the already printed page buffer is stored in the printer device.

【0012】[0012]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0013】図1は本発明の一実施例を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

【0014】プリンタ装置1はホスト装置2から送られ
てくる制御コード、文字コード、図形データなどの印刷
データを画像データに変換して、ページバッファ7に書
き込み、1ページ分の画像データをまとめてプリンタエ
ンジン4に転送する動作を実施するコントローラ3を内
蔵している。
The printer device 1 converts print data such as control codes, character codes, and graphic data sent from the host device 2 into image data and writes the image data in the page buffer 7 to collectively collect image data for one page. The controller 3 which carries out the operation of transferring to the printer engine 4 is built in.

【0015】コントローラ3は、コントローラ全体を制
御するCPU5、バッファメモリ6、ページバッファ
7、プログラムROM8、ホストインタフェース9等で
構成されており、各部はバス10で接続されている。
The controller 3 comprises a CPU 5 for controlling the entire controller, a buffer memory 6, a page buffer 7, a program ROM 8, a host interface 9 and the like, and each unit is connected by a bus 10.

【0016】コントローラ3はホストインタフェース9
を介してホスト装置2から送られてくる制御コード、文
字コード、図形データなどの印刷データを受信し、バッ
ファメモリ6に一時的に格納する。
The controller 3 is a host interface 9
The print data such as the control code, the character code, and the graphic data sent from the host device 2 via the host device 2 is received and temporarily stored in the buffer memory 6.

【0017】CPU5はバッファメモリ6内のデータを
逐次取り出し、プログラムROM8に記憶したプログラ
ムに従って解析して、ページバッファ7上に画像データ
を展開し、書き込む。
The CPU 5 sequentially takes out the data in the buffer memory 6, analyzes it according to the program stored in the program ROM 8, develops the image data on the page buffer 7, and writes it.

【0018】CPU5はバッファメモリ6からのデータ
解析した結果、排出命令を検出して処理中のページを印
刷することを判断すると、ページバッファ7上の1ペー
ジ分の画像データをプリンタエンジン4に転送し、印刷
を開始する。
As a result of analyzing the data from the buffer memory 6, the CPU 5 transfers the image data for one page in the page buffer 7 to the printer engine 4 when it detects the discharge instruction and determines to print the page being processed. And start printing.

【0019】次に図2に示す流れ図により、初めに、ペ
ージバッファ7が1ページ分の容量を持っている場合に
ついてその動作を説明する。
Next, the operation of the case where the page buffer 7 has a capacity of one page will be described with reference to the flow chart shown in FIG.

【0020】CPU5は印刷要求を受けると、ページバ
ッファ7に展開された画像データをプリンタエンジン4
に送り印刷を行う。その後、バッファメモリ6に未処理
データが残っていないと判断する場合は、ページバッフ
ァ7内の画像データはそのまま残しておく。その後、こ
のページバッファ7内の画像データは外部からの再印刷
要求により、印刷が終了したページを再び印刷すること
ができる。再印刷要求の方法として、操作盤11におい
てユーザが指示する方法や制御コードによる方法などが
ある。操作盤11においてユーザが指示する方法につい
て説明する。ページプリンタ装置には複数のスイッチが
備わっていて、スイッチを利用したメニュー機能によ
り、プリンタ装置内部の印刷条件の設定を変更できる。
このメニュー機能の中に再印刷のモードを追加する。ユ
ーザはこのメニュー機能によって、用紙サイズの選択、
コピー枚数の設定などと同様に、簡単に再印刷のモード
の設定を行うことができる。さらに、再印刷の設定の下
層レベルにおいて、再印刷枚数の設定、初期化時間の設
定などをメニューで選択できる。初期化時間は通常の印
刷が終了してから、一定時間のうちに再印刷の要求がな
かったときには、自動的にページバッファ内を初期化す
る機能である。
When the CPU 5 receives the print request, the CPU 5 sends the image data expanded in the page buffer 7 to the printer engine 4.
Send to and print. After that, when it is determined that there is no unprocessed data remaining in the buffer memory 6, the image data in the page buffer 7 is left as it is. Thereafter, the image data in the page buffer 7 can be reprinted on the page for which printing has been completed in response to an external reprint request. As a method of requesting reprinting, there are a method instructed by the user on the operation panel 11 and a method using a control code. A method of instructing by the user on the operation panel 11 will be described. The page printer device is provided with a plurality of switches, and a menu function using the switches can change the setting of printing conditions inside the printer device.
A reprint mode is added to this menu function. This menu function allows the user to select paper size,
Similar to the setting of the number of copies, it is possible to easily set the reprint mode. Further, at the lower level of the reprint setting, the number of reprints, the initialization time, etc. can be selected from the menu. The initialization time is a function of automatically initializing the inside of the page buffer when there is no request for reprinting within a fixed time after the completion of normal printing.

【0021】バッファメモリ6に未処理データが残って
いる場合は、CPU5が次ページの1つめのデータを解
析する際に、ページバッファ7の初期化を行うものとす
る。ただし、解析した制御コードが再印刷命令のとき
は、ページバッファ7の初期化は行わない。
When unprocessed data remains in the buffer memory 6, the page buffer 7 is initialized when the CPU 5 analyzes the first data of the next page. However, when the analyzed control code is a reprint command, the page buffer 7 is not initialized.

【0022】ページバッファ7に画像データが残ってい
て、再印刷を行う必要がないときは、ページバッファ7
を初期化することができる。初期化の方法としては、操
作盤でのユーザによる初期化、制御コードによる初期
化、ホスト装置からの次データの受信などがある。
When the image data remains in the page buffer 7 and it is not necessary to reprint it, the page buffer 7
Can be initialized. The initialization method includes initialization by the user on the operation panel, initialization by the control code, reception of the next data from the host device, and the like.

【0023】次に、プリンタ装置1がページバッファ7
として複数ページ分用意している場合について図3を用
いて説明する。図3はページプリンたタ装置1が複数ペ
ージ分に相当する容量のページバッファ7を持っている
場合のモデル図である。
Next, the printer device 1 makes the page buffer 7
A case where a plurality of pages are prepared will be described with reference to FIG. FIG. 3 is a model diagram when the page printing apparatus 1 has a page buffer 7 having a capacity corresponding to a plurality of pages.

【0024】ページバッファ7は内部にページ管理テー
ブルを持っている。ページ管理テーブルは1ページ分の
容量のメモリに対して1つずつ存在していて、その構成
はページ情報および先頭アドレスから成る。ページ情報
は、そのページバッファが何ページ目であるかの情報で
ある。ページ情報の値が0の場合は、対応するページバ
ッファ内の画像データが初期化されていることを意味す
る。先頭アドレスは、ページバッファ7メモリ空間上で
そのページがどのアドレスから始まるかを示す情報であ
る。現在ページプリンタ装置1内部で設定されている用
紙サイズの1ページ分のメモリ容量に応じて、あらかじ
め各ページの先頭アドレスを求め、ページ管理テーブル
に書き込む。
The page buffer 7 has a page management table inside. One page management table exists for each memory having a capacity of one page, and the configuration thereof includes page information and a start address. The page information is information on what page the page buffer is. When the value of the page information is 0, it means that the image data in the corresponding page buffer has been initialized. The start address is information indicating from which address the page starts in the page buffer 7 memory space. The top address of each page is obtained in advance according to the memory capacity for one page of the paper size currently set in the page printer apparatus 1 and written in the page management table.

【0025】CPU5は、ページバッファ7上に画像デ
ータを展開する際、ページ管理テーブルのページ情報を
参照する。ページ情報の値が0のテーブルを見つけると
そのテーブルの先頭アドレスから始まるメモリ空間をペ
ージバッファとする。ページバッファ上に展開された画
像データは、そのページの印刷が終了しても初期化せ
ず、そのまま残しておく。
The CPU 5 refers to the page information in the page management table when developing the image data on the page buffer 7. When a table having a page information value of 0 is found, a memory space starting from the head address of the table is used as a page buffer. The image data expanded on the page buffer is not initialized even after the printing of the page is finished and is left as it is.

【0026】例えば、図3ではページバッファ7とし
て、nページ分のメモリ空間が存在する。ページプリン
タ装置1の電源を投入した状態では、すべてのページ管
理テーブル内のページ情報の値は0である。ホスト装置
2から印刷データを受信し、画像データに展開しページ
バッファ7に記憶するとき、nページ目まではP1から
Pnにページ情報を書き込み、画像データを保存してお
く。ホスト装置2からの印刷データがnページ以下のと
きは、すべてのページを再印刷することができる。再印
刷の方法は、ページバッファ7が1ページ分の容量用意
されている場合と同様である。ホスト装置2からのデー
タが(n+1)ページ以上の場合、CPU5はページ情
報をP1からPnまで順に調べ、0の値がないときはあ
る1ページを初期化して、新しいページバッファを確保
することができる。
For example, in FIG. 3, the page buffer 7 has a memory space for n pages. When the page printer device 1 is powered on, the page information values in all page management tables are zero. When print data is received from the host device 2, developed into image data and stored in the page buffer 7, page information is written from P1 to Pn and image data is stored up to the nth page. When the print data from the host device 2 is n pages or less, all pages can be reprinted. The method of reprinting is the same as when the page buffer 7 has a capacity for one page. When the data from the host device 2 is (n + 1) pages or more, the CPU 5 sequentially checks the page information from P1 to Pn, and when there is no value of 0, initializes one page and secures a new page buffer. it can.

【0027】バッファメモリ6に未処理データが残って
いない状態では外部からの再印刷要求により再印刷が可
能である。ページバッファ7に複数ページ分のデータが
あるとき、ユーザはメニュー方式により、すべてのペー
ジを再印刷するか、指定ページだけを再印刷するかの選
択ができる。CPU5は再印刷を行うページと同じ値を
ページ情報P1〜Pnから探し、対応する先頭アドレス
Piを求める。そしてPiから始まる画像データ1ペー
ジ分をプリンタエンジン4に転送する。
When no unprocessed data remains in the buffer memory 6, reprinting can be performed by an external reprinting request. When the page buffer 7 has data for a plurality of pages, the user can select whether to reprint all pages or only the designated page by a menu method. The CPU 5 searches the page information P1 to Pn for the same value as the page to be reprinted, and obtains the corresponding start address Pi. Then, one page of image data starting from Pi is transferred to the printer engine 4.

【0028】ページバッファ7のメモリ容量の大きさ
は、RAM等の外部メモリをどのくらいページプリンタ
装置1に内蔵するかで変化するが、コントーラ3はペー
ジバッファ7の容量を自動的に判別し、再印刷のモード
を選択する。
The size of the memory capacity of the page buffer 7 changes depending on how much external memory such as RAM is built into the page printer apparatus 1. However, the controller 3 automatically determines the capacity of the page buffer 7 and re-executes it. Select the print mode.

【0029】[0029]

【発明の効果】以上説明したように本発明のページプリ
ンタ装置は、印刷終了後、再印刷を簡単にしかも迅速に
行える効果がある。さらに印刷結果を確認しながら追加
出力を行えるので、無駄な出力がなくなる効果もある。
As described above, the page printer apparatus of the present invention has an effect that reprinting can be performed easily and quickly after printing is completed. Further, since additional output can be performed while checking the print result, there is an effect that wasteful output is eliminated.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】プリンタ制御の流れ図である。FIG. 2 is a flowchart of printer control.

【図3】ページバッファの一実施例を示すモデル図であ
る。
FIG. 3 is a model diagram showing an embodiment of a page buffer.

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

1 ページプリンタ装置 2 ホスト装置 3 コントローラ 4 プリンタエンジン 5 CPU 6 バッファメモリ 7 ページバッファ 8 プログラムROM 9 ホストインタフェース 10 バス P1〜Pn ページ情報 ad1〜adn 先頭アドレス 71〜7n メモリ空間 1 page printer device 2 host device 3 controller 4 printer engine 5 CPU 6 buffer memory 7 page buffer 8 program ROM 9 host interface 10 bus P1 to Pn page information ad1 to adn start address 71 to 7n memory space

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置からの印刷データを画像デー
タに変換する手段と、前記画像データを画像データ1ぺ
ージ分を格納する容量を持ったメモリであるページバッ
ファに記憶する手段と、ページバッファ内の1ページ分
の画像データをまとめて印刷する手段とを有するページ
プリンタ装置において、一度印刷が終了したページバッ
ファ内の画像データを初期化するかまたはプリンタ装置
内に保存するかを判断する手段を持ち、さらに再印刷を
可能とする手段を有することを特徴とするページプリン
タ装置。
1. A means for converting print data from a host device into image data, a means for storing the image data in a page buffer which is a memory having a capacity for storing one page of image data, and a page buffer. In a page printer apparatus having a unit for collectively printing image data for one page in the unit, and a unit for determining whether to initialize the image data in the page buffer once printing is completed or save the image data in the printer apparatus. And a means for enabling reprinting, and a page printer device.
JP4011241A 1992-01-24 1992-01-24 Page printer device Pending JPH05201075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4011241A JPH05201075A (en) 1992-01-24 1992-01-24 Page printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4011241A JPH05201075A (en) 1992-01-24 1992-01-24 Page printer device

Publications (1)

Publication Number Publication Date
JPH05201075A true JPH05201075A (en) 1993-08-10

Family

ID=11772443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4011241A Pending JPH05201075A (en) 1992-01-24 1992-01-24 Page printer device

Country Status (1)

Country Link
JP (1) JPH05201075A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09104138A (en) * 1995-10-12 1997-04-22 Ricoh Co Ltd Image forming apparatus
US5923013A (en) * 1996-05-09 1999-07-13 Fuji Xerox Co., Ltd. Print control system and method for controlling the system in page by page basis
JP2008130085A (en) * 2006-11-22 2008-06-05 Sharp Corp Print controller, method for managing buffer allocation, logic, and image forming apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09104138A (en) * 1995-10-12 1997-04-22 Ricoh Co Ltd Image forming apparatus
US5923013A (en) * 1996-05-09 1999-07-13 Fuji Xerox Co., Ltd. Print control system and method for controlling the system in page by page basis
JP2008130085A (en) * 2006-11-22 2008-06-05 Sharp Corp Print controller, method for managing buffer allocation, logic, and image forming apparatus
US8085426B2 (en) 2006-11-22 2011-12-27 Sharp Laboratories Of America, Inc. Intelligent page buffer allocation

Similar Documents

Publication Publication Date Title
JP2615137B2 (en) Printing device
JPH05201075A (en) Page printer device
JPH06286229A (en) Printer
JP2003177905A (en) Unit and system for information processing, print control method, storage medium, and program
JPH0930079A (en) Printing device
JP2000177186A (en) Device and method for controlling printer
JP3197616B2 (en) Printer control method, printer control device, printer control system, information processing device, and data registration method
JPH0584986A (en) Image forming device
JPH0691979A (en) Method of processing form data in image forming apparatus
JP3128385B2 (en) Printer
JPH05150915A (en) Image forming device
JPH01208141A (en) Printing control apparatus
JP2922676B2 (en) Image forming device
JP3046478B2 (en) Printing apparatus and printing method
JPH05212916A (en) Printer device
JP3176239B2 (en) Printing apparatus and printing method
JPH07144444A (en) Communication controller
JP2003256154A (en) Image output system
JPH06183074A (en) Character processing device
JP2001253124A (en) Printer controller
JP2000207151A (en) Computer-readable recording medium recording printer driver program, device and method for controlling printer
JPH0971012A (en) Device and method for processing image
JPH07276719A (en) Font data-reading device
JPH0361562A (en) Printer
JPH08292851A (en) Printer device