JPH0535465A - Page printer - Google Patents

Page printer

Info

Publication number
JPH0535465A
JPH0535465A JP3189641A JP18964191A JPH0535465A JP H0535465 A JPH0535465 A JP H0535465A JP 3189641 A JP3189641 A JP 3189641A JP 18964191 A JP18964191 A JP 18964191A JP H0535465 A JPH0535465 A JP H0535465A
Authority
JP
Japan
Prior art keywords
control code
page printer
function
unit
control
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
JP3189641A
Other languages
Japanese (ja)
Inventor
Manabu Kameda
学 亀田
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 JP3189641A priority Critical patent/JPH0535465A/en
Publication of JPH0535465A publication Critical patent/JPH0535465A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To increase the type of a control code executing the function of the page printer. CONSTITUTION:A page printer 1 is provided with a reception part 2 receiving information from a host device 20, an edition part 4 with a function judging whether or not the received information from the reception part 2 is a control code and executes a function suited for the control code when it is a control code and converting it into data to be printed when it is not, a control part 3 controlling the printing operation, a control code program part 10 newly registering the control code so as to operate the page printer function on the supplied control code, and a control code storage part 11 storing the newly registered control code.

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,
In particular, the invention relates to a control code programmable page printer device.

【0002】[0002]

【従来の技術】従来のページプリンタ装置はページプリ
ンタ装置開発会社独自の制御コード一種類で動作してい
る。
2. Description of the Related Art A conventional page printer device operates with one type of control code unique to a page printer device developer.

【0003】あるいは、多くのページプリンタ装置開発
会社の制御コードを、一台のページプリンタ装置で動作
させるため、他社のページプリンタ制御コードで動作す
るエミュレーションプログラムを開発し、ページプリン
タ装置に外付けする形でユーザに供給している。
Alternatively, in order to operate the control codes of many page printer device development companies with one page printer device, an emulation program that operates with the page printer control code of another company is developed and externally attached to the page printer device. It is supplied to users in the form.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のページ
プリンタ装置は、制御コードに対応する機能が各社によ
り決定しているので、アプリケーションプログラムに登
録されているデバイスドライバが、ページプリンタ装置
の種類が多くなればなるほど追加しなければならないと
いう欠点がある。
In the above-described conventional page printer apparatus, since the function corresponding to the control code is determined by each company, the device driver registered in the application program is the type of page printer apparatus. There is a drawback in that as the number increases, more must be added.

【0005】アプリケーションプログラムを使用するユ
ーザがデバイスドライバを追加する際、デバイスドライ
バの構造がアプリケーションプログラム開発会社から明
らかにされておらず、デバイスドライバを作成および追
加することはできないという欠点があり、ユーザはアプ
リケーション開発会社がデバイスドライバを供給するま
で、アプリケーションプログラムのプリンタ出力機能が
使用できないという欠点がある。
When a user who uses an application program adds a device driver, the structure of the device driver has not been clarified by the application program development company, and the device driver cannot be created and added. Has the drawback that the printer output function of the application program cannot be used until the application developer supplies the device driver.

【0006】また、ページプリンタ開発会社が他機種の
エミュレーションを行わせるプログラムを作成する場
合、開発期間が多くかかるため多くの機種のエミュレー
ションプログラムを開発することは、アプリケーション
プログラムを使用するユーザの要求に応えることができ
ないという欠点がある。
Further, when a page printer development company creates a program for emulating another model, it takes a long development period. Therefore, it is not necessary to develop an emulation program for many models because of a request from a user who uses the application program. It has the drawback of not being able to respond.

【0007】[0007]

【課題を解決するための手段】本発明は、上位装置から
の情報を受信する受信部と、前記受信部により受信した
情報が制御コードであるかどうか判断し、制御コードで
あったならば制御コードに合った機能を実行し、制御コ
ードでなかったならば印字すべきデータに変換する機能
を持つ編集部と、ページプリンタ装置の印字動作を制御
する制御部とを備えたページプリンタ装置において、前
記上位装置から送られた情報を前記受信部を通して受け
取り、ページプリンタ機能を、与えられた制御コードで
動作させるために制御コードを新たに登録する制御コー
ドプログラム部と、新たに登録された制御コードを記憶
する制御コード記憶部とを含むことを特徴とするもので
ある。
SUMMARY OF THE INVENTION According to the present invention, a receiving unit for receiving information from a higher-level device, a judgment is made as to whether the information received by the receiving unit is a control code, and if it is a control code, a control In a page printer device equipped with an editing unit having a function of executing a function suitable for a code and converting into data to be printed if it is not a control code, and a control unit for controlling a printing operation of the page printer device, A control code program unit that receives information sent from the host device through the receiving unit and newly registers a control code to operate the page printer function with a given control code, and a newly registered control code. And a control code storage unit for storing

【0008】[0008]

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

【0009】図1は、本発明の一実施例を示すブロック
図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0010】ページプリンタ装置1は、上位装置20か
らの情報を受信する受信部2と、受信部2により受信し
た情報を制御コードであるかどうか判断し、制御コード
であったならば制御コードに合った機能を実行し、制御
コードでなかったならば印字すべきデータに変換する機
能を持つ編集部4と、ページプリンタ装置の印字動作を
制御する制御部3と、上位装置20から送られた情報
を、受信部2を通して受け取り、ページプリンタの持つ
機能、例えば紙を排出する機能を送られた情報で動作さ
せるために、ページプリンタの持つ機能に割り当てられ
た制御コードを送られた情報に交換して、登録する制御
コードプログラム部10と、交換された制御コードを記
憶する制御コード記憶部11とで構成される。
The page printer device 1 determines a receiving section 2 for receiving information from the higher-level device 20, and whether the information received by the receiving section 2 is a control code. It is sent from the editing unit 4 that has the function of executing the matched function and converting it into data to be printed if it is not a control code, the control unit 3 that controls the printing operation of the page printer device, and the host device 20. The information is received through the receiving unit 2, and the control code assigned to the function of the page printer is exchanged with the sent information in order to operate the function of the page printer, for example, the function of discharging the paper, with the sent information. Then, the control code program unit 10 to be registered and the control code storage unit 11 to store the exchanged control code are configured.

【0011】図2は、制御コード記憶部11の内容を表
したものである。デフォルト制御コード表30は、ペー
ジプリンタ機能に対応する制御コードのデフォルト値を
表わしたものであり、変換後の制御コード表31は制御
コードが変換された後のページプリンタ機能に対応する
制御コード値を表わしたものである。
FIG. 2 shows the contents of the control code storage unit 11. The default control code table 30 shows the default values of the control codes corresponding to the page printer function, and the converted control code table 31 shows the control code values corresponding to the page printer function after the conversion of the control code. It represents.

【0012】次にこの実施例の動作について、図1およ
び図2を参照して説明する。
Next, the operation of this embodiment will be described with reference to FIGS. 1 and 2.

【0013】プリンタ装置1は、例えば電源投入時は図
2のデフォルト制御コード表30の制御コードで機能を
実現している。
The printer device 1 realizes the function by the control code of the default control code table 30 of FIG. 2 when the power is turned on, for example.

【0014】上位装置20から制御コードで16進数の
「1B,0C」の2バイトが送られてくると、受信部2
は16進数の「1B,0C」を受け取る。
When two bytes of hexadecimal "1B, 0C" are sent from the host device 20 as a control code, the receiving unit 2
Receives the hexadecimal number "1B, 0C".

【0015】次に、編集部4は受信部2の受け取った情
報を制御コード記憶部11に登録されている制御コード
表を参照し、16進数の「1B,0C」の2バイトが紙
の排出機能であると判断し、紙を排出させることを制御
部3に通知する。
Next, the editing unit 4 refers to the control code table registered in the control code storage unit 11 for the information received by the receiving unit 2, and the 2-byte hexadecimal "1B, 0C" is ejected from the paper. The control unit 3 is notified that the function is determined and the paper is ejected.

【0016】次に、制御部3は編集部4からの紙の排出
通知に従い紙を排出する。
Next, the control unit 3 discharges the paper according to the paper discharge notification from the editing unit 4.

【0017】上述した動作を繰り返すうちに、例えば紙
の排出機能を制御コードの16進数の「1B,00」の
2バイトで動作するように、上位装置20から制御コー
ド切り替えが通知されると受信部2は、制御コード切り
替え通知と同時に16進数の「1B,00]の2バイト
を受け取る。
While the above-described operation is repeated, when the control code switching is notified from the upper level device 20 such that the paper discharging function is operated by 2 bytes of hexadecimal number "1B, 00" of the control code The unit 2 receives 2 bytes of the hexadecimal number "1B, 00" simultaneously with the control code switching notification.

【0018】次に、制御コードプログラム部10は受信
部2が上位装置20から受け取った制御コード切り替え
通知と16進数の「1B,00」の2バイトを受信部2
から受け取る。
Next, the control code program unit 10 receives the control code switching notification received by the receiving unit 2 from the host device 20 and the 2 bytes of hexadecimal "1B, 00".
Receive from

【0019】次に、制御コードプログラム部10は制御
コード記憶部11の中の紙の排出機能に対応する図2の
制御コード記憶部分32に16進数の「1B、00」の
2バイトを登録する。
Next, the control code program section 10 registers 2 bytes of hexadecimal "1B, 00" in the control code storage section 32 of FIG. 2 corresponding to the paper discharge function in the control code storage section 11. .

【0020】その結果が図2の変換後の制御コード表3
1である。
The result is the control code table 3 after conversion in FIG.
It is 1.

【0021】次に、編集部4は受信部2の受け取った情
報を制御コード記憶部11に登録してある制御コード表
を参照しながら、印字すべきデータに変換してゆく。
Next, the editing unit 4 converts the information received by the receiving unit 2 into the data to be printed while referring to the control code table registered in the control code storage unit 11.

【0022】このとき、受信部2の受け取った情報の中
に16進数の「1B,00」の2バイトが存在するの
で、編集部4は16進数の「1B,00」は紙の排出機
能であると判断し、紙を排出させることを制御部3に通
知する。
At this time, since there are 2 bytes of hexadecimal "1B, 00" in the information received by the receiving unit 2, the editing unit 4 uses the paper ejecting function for the hexadecimal "1B, 00". When it is determined that the sheet is present, the control unit 3 is notified that the sheet is ejected.

【0023】次に、制御部3は編集部4からの紙の排出
通知に従い、紙を排出させる。
Next, the control unit 3 discharges the paper in accordance with the paper discharge notification from the editing unit 4.

【0024】[0024]

【発明の効果】以上説明したように本発明は、上位装置
からの制御コード切り替えが通知されると、上位装置か
ら与えられた新たな制御コードを、通知された機能に対
応する記憶部に登録することにより、ページプリンタの
機能を実行する制御コードが一種類から多種類に増大す
るという効果を奏する。
As described above, according to the present invention, when the control code switching is notified from the host device, the new control code given from the host device is registered in the storage unit corresponding to the notified function. By doing so, it is possible to increase the number of control codes that execute the functions of the page printer from one type to many types.

【0025】よって、例えばA社のページプリンタの機
能に対応する制御コードを本発明のページプリンタ装置
に登録すれば、アプリケーションプログラムに付加され
ているプリンタ出力機能がA社のページプリンタ専用で
あっても、本発明のページプリンタ装置で前記アプリケ
ーションプログラムによるプリンタ出力が可能となる効
果を奏する。
Therefore, for example, if the control code corresponding to the function of the page printer of company A is registered in the page printer device of the present invention, the printer output function added to the application program is exclusive to the page printer of company A. Also, the page printer device of the present invention has an effect of enabling printer output by the application program.

【0026】また、ユーザがページプリンタに合ったデ
バイスドライバをアプリケーションプログラム開発会社
からの供給を待たずに、プリンタ出力が行えるという効
果を奏する。
Further, there is an effect that the user can perform printer output without waiting for the device driver suitable for the page printer to be supplied from the application program development company.

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

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

【図2】図1の実施例の動作前と動作後のページプリン
タの機能に対応する制御コード表を示す図である。
2 is a diagram showing a control code table corresponding to the functions of the page printer before and after the operation of the embodiment of FIG.

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

1 ページプリンタ装置 2 受信部 3 制御部 4 編集部 10 制御コードプログラム部 11 制御コード記憶部 20 上位装置 1 page printer device 2 receiving unit 3 control unit 4 editing unit 10 control code program unit 11 control code storage unit 20 upper device

Claims (1)

【特許請求の範囲】 【請求項1】 上位装置からの情報を受信する受信部
と、 前記受信部により受信した情報が制御コードであるかど
うか判断し、制御コードであったならば制御コードに合
った機能を実行し、制御コードでなかったならば印字す
べきデータに変換する機能を持つ編集部と、 ページプリンタ装置の印字動作を制御する制御部とを備
えたページプリンタ装置において、 前記上位装置から送られた情報を前記受信部を通して受
け取り、ページプリンタ機能を、与えられた制御コード
で動作させるために制御コードを新たに登録する制御コ
ードプログラム部と、 新たに登録された制御コードを記憶する制御コード記憶
部とを含むことを特徴とするページプリンタ装置。
Claim: What is claimed is: 1. A receiving unit for receiving information from a higher-level device, and determining whether or not the information received by the receiving unit is a control code. A page printer device comprising an editing unit having a function of executing a matching function and converting into data to be printed if it is not a control code, and a page printer device having a control unit for controlling a printing operation of the page printer device. A control code program unit that receives information sent from the device through the receiving unit and newly registers a control code to operate the page printer function with a given control code, and stores the newly registered control code. And a control code storage unit for controlling the page printer.
JP3189641A 1991-07-30 1991-07-30 Page printer Pending JPH0535465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3189641A JPH0535465A (en) 1991-07-30 1991-07-30 Page printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3189641A JPH0535465A (en) 1991-07-30 1991-07-30 Page printer

Publications (1)

Publication Number Publication Date
JPH0535465A true JPH0535465A (en) 1993-02-12

Family

ID=16244712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3189641A Pending JPH0535465A (en) 1991-07-30 1991-07-30 Page printer

Country Status (1)

Country Link
JP (1) JPH0535465A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6019235A (en) * 1983-07-14 1985-01-31 Canon Inc Recorder
JPS61290519A (en) * 1985-06-19 1986-12-20 Canon Inc Output device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6019235A (en) * 1983-07-14 1985-01-31 Canon Inc Recorder
JPS61290519A (en) * 1985-06-19 1986-12-20 Canon Inc Output device

Similar Documents

Publication Publication Date Title
US6693722B1 (en) Printer configuration update system and method
JPH0535465A (en) Page printer
JPH05246111A (en) Printing device
JPH043219A (en) Printer
EP0397111B1 (en) Output device with user-definable relationships between character codes and displayed characters
KR20010076490A (en) Image forming apparatus and method of operating the same
JPS60256841A (en) Display device capable of producing plural types of buzzer tones
JPH02165319A (en) Unified control system for printer items
JPH01150568A (en) Printer device
JPH02178725A (en) Printing controller
JPH08263237A (en) Device and method for printing initializable for each user
JP2608291B2 (en) Printing equipment
JPH05204563A (en) Printer device
JP2920555B2 (en) How to set addresses in the network
JPH01263064A (en) Printer device
JP2787093B2 (en) Printer device
JPH04105976A (en) Printer
JPH04148320A (en) Printer device
JPH07101111A (en) Printer
JPS61208149A (en) Printer
JPH0322128A (en) Page printer
JPH07164685A (en) Image outputting apparatus
JPH11119941A (en) Information processor, information processing method and memory medium therefor
JPS63126029A (en) Test printing system for printer
JPH01210371A (en) Printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970603