JPH0325611A - プリンタの受信データ出力回路 - Google Patents

プリンタの受信データ出力回路

Info

Publication number
JPH0325611A
JPH0325611A JP1161478A JP16147889A JPH0325611A JP H0325611 A JPH0325611 A JP H0325611A JP 1161478 A JP1161478 A JP 1161478A JP 16147889 A JP16147889 A JP 16147889A JP H0325611 A JPH0325611 A JP H0325611A
Authority
JP
Japan
Prior art keywords
data
received data
received
printer
dump
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
JP1161478A
Other languages
English (en)
Inventor
Yoko Nakazawa
中沢 洋子
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 JP1161478A priority Critical patent/JPH0325611A/ja
Publication of JPH0325611A publication Critical patent/JPH0325611A/ja
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は上位装置からの受信データをプリンタ装置にダ
ンブ出力する受信データ出力回路に関する. 〔従来の技術〕 従来、この種のプリンタのダンプ出力回路は、上位装置
から受信したデータをそのまま16進数あるいは10進
数でプリンタに出力していた。
〔発明が解決しようとする課題〕
上述した従来のプリンタにおけるダンプ機能は、上位装
置から受信したデータを何の意味づけもせずにそのまま
出力していたのでプリンタのユーザーが出力されたダン
ブをもとに受信データを解析するのに手間がかかるとい
う欠点がある. 〔課題を解決するための手段〕 本発明の受信データ出力回路は、上位装置からの受信デ
ータを翻訳して出力する回路を有している. 〔実施例〕 次に、本発明について図面を参照して説明する. 第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例における受信データとそのダンプ出力
結果を示している。
実施例回路において、入力部1は上位装置から送られて
くるデータを受信する部分である。制御部2はプリンタ
全体の制御を行う部分である。印字部4は従来のオンラ
インプリンタと同じ機楕を持ち、同様の動作を行う部分
である.次に本発明の動作を説明する.まず上位装置よ
り入力部1を通してデータを受信する.次に受信データ
出力回路3は受信データをプリンタの動作状態を制御す
る為の制御コード部分と実際に印字する為の文字コード
と比較的データ量が長くなるイメージデータとに区切り
翻訳して新しいコードに変換してゆく. 例えば第2図のようなHEX  Codeのデータを上
位装置から入力部1を通して受信したとする.今仮に第
2図のうちの最初の2バイトがイメージモードを示す制
御コードで、次の4バイトがイメージのデータ長を示し
次に続く100バイトがイメージのデータを表し、最後
の2バイトが復帰改良を表す制御コードであると仮定す
る.受信データ出力回路3はまず一連のHEX  Co
deを前に説明した3つの部分、つまり第2図を参照し
た場合<IB>H<53>Hと<30>H<31>H<
30>H<30>H と<1 1> H〜<04> H
に区切る。次に最初の<IB> H <53> Hをイ
メージを示す二−モニックコード゛[1 S =’とい
う文字に変換する.そして<30> H <3 1> 
H <30> H <30>Hの系4バイトをASCI
Iコードにより“0100”に変換する.更にイメージ
データを1バイト受信する度にデータカウントレジスタ
5を増やしてゆき、イメージデータを全て受信終了した
時点のデータカウントレジスタ5の値を用いて100バ
イトのイメージデータを“・X100”と変換する。イ
メージデータを変換した時にデータカウントレジスタ5
の値がリセットされる.次に既に受信したHEX  C
odeと翻訳終了したデータを印字部4へ渡す.そして
次のデータを受信して同様に翻訳する.こうして最終的
には第2図のように受信したデータをHEX  Cod
eと翻訳終了したデータと両方平行に出力する.〔発明
の効果〕 以上述べたように本発明を用いると受信データをダンプ
出力した時に、一目で制御コードと印字データを区別す
る事ができ、本発明のプリンタを使用するオペレータが
データダンプを解析する為の時間を大幅に短縮できると
いう効果がある。又イメージデータ等データ量が長くな
りがちなコードもデータ長に変換して見易すく変換して
いる為、オペレータがダンプデー夕をチェックする時の
ミスが軽減するという効果もある。
【図面の簡単な説明】
第1図は本発明の一実施例のブロック構成図、第2図は
本発明の一実施例における受信データとそのダンプ出力
結果を示す図である. 1・・・入力部、2・・・制御部、3・・・受信データ
出力回路、4・・・印字部、5・・・データカウントレ
ジスタ.

Claims (1)

    【特許請求の範囲】
  1. プリンタの上位装置からの受信データを10進数あるい
    は16進数として出力するに当り受信データ内の制御コ
    ードと印字データとを区別できるように該受信データを
    翻訳して出力することを特徴とするプリンタの受信デー
    タ出力回路。
JP1161478A 1989-06-23 1989-06-23 プリンタの受信データ出力回路 Pending JPH0325611A (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1161478A JPH0325611A (ja) 1989-06-23 1989-06-23 プリンタの受信データ出力回路

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1161478A JPH0325611A (ja) 1989-06-23 1989-06-23 プリンタの受信データ出力回路

Publications (1)

Publication Number Publication Date
JPH0325611A true JPH0325611A (ja) 1991-02-04

Family

ID=15735856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1161478A Pending JPH0325611A (ja) 1989-06-23 1989-06-23 プリンタの受信データ出力回路

Country Status (1)

Country Link
JP (1) JPH0325611A (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5297877A (en) * 1990-12-28 1994-03-29 Canon Kabushiki Kaisha Printer having color dumping function
US6647713B1 (en) 1999-10-04 2003-11-18 Komatsu Zenoah Co. Stratified scavenging two-cycle engine with catalyst

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5297877A (en) * 1990-12-28 1994-03-29 Canon Kabushiki Kaisha Printer having color dumping function
US6647713B1 (en) 1999-10-04 2003-11-18 Komatsu Zenoah Co. Stratified scavenging two-cycle engine with catalyst

Similar Documents

Publication Publication Date Title
KR940008104B1 (ko) 데이타 표시 및 프로토콜
US3980994A (en) Text editing and display system having text insert capability
JPH0325611A (ja) プリンタの受信データ出力回路
JP3028289B2 (ja) 直列データの伝送装置
KR950025340A (ko) 전자레인지의 인코더 키 입력장치 및 그 장치를 이용한 인터럽트 처리방법
McDonald et al. Interfacing an atomic absorption spectrometer with an inexpensive desktop computer
KR890012211A (ko) 키보드 식별장치
KR100241705B1 (ko) 전전자교환기의 보드 모니터링 방법
JP2786161B2 (ja) データ転送方法
JPH03150644A (ja) ダンプ機能つき印刷装置
JP2744528B2 (ja) キーボード入力装置
JPS6041347A (ja) パケツト組立分解装置
JPS55116140A (en) Editing method for terminal telegraphic message
JP2769057B2 (ja) デ−タ圧縮装置
SU1211802A1 (ru) Устройство дл индикации
JPH0370317A (ja) データの処理方法
JPH06348429A (ja) データ出力装置
KR890010762A (ko) 프린터용 에스케이프(Escape) 시켄스 처리 방법
JPH0561710A (ja) シーケンス制御装置を使用したテスト装置
JPH03166615A (ja) 初期化要因分析回路
JPH01280853A (ja) 端末コンピユータ
JPH0559986U (ja) データ伝送装置
JPS63199662A (ja) プリンタ
JPH06178363A (ja) 通信試験装置
JP2001306496A (ja) データ出力装置および方法