JPH02159615A - Controller of printer device - Google Patents

Controller of printer device

Info

Publication number
JPH02159615A
JPH02159615A JP63313803A JP31380388A JPH02159615A JP H02159615 A JPH02159615 A JP H02159615A JP 63313803 A JP63313803 A JP 63313803A JP 31380388 A JP31380388 A JP 31380388A JP H02159615 A JPH02159615 A JP H02159615A
Authority
JP
Japan
Prior art keywords
data
command
input buffer
hex
processing
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
JP63313803A
Other languages
Japanese (ja)
Inventor
Masaaki Nagano
雅昭 永野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP63313803A priority Critical patent/JPH02159615A/en
Publication of JPH02159615A publication Critical patent/JPH02159615A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To concurrently execute plural processings, for instance, a hexadump processing and a command processing by constituting the controller so that data can be fetched concurrently by plural pointers from an input buffer. CONSTITUTION:To an input buffer, a command interpreter and a hexadata converting part are connected, and also, plural pointers are provided so that data can be fetched independently from the input buffer. For instance, one and the other can execute a hexadump processing and a command processing, respectively by a prescribed software, and while executing the hexadump processing, a response can be executed to a host device. In such a way, information of debug and a claim file in a market can be collected by bringing only a necessary part of the data to hexadump processing, and it is executed efficiently.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタ装置のコントローラに関するもので
ある0本発明は通信機器にも通用することができる。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a controller for a printer device.The present invention can also be applied to communication equipment.

〔従来技術] ホスト装置からのデータを記憶するインプットバッファ
を有し、ホスト装置からのデータに基づいて印字するプ
リンタ装置は広く知られている。
[Prior Art] Printer devices that have an input buffer that stores data from a host device and print based on the data from the host device are widely known.

従来のプリンタ装置には、ホスト装置から送られて(る
データを16進コードのままでプリントし通常行われる
コマンドとしての動作を全く行わない、ヘキサダンプの
機能を有するものがある。
Some conventional printer devices have a hex dump function that prints data sent from a host device in hexadecimal code without performing any normal command operations.

ヘキサダンプは、印字が乱れたり、フォントが違ったり
、予期しない文字が出たり等の予想外の印字がプリンタ
装置において発生したときに、ホスト装置から送られて
くるデータを16進コードとしてそのまま書き出してメ
モリ内容やデータlit ilする場合等に用いられる
Hex dump is used to write out the data sent from the host device as hexadecimal code when unexpected printing occurs in the printer device, such as irregular printing, wrong font, unexpected characters, etc. It is used when writing memory contents or data.

従来のプリンタ装置におけるヘキサダンプ機能では、印
字位置や、行間隔(VMI)や、文字間隔(HMI)や
、フォントの種類等のプリンタ装置の状態を知りたいと
きに送るステータスリクエストコマンドもコマンドとし
て解釈できず、そのまま16進コードとして印字してし
まうので、ステータスリクエストコマンドを送り、プリ
ンタ装置からの応答を見て、それによって次に送るコマ
ンドを判断するようになっているアプリケーションソフ
トがホスト装置で動作しているときは、通常の印字モー
ドで発生した不具合のデータと同しデータをダンプでき
ないことがあった。
With the hex dump function of conventional printers, status request commands sent when you want to know the status of the printer, such as print position, line spacing (VMI), character spacing (HMI), and font type, can also be interpreted as commands. The application software that sends the status request command, looks at the response from the printer, and then determines the next command to send is running on the host device. When using the printer, there were cases where the same data could not be dumped due to a problem that occurred in normal print mode.

アプリケーションによってはステータスリクエストに対
する応答がないときは、以後の動作をストップしてしま
うものもあり、この場合はヘキサダンプを実質的に実行
できないことになる。
Some applications may stop further operations when there is no response to a status request, and in this case, hex dumping cannot actually be performed.

又、従来のプリンタ装置におけるヘキサダンプは、パネ
ルにおけるスイッチ操作によってのみ開始及び終了をす
ることができた。したがって、デバッグの際にはいちい
ちプリンタ装置のパネルのスイッチを操作しなければな
らないので、データは全て書出され、データの一部のみ
を指定してヘキサダンプをすることができなかった。従
って用紙も時間も多くを無駄にすることになった。
Furthermore, hex dumping in conventional printer devices could only be started and ended by operating a switch on the panel. Therefore, when debugging, it is necessary to operate the switch on the panel of the printer device each time, so all the data is written out, and it is not possible to specify only a part of the data and perform a hex dump. Therefore, a lot of paper and time were wasted.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

本発明は、従来の上記のrj1題点を解消し、ヘキサダ
ンプとホスト装置からのコマンドによる処理等の少なく
とも2つの処理を同時に行うことのできるプリンタ装置
のコントローラを提供することを課題としている。
SUMMARY OF THE INVENTION An object of the present invention is to provide a controller for a printer device that can solve the above-mentioned conventional rj1 problems and simultaneously perform at least two processes such as hex dumping and processing based on commands from a host device.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、上記の課題を、ホスト装置からのデータを記
憶するインプットバッファに対し複数のポインタを、デ
ータを夫々独立して取り出すことが可能に設けたことを
特徴とするプリンタ装置のコントローラにより解決した
The present invention solves the above problem with a controller for a printer device, which is characterized in that a plurality of pointers are provided for an input buffer that stores data from a host device so that the data can be retrieved independently. did.

本発明は、又、上記の課題を、ヘキサダンプ処理を行う
際、コマンドインタプリタは予め定めた特定のコマンド
については当該コマンドに応じた処理を行うことを特徴
とするコントローラにより解決した。
The present invention also solves the above-mentioned problem with a controller characterized in that, when performing hex dump processing, the command interpreter performs processing according to a predetermined specific command.

その際ヘキサダンプ処理の開始と終了の一方又は両方を
ホスト装置よりのコマンドにより決定することができる
At this time, one or both of the start and end of the hex dump process can be determined by a command from the host device.

〔作用〕[Effect]

本発明により、インプットバッファより複数のポインタ
よりデータを独立して取り出すことができ、例えば一方
はヘキサダンプ処理を、他方ではコマンド処理を所定の
ソフトウェアにより行うことができ、ヘキサダンプ処理
をしながらホスト装置との間に応答を行うことが可能に
なった。このことから、デバッグや市場におけるクレー
ムファイルの情報収集を、データの必要な部分だけをヘ
キサダンプ処理して行うことができ、効率的になった。
According to the present invention, data can be independently retrieved from the input buffer using multiple pointers. For example, one can perform hex dump processing and the other can perform command processing using predetermined software, and while performing hex dump processing, data can be retrieved from the host device. It is now possible to respond during This makes it possible to perform debugging and information gathering of complaint files in the market by processing only the necessary parts of the data by hex dumping, making it more efficient.

又ヘキサダンプ処理中でもホスト装置からのステータス
リクエストコマンドに対しては通常のコマンド処理をし
、ホスト装置との間に通常の印字の場合と同じように応
答することができ、ステータスリクエスト応答をみて次
の動作をするアプリケーションソフトでも通常の印字と
同じデータのヘキサダンプをとることができる。
Also, even during hex dump processing, normal command processing is performed in response to status request commands from the host device, and responses can be made in the same way as for normal printing between the host device and the next step based on the status request response. The operating application software can also take a hex dump of the same data as normal printing.

〔実施例) 本発明の詳細を図に示す実施例に基づいて説明する。〔Example) The details of the present invention will be explained based on embodiments shown in the drawings.

プリンタ装置のコントローラ(プリンタコントローラ)
はパソコンやミニコン当のプリンタ装置にデータを送り
ホスト装置tと接続するホストインターフェース(1/
F)2を有する。ホストI/F2の代表的なものとして
セントロニクス、RC232C等がある。
Printer device controller (printer controller)
is a host interface (1/
F) has 2. Centronics, RC232C, etc. are representative examples of the host I/F2.

ホスイ1/F2にはホスト装置1から送られてくるデー
タを一時的に記憶しておくRAMとしてインプットバッ
ファ3が接続される。インプットバッファ3は先に入力
されたデータが先に出力されるFIFO(先入れ先出し
)方式であり、データを入力するところがインプットバ
ラツブ最終アドレスになったとき、次に人力するデータ
はインプットバッファの先頭アドレスに入る循環バッフ
ァである。
An input buffer 3 is connected to the host device 1/F2 as a RAM for temporarily storing data sent from the host device 1. The input buffer 3 is a FIFO (first in, first out) system in which the data input first is output first, and when the input data reaches the final address of the input variation, the next data input manually is the first address of the input buffer. This is a circular buffer.

インプットバッファ3にはコマンドインタブリタ4が接
続され、インプットバッファよりのデータを読み出し、
そのデータをテキストデータ(文字)と、CRSCF等
のコントロールコードやESCシーケンス等のコマンド
と、グラフィックを書くためのバイナリデータによるグ
ラフィックデータ等とに分類し、それぞれのデータに応
じた処理をする。テキストデータの場合は、その文字フ
ォントのアドレス、現在の文字が印字されるべき位置で
あるアクティブボジシッン等の情報を、コマンドインク
ブリタ4に接続されるページコンボーザ5に渡す、コマ
ンドの場合はそのコマンド′の動作を実行する。
A command interpreter 4 is connected to the input buffer 3, reads data from the input buffer,
The data is classified into text data (characters), commands such as control codes such as CRSCF and ESC sequences, and graphic data using binary data for writing graphics, and processing is performed according to each data. In the case of text data, information such as the address of the character font and the active position where the current character should be printed is passed to the page composer 5 connected to the command ink printer 4. executes the action of that command ′.

インプットバッファ3にはへキサデータ変換部6が接続
され、インプットバッファ3からデータを読み取り、そ
のデータを16進コードのテキストデータに変換する0
例えばインプットバッファから受取ったデータが12H
(数字l、数字2、スペース)である場合には31h、
32h、20hの3バイトに変換し、ヘキサダンプに使
用するフォントのアドレス、印字位置の情報と共に、ヘ
キサデータ変換部6に接続されるページコンボーザ5に
渡す。
A hexadata converter 6 is connected to the input buffer 3, and reads data from the input buffer 3 and converts the data into hexadecimal code text data.
For example, the data received from the input buffer is 12H.
(number l, number 2, space), then 31h,
The data is converted into 3 bytes of 32h and 20h, and is passed to the page composer 5 connected to the hex data converter 6 along with information on the address of the font used for hex dumping and the printing position.

ページコンボーザ5はコマンドインタプリタ4及びヘキ
サデータ変換部6よりフォント、イメージ等の印字すべ
きデータのアドレス及び印字位置の情報を受は取り、ペ
ージデスクリプタを作り、ページコンボーザ5に接続さ
れるページバッファ11に格納する。
The page composer 5 receives information on the address and print position of data to be printed such as fonts and images from the command interpreter 4 and the hex data converter 6, creates a page descriptor, and creates a page to be connected to the page composer 5. Store it in the buffer 11.

ページデスクリプタは印字すべきデータのソースアドレ
ス、ビデオバッファのどこにデータを書き込むかという
ディスティネーシゴンアドレス、書き込むデータのバイ
ト数と幅と高さ、次に使うページデスクリプタへのポイ
ンタ等により構成されている。
A page descriptor consists of the source address of the data to be printed, the destination address of where in the video buffer to write the data, the number of bytes, width, and height of the data to be written, a pointer to the next page descriptor, etc. .

ページバッファ11はページデスクリプタを書き込み、
記憶するRAMであり、循環バッファである。
The page buffer 11 writes a page descriptor,
RAM for storing data and a circular buffer.

ページバッファ11にはビデオデータ変換部10が接続
され、ビデオデータ変換部IOにはビデオバッファ9が
接続されており、ページデスクリプタをページバッファ
11からビデオデータ変換部10に読み出し、ページデ
スクリプタの情報をもとにして実際のイメージデータを
ビデオバッファ9に書き込む、ビデオバッファ9はビデ
オデータ変換部lOより書き込まれたイメージデータを
記憶しておくRAMであり、データをDMAによりエン
ジンインターフェース(エンジン!/F)8を通してプ
リンタエンジン7に送られる。
The video data converter 10 is connected to the page buffer 11, and the video buffer 9 is connected to the video data converter IO.The page descriptor is read from the page buffer 11 to the video data converter 10, and the information of the page descriptor is read out from the page buffer 11 to the video data converter 10. The video buffer 9 is a RAM that stores the image data written by the video data converter IO, and the data is transferred to the engine interface (Engine!/F) by DMA. ) 8 to the printer engine 7.

エンジンI/F8はプリンタエンジン7とプリンタコン
トローラをつなぐコネクタであり、信号としてコントロ
ーラからイメージデータをエンジンに転送するビデオ信
号、排紙開始を命令するプリント信号、プリンタエンジ
ンがプリントする準備ができているかどうかを調べるた
めのプリンタレディー信号、プリンタエンジンのエラー
を検知するためのプリンタエラー信号等を転送する。
The engine I/F 8 is a connector that connects the printer engine 7 and the printer controller, and includes a video signal that transfers image data from the controller to the engine, a print signal that commands the start of paper ejection, and a signal that indicates whether the printer engine is ready to print. A printer ready signal for checking the printer engine status, a printer error signal for detecting a printer engine error, etc. are transferred.

プリンタエンジン7は例えばレーザプリンタやLEDプ
リンタのようなものがある。
The printer engine 7 may be, for example, a laser printer or an LED printer.

ヘキサダンプ時には、従来は信号がインプットバッファ
→ヘキサデータ変換部→ページコンポーザ→ベージバッ
フ1の流れだけが存在し、コマンドインタプリタを信号
は通らないため、ステータスリクエストコマンドに対応
できなかった。又ヘキサダンプの途中でヘキサダンプを
停止することもコマンドによって行うことができなかっ
た。このためインプットバッファからのデータをコマン
ドインタプリタを通し、且つヘキサデータ変換部を通す
方法が考えられるが、インプットバッファからデータを
取り出すポインタが1つの場合にはコマンドによって数
バイトのパラメータが必要になるものがあったりするの
で、ソフトの処理が複雑になる。
At the time of hex dump, in the past, only the flow of signals existed: input buffer -> hex data converter -> page composer -> page buffer 1, and the signal did not pass through the command interpreter, so it was not possible to respond to status request commands. Furthermore, it was not possible to stop the hex dump in the middle of the hex dump using a command. For this reason, one possible method is to pass the data from the input buffer through a command interpreter and a hex data converter, but if there is only one pointer to retrieve data from the input buffer, several bytes of parameters are required depending on the command. This makes software processing complicated.

本発明はインプットバッファ3からデータを取り出すポ
インタを、第2図に示すように、コマンドインクブリタ
用の、コマンドインクブリタゲットポインタ14と、ヘ
キサデータ交換部用の、ヘキサデータゲットポインタ1
3の2個用いてヘキサダンプ中にステータスリクエスト
コマンドに応答できるようにする。インプットバッファ
3はデータインプットポインタ12によりホストI/F
2からデータを入力する。
As shown in FIG. 2, the present invention uses a pointer for extracting data from the input buffer 3, as shown in FIG.
3 can be used to respond to the status request command during hex dumping. The input buffer 3 is connected to the host I/F by the data input pointer 12.
Input data from 2.

ヘキサデータ変換部6はへキサデータゲットポインタ1
3よりデータをlバイト取り出し、例えばASCIIに
よる16進コードに変換する。例えばインプットバッフ
ァ中のデータがllbであれば’llh」という1バイ
トのデータを31b(数字の1)、31b  (数字の
1)、20h (スペース)の3バイトの信号に変換し
、変換された文字コードをテキストと同じように扱い、
ヘキサダンプ用の文字の印字位置を決めて印字位置のパ
ラメータと、その文字フォントのアドレスをページコン
ボーザ5に出力する。
The hex data converter 6 is the hex data get pointer 1
1 byte of data is extracted from step 3 and converted into hexadecimal code, for example, based on ASCII. For example, if the data in the input buffer is llb, the 1-byte data 'llh' is converted into 3-byte signals 31b (number 1), 31b (number 1), and 20h (space). Treat character codes the same as text,
The printing position of characters for hex dump is determined and the parameters of the printing position and the address of the character font are output to the page composer 5.

ページコンポーザ5はこれらの情報をもとにしてページ
デスクリプタを作り、通常のプリントシーケンスと同し
動作で、ヘキサダンプが行われる。
The page composer 5 creates a page descriptor based on this information, and performs a hex dump in the same operation as a normal print sequence.

ヘキサダンプとしてページを作りプリントアウトする動
作と並行してコマンドの解釈も行われる。
Command interpretation is also performed in parallel with the operation of creating and printing out pages as a hex dump.

例えばヘキサダンプとしてのページを作る処理とコマン
ドインタプリタにおいて、コマンドインタプリタゲット
ポインタ14によりインプットバッファ3よりデータを
取り出して処理することとが、交互に行われるようにす
ることができる。
For example, the process of creating a page as a hex dump and the process of extracting data from the input buffer 3 using the command interpreter target pointer 14 and processing it in the command interpreter can be performed alternately.

コマンドインタプリタ4がヘキサダンプ中にも通常と同
じ動作をすると、ページコンポーザ5に印字データの情
報を出力してしまい、ヘキサダンプのイメージと通常の
データが重ね書きになるので、ヘキサダンプとしては使
えなくなってしまう。
If the command interpreter 4 performs the same operations as normal during hex dump, it will output print data information to the page composer 5, and the hex dump image and normal data will be overwritten, making it unusable as a hex dump. .

本発明においては、コマンドインクプリン4はヘキサダ
ンプ中はページコンボーザ5に対してページにイメージ
を書き込むような出力動作を行わないようにする。
In the present invention, the command ink printer 4 prevents the page composer 5 from performing an output operation such as writing an image on a page during hex dumping.

コマンドインタプリタ4はヘキサダンプ時には、ヘキサ
ダンプ終了コマンド、ステータスリクエストコマンド、
ステータスリクエストの応答に影響を与えるパラメータ
を設定するコマンド等の特定のコマンドのみ動作し、他
のコマンドは動作しないようにする。
During hex dump, the command interpreter 4 issues a hex dump end command, status request command,
Only certain commands, such as commands that set parameters that affect status request responses, are run, and other commands are not run.

又グラフィックスコマンドやダウンロードコマンドのよ
うに多数のパラメータがあるコマンドの場合は、パラメ
ータをパラメータの数だけインプットバッファ3から取
り出し、コマンドインタプリタゲットポインタ14を読
んだデータ数だけ進める動作をする。
Further, in the case of a command having a large number of parameters such as a graphics command or a download command, the parameters are taken out from the input buffer 3 by the number of parameters, and the command interpreter target pointer 14 is advanced by the number of data read.

ステータスリクエストの応答に影響を与えるパラメータ
を設定するコマンドがきたときには、設定するパラメー
タは書き変えるが、そのパラメータの変更によって通常
の印字であれば、印字及びプリンタの動作に影響を与え
る動作、例えばプリントオリエンテーションを変えると
、すでにページバッファ中にあるデータIよプリントア
ウトするという動作や、フォントを変えると、印字され
るフォントが変わるという動作等の動作は行わないよう
にする。これはコマンドインタプリタによってテキスト
の印字をしてヘキサダンプのページを作るのではなく、
ヘキサデータ変換部6がコマンドインクプリンタと独立
して、ページフォーマット、フォント等の変数を使って
ページをフォーマットし、印字する文字の位置や、紙の
排紙を制御しているからである。
When a command to set a parameter that affects the response to a status request is received, the parameter to be set is rewritten, but if the parameter change results in normal printing, an operation that affects printing and printer operation, such as printing If the orientation is changed, the data I already in the page buffer will be printed out, or if the font is changed, the printed font will be changed. This does not print text using a command interpreter to create a hex dump page.
This is because the hex data conversion unit 6 formats the page using variables such as page format and font, and controls the position of printed characters and paper ejection, independently of the command ink printer.

ヘキサデータ変換部の動作とコマンドインタプリタの動
作を交互に行うことにより、ヘキサダンプ中でも、ステ
ータスリクエストコマンドに応答することができ、その
応答ではプリンタが通常の印字を行っているときと同じ
内容のデータをホスト装置に返すことができる。
By alternating the operations of the hex data converter and command interpreter, it is possible to respond to the status request command even during hex dumping, and in response, the same data as when the printer is printing normally is sent. It can be returned to the host device.

インプットバッファ3に対して、ヘキサデータ変換部用
の読み取り用ポインタとしてヘキサデータゲットポイン
タ13を設け、コマンドインタプリタ用の読み取り用ポ
インタとしてコマンドインタプリタゲットポインタ14
を設けたことにより、コマンドインクプリンタ4がデー
タをインプットバッファ3から各コマンドごとに取り出
し、ヘキサデ〜り変換部6がデータをインプットバッフ
ァ3から、例えば1バイトごとに取り出すように制御す
ることにより、ホスト装置からのステータスコマンドに
応答するまでの時間が速くなり、コマンドインタプリタ
もコマンドごとに処理することができるので、ソフトが
複雑にならなくてすむ。
For the input buffer 3, a hex data get pointer 13 is provided as a reading pointer for the hex data converter, and a command interpreter target pointer 14 is provided as a reading pointer for the command interpreter.
By providing the command ink printer 4, the command ink printer 4 extracts data from the input buffer 3 for each command, and the hexagonal converter 6 extracts data from the input buffer 3, for example, byte by byte. The time required to respond to a status command from the host device becomes faster, and the command interpreter can process each command individually, so the software does not need to be complicated.

上記のコマンドインタプリタの作動の一例を示すと、第
3図のフローに示す如く行われる。第3図において先ず
ヘキサダンプか判断し、Noの場合は通常のコマンドイ
ンタプリタとして動作し、YESのときはヘキサダンプ
終了コマンドであるかどうか判断する。
An example of the operation of the command interpreter described above is performed as shown in the flowchart of FIG. In FIG. 3, it is first determined whether it is a hex dump, and if No, it operates as a normal command interpreter, and if YES, it is determined whether it is a hex dump end command.

ヘキサダンプ終了コマンドの場合はヘキサダンプを終了
する。
If it is a hex dump end command, it ends the hex dump.

ヘキサダンプ終了コマンドではなく、ヘキサダンプの継
続中はステータスリクエストコマンドか否かを判断し、
YESの場合はステータスリクエストコマンドを実行し
、NOの場合は、ステータスリクエストに影響を与える
コマンドか否かを判断する0判断がYESの場合はステ
ータスリクエストに影響を与えるパラメータ等のみ変更
するが動作はしない。NOの場合はパラメータありのコ
マンドかどうか判断し、Noの場合は戻り、YESの場
合はパラメータの数だけインプットバッファからデータ
を取り出し、コマンドインタプリタゲットポインタ14
を進め、データを読みとばす。
While the hex dump is continuing, it is determined whether it is a status request command or not, rather than a hex dump end command.
If YES, execute the status request command, if NO, judge whether the command affects the status request or not.0 If the judgment is YES, only the parameters that affect the status request will be changed, but the operation will not be do not. If NO, determine whether it is a command with parameters, if NO, return; if YES, retrieve data from the input buffer for the number of parameters, and use the command interpreter target pointer 14.
Go ahead and read the data.

〔効果〕〔effect〕

本発明によりインプットバッファから複数のポインタに
より並行してデータを取り出すことができ、複数の処理
、例えばヘキサダンプと、コマンド処理とを並行して行
うことが可能になった。
According to the present invention, data can be retrieved from the input buffer in parallel using a plurality of pointers, and a plurality of processes, such as hex dump and command processing, can be performed in parallel.

本発明により、ヘキサダンプ中でもステータスリクエス
トコマンドの応答を通常の印字の場合と同様にホスト装
置との間で行うことができ、ステータスリクエストの応
答をみて次の動作をするアプリケーションソフトにおい
ても通常の印字と同じデータのヘキサダンプをとること
が可能になった。
According to the present invention, even during hex dumping, the response to the status request command can be exchanged with the host device in the same way as for normal printing, and the application software that performs the next operation based on the response to the status request can also respond to the normal printing. It is now possible to take a hex dump of the same data.

本発明により、ヘキサダンプをホスト装置よりのコマン
ドにより開始し又終了することが可能になり、ヘキサダ
ンプ開始、終了のコマンドをデータファイル中に入れる
ことによりヘキサダンプの開始位置と終了位置を定義で
き、必要のデータのみのヘキサダンプをとることができ
、ファームウェアのデバッグの効率を高めることが可能
になった。
According to the present invention, it is possible to start and end a hex dump using a command from the host device, and by putting the hex dump start and end commands in the data file, the hex dump start and end positions can be defined, and the necessary It is now possible to take a data-only hex dump, increasing the efficiency of firmware debugging.

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

第1図は本発明に係るプリンタ装置のコントローラのブ
ロック図、第2図はインプットバッファの説明ブロック
図、第3図はコマンドインタプリタの作動フロー図であ
る。 1・・・ホスト装W   3・・・インプットバッファ
4・・・コマンドインタプリタ 6・・・ヘキサデータ変換部
FIG. 1 is a block diagram of a controller of a printer device according to the present invention, FIG. 2 is an explanatory block diagram of an input buffer, and FIG. 3 is an operational flow diagram of a command interpreter. 1... Host device W 3... Input buffer 4... Command interpreter 6... Hex data converter

Claims (3)

【特許請求の範囲】[Claims] (1)ホスト装置からのデータを記憶するインプットバ
ッファを有し、ホスト装置からのデータに基づいて印字
するプリンタ装置のコントローラにおいて、 前記インプットバッファに対し、複数のポインタがデー
タを夫々独立して取り出すことが可能に設けてあり、イ
ンプットバッファよりのデータにより複数の処理が並行
して行われることを特徴とするプリンタ装置のコントロ
ーラ。
(1) In a controller of a printer device that has an input buffer that stores data from a host device and prints based on data from the host device, a plurality of pointers independently retrieve data from the input buffer. 1. A controller for a printer device, characterized in that a plurality of processes are performed in parallel using data from an input buffer.
(2)前記インプットバッファよりのデータによりヘキ
サダンプ処理を行う際、コマンドインタプリタは予め定
めた特定のコマンドについてのみ当該コマンドに応じた
処理を行うことを特徴とする請求項1に記載のプリンタ
装置のコントローラ。
(2) The controller of the printer device according to claim 1, wherein when performing hex dump processing using data from the input buffer, the command interpreter performs processing according to only a predetermined specific command. .
(3)前記ヘキサダンプ処理の開始と終了の少なくとも
一方がホスト装置よりのコマンドにより決定されること
を特徴とする請求項2に記載のプリンタ装置のコントロ
ーラ。
(3) The controller for a printer device according to claim 2, wherein at least one of the start and end of the hex dump process is determined by a command from a host device.
JP63313803A 1988-12-14 1988-12-14 Controller of printer device Pending JPH02159615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63313803A JPH02159615A (en) 1988-12-14 1988-12-14 Controller of printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63313803A JPH02159615A (en) 1988-12-14 1988-12-14 Controller of printer device

Publications (1)

Publication Number Publication Date
JPH02159615A true JPH02159615A (en) 1990-06-19

Family

ID=18045708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63313803A Pending JPH02159615A (en) 1988-12-14 1988-12-14 Controller of printer device

Country Status (1)

Country Link
JP (1) JPH02159615A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04104319A (en) * 1990-08-23 1992-04-06 Oki Electric Ind Co Ltd Control method for hexa-dump device
WO1993008027A1 (en) * 1991-10-23 1993-04-29 Seiko Epson Corporation Additional control device, and apparatus and method for processing information thereby
US5461705A (en) * 1991-10-23 1995-10-24 Seiko Epson Corporation Information processing device in an electronic apparatus utilizing an accessory control device and methods of application
US5537517A (en) * 1991-10-23 1996-07-16 Seiko Epson Corporation Information processing device in an electronic apparatus utilizing an accessory control device and methods of application
US5592595A (en) * 1991-12-30 1997-01-07 Seiko Epson Corporation Intelligent cartridge for attachment to a printer to perform image processing tasks in a combination image processing system and method of image processing
JP2015026243A (en) * 2013-07-26 2015-02-05 アズビル株式会社 Record data processing method and information processing device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04104319A (en) * 1990-08-23 1992-04-06 Oki Electric Ind Co Ltd Control method for hexa-dump device
WO1993008027A1 (en) * 1991-10-23 1993-04-29 Seiko Epson Corporation Additional control device, and apparatus and method for processing information thereby
US5410641A (en) * 1991-10-23 1995-04-25 Seiko Epson Corporation Intelligent cartridge for attachment to a printer to perform image processing tasks in a combination image processing system and method of image processing
US5461705A (en) * 1991-10-23 1995-10-24 Seiko Epson Corporation Information processing device in an electronic apparatus utilizing an accessory control device and methods of application
US5537517A (en) * 1991-10-23 1996-07-16 Seiko Epson Corporation Information processing device in an electronic apparatus utilizing an accessory control device and methods of application
US5592595A (en) * 1991-12-30 1997-01-07 Seiko Epson Corporation Intelligent cartridge for attachment to a printer to perform image processing tasks in a combination image processing system and method of image processing
JP2015026243A (en) * 2013-07-26 2015-02-05 アズビル株式会社 Record data processing method and information processing device

Similar Documents

Publication Publication Date Title
US6665081B1 (en) Print system printer driver and printer
US5854940A (en) Output control system for interpreting input data according to a specific control language based upon outputs from a plurality of control language determining devices
JPH06202972A (en) Mode switchover device and method
EP0820004B1 (en) Print system, print method, printer driver and printer
JPH02159615A (en) Controller of printer device
US20040004739A1 (en) Printer system, printer, printer control method
CN100382002C (en) Printing method and apparatus for rectifying error and computer readable recording medium
JPH01188354A (en) Font cash control
JP4591087B2 (en) Printing apparatus, printing support apparatus, printing method, and printing support method
JP3094712B2 (en) Page description language processor
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JP3001213B2 (en) Printer control device
JPH0997141A (en) Terminal emulator printing method for windows
US20030133142A1 (en) Information processing apparatus and control code generation method
JPS6347863A (en) Printer controller
JPH01171960A (en) Printer apparatus
JPH0577092B2 (en)
KR0155258B1 (en) Method of buffer memory release in page printer
JPH10320139A (en) Printing controller, printing control method and computer-readable recording medium recorded with printing control program
JPS62257867A (en) Printer
JPH0820936B2 (en) Print control device
JP2590707Y2 (en) Page printer
JPH0499665A (en) Printer
JPS6347174A (en) Printer controller
JPS63135257A (en) Printing data processing of printer