JPH0522504A - Reception data conversion system for printer - Google Patents

Reception data conversion system for printer

Info

Publication number
JPH0522504A
JPH0522504A JP3145132A JP14513291A JPH0522504A JP H0522504 A JPH0522504 A JP H0522504A JP 3145132 A JP3145132 A JP 3145132A JP 14513291 A JP14513291 A JP 14513291A JP H0522504 A JPH0522504 A JP H0522504A
Authority
JP
Japan
Prior art keywords
data
conversion
printing
printer
unit
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
JP3145132A
Other languages
Japanese (ja)
Inventor
Kenji Ishimoto
謙司 石本
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 Solution Innovators Ltd
Original Assignee
NEC Software Hokuriku 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 Software Hokuriku Ltd filed Critical NEC Software Hokuriku Ltd
Priority to JP3145132A priority Critical patent/JPH0522504A/en
Publication of JPH0522504A publication Critical patent/JPH0522504A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)

Abstract

PURPOSE:To make the command system for printer original and to realize arbitrary conversion for character string using the printer by providing commands for conversion data registration on the printer. CONSTITUTION:The printer printing data inputted from a host device 2 is provided with a CPU part 11 controlling the data received from a reception part 3, the printing data to be outputted to a printing part 4, and the data with a storage part 12, a storage part 12 performing at least the reading and writing to a conversion data table by the data from the CPU part 11, and a conversion data table 13 storing conversion data and data to be converted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は印字装置の受信データ変
換方式に関し、特に上位装置から受信したデータをあら
かじめ上位装置を用いて登録しておいた任意のデータに
変換する、例えば、改ページのコマンドを改行のコマン
ドに変換する等の印字装置の受信データ変換方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a received data conversion system for a printing device, and more particularly, it converts data received from a host device into arbitrary data registered in advance by the host device. The present invention relates to a received data conversion method of a printing device such as converting a command into a line feed command.

【0002】[0002]

【従来の技術】従来、印字装置は上位装置から受信した
データに対応した処理を行っており、任意の印字データ
の印字結果を変更する場合には、上位装置側で印字デー
タを変更し印字装置に出力していた。
2. Description of the Related Art Conventionally, a printer performs processing corresponding to data received from a host device, and when changing the print result of arbitrary print data, the printer data is changed on the host device side. Was output to.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の印字装
置において、印字結果を変更する場合には、上位装置の
印字データを変更して印字装置に出力する必要があり、
このため、印字装置側で印字データを変更することがで
きないという欠点がある。本発明の目的は、印字装置側
に変換データ登録のコマンドを設けることにより、印字
装置独自の出力結果を得ることを可能とすることであ
る。
In the above-mentioned conventional printing apparatus, when the printing result is changed, it is necessary to change the print data of the host apparatus and output it to the printing apparatus.
For this reason, there is a drawback that the print data cannot be changed on the printer side. An object of the present invention is to make it possible to obtain an output result unique to a printing device by providing a conversion data registration command on the printing device side.

【0004】[0004]

【課題を解決するための手段】本発明の印字装置の受信
データ変換方式は、上位装置から入力されたデータの印
字動作を行う印字装置において、受信部により受信した
データの制御と印字部へ出力する印字データの制御と,
記憶部とのデータの制御とを行うCPU部と、前記CP
U部から渡されたデータにより少なくとも変換データテ
ーブルへの書き込み,読み出しを行う記憶部と、変換,
被変換データを記憶しておく変換データテーブルとを備
えて構成される。
According to the received data conversion method of a printing device of the present invention, in a printing device for performing a printing operation of data input from a host device, the data received by a receiving part is controlled and output to the printing part. Print data control,
A CPU unit for controlling data with a storage unit, and the CP
A storage unit that writes and reads at least the conversion data table according to the data passed from the U unit;
And a conversion data table for storing the converted data.

【0005】[0005]

【実施例】次に本発明について、図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0006】図1は、本発明の一実施例の構成を示すブ
ロック図である。図1のブロック図の構成を説明する。
本発明を含む印字装置1は、上位装置2から送られてく
るデータを受信する受信部3と、受信部3の受け取った
データが、登録コマンド、被変換データあるいはその他
のデータか判断し記憶部12または印字部4に渡すCP
U部11から渡された登録コマンドあるいはデータに対
し、変換データテーブル13を登録または比較する記憶
部12と、記憶部12により被変換データを変換デーダ
に変換するための変換データテーブ13と、CPU部1
1から渡されたデータをもとに印字動作を行う印字部4
から構成される。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. The configuration of the block diagram of FIG. 1 will be described.
The printing apparatus 1 including the present invention includes a receiving unit 3 that receives data sent from the higher-level device 2 and a storage unit that determines whether the data received by the receiving unit 3 is a registration command, converted data, or other data. 12 or CP passed to the printing unit 4
A storage unit 12 for registering or comparing the conversion data table 13 with respect to a registration command or data passed from the U unit 11, a conversion data table 13 for converting the converted data into conversion data by the storage unit 12, and a CPU. Part 1
Printing unit 4 that performs printing operation based on the data passed from 1.
Composed of.

【0007】次に、本発明を含む印字装置1の印字動作
について、図2のフローチャートを用いて説明する。
Next, the printing operation of the printing apparatus 1 including the present invention will be described with reference to the flowchart of FIG.

【0008】まず、上位装置2から送られたデータを受
信部3が受け取る(ステップ21)。CPU部11は、
受信部3が受け取ったデータが登録コマンドであるか判
断する(ステップ22)。登録コマンドであるならば、
CPU部11は、登録コマンドとともに上位装置2より
渡される被変換データと変換データとを記憶部12に渡
す。記憶部12は変換データテーブル13へ被変換デー
タ及び変換データを書き込む(ステップ23)。
First, the receiving unit 3 receives the data sent from the higher-level device 2 (step 21). The CPU section 11 is
It is determined whether the data received by the receiving unit 3 is a registration command (step 22). If it is a registration command,
The CPU unit 11 passes the converted data and the converted data passed from the higher-level device 2 together with the registration command to the storage unit 12. The storage unit 12 writes the converted data and the converted data in the converted data table 13 (step 23).

【0009】登録コマンドでないならば、CPU部11
は記憶部12にデータを通知する。記憶部12は、デー
タが被変換データと一致しないか変換データテーブル1
3をサーチする(ステップ24)。データと被変換デー
タが一致しない場合、記憶部12はCPU部11から受
け取ったデータをそのままCPU部11に送る。データ
と被変換データが一致した場合、記憶部12は、一致し
た被変換データに対応する変換データを変換データテー
ブル13より読みだし、CPU部11に送る(ステップ
25)。記憶部12から送られるたデータをCPU部1
1は印字部4に渡し、印字部4は渡されたデータをもと
に印字処理を行う(ステップ26)。
If it is not a registration command, the CPU section 11
Notifies the storage unit 12 of the data. The storage unit 12 determines whether the data does not match the converted data or the converted data table 1
3 is searched (step 24). If the data does not match the converted data, the storage unit 12 sends the data received from the CPU unit 11 to the CPU unit 11 as it is. When the data and the converted data match, the storage unit 12 reads the converted data corresponding to the matched converted data from the conversion data table 13 and sends it to the CPU unit 11 (step 25). The data sent from the storage unit 12 is transferred to the CPU unit 1
1 is passed to the printing unit 4, and the printing unit 4 performs a printing process based on the passed data (step 26).

【0010】[0010]

【発明の効果】以上説明したように本発明は、印字装置
に変換データ登録のコマンドを設ける事により、例えば
改ページのコマンドに変換するなど、印字装置オリジナ
ルのコマンド体系を作り上げる事ができるという効果が
ある。また、変換データ及び被変換データの長さを限定
しない事により、印字装置によって任意の文字列の変換
も実現できるという効果がある。
As described above, according to the present invention, by providing a conversion data registration command in the printing device, it is possible to create a command system original to the printing device, for example, converting it into a page break command. There is. Further, by not limiting the lengths of the converted data and the converted data, it is possible to realize the conversion of an arbitrary character string by the printing device.

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

【図1】本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の動作を説明するフローチャート。FIG. 2 is a flowchart illustrating the operation of the present invention.

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

1 印字装置 2 上位装置 3 受信部 4 印字部 11 CPU部 12 記憶部 13 変換データテーブル DESCRIPTION OF SYMBOLS 1 printing device 2 host device 3 receiving unit 4 printing unit 11 CPU unit 12 storage unit 13 conversion data table

Claims (1)

【特許請求の範囲】 【請求項1】 上位装置から入力されたデータの印字動
作を行う印字装置において、受信部により受信したデー
タの制御と印字部へ出力する印字データの制御と,記憶
部とのデータの制御とを行うCPU部と、前記CPU部
から渡されたデータにより少なくとも変換データテーブ
ルへの書き込み,読み出しを行う記憶部と、変換,被変
換データを記憶しておく変換データテーブルとを備えて
成ることを特徴とする印字装置の受信データ変換方式。
Claim: What is claimed is: 1. In a printing device that prints data input from a host device, control of data received by a receiving unit, control of print data output to the printing unit, and a storage unit are provided. And a storage unit for performing at least writing and reading to and from the conversion data table by the data passed from the CPU unit, and a conversion data table for storing conversion and converted data. A received data conversion system for a printing device, characterized by being provided.
JP3145132A 1991-06-18 1991-06-18 Reception data conversion system for printer Pending JPH0522504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3145132A JPH0522504A (en) 1991-06-18 1991-06-18 Reception data conversion system for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3145132A JPH0522504A (en) 1991-06-18 1991-06-18 Reception data conversion system for printer

Publications (1)

Publication Number Publication Date
JPH0522504A true JPH0522504A (en) 1993-01-29

Family

ID=15378151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3145132A Pending JPH0522504A (en) 1991-06-18 1991-06-18 Reception data conversion system for printer

Country Status (1)

Country Link
JP (1) JPH0522504A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008186084A (en) * 2007-01-26 2008-08-14 Fuji Xerox Co Ltd Print setting instruction device, information processor, print processing system, print setting instruciton system and control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008186084A (en) * 2007-01-26 2008-08-14 Fuji Xerox Co Ltd Print setting instruction device, information processor, print processing system, print setting instruciton system and control program

Similar Documents

Publication Publication Date Title
JPH06286229A (en) Printer
JPH0522504A (en) Reception data conversion system for printer
JP3178578B2 (en) PRINTING APPARATUS AND PRINTING SYSTEM USING THE APPARATUS
JP2522600B2 (en) Printer
JP3046478B2 (en) Printing apparatus and printing method
JP3138392B2 (en) Printing device and method
JP2776743B2 (en) Electrophotographic printer
JPH04275163A (en) Page printer with built-in disk unit
JPH0631983A (en) Printer device
JPH09218760A (en) Network printer system
JP2003312066A (en) Printer
JPH01171960A (en) Printer apparatus
JPH0746335B2 (en) Command data processing method
JPH0347778A (en) Format controller for page printer
JPH0550665A (en) Page printer
JPS63205269A (en) Printer
JPH04275162A (en) Pattern data printing method
JPH0563886A (en) Printer
JPH02234217A (en) Simple trial printing system
JPH0338719A (en) Printing character control mechanism
JPH05212934A (en) Cut paper page printer system and automatic contracting/ expanding printing method in said system
JPH04125177A (en) Printer setting apparatus
JPH07200202A (en) Printing device
JPH04290058A (en) Facsimile equipment
JPH08108584A (en) Page printer and printing data-processing method