JPH01241614A - Printing device - Google Patents
Printing deviceInfo
- Publication number
- JPH01241614A JPH01241614A JP63068286A JP6828688A JPH01241614A JP H01241614 A JPH01241614 A JP H01241614A JP 63068286 A JP63068286 A JP 63068286A JP 6828688 A JP6828688 A JP 6828688A JP H01241614 A JPH01241614 A JP H01241614A
- Authority
- JP
- Japan
- Prior art keywords
- data
- processing
- registered
- printing
- command
- 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
- 238000000034 method Methods 0.000 claims description 24
- 238000007405 data analysis Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、例えばホストコンピュータのような外部装置
から人力したデータに従って、記録用紙等に印字出力を
行う印字装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a printing device that prints out data on recording paper or the like in accordance with data manually input from an external device such as a host computer.
(従来の技術)
第4図のブロック図に示すように、従来この種の印字装
置1においては、例えばホストコンピュータのような外
部装置2から送られたデータを受信バッファ4に一度格
納する。データ解析部5が受信バッファ4からデータを
取り出してデータを解析後、解析データバッファ6を作
成する。出力部8は、解析データバッファ6に従って、
例えば記録用紙のような被記録媒体9に印字出力を行っ
ている。(Prior Art) As shown in the block diagram of FIG. 4, in a conventional printing device 1 of this type, data sent from an external device 2 such as a host computer is stored once in a reception buffer 4. The data analysis unit 5 extracts data from the reception buffer 4, analyzes the data, and then creates an analysis data buffer 6. According to the analysis data buffer 6, the output unit 8 outputs
For example, printing is performed on a recording medium 9 such as recording paper.
使用者が例えば文字列のような入力データに対して、例
えば強調、白黒反転、アンダーラインなどのような処理
を行おうとする場合には、第5図に示すような処理を行
う、第5図に示す処理例は白黒反転の処理であり、対象
となるデータは文字列“ABC”108である。外部装
置2からまず、白黒反転開始コマンド109を受信バッ
ファ4に送信し、次にデータ″’ABC″108を送信
する。データ“ABC”108を送信した後に、白黒反
転終了コマンド11Gを送信する。When a user wishes to perform processing such as emphasis, inversion of black and white, underlining, etc. on input data such as a character string, the processing shown in Fig. 5 is performed. The example of processing shown in FIG. First, the external device 2 transmits a black and white inversion start command 109 to the reception buffer 4, and then transmits data "ABC" 108. After transmitting the data "ABC" 108, a black and white inversion end command 11G is transmitted.
印字装置l側では、データ解析部5において、白黒反転
開始コマンド109 と白黒反転終了コマンド110と
の間に送られたデータ″’ABC”108に対して、白
黒反転処理を行うことを、出力部8に指示するような解
析データバッファ6を作成する。On the printing device l side, the data analysis section 5 instructs the output section to perform black and white reversal processing on the data "ABC" 108 sent between the black and white reversal start command 109 and the black and white reversal end command 110. 8. Create an analysis data buffer 6 as indicated in 8.
(発明が解決しようとする課題)
しかしながら、上述の従来例においては、ある特定のデ
ータに対して毎回同じ処理を行わせたい場合でも、毎回
、データの前後に、それぞれ処理開始コマンドおよび処
理終了コマンドを入力しなければならないため、入力す
るデータが繁雑で、かつデータ量も増加するという欠点
があった。(Problem to be Solved by the Invention) However, in the conventional example described above, even if it is desired to perform the same processing on certain data every time, a processing start command and a processing end command are issued before and after the data each time. This has the disadvantage that the input data is complicated and the amount of data increases.
本発明の目的は上述の欠点を除去し、データの入力を効
率良く行うことのできる印字装置を提供することにある
。SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and provide a printing device that can efficiently input data.
(課題を解決するための手段)
このような目的を達成するために、本発明は、入力され
た印字データに対する処理を予め登録する処理登録手段
と、印字データが登録しである処理を施すべきデータで
あるか否かを判定する判定手段と、判定に基づいて印字
データを解析するデータ解析手段とを具える。(Means for Solving the Problems) In order to achieve such an object, the present invention includes a process registration unit that registers in advance a process for input print data, and a process that should be performed after the print data is registered. It includes a determining means for determining whether or not it is data, and a data analyzing means for analyzing the print data based on the determination.
本発明によれば、特定のデータに対して特定の処理を行
うように、使用者が予め登録できるコマンド(以下登録
コマンドと称す)と、入力データ中から、登録した特定
のデータを識別し、指定の処理を行フて印字する機能と
を設けることにより、入力するデータを簡潔にし、かつ
入力のデータ量を削減できるようにしたものである。According to the present invention, a command that can be registered in advance by a user (hereinafter referred to as a registered command) so as to perform a specific process on specific data, and identifying the registered specific data from input data, By providing a function to perform specified processing and print, it is possible to simplify input data and reduce the amount of input data.
(実施例) 以下、図面を参照して本発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.
本発明に係る印字装置は、第1図に示すように入力され
た印字データに対する処理を予め登録する処理登録手段
101と、印字データが登録しである処理を施すべきデ
ータであるか否かを判定する判定手段102と、判定に
基づいて印字データを解析するデータ解析手段103と
を具える。As shown in FIG. 1, the printing device according to the present invention includes a process registration means 101 that registers in advance a process for input print data, and a process registration unit 101 that registers in advance a process to be performed on input print data, and a process registration unit 101 that registers whether or not the print data is data that should be subjected to a certain process. It includes a determining means 102 that makes a determination, and a data analyzing means 103 that analyzes print data based on the determination.
第2図は、本発明を実施したデータ解析部5による処理
を示すフローチャートである。FIG. 2 is a flowchart showing the processing by the data analysis section 5 implementing the present invention.
ステップS1において外部装置2からデータが入力され
るとステップS2にわり、入力データが登録コマンドで
あるかどうかを調べる。登録コマンドであれば、ステッ
プS3に移り登録コマンド処理を行う、ステップS3に
おいては、指定されたデータを登録データとして、また
、登録データに対して行うべき処理を指定処理として、
データ解析部5のRAM上の登録データ表に書き込む。When data is input from the external device 2 in step S1, the process moves to step S2, and it is checked whether the input data is a registration command. If it is a registration command, the process moves to step S3 and registration command processing is performed. In step S3, the specified data is designated as registration data, and the process to be performed on the registration data is designated as designated processing.
The data is written to the registered data table on the RAM of the data analysis section 5.
第3図は、文字列“ABC”に対して白黒反転を行うよ
うに登録した場合の登録データ表の例を示す。FIG. 3 shows an example of a registered data table when the character string "ABC" is registered to be inverted in black and white.
ステップS2において、人力データが登録コマンドでな
いと判断されたときはステップS4に移り、登録データ
表を参照して登録データであるか否かを調べる。登録デ
ータでないときは、ステップS6に移り通常の解析を行
い解析データバッファ6を作成する。ステップS4にお
いて、登録データであると判定されたときは、ステップ
s5に移りそのデータに対して指定処理を行うように解
析データバッファ6を作成する。If it is determined in step S2 that the manual data is not a registered command, the process moves to step S4, and the registered data table is referred to to check whether the data is registered data. If the data is not registered data, the process moves to step S6, where normal analysis is performed and an analysis data buffer 6 is created. If it is determined in step S4 that the data is registered data, the process moves to step s5, and an analysis data buffer 6 is created to perform a designation process on the data.
このような制御を行うことで、最初に予め、ある特定デ
ータに対する特定の処理を登録しておけば、それ以後は
、使用者は処理開始、処理終了のコマンドを送らなくと
も、それ以後の特定データ全てに対し、指定の処理を行
った印字出力を得ることができる。By performing such control, if a specific process for specific data is registered in advance, the user can perform subsequent specific processing without having to send commands to start or end processing. All data can be printed out after the specified processing has been performed.
他の実施例としては、指定処理として登録データに対し
て、例えば“Xx”という登録データを人力すると“a
bcdefghjj”というデータを人力したとみなす
ような置換処理を行えば、同一のデータを大:に人力す
る際に、データ量の圧縮を行うことができる。As another example, if the registration data "Xx" is entered manually as a specification process, "a"
bcdefghjj'' is considered to have been manually generated, it is possible to compress the amount of data when manually inputting the same data.
(発明の効果〕
以上説明したように、本発明においては、使用者が指定
した特定のデータに対して、特定の処理を行うことを登
録できるコマンドと、その指定に従って、人力データ中
からある特定のデータを識別し、指定の処理を行って印
字する機能を設けたので、同一データを大量に人力する
場合に、外部装置から人力するデータを簡潔にし、かつ
データ量を削減できるという効果がある。(Effects of the Invention) As explained above, in the present invention, there is a command that can register a specific process to be performed on specific data specified by the user, and a command that can register a specific process from human data according to the specification. Since we have provided a function to identify data, perform specified processing, and print it, it is effective in simplifying the data manually input from external devices and reducing the amount of data when manually inputting a large amount of the same data. .
第1図は本発明に係る印字装置の基本構成図、
第2図は本発明の実施例のフローチャート、第3図は本
発明の実施例の登録データ表の例を示す図、
第4図は、従来の印字装置の処理を示すブロック図、
第5図は、データの処理の流れの一例を示す図である。
1・・・印字装置、
2・・・外部装置、
4・・・受信バッファ、
5・・・データ解析部、
6・・・解析データバッファ、
8・・・出力部、
9・・・被記録媒体。FIG. 1 is a basic configuration diagram of a printing device according to the present invention, FIG. 2 is a flowchart of an embodiment of the present invention, FIG. 3 is a diagram showing an example of a registered data table of an embodiment of the present invention, and FIG. , a block diagram showing the processing of a conventional printing device. FIG. 5 is a diagram showing an example of the flow of data processing. DESCRIPTION OF SYMBOLS 1... Printing device, 2... External device, 4... Reception buffer, 5... Data analysis part, 6... Analysis data buffer, 8... Output part, 9... Recorded part Medium.
Claims (1)
処理登録手段と、 前記印字データが前記処理を施すべきデータであるか否
かを判定する判定手段と、 該判定に基づいて前記印字データを解析するデータ解析
手段と を具えたことを特徴とする印字装置。[Scope of Claims] 1) Process registration means for registering in advance a process for input print data; a determination means for determining whether the print data is data to be subjected to the process; and based on the determination and data analysis means for analyzing the print data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63068286A JPH01241614A (en) | 1988-03-24 | 1988-03-24 | Printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63068286A JPH01241614A (en) | 1988-03-24 | 1988-03-24 | Printing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01241614A true JPH01241614A (en) | 1989-09-26 |
Family
ID=13369371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63068286A Pending JPH01241614A (en) | 1988-03-24 | 1988-03-24 | Printing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01241614A (en) |
-
1988
- 1988-03-24 JP JP63068286A patent/JPH01241614A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH01241614A (en) | Printing device | |
JPH01188374A (en) | Printing system | |
KR910017319A (en) | Image processing apparatus and method | |
JPH02195479A (en) | Machine translation system | |
JP2738696B2 (en) | Printing control device | |
JP2000168170A (en) | Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same | |
JPH0631983A (en) | Printer device | |
JP2001265545A (en) | Print content confirmation support system and its control method | |
JP3599527B2 (en) | Composite printing apparatus and control method thereof | |
JPH0671950A (en) | Printer device | |
JP3258157B2 (en) | Information processing device | |
JPH026163A (en) | Printer | |
JP2003054050A (en) | Method and apparatus for analyzing data | |
JPH0424132U (en) | ||
JPS6358532A (en) | Printer device | |
JPH01171960A (en) | Printer apparatus | |
JPH05558A (en) | Evaluation test system of printing device | |
JPH04290763A (en) | Printing device | |
JPH0312729A (en) | Recorder | |
JPS63250735A (en) | Image output device | |
JPS63199662A (en) | Printer | |
JPH0612198A (en) | Printer device control circuit | |
JPH0522504A (en) | Reception data conversion system for printer | |
JP2002268841A (en) | Print controller for page printer | |
JPH01241618A (en) | Printer |