JPH02235772A - Printing system - Google Patents
Printing systemInfo
- Publication number
- JPH02235772A JPH02235772A JP5868889A JP5868889A JPH02235772A JP H02235772 A JPH02235772 A JP H02235772A JP 5868889 A JP5868889 A JP 5868889A JP 5868889 A JP5868889 A JP 5868889A JP H02235772 A JPH02235772 A JP H02235772A
- Authority
- JP
- Japan
- Prior art keywords
- flag
- frame memory
- area
- raster
- printing
- 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
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
- Laser Beam Printer (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、ページプリンタ等の印字制御装置に関し、特
にラスタオペレーション方式を用いた印刷システムにお
いて、異常印刷の検出と対策とを確実に行うことのでき
る技術に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a print control device such as a page printer, and particularly to a printing system using a raster operation method, in which abnormal printing can be reliably detected and countermeasures taken. Regarding the technology that can be used.
この種の技術について記載されている例としては、特開
昭57−162095号公報がある。An example of this type of technology described is Japanese Patent Application Laid-Open No. 162095/1983.
上記公報においては、レーザブビームプリンタ装置等の
ラスタオペレーション方式による印刷システムにおいて
、ラスタスキャンによるフレームメモリの読み出しの後
、同エリアの消し込み、およびフレームエリアの消し込
みを並行処理することによって、効率化を図る技術が開
示されている。In the above publication, in a printing system using a raster operation method such as a laser beam printer, after reading a frame memory by raster scanning, erasing the same area and erasing the frame area are processed in parallel to improve efficiency. A technology has been disclosed to achieve this goal.
ところが、上記技術においては、ラスタスキャンの際の
外来ノイズ等の影響によりスキャンタイミングとメモリ
アクセスとの同期がとれなくなる場合があり、これが原
因となって、メモリに対するアクセスが不完全なままの
状態で終了する可能性がある。この場合には、見かけ上
アクセスが完了していても、消し込みが不完全な状態の
まま残存していることがあり、異常印刷となる場合があ
った。However, with the above technology, the scan timing and memory access may not be synchronized due to the influence of external noise during raster scanning, and this causes incomplete access to the memory. There is a possibility of termination. In this case, even if the access appears to be complete, erasing may remain incomplete, resulting in abnormal printing.
また、上記のスキャンタイミングとメモリアクセスの不
一致による暴走を生じる場合もあり、エリアオーバーに
よるエリア外の消し込みを生じてしまい異常印刷が複数
ページにわたって発生する可能性があった。In addition, runaway may occur due to the mismatch between the scan timing and memory access, and there is a possibility that areas outside the area may be erased due to area overflow, resulting in abnormal printing over multiple pages.
なお、上記課題を解決するために、フレームメモリのラ
スタスキャンに使用するアドレスカウンタの値を参照し
てこの値によってラスタスキャンの正常終了を判定する
ことも考えられるが、係る方式ではラスタスキャンの完
了の有無のみを判定できるにとどまり、スキャン過程で
の異常発生は検出できなかった。In order to solve the above problem, it may be possible to refer to the value of the address counter used for raster scanning of the frame memory and use this value to determine whether the raster scan has completed normally. It was only possible to determine the presence or absence of a problem, and it was not possible to detect any abnormalities that occurred during the scanning process.
本発明は、上記課題に着目してなされたものであり、そ
の目的は、ラスタスキャンによるメモリエリアの消し込
みを確実に行うと共に、暴走による複数ページにわたる
異常印刷を防止することにある。The present invention has been made in view of the above-mentioned problems, and its purpose is to ensure erasing of a memory area by raster scanning and to prevent abnormal printing over multiple pages due to runaway.
本発明の上記ならびにその他の目的と新規な特徴は、本
明細書の記述および添付図面から明らかになるであろう
。The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.
本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば、概ね次のとおりである。A brief overview of typical inventions disclosed in this application is as follows.
すなわち、印字パターンをビットパターンデータとして
格納するフレームメモリを備えており、上記メモリ上の
一部の領域をフラグ領域として設定し、該フレームメモ
リのラスタスキャンに同期して上記フラグ領域のフラグ
値を書き換えるものである。That is, it is equipped with a frame memory that stores the print pattern as bit pattern data, sets a part of the memory as a flag area, and sets the flag value of the flag area in synchronization with the raster scan of the frame memory. It is something to be rewritten.
上記した手段によれば、フレームメモリ上に設定された
フラグ領域は、印刷データと同様に扱われるため、該フ
レームメモリ上のラスタスキャンに同期してフラグの消
し込み(更新)が行われる。According to the above-described means, since the flag area set on the frame memory is handled in the same way as print data, the flag is erased (updated) in synchronization with the raster scan on the frame memory.
したがって、ラスタスキャン後に上記フラグ値を参照す
ることによって、ラスタスキャンが正常に完了したか否
かの確実な判定が可能となる。Therefore, by referring to the flag value after the raster scan, it is possible to reliably determine whether the raster scan has been completed normally.
また、フラグの設定位置によってラスタ単位あるいはペ
ージ単位でのラスタスキャンにおける途中経過時におけ
る異常検出も可能となるため、消し込み不良による印刷
異常あるいはスキャンの暴走による複数ページにわたる
印刷不良を未然に防止することが出来る。Furthermore, depending on the setting position of the flag, it is possible to detect abnormalities in the middle of raster scanning in raster units or page units, which prevents printing abnormalities due to erase errors or printing defects over multiple pages due to runaway scanning. I can do it.
C実施例〕
第1図は、本発明の一実施例である印刷装置のシステム
構成を示すブロック図、第2図は本実施例のフレームメ
モリにおけるアドレス構成の概略を示す説明図、第3図
は本実施例のフレームメモリにおけるラスタスキャンの
手順を示すフロー図である。Embodiment C] FIG. 1 is a block diagram showing the system configuration of a printing apparatus that is an embodiment of the present invention, FIG. 2 is an explanatory diagram showing an outline of the address structure in the frame memory of this embodiment, and FIG. 3 FIG. 2 is a flow diagram showing a raster scan procedure in the frame memory of this embodiment.
本システムは第1図に示すように、プロセッサ部1を中
心としてバス2で接続される外部インターフヱイス部3
、コードバッファ4、フレームメモリ5、およびラスタ
スキャンコントロール部6とで構成されている。As shown in FIG. 1, this system consists of a processor unit 1 and an external interface unit 3 connected via a bus 2.
, a code buffer 4, a frame memory 5, and a raster scan control section 6.
プロセッサ部1は本システムの総合的な制御を行い、ラ
スタスキャンコントロール部6はラスタスキャン処理に
おける制御を行う。The processor section 1 performs overall control of this system, and the raster scan control section 6 performs control in raster scan processing.
バス2を通じてプロセッサ部1と接続された外部インタ
ーフェイス部3は、オフィスプロセッサあるいはワーク
ステーションシステム等の外部機器7より受け取った印
刷データをバス2を通じてコードバッファ4に蓄える。An external interface section 3 connected to the processor section 1 through the bus 2 stores print data received from an external device 7 such as an office processor or a workstation system into a code buffer 4 through the bus 2 .
上記プロセッサ部1は、システムの状態にあわせて上記
コードバッファ4の印刷データをバス2を通じて読み出
してこれを解析し、対応するビットイメージを生成して
印刷ドットに対応するON/OFF情報を蓄えるフレー
ムメモリ5に設定する。このような処理を繰り返して、
プロセッサ部1は、フレームメモリ5上の印刷データエ
リア10に印刷装置8の一起動単位(例えば1ページ単
位)のドットイメージ像を完成させる。The processor section 1 reads the print data from the code buffer 4 through the bus 2 according to the system state, analyzes it, generates a corresponding bit image, and frames a frame for storing ON/OFF information corresponding to the print dots. Set in memory 5. Repeating this process,
The processor unit 1 completes a dot image in the print data area 10 on the frame memory 5 for one activation unit (for example, one page unit) of the printing device 8.
上記フレームメモリ5上でのデータエリアの構成は第2
図に示すとおりであり、0〜n+l迄のワード列と、0
〜m+1迄のラスタ行とで構成されている。同図におい
て、最終ワード列n+l及び最終ラスタ行m+lはフラ
グエリア〈便宜上、第1のフラグエリア11及び第2の
フラグエリア12とする)として設定されている。The structure of the data area on the frame memory 5 is as follows.
As shown in the figure, the word string from 0 to n+l and 0
It consists of raster rows up to m+1. In the figure, the final word column n+l and the final raster row m+l are set as flag areas (for convenience, they are referred to as a first flag area 11 and a second flag area 12).
上記プロセッサ部lは、フレームメモリ5の印刷データ
エリア10へのドットイメージデータの書き込み(描画
:第3図のステップ31》に際して、各ラスタ印刷デー
タエリア10の後に設けられている上記第1のフラグエ
リア11における第0ラスタから第mラスタまでのフラ
グ値を(FFh)(hは16進表記を示す)に書き換え
ると共に印刷データエリア10の次のラスタに該当する
m+l行の第2のフラグエリア12の値も(FFh)に
書き換える(ステップ32)。なお、本実施例では書き
込まれるフラグ値は便宜上(FFh)としたが、もちろ
ん他の値であっても構わない。When writing dot image data (drawing: step 31 in FIG. 3) to the print data area 10 of the frame memory 5, the processor unit l writes the first flag provided after each raster print data area 10. The flag values from the 0th raster to the mth raster in the area 11 are rewritten to (FFh) (h indicates hexadecimal notation), and the second flag area 12 of the m+l line corresponding to the next raster of the print data area 10 is The value of is also rewritten to (FFh) (step 32).In this embodiment, the flag value to be written is set to (FFh) for convenience, but of course it may be any other value.
以上のようなフレームメモリ5へのアクセスによって、
第1及び第2のフラグエリア12におけるフラグ値は全
て(FFh)となる。By accessing the frame memory 5 as described above,
All flag values in the first and second flag areas 12 are (FFh).
上記の処理を終了した後、プロセッサ部lはラスタスキ
ャンを開始する(ステップ33》。このラスタスキャン
タイミングに同期させて、ラスタ番号0〜mまでの各ラ
スタ毎にフレームメモリ5の印刷データをバス2を通じ
て読み出した後、該印刷データを印刷装置8に対して出
力する。このとき、本実施例では上記プロセッサ部1は
フレームメモリ5における印刷データの読み出しに際し
て、読み出したエリアに(00h)を書き込み印刷デー
タエリア10のクリアを行う。このようなデータエリア
への(0 0 h)の書き込みと同時に、第1のフラグ
エリア11へのアクセス時には該当フラグ値を(0 0
h)に更新する。After completing the above processing, the processor unit l starts raster scanning (step 33).Synchronizing with this raster scanning timing, the print data of the frame memory 5 is transferred to the bus for each raster from raster numbers 0 to m. 2, the print data is output to the printing device 8. At this time, in this embodiment, the processor section 1 writes (00h) in the read area when reading the print data in the frame memory 5. The print data area 10 is cleared.At the same time as writing (0 0 h) to the data area, when accessing the first flag area 11, the corresponding flag value is set to (0 0 h).
h).
上記で書き込まれたフラグ値(O O h)は、ラスタ
スキャンの完了時(ステップ34)においてプロセッサ
部1によって読み出されその値がチェックされる。この
ときプロセッサ部1は、上記フレームメモリ5上におけ
る第1のフラグエリア11をすべて読み出して各フラグ
値が(O O h)であるか否かをチェックする(ステ
ップ35)。The flag value (O O h) written above is read out by the processor section 1 at the completion of the raster scan (step 34), and its value is checked. At this time, the processor unit 1 reads out all the first flag areas 11 on the frame memory 5 and checks whether each flag value is (O O h) (step 35).
続いて、上記第1のフラグエリアl1のチェックが完了
した後、プロセッサ部1は引き続いて第2のフ゜ラグエ
リアl2をチェックする(ステップ36)。このとき、
前述のラスタスキャンは0〜m行の間で実行されている
ため、ラスタスキャンの行われていないm+1行、すな
わち第2のフラグエリアl2の値は(FFII)のまま
となっていなければならない。上記ステップ35及び3
6のチェックの結果、全てに異常の検出されなかった場
合は、プロセッサ部lは正常終了を判断する(ステップ
38)。一方、ステップ35のチエ”)クは正常だった
が、ステップ36のチェックにおいて異常が検出された
場合、すなわち第2のフラグエリアl2の何れかのフラ
グ値が(FFh)以外の値となっていた場合には、プロ
セッサ部1は異常林了lと判断する。このような異常終
了lの場合には、上記のスキャンタイミングとメモリア
クセスの不一致による暴走を生じており、エリアオーバ
ーによるエリア外の消し込みを生じている場合であるた
め、そのまま印刷装置8への出力を開始すると、異常印
刷が複数ページにわたって発生する可能性がある。Subsequently, after the checking of the first flag area l1 is completed, the processor section 1 subsequently checks the second flag area l2 (step 36). At this time,
Since the aforementioned raster scan is performed between rows 0 to m, the value of the m+1 row on which raster scan has not been performed, that is, the second flag area l2, must remain (FFII). Steps 35 and 3 above
If no abnormality is detected as a result of the check in step 6, the processor unit 1 determines that the process has ended normally (step 38). On the other hand, if the check in step 35 is normal, but an abnormality is detected in the check in step 36, that is, if any flag value in the second flag area l2 is a value other than (FFh). In this case, the processor unit 1 determines that an abnormal termination has occurred.In the case of such an abnormal termination, a runaway has occurred due to the mismatch between the scan timing and memory access, and the data outside the area due to an area overflow has occurred. Since this is a case where erasing has occurred, if output to the printing device 8 is started as is, abnormal printing may occur over multiple pages.
一方、前述のステップ35の段階で異常が検出された場
合には、ステップ37においてさらに第2のフラグエリ
ア12の値がチェックされた後、プロセッサ部1によっ
て異常緒了2が判断される。On the other hand, if an abnormality is detected at the step 35 described above, the value of the second flag area 12 is further checked at step 37, and then the processor unit 1 determines that the abnormality has started 2.
このような異常終了2の場合には、印刷データエリア1
0の消し込み(クリア)が不完全な場合であり、次の印
刷データにおける印刷イメージを破壊する恐れがある。In the case of abnormal termination 2 like this, print data area 1
This is a case where erasure (clearing) of 0 is incomplete, and there is a possibility that the print image in the next print data will be destroyed.
上記異常印刷1もしくは2が判断された場合にハ、フロ
セッサB1はラスタスキャンコントロール!illS6
に対して書き込み可能な印刷データエリアlO内の全て
のデータを回復する指示を行い、印刷データエリア10
の内容を一旦クリアしく(0Oh)の書き込みを行う)
、再度コードバッファ4から印刷データを読み込んでフ
レームメモリ5上に印刷ドットイメージを完成させ、第
1及び第2のフラグエリア12のフラグ値を再設定した
後、ラスタスキャンを再起動するなどの異常回復処理を
実行する。If abnormal printing 1 or 2 is determined above, Flosser B1 is under raster scan control! illS6
An instruction is given to recover all data in the print data area IO that can be written to the print data area 10.
Clear the contents once (write 0Oh))
, Abnormalities such as restarting the raster scan after reading the print data from the code buffer 4 again to complete the print dot image on the frame memory 5 and resetting the flag values in the first and second flag areas 12. Execute recovery processing.
なお、以上の実施例の説明では、第1のフラグエリア1
1及び第2のフラグエリア12の全てをチェックする場
合について説明したが、フラグエリアの配置に関しては
、m+1行.n+1列の位置に第3のフラグエリア13
を設けてこれを上記第2のフラグエリア12と同様にチ
ェックするようにしてもよい。要はフレームメモリ5の
印刷データエリア10の一部をフラグエリアとして設定
できれば良い。In addition, in the above description of the embodiment, the first flag area 1
The case where all of the first and second flag areas 12 are checked has been described, but regarding the arrangement of the flag areas, the first and second flag areas 12 are checked. Third flag area 13 at the position of column n+1
It is also possible to provide a flag area and check this in the same way as the second flag area 12 described above. In short, it is sufficient if a part of the print data area 10 of the frame memory 5 can be set as a flag area.
以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は上記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that the present invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor.
本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば、下記のとおりであ
る。A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows.
すなわち、フレームメモリ上の一部の領域をフラグ領域
として設定し、該フレームメモリのラスタスキャンに同
期して上記フラグ領域のフラグ値を書き換えることによ
って、フレームメモリ上のラスタスキャンに同期してフ
ラグの消し込み(更新)が行われ、ラスタスキャン後に
上記フラグ値を参照することによって、ラスタスキャン
が正常に完了したか否かの確実な判定が可能となる。That is, by setting a part of the area on the frame memory as a flag area and rewriting the flag value in the flag area in synchronization with the raster scan of the frame memory, the flag value can be set in synchronization with the raster scan of the frame memory. By erasing (updating) and referring to the flag value after the raster scan, it is possible to reliably determine whether the raster scan has been completed normally.
第1図は本発明の一実施例である印刷装置のシステム構
成を示すブロック図、
第2図は本実施例のフレームメモリにおけるアドレス構
成の概略を示す説明図、
第3図は本実施例のフレームメモリにおけるラスタスキ
ャンの手順を示すフロー図である。
1・・・プロセッサ部、2・・・バス、3・・・外部イ
ンターフェイス部、4・・・コードバッファ、5・・・
フレームメモリ、6・・・ラスタスキャンコントロール
I、7・・・外In器、8・・・印刷装置、10・・・
印刷データエリア、11・・・第1のフラグエリア、1
2・・・第2のフラグエリア、13・・・第3のフラグ
エリア、31・・・ステップ、32・・・ステップ、3
3・・・ステップ、34・・・ステップ、35・・・ス
テップ、36・・・ステップ、37・・・ステップ、3
8・・・ステップ。
代理人 弁理士 筒 井 大 和FIG. 1 is a block diagram showing the system configuration of a printing apparatus that is an embodiment of the present invention. FIG. 2 is an explanatory diagram showing an outline of the address structure in the frame memory of this embodiment. FIG. 2 is a flow diagram showing a raster scan procedure in a frame memory. DESCRIPTION OF SYMBOLS 1... Processor section, 2... Bus, 3... External interface section, 4... Code buffer, 5...
Frame memory, 6... Raster scan control I, 7... External input device, 8... Printing device, 10...
Print data area, 11...first flag area, 1
2...Second flag area, 13...Third flag area, 31...Step, 32...Step, 3
3...step, 34...step, 35...step, 36...step, 37...step, 3
8...Step. Agent Patent Attorney Daiwa Tsutsui
Claims (1)
るフレームメモリを備えており、上記フレームメモリ上
の一部の領域をフラグ領域として設定し、該フレームメ
モリのラスタスキャンに同期して上記フラグ領域のフラ
グ値を書き換えることを特徴とする印刷方式。 2、上記フラグ領域は、フレームメモリのページ毎の最
終ラスタに設定されており、該フラグを参照することに
よって該ページ全体のスキャンニングの有無の判定を可
能としたことを特徴とする請求項1記載の印刷方式。 3、上記フラグ領域は、フレームメモリのページ内にお
ける全ラスタに各々設定されており、ラスタスキャン時
に単位スキャン毎にスキャンニングの有無の判定を可能
としたことを特徴とする請求項1記載の印刷方式。 4、上記フラグ領域は、フレームメモリの最終ラスタに
続く位置に設定されており、ラスタスキャン時に該当ペ
ージを越えたスキャンニングの有無の判定を可能とした
ことを特徴とする請求項1記載の印刷方式。[Claims] 1. A frame memory is provided for storing the print pattern as bit pattern data, and a part of the area on the frame memory is set as a flag area, and the data is scanned in synchronization with the raster scan of the frame memory. A printing method characterized by rewriting a flag value in the flag area. 2. The flag area is set in the final raster of each page of the frame memory, and by referring to the flag, it is possible to determine whether or not the entire page is scanned. Printing method described. 3. The printing according to claim 1, wherein the flag area is set for each of all rasters in a page of the frame memory, and it is possible to determine whether or not scanning is performed for each unit scan during raster scanning. method. 4. The printing apparatus according to claim 1, wherein the flag area is set at a position following the last raster of the frame memory, so that it is possible to determine whether scanning beyond the corresponding page is performed during raster scanning. method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5868889A JPH02235772A (en) | 1989-03-10 | 1989-03-10 | Printing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5868889A JPH02235772A (en) | 1989-03-10 | 1989-03-10 | Printing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02235772A true JPH02235772A (en) | 1990-09-18 |
Family
ID=13091489
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5868889A Pending JPH02235772A (en) | 1989-03-10 | 1989-03-10 | Printing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02235772A (en) |
-
1989
- 1989-03-10 JP JP5868889A patent/JPH02235772A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8365031B2 (en) | Soft error correction method, memory control apparatus and memory system | |
| JPH02235772A (en) | Printing system | |
| JP2908272B2 (en) | Information processing device | |
| JPH10124403A (en) | Writing method for block erase flash memory | |
| JPH1097471A (en) | Error correction method and error correction method for memory data | |
| JP3178914B2 (en) | Semiconductor file device | |
| JPH06131895A (en) | Semiconductor memory chip | |
| JPH06131888A (en) | Semiconductor filing device | |
| JPH05158804A (en) | RAM check method | |
| JPH02188835A (en) | Checking system for file write data | |
| JP2937890B2 (en) | EEPROM initialization method | |
| JPH10247157A (en) | Transaction processing system and its recovery method | |
| JPS63271555A (en) | Storage control system | |
| JPS63282830A (en) | Character processor | |
| JPS58107589A (en) | Screen clearing system for display unit | |
| JPH04165582A (en) | Ocr device | |
| JPH03290745A (en) | Memory error detecting/correcting method | |
| JPH04160545A (en) | Memory soft error relieving system | |
| JPH03157744A (en) | Error correction rewrite system | |
| JPH08263387A (en) | Memory device | |
| JPS60114949A (en) | Storage device | |
| JPS63302053A (en) | Image data developing system in band buffer | |
| JPH04324551A (en) | Memory circuit | |
| JPH05257500A (en) | Voice data control system | |
| JPH01311498A (en) | Method for rewriting non-volatile read-only memory |