JPH10329367A - Printer capable of printing content of communication data analysis - Google Patents

Printer capable of printing content of communication data analysis

Info

Publication number
JPH10329367A
JPH10329367A JP9139974A JP13997497A JPH10329367A JP H10329367 A JPH10329367 A JP H10329367A JP 9139974 A JP9139974 A JP 9139974A JP 13997497 A JP13997497 A JP 13997497A JP H10329367 A JPH10329367 A JP H10329367A
Authority
JP
Japan
Prior art keywords
data
printing
data analysis
mode
communication 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
JP9139974A
Other languages
Japanese (ja)
Inventor
和弘 ▲功▼刀
Kazuhiro Kunugi
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP9139974A priority Critical patent/JPH10329367A/en
Publication of JPH10329367A publication Critical patent/JPH10329367A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute data analysis without using an external device or a memory for holding communication data, by a method wherein normal data as well as communication data itself which is converted to a printing pattern for data analysis is printed on a printing paper. SOLUTION: Communication data consisting of a control command, printing data and a carriage return code is inputted to a host interface 2. When a mode change switch 5 is not set to a data analysis mode, a control section 3 recognizes that it is in a normal printing mode and develops the printing data to character CG to perform the printing on a printing paper. When the mode change switch is set to a data analysis mode, the control section 3 moves to the data analysis mode. In the data analysis mode, the control section 3 develops all of the data including the command data in the communication data to hexadecimal code which is a printing pattern for data analysis. The control section prints all of the converted data on the printing paper.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は通信データ解析内容
印字可能なプリンタ装置に関し、特に情報処理端末に接
続される通信データ解析内容印字可能なプリンタ装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device capable of printing communication data analysis contents, and more particularly to a printer device capable of printing communication data analysis contents connected to an information processing terminal.

【0002】[0002]

【従来の技術】従来、この種のプリンタ装置は、たとえ
ば特開昭2−118657号公報に「データ通信端末の
制御符号表示装置」としてその一例が示されているよう
に、例えば図5に示すような外部にデータ解析装置7を
接続して回線上のデータを見て解析するプリンタ装置1
0や、図6に示すような通信データを一旦プリンタ装置
11上のデータ保持用メモリ8に保持しておき、表示器
9または上位通信端末6上でデータ表示を行って解析す
るプリンタ装置11が用いられている。
2. Description of the Related Art Conventionally, a printer of this type is shown in, for example, FIG. A printer device 1 for connecting a data analysis device 7 externally to view and analyze data on a line
0 or the communication data as shown in FIG. 6 is temporarily held in the data holding memory 8 on the printer device 11, and the printer device 11 for displaying and analyzing the data on the display 9 or the upper communication terminal 6 is used. Used.

【0003】[0003]

【発明が解決しようとする課題】この従来のプリンタ装
置における問題点は、解析手段が複雑で、高価になる、
ということである。その理由は、図5のプリンタ装置で
は通信データ解析用の解析装置が必要であり、図6のプ
リンタ装置では通信データ保持用のメモリやデータ表示
用の外部端末や表示器が必要になるからである。
The problem with this conventional printer is that the analysis means is complicated and expensive.
That's what it means. The reason is that the printer of FIG. 5 requires an analyzer for analyzing communication data, and the printer of FIG. 6 requires a memory for holding communication data, an external terminal and a display for displaying data. is there.

【0004】本発明の目的は、外部機器や通信データ保
持用メモリを必要としない通信データ解析手段を提供す
ることにより、簡単に通信データの解析を行うことがで
きるプリンタ装置を提供することにある。
An object of the present invention is to provide a printer which can easily analyze communication data by providing communication data analysis means which does not require an external device or a memory for holding communication data. .

【0005】[0005]

【課題を解決するための手段】本発明の通信データ解析
内容印字可能なプリンタ装置は、上位装置から送られる
データに基づいて印字を行うプリンタ装置において、通
常印字の他に通信データ自体をデータ解析用印字パター
ンに変換してプリンタ用紙に印字する解析手段を備え
る。
SUMMARY OF THE INVENTION According to the present invention, there is provided a printer device capable of printing communication data analysis contents. The printer device prints based on data sent from a host device. Analysis means for converting the print pattern into a print pattern for printing on a printer paper.

【0006】また、本発明の通信データ解析内容印字可
能なプリンタ装置は、通常印字モードとデータ解析モー
ドとを切り替えるモード切替スイッチの出力に基づいて
前記通常印字または前記データ解析用印字を実行する前
記解析手段を備える。
Further, the printer device capable of printing communication data analysis contents according to the present invention is characterized in that the normal printing or the data analysis printing is executed based on an output of a mode switch for switching between a normal printing mode and a data analysis mode. An analysis means is provided.

【0007】さらに、本発明の通信データ解析内容印字
可能なプリンタ装置は、通信データ上のコマンドを解析
することにより前記通常印字または前記データ解析用印
字を実行する前記解析手段を備える。
Further, the printer device capable of printing communication data analysis contents according to the present invention includes the analysis means for executing the normal printing or the data analysis printing by analyzing a command on the communication data.

【0008】[0008]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0009】本発明の第1の実施の形態の構成をブロッ
クで示す図1を参照すると、この実施の形態のプリンタ
装置1は、上位通信端末6からのデータを受け取る上位
インターフェース2と、印字制御や通信制御等の主制御
を行う制御部3と、用紙に印字を行う印字部4とに加
え、通常印字モードとデータ解析モードとの切替を制御
部3に指示するモード切替スイッチ5とから構成され
る。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention. Referring to FIG. 1, a printer 1 according to this embodiment includes an upper interface 2 for receiving data from an upper communication terminal 6, a print control And a mode switch 5 for instructing the control unit 3 to switch between a normal printing mode and a data analysis mode, in addition to a control unit 3 for performing main control such as communication control and communication control, and a printing unit 4 for printing on paper. Is done.

【0010】この実施の形態の動作をフローチャートで
示す図2を図1に併せて参照して、この実施の形態の動
作を説明する。通常の通信データは印字制御コマンドと
印字データによって構成されている(S1)。上位イン
ターフェース2に通信データが入力された場合、制御部
3はモード切替スイッチ5の状態により通常印字モード
かデータ解析モードかを識別して制御内容を変更する
(S2)。モード切替スイッチ5がデータ解析モードに
設定されていない場合、制御部3は通常印字モードと識
別し、制御コマンドに従って印字データを文字CGに展
開し、プリンタ用紙への印字を行う(S3,S4)。モ
ード切替スイッチ5がデータ解析モードに設定されてい
る場合、制御部3はデータ解析モードへと移行する(S
2)。データ解析モードにおいて制御部3は、通信デー
タ内のコマンドデータを含む全てのデータをデータ解析
用印字パターンに変換する(S5)。制御部3は変換さ
れた全てのデータをプリンタ用紙に印字する(S6)。
The operation of this embodiment will be described with reference to FIG. 2 showing a flow chart of the operation of this embodiment together with FIG. Normal communication data is composed of a print control command and print data (S1). When communication data is input to the upper interface 2, the control unit 3 identifies the normal print mode or the data analysis mode based on the state of the mode changeover switch 5 and changes the control content (S2). When the mode changeover switch 5 is not set to the data analysis mode, the control unit 3 identifies the normal print mode, develops the print data into characters CG according to the control command, and performs printing on the printer paper (S3, S4). . When the mode changeover switch 5 is set to the data analysis mode, the control unit 3 shifts to the data analysis mode (S
2). In the data analysis mode, the control unit 3 converts all data including the command data in the communication data into a data analysis print pattern (S5). The control section 3 prints all the converted data on the printer paper (S6).

【0011】次に、この実施の形態の動作の具体例を説
明する図3を図1に併せて参照して、この実施の形態の
動作の具体例を詳細に説明する。上位インターフェース
2に通信データA1が入力される。通信データA1は制
御コマンドと印字データ及び改行コードにより構成され
ている。モード切替スイッチ5がデータ解析モードに設
定されていない場合、制御部3は通常印字モードと認識
し、プリンタ用紙上には“ABCD”というCG展開が
行われたデータが印字される(A2)。モード切替スイ
ッチがデータ解析モードに設定されている場合、制御部
3はデータ解析モードへと移行する。そして、通信デー
タをデータ解析用印字パターンである16進数字にCG
展開して、プリンタ用紙に通信データを“1C5355
414243440A”と印字する(A3)。
Next, a specific example of the operation of this embodiment will be described in detail with reference to FIG. 1 which explains a specific example of the operation of this embodiment and FIG. The communication data A1 is input to the upper interface 2. The communication data A1 includes a control command, print data, and a line feed code. When the mode changeover switch 5 is not set to the data analysis mode, the control unit 3 recognizes the normal print mode, and prints data which has been subjected to the CG expansion "ABCD" on the printer paper (A2). When the mode switch is set to the data analysis mode, the control unit 3 shifts to the data analysis mode. Then, the communication data is converted to a hexadecimal number which is a print pattern for data analysis by CG.
Expand the communication data on the printer paper to "1C5355
414243440A "is printed (A3).

【0012】次に、本発明の第2の実施の形態の動作を
説明するフローチャートである図4を参照して、第2の
実施の形態の動作を詳細に説明する。第2の実施の形態
におけるプリンタ装置においては図1におけるモード切
替スイッチ5は備えない。その代わり、通信データ上の
コマンドによってデータ解析モードに移行する機能を備
える。上位通信端末6より通信データが入力された場
合、制御部3はその通信データがデータ解析モードへ移
行するコマンドであるかを識別する(S7,S8)。通
信データがデータ解析モードへ移行するコマンドでない
場合は通常印字データとして扱い、文字CGへの変換を
行いプリンタ用紙に印字する(S9,S10)。通信デ
ータがデータ解析モードへ移行するコマンドである場合
は印字動作は行わずデータ解析モードに移行する(S
8,S11)。データ解析モードに移行した後に通信デ
ータが入力された場合、全ての通信データをデータ解析
用印字パターンに変換してプリンタ用紙に印字する(S
12,S13,S14)。
Next, the operation of the second embodiment will be described in detail with reference to FIG. 4 which is a flowchart for explaining the operation of the second embodiment of the present invention. The printer according to the second embodiment does not include the mode changeover switch 5 shown in FIG. Instead, it has a function to shift to the data analysis mode by a command on the communication data. When communication data is input from the upper communication terminal 6, the control unit 3 identifies whether the communication data is a command for shifting to the data analysis mode (S7, S8). If the communication data is not a command for shifting to the data analysis mode, it is treated as normal print data, converted to characters CG and printed on printer paper (S9, S10). If the communication data is a command for shifting to the data analysis mode, the operation shifts to the data analysis mode without performing the printing operation (S
8, S11). When the communication data is input after shifting to the data analysis mode, all the communication data is converted into a data analysis print pattern and printed on printer paper (S
12, S13, S14).

【0013】[0013]

【発明の効果】以上説明したように、本発明の第1の効
果は、外部機器を接続せずに通信データの解析が行える
ことである。この結果、従来よりも容易に通信データの
解析が行える様になり保守性や作業性が向上する。
As described above, the first effect of the present invention is that communication data can be analyzed without connecting an external device. As a result, analysis of communication data can be performed more easily than in the past, and maintainability and workability are improved.

【0014】第2の効果は、データ解析用のメモリや外
部表示機器用の接続回路が不要になるということであ
る。この結果、外部に表示機器を接続して解析を行う従
来の装置に比べて安価にデータ解析を行う手段を提供す
ることができる。
A second effect is that a memory for data analysis and a connection circuit for an external display device are not required. As a result, it is possible to provide a means for performing data analysis at a lower cost than a conventional apparatus which performs analysis by connecting an external display device.

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

【図1】本発明の第1の実施の形態の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】この第1の実施の形態の動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing an operation of the first embodiment.

【図3】この第1の実施の形態の動作の具体例を説明す
る図である。
FIG. 3 is a diagram illustrating a specific example of the operation of the first embodiment.

【図4】本発明の第2の実施の形態の動作を説明するフ
ローチャートである。
FIG. 4 is a flowchart illustrating an operation of the second exemplary embodiment of the present invention.

【図5】従来例の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a conventional example.

【図6】従来例の構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of a conventional example.

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

1 プリンタ装置 2 上位インターフェース 3 制御部 4 印字部 5 モード切替スイッチ 6 上位通信端末 DESCRIPTION OF SYMBOLS 1 Printer device 2 Upper interface 3 Control part 4 Printing part 5 Mode switch 6 Upper communication terminal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 上位装置から送られるデータに基づいて
印字を行うプリンタ装置において、通常印字の他に通信
データ自体をデータ解析用印字パターンに変換してプリ
ンタ用紙に印字する解析手段を備えることを特徴とする
通信データ解析内容印字可能なプリンタ装置。
1. A printer device for printing based on data sent from a higher-level device, comprising, in addition to normal printing, analysis means for converting communication data itself into a data analysis print pattern and printing it on printer paper. Characteristic printer that can print communication data analysis contents.
【請求項2】 通常印字モードとデータ解析モードとを
切り替えるモード切替スイッチの出力に基づいて前記通
常印字または前記データ解析用印字を実行する前記解析
手段を備えることを特徴とする請求項1記載の通信デー
タ解析内容印字可能なプリンタ装置。
2. The apparatus according to claim 1, further comprising the analysis unit configured to execute the normal printing or the data analysis printing based on an output of a mode changeover switch that switches between a normal printing mode and a data analysis mode. Printer device capable of printing communication data analysis contents.
【請求項3】 通信データ上のコマンドを解析すること
により前記通常印字または前記データ解析用印字を実行
する前記解析手段を備えることを特徴とする請求項1記
載の通信データ解析内容印字可能なプリンタ装置。
3. The printer capable of printing communication data analysis contents according to claim 1, further comprising the analysis means for executing the normal printing or the data analysis printing by analyzing a command on communication data. apparatus.
JP9139974A 1997-05-29 1997-05-29 Printer capable of printing content of communication data analysis Pending JPH10329367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9139974A JPH10329367A (en) 1997-05-29 1997-05-29 Printer capable of printing content of communication data analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9139974A JPH10329367A (en) 1997-05-29 1997-05-29 Printer capable of printing content of communication data analysis

Publications (1)

Publication Number Publication Date
JPH10329367A true JPH10329367A (en) 1998-12-15

Family

ID=15258011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9139974A Pending JPH10329367A (en) 1997-05-29 1997-05-29 Printer capable of printing content of communication data analysis

Country Status (1)

Country Link
JP (1) JPH10329367A (en)

Similar Documents

Publication Publication Date Title
JPH10329367A (en) Printer capable of printing content of communication data analysis
JPS6319275A (en) Printer
JP3651551B2 (en) Printer and printing system
KR100334106B1 (en) Method for printing of document data in the printer
JPH06208441A (en) System for controlling printing environment of printer device
KR100404747B1 (en) Emulator Device for Input / Output Scanning Module
JPS6129566A (en) Processing system of output from vertical writing mode
JPH026163A (en) Printer
KR100584531B1 (en) Apparatus for printing image file of printer
JPH04290763A (en) Printing device
JPH0631989A (en) Control method of printing of page printer
JPH06234248A (en) Printer
JPH07141130A (en) Printer controller
JP2565477B2 (en) Display system
JPH06161681A (en) Printer
JPH04161365A (en) Printer
JPH01171960A (en) Printer apparatus
JP2000296656A (en) Printing apparatus, information processing apparatus, control method thereof, and information recording medium
JP2000071563A (en) Printer with host data analysis result output function
JPS6358532A (en) Printer device
JPH07276749A (en) Apparatus for forming test pattern for local printing in printer
JP2000293329A (en) Device and method for abbreviating control code
JPH04170256A (en) Facsimile equipment
JPH06180636A (en) Printer
JPH05250111A (en) Printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990406