JPS6319275A - Printer - Google Patents
PrinterInfo
- Publication number
- JPS6319275A JPS6319275A JP61163348A JP16334886A JPS6319275A JP S6319275 A JPS6319275 A JP S6319275A JP 61163348 A JP61163348 A JP 61163348A JP 16334886 A JP16334886 A JP 16334886A JP S6319275 A JPS6319275 A JP S6319275A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- received data
- instruction
- mode
- translating
- 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
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、印刷装置の受信データの印字機能に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a printing function of received data of a printing device.
本発明は、特に複雑なプログラムによる情報処理システ
ムの印刷装置に利用するに適する。The present invention is particularly suitable for use in a printing device for an information processing system using a complicated program.
本発明は、受信データを第一モードでは上位装置の命令
にしたがって印字し、第二モードではデバッグのため1
または複数桁の16進数字の印字を行う印刷装置におい
て、
制御命令により第二七−ドにおいて受信データを印刷装
置の命令形式に変換して印字を行う機能を備えることに
より、
データ内容を一見して理解できるようにして、プログラ
ムのデバッグを14に行うことができるようにしたもの
である。In the first mode, the present invention prints received data according to instructions from a host device, and in the second mode, it prints out received data for debugging.
Alternatively, in a printing device that prints multi-digit hexadecimal digits, the data content can be checked at a glance by providing a function that converts the received data into the printer's command format in the 27th code according to a control command and prints it. The program is designed to be easy to understand and debug programs in 14 seconds.
従来の印刷装置は、受信データの印字機能として第一モ
ードである通常の文章印字機能の他に、プログラムのデ
バッグのため、受信データを16進数字として印字する
第二モードの殿能(以下、データダンプという)を有し
ていた。Conventional printing devices have a first mode of printing received data, which is a normal text printing function, and a second mode of printing received data as hexadecimal numbers (hereinafter referred to as digits) for program debugging. data dump).
第3図に従来技術によるデータダンプの印字例を示す。FIG. 3 shows an example of data dump printing according to the prior art.
この第二モードの印字結果によりデバノグ処理を行って
いた。Devanog processing was performed based on the print results of this second mode.
しかし、近年印刷装置は非常に高性能・多機能となって
もおり、印刷装置を使用したプログラムも非常に複雑に
なってきている。したがって、従来の第二モードのデー
タダンプによる単なる16進数字の羅列の印字結果から
プログラムのデバッグを行うには、非常に困難性がある
欠点がある。However, in recent years, printing devices have become extremely high-performance and multi-functional, and programs using printing devices have also become extremely complex. Therefore, it is extremely difficult to debug a program based on the print result of a mere hexadecimal digit sequence by the conventional second mode data dump.
本発明はこの欠点を解決して、デバッグを容易に行うこ
とのできる印刷装置を提供することを目的とする。An object of the present invention is to solve this drawback and provide a printing device that can be easily debugged.
本発明は、受信したデータを16進数字として印字し、
かつその受信データを印刷装置の命令形式に変換して印
字を行う機能を有し、上位装置からの命令あるいは操作
パネルの操作によって、その印字機能状態となる機能を
備えたことを特徴とする。The present invention prints received data as hexadecimal digits,
It also has a function of converting the received data into a printing device command format and printing it, and is characterized by having a function of changing to the printing function state by a command from a host device or by operation of an operation panel.
すなわち本発明において、上位装置から入力する受信デ
ータを印刷命令にしたがって印字する第−モードに設定
する手段および上記受信データを1または複数桁の16
a数字に変換して印字する第二モードに設定する手段を
含む印刷装置において、上記第二モードで受信データを
その印刷装置の命令形式に変換して、上記数字に併せて
この命令形式を印字する手段を含むことを特徴とする。That is, in the present invention, there is provided a means for setting the received data inputted from a host device to a mode for printing according to a print command, and a means for setting the received data to be printed in one or more digits of 16
a In a printing device including means for setting a second mode in which the data is converted into numbers and printed, the received data is converted into a command format of the printing device in the second mode, and this command format is printed along with the numbers. It is characterized in that it includes means for.
第二モードが単なる16進数字の羅列である場合は、−
見してその意味が理解できないのでデバッグ作業が困難
であるが、印刷装置の命令形式の変換を行うと、文字ま
たは文として理解できるから錯誤することが少なくなり
、このためデバッグが容易となる。If the second mode is just a list of hexadecimal digits, -
Debugging is difficult because you cannot understand the meaning by looking at it, but if you convert the command format of the printing device, you can understand it as a character or sentence, which reduces errors and makes debugging easier.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック構成図である。第
1図において、上位装置1よりインタフェース5Aを介
して、中央制御装置2に入力された受信データは、操作
パネル3の操作により制御命令部21を介して選択部2
2で第一モードが選択されれば翻訳部23により翻訳さ
れる。この出力は印字部26によりインタフェース5B
を介して印刷機構4を作動し印刷を行う。同様に操作パ
ネル3の操作で選択部22で第二モードが選択されれば
、受信データのデバッグのため、データダンプ部24に
より16進数字が数字印字部27を介して同様に印刷さ
れる。FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, received data input from the host device 1 to the central control device 2 via the interface 5A is sent to the selection section 2 via the control instruction section 21 by operating the operation panel 3.
If the first mode is selected in step 2, translation is performed by the translation unit 23. This output is sent to the interface 5B by the printing unit 26.
The printing mechanism 4 is activated to perform printing. Similarly, when the second mode is selected by the selection section 22 by operating the operation panel 3, hexadecimal digits are similarly printed by the data dump section 24 via the numeric printing section 27 for debugging the received data.
ここで本発明の特徴とするところは、上位装置1または
操作パネル3の指令により制御命令部21を介して選択
部22が、第二モードを選択した場合に、受信データ中
の印刷装置の命令形式を翻訳する命令翻訳部25と、こ
の出力により命令を文字として印字するための出力を送
出する命令印字部28とを実行させる構成にしたことに
ある。Here, the feature of the present invention is that when the selection section 22 selects the second mode via the control command section 21 in response to a command from the host device 1 or the operation panel 3, the printing device command in the received data is The structure is such that an instruction translation section 25 that translates the format and an instruction printing section 28 that sends out an output for printing the instructions as characters are executed.
第2図において左側の数値は、従来のデータダンプ機能
による印字、右側は受信データを印刷装置における命令
形式に変換した印刷結果である。In FIG. 2, the numbers on the left side are the results of printing by the conventional data dump function, and the numbers on the right side are the results of printing after converting the received data into an instruction format for the printing device.
次に動作について説明する。Next, the operation will be explained.
印刷装置は、上位装置lからの命令あるいは操作パネル
3の操作によって第二七−ドを印字する機能状jlEに
なっている。このとき中央制御装置2は、上位装置1か
らデータを受は取ると、そのデータを解析し、第2図に
示すように命令による文字とその他は数字とからなる印
字形式に逼集し印刷を行う。The printing device has a functional state jlE that prints the 27th code in response to a command from the host device 1 or operation of the operation panel 3. At this time, when the central control unit 2 receives data from the host device 1, it analyzes the data, consolidates it into a print format consisting of commanded characters and numbers for the rest, and prints it, as shown in Figure 2. conduct.
以上説明したように本発明は、プログラムのデバッグを
行う第二モード時に、上位装置から送ったデータが印刷
装置の命令形式に変換されて印字されるため、プログラ
ムのミスで誤った命令が印刷装置に送られたことが容易
に発見でき、プログラムのデバッグが効率よく行える効
果がある。As explained above, in the present invention, during the second mode for debugging a program, the data sent from the host device is converted into the command format of the printing device and printed. This has the effect of making it easier to discover what has been sent to the program, and debugging the program more efficiently.
第1図は本発明の一実施例のブロック構成図。
第2図は上記実施例による印字例を示す図。
第3図は従来技術によるデータダンプによる印字例を示
す図。
■・・・上位装置、2・・・中央itl制御装置、3・
・・操作パネル、4・・・印別機購、5A、5B・・・
インタフェース、21・・・制御命令部、22・・・選
択部、23・・・翻訳部、24・・・データダンプ部、
25・・・命令翻訳部、26・・・印字部、27・・・
数字印字部、28・・・命令印字部。FIG. 1 is a block diagram of an embodiment of the present invention. FIG. 2 is a diagram showing an example of printing according to the above embodiment. FIG. 3 is a diagram showing an example of printing by data dump according to the prior art. ■...Host device, 2...Central ITL control device, 3.
...Operation panel, 4...Seal machine purchase, 5A, 5B...
Interface, 21... Control instruction section, 22... Selection section, 23... Translation section, 24... Data dump section,
25... Instruction translation section, 26... Printing section, 27...
Number printing section, 28... Command printing section.
Claims (1)
たがって印字する第一モードに設定する手段および上記
受信データを1または複数桁の16進数字に変換して印
字する第二モードに設定する手段を含む印刷装置におい
て、 上記第二モードで受信データをその印刷装置の命令形式
に変換して、上記数字に併せてこの命令形式を印字する
手段を含む ことを特徴とする印刷装置。(1) Means for setting a first mode in which received data input from a host device is printed according to a print command, and means for setting in a second mode in which the received data is converted into one or more digit hexadecimal digits and printed. A printing device comprising: means for converting the received data in the second mode into a command format for the printing device, and printing the command format along with the numerals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61163348A JPS6319275A (en) | 1986-07-11 | 1986-07-11 | Printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61163348A JPS6319275A (en) | 1986-07-11 | 1986-07-11 | Printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6319275A true JPS6319275A (en) | 1988-01-27 |
Family
ID=15772175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61163348A Pending JPS6319275A (en) | 1986-07-11 | 1986-07-11 | Printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6319275A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63272144A (en) * | 1987-04-30 | 1988-11-09 | Canon Inc | Dump output device |
JPS63272145A (en) * | 1987-04-30 | 1988-11-09 | Canon Inc | Dump output device |
JPH0422584A (en) * | 1990-05-16 | 1992-01-27 | Kanto Auto Works Ltd | Method and device for controlling welding current of spot welding machine |
JPH04242422A (en) * | 1991-01-16 | 1992-08-31 | Nec Corp | Control code analyzing system |
JPH05127955A (en) * | 1991-11-07 | 1993-05-25 | Canon Inc | Recording system |
JPH0671977A (en) * | 1991-06-08 | 1994-03-15 | Shinko Seisakusho Co Ltd | Method for analyzing reception code of printer |
JPH0789152A (en) * | 1993-09-22 | 1995-04-04 | Nec Corp | Printer |
JP2002351706A (en) * | 2001-05-22 | 2002-12-06 | Ntt Comware Corp | Method/program for presenting binary file and recording medium |
WO2012150671A1 (en) * | 2011-05-02 | 2012-11-08 | ブラザー工業株式会社 | Printing device |
-
1986
- 1986-07-11 JP JP61163348A patent/JPS6319275A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63272144A (en) * | 1987-04-30 | 1988-11-09 | Canon Inc | Dump output device |
JPS63272145A (en) * | 1987-04-30 | 1988-11-09 | Canon Inc | Dump output device |
JPH0422584A (en) * | 1990-05-16 | 1992-01-27 | Kanto Auto Works Ltd | Method and device for controlling welding current of spot welding machine |
JPH04242422A (en) * | 1991-01-16 | 1992-08-31 | Nec Corp | Control code analyzing system |
JPH0671977A (en) * | 1991-06-08 | 1994-03-15 | Shinko Seisakusho Co Ltd | Method for analyzing reception code of printer |
JPH05127955A (en) * | 1991-11-07 | 1993-05-25 | Canon Inc | Recording system |
JPH0789152A (en) * | 1993-09-22 | 1995-04-04 | Nec Corp | Printer |
JP2002351706A (en) * | 2001-05-22 | 2002-12-06 | Ntt Comware Corp | Method/program for presenting binary file and recording medium |
WO2012150671A1 (en) * | 2011-05-02 | 2012-11-08 | ブラザー工業株式会社 | Printing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6319275A (en) | Printer | |
JPH05246111A (en) | Printing device | |
JPS6260657A (en) | Character processor | |
JPH026163A (en) | Printer | |
JPS62255175A (en) | Standardized format printer | |
JPS62221546A (en) | Printing speed control system | |
JP3371435B2 (en) | Input mode automatic setting method or input mode automatic setting device | |
JP2591642B2 (en) | Printer | |
JPH0560428B2 (en) | ||
JPH04290763A (en) | Printing device | |
KR100341811B1 (en) | Method for outputing data printer | |
JPH0124317B2 (en) | ||
JPS61213883A (en) | Character data output unit | |
JPS63168366A (en) | N-ary code printing controlling system for printing data | |
JPH04260970A (en) | Method for inputting japanese language in application program | |
JPS5814290A (en) | Japanese language input device settable for print line pitch | |
JPS6376055A (en) | Original word/translated word display system in document forming device | |
JPH02176857A (en) | Input system in document preparing device | |
JPS61118263A (en) | Letter development system to image memory | |
JPH03166641A (en) | Kana to kanji converter | |
JPS59123038A (en) | Input control system of document processor | |
JPH0748210B2 (en) | Kana / alphabet conversion input method | |
JPS6013506B2 (en) | Japanese input device with calculation function | |
JPH04362770A (en) | Method and device for document processing | |
JPH02268319A (en) | Print controller for printer |