JPH0421148Y2 - - Google Patents

Info

Publication number
JPH0421148Y2
JPH0421148Y2 JP1987074241U JP7424187U JPH0421148Y2 JP H0421148 Y2 JPH0421148 Y2 JP H0421148Y2 JP 1987074241 U JP1987074241 U JP 1987074241U JP 7424187 U JP7424187 U JP 7424187U JP H0421148 Y2 JPH0421148 Y2 JP H0421148Y2
Authority
JP
Japan
Prior art keywords
data
dot pattern
frame memory
pattern data
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.)
Expired
Application number
JP1987074241U
Other languages
Japanese (ja)
Other versions
JPS63183630U (en
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 filed Critical
Priority to JP1987074241U priority Critical patent/JPH0421148Y2/ja
Publication of JPS63183630U publication Critical patent/JPS63183630U/ja
Application granted granted Critical
Publication of JPH0421148Y2 publication Critical patent/JPH0421148Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【考案の詳細な説明】 〔考案の技術分野〕 本考案は、ホストコンピユータ等から送られて
来る印字データを用紙に印字するプリンタに係
り、特に上記データの誤り等を確認する際に用い
られるプリンタ制御装置に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a printer that prints print data sent from a host computer etc. on paper, and in particular to a printer used to check for errors in the above data. This relates to a control device.

〔従来技術〕[Prior art]

ページプリンタは、例えばホストコンピユータ
から送られた印字データをドツトパターンデータ
に変換し、このドツトパターンデータを少なくと
も印字用紙1頁分の記憶容量を有するフレームメ
モリ(バツフアメモリ)に書込み、その後フレー
ムメモリから所定ドツト毎にドツトパターンデー
タを読出して印字を行う装置である。
A page printer, for example, converts print data sent from a host computer into dot pattern data, writes this dot pattern data into a frame memory (buffer memory) that has a storage capacity of at least one page of printing paper, and then converts the print data from the frame memory into a predetermined amount. This is a device that reads dot pattern data for each dot and performs printing.

この様なプリンタにおいて、オペレータはホス
トコンピユータから送信されるデータに誤りがあ
るか、又はホストコンピユータを利用してプログ
ラム等の作成を行う場合、作成されたプログラム
に誤りがないか等を確認したい場合がある。従
来、この様なデータの確認を所望する場合には、
確認したいデータをプリンタへ送信し、プリンタ
内のフレームメモリに書込み、フレームメモリに
書込まれたドツトパターンデータを用紙に印字
し、用紙に印字されたデータを目視することによ
り、データの確認を行つている。
For such printers, when the operator wants to check whether there are any errors in the data sent from the host computer, or if the host computer is used to create a program, etc., the operator wants to check whether there are any errors in the created program. There is. Conventionally, when you wish to check such data,
Confirm the data by sending the data you want to confirm to the printer, writing it to the frame memory in the printer, printing the dot pattern data written in the frame memory on paper, and visually checking the data printed on the paper. It's on.

〔従来技術の問題点〕[Problems with conventional technology]

上述のような従来のプリンタの制御によれば、
印字された用紙を目視することにより、データの
誤りを容易に確認できるが、フレームメモリから
データを読出し印字すると、フレームメモリ内の
データはクリアされてしまう。更に、従来のプリ
ンタ制御装置は、フレームメモリ内の印字データ
の印字出力動作を行うとフレームメモリの書込み
又は読出し位置を指示するポインタも初期位置へ
リセツトしてしまう。
According to the conventional printer control as described above,
Data errors can be easily confirmed by visually observing the printed paper, but when data is read from the frame memory and printed, the data in the frame memory is cleared. Furthermore, when the conventional printer control device performs a printout operation of print data in the frame memory, the pointer indicating the writing or reading position of the frame memory is also reset to the initial position.

このため、従来のプリンタではプログラムデー
タ作成途中で、用紙1頁に未たないデータを印字
出力させ、その後そのデータに継続するデータを
追加して印字させたい場合フレームメモリに書込
まれているデータを印字出力させてしまうと、フ
レームメモリのデータはクリアされてしまうの
で、今出力した同一データを再度初めからプリン
タへ送信しなおしフレームメモリへを書込まなけ
ればならなかつた。すなわち、フレームメモリの
記憶領域に書込んだドツトパターンデータを読出
して印字させデータの確認を行つた後、続けてフ
レームメモリの残りの領域へ継続する新しいデー
タを書込むことはできなかつた。
For this reason, with conventional printers, when creating program data, if you want to print out data that does not fit on one page of paper, and then add and print continuing data to that data, the data written in the frame memory If you print out the data, the data in the frame memory will be cleared, so you will have to send the same data you just output to the printer again from the beginning and write it into the frame memory. That is, after reading and printing the dot pattern data written in the storage area of the frame memory and confirming the data, it is not possible to continue writing new data into the remaining area of the frame memory.

一方、フレームメモリにドツトパターンデータ
が展開されている状態で万が一ホストコンピユー
タを含む制御装置に不測の事態が生じ、プログラ
ムが暴走して制御不能状態になつた場合には、制
御装置をリセツトしなくてはならず、このために
それまで、フレームメモリに書込まれたデータも
リセツトされ、データを確認することも出来なか
つた。
On the other hand, if an unexpected situation occurs in the control device including the host computer and the program goes out of control while the dot pattern data is expanded in the frame memory, do not reset the control device. Therefore, the data previously written to the frame memory was also reset, making it impossible to confirm the data.

〔考案の目的〕[Purpose of invention]

本考案は、上記従来の欠点に鑑み、フレームメ
モリ内のデータをクリアすることなくかつその時
の印字条件を変化させずに印字動作を行わせデー
タの確認を行うことにより、再度同じデータをフ
レームメモリに書込む処理をなくし、かつプログ
ラムが暴走した場合でもフレームメモリ内に書込
まれたデータの確認を行うことを可能とするプリ
ンタ制御装置を提供することを目的とする。
In view of the above-mentioned drawbacks of the conventional technology, the present invention is designed to re-write the same data to the frame memory by performing a printing operation and checking the data without clearing the data in the frame memory and without changing the printing conditions at that time. An object of the present invention is to provide a printer control device which eliminates the process of writing data into a frame memory and which makes it possible to confirm data written in a frame memory even if a program goes out of control.

〔考案の要点〕[Key points of the idea]

本考案は上記目的を達成するために、上位機器
から送信れる印字情報に対応して印字すべきドツ
トパターンデータを発生するドツトパターン生成
手段と、前記ドツトパターンデータを少なくとも
用紙1頁に印字出力する量記憶可能なフレームメ
モリと、用紙1頁毎の印字出力指令に応じて、前
記フレームメモリから対応する頁のドツトパター
ンデータを出力すると共に出力済のドツトパター
ンデータを消去する読み出し制御手段を有するプ
リンタ制御装置において、前記フレームメモリに
記憶されたドツトパターンデータが印字出力すべ
き用紙1頁分のドツトパターンデータに達しない
未完成状態で当該未完成のドツトパターンデータ
に基づく印字の開始を指示する指示手段と、前記
指示に応じて前記未完成のドツトパターンデータ
を前記フレームメモリから消去することなく出力
する確認用読み出し制御手段と、該確認用読み出
し制御手段の出力処理後前記ドツトパターン生成
手段の発生するドツトパターンデータを前記フレ
ームメモリ内に残留する前記未完成のドツトパタ
ーンデータに続けて書込む書込み制御手段と、前
記読み出し制御手段又は前記確認用読み出し制御
手段により出力されたドツトパターンデータに基
づき印字動作を実行する印字手段とを有すること
を特徴とする。
In order to achieve the above object, the present invention includes a dot pattern generating means that generates dot pattern data to be printed in response to print information transmitted from a host device, and a dot pattern generating means that prints out the dot pattern data on at least one page of paper. A printer having a frame memory capable of storing an amount of data, and a readout control means for outputting dot pattern data of a corresponding page from the frame memory and erasing the already output dot pattern data in response to a print output command for each page of paper. In the control device, an instruction to start printing based on the unfinished dot pattern data in an unfinished state where the dot pattern data stored in the frame memory does not reach the dot pattern data of one page of paper to be printed out. means, confirmation readout control means for outputting the incomplete dot pattern data without erasing it from the frame memory in response to the instruction, and generation of the dot pattern generation means after the output processing of the confirmation readout control means. writing control means for writing the dot pattern data to be printed subsequent to the unfinished dot pattern data remaining in the frame memory; and printing based on the dot pattern data output by the read control means or the confirmation read control means. It is characterized by having a printing means for executing the operation.

〔考案の実施例〕[Example of idea]

以下本考案の実施例について図面を参照しなが
ら詳述する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本考案に係るプリンタ制御装置を含む
システム構成図である。同図のシステムにおい
て、プリンタはインターフエイス部1、操作・表
示部2、印字部3で構成され、後述する第1図に
示すプリンタ制御部は本考案の要部であるインタ
ーフエイス部1の一部及び操作・表示部2の一
部、印字部3によつて構成されている。ホストコ
ンピユータ4はプリンタにより印字すべきデータ
を送出する装置であり、セントロニクス等の通信
線を介してインターフエイス部1と接続されてい
る。
FIG. 2 is a system configuration diagram including a printer control device according to the present invention. In the system shown in the figure, the printer is composed of an interface section 1, an operation/display section 2, and a printing section 3, and the printer control section shown in FIG. 2, a part of the operation/display section 2, and a printing section 3. The host computer 4 is a device that sends data to be printed by a printer, and is connected to the interface section 1 via a communication line such as Centronics.

インターフエイス部1はホストインターフエイ
ス(以下ホストI/Fで示す)5、読み出し制御
手段、確認用読み出し制御手段及び書込み制御手
段の一部を構成するコントローラ6、文字処理回
路7、キヤラクタジエネレータ(以下CGで示す)
8、バストランシーバ9、印字インターフエイス
(以下印字I/Fで示す)10、フレームメモリ
部11で構成されている。ホストI/F5は、上
述のホストコンピユータ4から出力される印字デ
ータ(文字コード)、各種コマンド、制御信号を
受信するためのインターフエイスである。コント
ローラ6は後述するCPU(中央処理部)、ROM
(リードオンリメモリ)、RAM(ランダムアクセ
スメモリ)等で構成され、ホストI/F5より上
述の文字コード、各種コマンド、制御信号が入力
すると共に操作・表示部2から後述するNMI信
号等が入力する。コントローラ6はROMに格納
されたプログラム及び上述の各種のコマンド、
NMI信号に従つて、インターフエイス部1全体
を制御する。
The interface unit 1 includes a host interface (hereinafter referred to as host I/F) 5, a controller 6 that constitutes part of a read control means, a confirmation read control means, and a write control means, a character processing circuit 7, and a character generator. (shown in CG below)
8, a bus transceiver 9, a printing interface (hereinafter referred to as printing I/F) 10, and a frame memory section 11. The host I/F 5 is an interface for receiving print data (character codes), various commands, and control signals output from the host computer 4 described above. The controller 6 includes a CPU (central processing unit) and ROM, which will be described later.
(read-only memory), RAM (random access memory), etc., and the above-mentioned character codes, various commands, and control signals are input from the host I/F 5, and NMI signals, etc., which will be described later, are input from the operation/display unit 2. . The controller 6 executes programs stored in the ROM and the various commands mentioned above.
The entire interface section 1 is controlled according to the NMI signal.

文字処理回路7は、コントローラ6を介して入
力する文字コードに従つて、CG8から対応する
ドツトパターンデータを読出し、例えば回転、拡
大等の処理を行う回路である。バストランシーバ
9は、コントローラ6から出力されるドツトパタ
ーンデータをコントローラ6の制御に従つて直接
フレームメモリ11へ書込み又は読出しを行う回
路である。
The character processing circuit 7 is a circuit that reads out corresponding dot pattern data from the CG 8 according to a character code input via the controller 6, and performs processing such as rotation and enlargement. The bus transceiver 9 is a circuit that directly writes or reads dot pattern data output from the controller 6 into or from the frame memory 11 under the control of the controller 6.

フレームメモリ部11は後述するフレームメモリ
制御回路、フレームメモリで構成され、印字すべ
き用紙に対応した記憶領域を有している。印字
I/F10は、フレームメモリ部11より読出さ
れたデータを印字部3へ出力するインターフエイ
スであり、コントローラ6により制御される。
The frame memory section 11 is composed of a frame memory control circuit and a frame memory, which will be described later, and has a storage area corresponding to the paper to be printed on. The printing I/F 10 is an interface that outputs data read from the frame memory section 11 to the printing section 3, and is controlled by the controller 6.

操作・表示部2は、プリンタへ各動作モードの
設定を行うためのスイツチや、オペレータにプリ
ンタの状態を知らせるための表示器等で構成され
ている。この操作・表示部2にはコントローラ6
(CPU)を後述するデータ確認モードへ移行する
ための指示手段としてのキー2aが配設されてい
る。
The operation/display section 2 includes switches for setting various operation modes of the printer, a display for informing the operator of the status of the printer, and the like. This operation/display section 2 has a controller 6.
A key 2a is provided as an instruction means for shifting the (CPU) to a data confirmation mode to be described later.

以上の様なシステムブロツク図に示す回路内に
は、第1図に示すプリンタ制御回路が含まれてい
る。第1図において、キー2aは上述の様に操
作・表示部2に設けられており、後述する様に
CPU12をデータ確認モードに移行する際オペ
レータが操作するキーである。また、CPU12、
DMA(ダイレクト・メモリ・アクセス)コント
ローラ13は、前述のコントローラ6内に配設さ
れており、CPU12は前述のコントローラ6の
プリンタ全体の処理制御を行う中心的役割を果た
す以外に、上述のキー2aからのNMI信号(以
下操作信号で示す)がCPU12のNMI(ノンマス
カブルインタラプト)端子へ入力すると、データ
確認モードを実行する割込みプログラムへ移行す
る。また、CPU12のデータ確認モードへの移
行は、CPU12がどの様な処理状態であつても
移行されるものである。例えば、CPU12の制
御がプログラム等の不良やノイズ等により暴走し
ている状態でも可能である。
The printer control circuit shown in FIG. 1 is included in the circuit shown in the system block diagram as described above. In FIG. 1, the key 2a is provided on the operation/display section 2 as described above, and as described below.
This is a key operated by the operator when shifting the CPU 12 to data confirmation mode. In addition, CPU12,
A DMA (direct memory access) controller 13 is disposed within the controller 6 described above, and the CPU 12 plays a central role in controlling the overall processing of the printer in the controller 6 described above. When an NMI signal (hereinafter referred to as an operation signal) is input to the NMI (non-maskable interrupt) terminal of the CPU 12, the process shifts to an interrupt program that executes a data confirmation mode. Furthermore, the CPU 12 is transferred to the data confirmation mode no matter what processing state the CPU 12 is in. For example, this is possible even when the control of the CPU 12 is out of control due to a defective program or noise.

CPU12はキー2aからの操作信号を受信す
ると、それまでの制御データを全て退避レジスタ
へ退避させて、DMAコントローラ13へ所定デ
ータを出力する。この所定データは、フレームメ
モリ部11を構成するフレームメモリ11bの転
送出力すべき領域のアドレスである。
When the CPU 12 receives the operation signal from the key 2a, it saves all the control data up to that point to the save register, and outputs predetermined data to the DMA controller 13. This predetermined data is the address of the area of the frame memory 11b constituting the frame memory section 11 to be transferred and output.

DMAコントローラ13は、CPU12により指
定された領域に従つてフレームメモリ11内のデ
ータを読出し、印字I/F10へ出力する読み出
し制御手段及び確認用読み出し制御手段の一部を
成す回路である。また、フレームメモリ部を構成
する書込み制御手段の一部としてのフレームメモ
リ制御回路11aはDMAコントローラ13のデ
ータ読出しに際してCPU12からの制御信号d
に応じてフレームメモリ11内のデータを読出し
た後、フレームメモリ11内にデータを保持して
おくかまたはクリアするかのデータ読出し動作の
設定制御を行う。
The DMA controller 13 is a circuit that constitutes part of a read control means and a confirmation read control means that reads data in the frame memory 11 according to an area specified by the CPU 12 and outputs it to the print I/F 10. Further, the frame memory control circuit 11a, which is part of the write control means constituting the frame memory section, receives a control signal d from the CPU 12 when reading data from the DMA controller 13.
After reading the data in the frame memory 11 in accordance with the data, the setting control of the data read operation is performed to determine whether the data is held in the frame memory 11 or cleared.

また、印字I/F10と印字部3の間にはデー
タ出力線以外に3本の制御線が設けられている。
印字部3へのデータの出力は、印字I/F10か
らの印字部3へのスタート信号a、印字部3から
印字I/F10へのHSYNC(水平同期)信号b、
VSYNC(垂直同期)信号cによつて制御される。
Moreover, three control lines are provided between the printing I/F 10 and the printing section 3 in addition to the data output line.
Data is output to the printing unit 3 using a start signal a from the printing I/F 10 to the printing unit 3, an HSYNC (horizontal synchronization) signal b from the printing unit 3 to the printing I/F 10,
Controlled by VSYNC (vertical synchronization) signal c.

以上の様な構成のプリンタ制御回路を含むプリ
ンタにおいて、その動作説明を以下に述べる。
The operation of the printer including the printer control circuit configured as described above will be described below.

通常ホストコンピユータ4から文字コード、及
び印字のための各種コマンド等がホストI/F5
を介してコントローラ6へ送出されると、CPU
12ではCPU12に接続された図示しないROM
内のプログラムに従つて、文字処理回路7、CG
8により文字コードに対応するドツトパターンデ
ータを読出し、CPU12により指示されるフレ
ームメモリ11b内の所定アドレスへ順次ドツト
パターンデータを書込む。また、フレームメモリ
11bの所定領域へデータが書込まれ、CPU1
2が印字動作指令を判別すると、CPU12はフ
レームメモリ11b内のドツトパターンデータを
印字I/F10を介して印字部3へ読出し、用紙
等へドツトパターンデータの印字を行う。フレー
ムメモリ11bからデータが印字3へ出力される
際、フレームメモリ制御回路へはCPU12から
制御信号dによりデータの読み出しと同時にデー
タがクリアされる読出し動作が設定されているた
め、フレームメモリ11b内のデータはクリアさ
れ、CPU12内のポインタのアドレスも初期値
へ移動する。この様にしてホストコンピユータ4
から送出される文字コードに対応するドツトパタ
ーンデータを用紙へ印字する。
Normally, character codes and various commands for printing are sent from the host computer 4 to the host I/F 5.
When sent to controller 6 via
12, a ROM (not shown) connected to the CPU 12
According to the program in the character processing circuit 7, CG
8, the dot pattern data corresponding to the character code is read out, and the dot pattern data is sequentially written to a predetermined address in the frame memory 11b designated by the CPU 12. Also, data is written to a predetermined area of the frame memory 11b, and the CPU 1
2 determines a printing operation command, the CPU 12 reads out the dot pattern data in the frame memory 11b to the printing unit 3 via the printing I/F 10, and prints the dot pattern data on paper or the like. When data is output from the frame memory 11b to the print 3, the frame memory control circuit is set to a read operation in which the data is cleared at the same time as the data is read by the control signal d from the CPU 12. The data is cleared and the address of the pointer in the CPU 12 is also moved to its initial value. In this way, host computer 4
The dot pattern data corresponding to the character code sent from is printed on paper.

一方、オペレータがホストコンピユータ4から
送出された用紙1頁分に未たないデータを確認し
たい場合、又は、ホストコンピユータ4のメモリ
内に格納された自己の作成したプログラム等のデ
ータが印字用紙1頁分に未たない途中の状態で確
認したい場合がある。この様な場合、確認したい
データをホストコンピユータ4からフレームメモ
リ11へ書込み、キー2aを操作することにより
行うことができる。すなわち、CPU12の動作
をデータ確認モードに移行することにより、以降
第3図に示すフローチヤートに従つて印字制御さ
れる。
On the other hand, if the operator wants to check the data that is not enough for one page of paper sent out from the host computer 4, or if the operator wants to check the data that is not enough for one page of paper sent out from the host computer 4, or if the operator wants to check the data that is not enough for one page of printing paper, There may be times when you want to check the status while it is still in progress. In such a case, this can be done by writing the data to be checked from the host computer 4 to the frame memory 11 and operating the key 2a. That is, by shifting the operation of the CPU 12 to the data confirmation mode, printing is thereafter controlled in accordance with the flowchart shown in FIG.

例えば、キー2aを操作した時ホストコンピユ
ータ4からフレームメモリ11bへのデータの書
込み中であれば、それまでのCPU12内の制御
データ等が書込まれているレジスタの内容を退避
用レジスタへ全て退避させ、また、フレームメモ
リ11bへ全てのデータを書込み終了後であれ
ば、次頁を指示するポインタ等のデータを有する
レジスタの内容を全て退避用レジスタへ退避させ
る(ステツプST1)。
For example, if data is being written from the host computer 4 to the frame memory 11b when the key 2a is operated, all the contents of the registers in which control data etc. in the CPU 12 have been written up to that point are saved to the save register. Furthermore, if all the data has been written to the frame memory 11b, all the contents of registers containing data such as pointers indicating the next page are saved to the save register (step ST1).

次に、CPU12はDMAコントローラ13に対
してフレームメモリ3から全てのデータを読出す
指示データを送出する(ステツプST2)。この指
示データに従つてDMAコントローラ13は、フ
レームメモリ11b内の初期アドレスから終点ア
ドレスまでの格納されたドツトパターンデータを
順次読み出し印字I/F10を介して印字部3へ
出力する制御を行う。
Next, the CPU 12 sends instruction data to read all data from the frame memory 3 to the DMA controller 13 (step ST2). According to this instruction data, the DMA controller 13 performs control to sequentially read out the dot pattern data stored in the frame memory 11b from the initial address to the end point address and output it to the printing section 3 via the printing I/F 10.

一方、CPU12は印字I/F10を介してス
タート信号aを印字部3へ出力し、DMAコント
ローラ13はフレームメモリ11bから上述のア
ドレス指定に従いデータを読出す(ステツプ
ST3,ST4)。この処理により印字部3で、イン
ターフエイス部(印字I/F)10から送出され
てくるドツトパターンデータに従つて、例えば
LCSヘツドを作動させ印字動作(画像形成プロセ
ス)を開始する。印字I/F10から印字部3へ
ドツトパターンデータを出力している間、印字部
3側からは1ライン印字するごとに、HSYNC信
号bが出力される。また、印字動作中印字部3が
印字動作状態であることをインターフエイス部1
へ確認させるためのVSYNC信号cを出力してい
る。そして、印字I/F10では常にこの信号
b,cを監視しており、印字部3からのVSYNC
信号cの出力が終了したことを検知すると、
CPU12ではオペレータがデータ確認を所望す
るデータが印字部3へ出力したものと判断する
(ステツプST5がY)。この間、フレームメモリ制
御回路11aではCPU12からの制御信号dに
よりフレームメモリ11bからデータを読み出し
ても、消去されることなくフレームメモリ11b
内に残す読み出し動作の制御を行つている。こ制
御は例えば、フレームメモリ11bからデータを
読出す場合にクリアデータの書込みを行わない様
に制御することによりフレームメモリ11b内に
データを残すことができる。
On the other hand, the CPU 12 outputs a start signal a to the printing unit 3 via the printing I/F 10, and the DMA controller 13 reads data from the frame memory 11b according to the above address specification (step
ST3, ST4). Through this process, the printing unit 3 prints, for example, according to the dot pattern data sent from the interface unit (printing I/F) 10.
Activate the LCS head and start printing operation (image forming process). While the dot pattern data is being output from the printing I/F 10 to the printing unit 3, the HSYNC signal b is output from the printing unit 3 every time one line is printed. Also, during printing operation, the interface unit 1 indicates that the printing unit 3 is in the printing operation state.
It outputs VSYNC signal c for confirmation. The printing I/F 10 constantly monitors these signals b and c, and the VSYNC from the printing unit 3
When it is detected that the output of signal c has ended,
The CPU 12 determines that the data that the operator desires to confirm has been output to the printing unit 3 (Y in step ST5). During this period, even if data is read from the frame memory 11b in response to the control signal d from the CPU 12 in the frame memory control circuit 11a, the frame memory 11b is not erased.
The read operation that remains within the memory is controlled. For example, this control can leave data in the frame memory 11b by controlling not to write clear data when reading data from the frame memory 11b.

更に、CPU12では印字I/F10へVSYNC
信号cが入力したことを確認すると、前述の様に
退避させておいたデータを元のレジスタ内に復帰
させ、キー2aが操作される直前の状態に全ての
制御データを戻す(ステツプST6)。この処理に
より、コントローラ6内にはキー2aが操作され
る直前のポインタの位置データ等が復帰されて、
このデータに基づいて再び今印字出力されたデー
タの継続するデータを続けてフレームメモリ11
bへ展開することができる。
Furthermore, in CPU12, VSYNC is sent to print I/F10.
When it is confirmed that the signal c has been input, the data saved as described above is restored to the original register, and all control data is returned to the state immediately before the key 2a was operated (step ST6). Through this process, the position data of the pointer immediately before the key 2a was operated is restored in the controller 6, and
Based on this data, the continuation of the data that has just been printed out is stored in the frame memory 11 again.
It can be expanded to b.

また、印字部3から前述の様にして用紙へ印字
されたデータをオペレータは確認することによ
り、データの誤り等の判断を容易に行うことがで
きる。
Further, by checking the data printed on the paper from the printing unit 3 in the manner described above, the operator can easily determine whether there is an error in the data or the like.

本実施例は、以上の様に、所望するデータをフ
レームメモリ11から読出した後も、フレームメ
モリ11内にはデータが残り、しかも、CPU1
2内の制御データ等をデータ確認モードに移行す
る直前の状態に復帰できるものである。
As described above, in this embodiment, even after desired data is read from the frame memory 11, the data remains in the frame memory 11, and furthermore, the CPU 1
2 can be returned to the state immediately before shifting to the data confirmation mode.

尚、上述の処理はCPU12のプログラム制御
が不可能になつた時(プログラム暴走時)におい
てもキー2bを操作することにより、CPU12
のNMI端子に割込み信号が入力し暴走状態が解
除されると同時に割込みルーチンプログラムによ
りフレームメモリに書込まれているデータが、用
紙に印字できるので、暴走によるデータの消失を
防止することが出来る。
The above-mentioned process can be performed by operating the key 2b even when the program control of the CPU 12 becomes impossible (when the program runs out of control).
When an interrupt signal is input to the NMI terminal of the machine and the runaway state is canceled, the data written in the frame memory by the interrupt routine program can be printed on paper, thereby preventing data loss due to runaway.

また上記実施例では、データ確認モードへの移
行はキー2aの操作によつて行われる例を示した
が、ホストコンピユータから入力するコマンド信
号により移行させる様構成することも可能であ
る。
Furthermore, in the above embodiment, an example has been shown in which the transition to the data confirmation mode is performed by operating the key 2a, but it is also possible to configure the transition to the data confirmation mode by a command signal input from the host computer.

またさらに、印字出力動作を行つても印字デー
タを維持しているメモリは、フレームメモリに限
らず、他の記憶手段(例えば受信バツフアメモ
リ)であつても良い。
Furthermore, the memory that maintains print data even when a print output operation is performed is not limited to the frame memory, but may be other storage means (for example, a reception buffer memory).

〔考案の効果〕[Effect of idea]

以上詳細に説明したように本考案によれば、印
字データの確認を行う際、フレームメモリ内のデ
ータを消去せず、かつそれまでの印字動作条件も
変化させずに印字動作を行うことができるため、
再度のデータ書込み処理を省略でき、プリント処
理を高速に行うことができ、かつ暴走時のデータ
消失を防ぐことができる。
As explained in detail above, according to the present invention, when checking the print data, the printing operation can be performed without erasing the data in the frame memory and without changing the previous printing operation conditions. For,
Re-writing data processing can be omitted, printing processing can be performed at high speed, and data loss in the event of runaway can be prevented.

また、プログラム作成のためにプリンタを用い
る場合、作成データの確認をプログラム作成の途
中の段階で印字表示でき、デバツグ作業の効率を
上げることができる。
Furthermore, when a printer is used to create a program, confirmation of the created data can be printed and displayed during the program creation, making it possible to improve the efficiency of debugging work.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本実施例のプリンタ制御装置を含むシ
ステムブロツク図、第2図は本実施例のプリンタ
制御装置の回路ブロツク図、第3図は本実施例の
プリンタ制御装置のフローチヤートである。 1……インターフエイス部、2……操作・表示
部、2a……キー、3……印字部、4……ホスト
コンピユータ、5……ホストI/F、6……コン
トローラ、7……文字処理回路、8……CG、9
……バストランシーバ、10……印字I/F、1
1……フレームメモリ、12……CPU、13…
…DMAコントローラ。
FIG. 1 is a system block diagram including the printer control device of this embodiment, FIG. 2 is a circuit block diagram of the printer control device of this embodiment, and FIG. 3 is a flowchart of the printer control device of this embodiment. 1...Interface section, 2...Operation/display section, 2a...Key, 3...Printing section, 4...Host computer, 5...Host I/F, 6...Controller, 7...Character processing Circuit, 8...CG, 9
...Bus transceiver, 10...Printing I/F, 1
1...Frame memory, 12...CPU, 13...
...DMA controller.

Claims (1)

【実用新案登録請求の範囲】 ホスト機器から送信される印字情報に対応して
印字すべきドツトパターンデータを発生するドツ
トパターン生成手段と、前記ドツトパターンデー
タを少なくとも用紙1頁に印字出力する量記憶可
能なフレームメモリと、用紙1頁毎の印字出力指
令に応じて、前記フレームメモリから対応する頁
のドツトパターンデータを出力すると共に出力済
のドツトパターンデータを消去する読み出し制御
手段を有するプリンタ制御装置において、 前記フレームメモリに記憶されたドツトパター
ンデータが印字出力すべき用紙1頁分のドツトパ
ターンデータに達しない未完成状態で当該未完成
のドツトパターンデータに基づく印字の開始を指
示する指示手段と、前記指示に応じて前記未完成
のドツトパターンデータを前記フレームメモリか
ら消去することなく出力する確認用読み出し制御
手段と、該確認用読み出し制御手段の出力処理後
前記ドツトパターン生成手段の発生するドツトパ
ターンデータを前記フレームメモリ内に残留する
前記未完成のドツトパターンデータに続けて書込
む書込み制御手段と、前記読み出し制御手段又は
前記確認用読み出し制御手段により出力されたド
ツトパターンデータに基づき印字動作を実行する
印字手段とを有することを特徴とするプリンタ制
御装置。
[Claims for Utility Model Registration] A dot pattern generating means for generating dot pattern data to be printed in response to print information transmitted from a host device, and a quantity storage for printing out the dot pattern data on at least one page of paper. A printer control device having a frame memory capable of printing, and a readout control means for outputting dot pattern data of a corresponding page from the frame memory and erasing the already output dot pattern data in accordance with a print output command for each page of paper. Instructing means for instructing the start of printing based on the unfinished dot pattern data when the dot pattern data stored in the frame memory does not reach the dot pattern data of one page of paper to be printed out. , a confirmation readout control means for outputting the unfinished dot pattern data without erasing it from the frame memory in response to the instruction, and a dot generated by the dot pattern generation means after output processing by the confirmation readout control means. a write control means for writing pattern data following the unfinished dot pattern data remaining in the frame memory; and a print operation based on the dot pattern data output by the read control means or the confirmation read control means. What is claimed is: 1. A printer control device comprising a printing means for executing printing.
JP1987074241U 1987-05-18 1987-05-18 Expired JPH0421148Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987074241U JPH0421148Y2 (en) 1987-05-18 1987-05-18

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987074241U JPH0421148Y2 (en) 1987-05-18 1987-05-18

Publications (2)

Publication Number Publication Date
JPS63183630U JPS63183630U (en) 1988-11-25
JPH0421148Y2 true JPH0421148Y2 (en) 1992-05-14

Family

ID=30919273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987074241U Expired JPH0421148Y2 (en) 1987-05-18 1987-05-18

Country Status (1)

Country Link
JP (1) JPH0421148Y2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57153332A (en) * 1981-03-19 1982-09-21 Mitsubishi Electric Corp Printer

Also Published As

Publication number Publication date
JPS63183630U (en) 1988-11-25

Similar Documents

Publication Publication Date Title
US5371873A (en) Image data processing terminal equipment coupled to an external device allowing independent use of memory area by the external device
JPH0421148Y2 (en)
JPS61250722A (en) Printer
US4996649A (en) Image processor capable of storing character images and graphic images in a memory and including a timer for ensuring image processing operations are carried out in a predetermined time period
JP3478519B2 (en) Printer device
JPS6364765A (en) Output device
JP3001213B2 (en) Printer control device
JPH02159615A (en) printer device controller
JP3166156B2 (en) Printer control device
JPH0577092B2 (en)
JPH0421592B2 (en)
JP2745514B2 (en) Printer control device
JPH10320139A (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP2803322B2 (en) Printer control device
JP2785813B2 (en) Data output device
JP2836037B2 (en) Image data processing device
JPH0584986A (en) Image forming device
JP3422102B2 (en) Printer
JPS5852254B2 (en) Kanji printer control device
JP2730752B2 (en) Print control method and apparatus
JP3248796B2 (en) Network printer system
JP2612937B2 (en) Printing device
JPS59161728A (en) Printing control system
JPS60134334A (en) Print control method
JP2001080144A (en) Output device, information processing device, control method of output device, control method of information processing device, and storage medium storing computer-readable program