JPH03240124A - Printing action controller - Google Patents

Printing action controller

Info

Publication number
JPH03240124A
JPH03240124A JP2035791A JP3579190A JPH03240124A JP H03240124 A JPH03240124 A JP H03240124A JP 2035791 A JP2035791 A JP 2035791A JP 3579190 A JP3579190 A JP 3579190A JP H03240124 A JPH03240124 A JP H03240124A
Authority
JP
Japan
Prior art keywords
printing
printing operation
information
processing
printer
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.)
Granted
Application number
JP2035791A
Other languages
Japanese (ja)
Other versions
JP2921899B2 (en
Inventor
Michio Osada
長田 実千男
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.)
Casio Computer Co Ltd
Casio Electronics Manufacturing Co Ltd
Original Assignee
Casio Computer Co Ltd
Casio Electronics Manufacturing Co 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 Casio Computer Co Ltd, Casio Electronics Manufacturing Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2035791A priority Critical patent/JP2921899B2/en
Publication of JPH03240124A publication Critical patent/JPH03240124A/en
Application granted granted Critical
Publication of JP2921899B2 publication Critical patent/JP2921899B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To designate the new printing action instruction information with a printer device itself and to easily perform the corresponding processing by providing a printing action control program storage means and a storage means which stores the specific printing action instruction information. CONSTITUTION:A CPU 2 controls each part of a printer device 1 based on a system program stored in a ROM 3. This ROM 3 can be freely attached to and detached from the device 1, and the new print control processing is carried out just by replacing the ROM 3 with new one that stores a program to process a new function. Meanwhile an EEPROM 5 stores the printing action instruction information which is not received from a host device 11 and the instruction contents of the instruction information, i.e., the registered data on the new function of the device 1 and the data on the instruction contents of the registered data at the initial action of the device 1 or after the printing action of each page. In such a constitution, the device 1 itself can designate a new function and easily carry out the corresponding processing without using the printing action instruction information received from the device 11.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はLEDプリンタ、LCDプリンタ等のプリンタ
装置に係り、特に印字動作の制御を行う印字動作制御装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to printer devices such as LED printers and LCD printers, and particularly relates to a printing operation control device that controls printing operations.

〔従来の技術〕[Conventional technology]

LEDプリンタやLCDプリンタ等の高速印字可能なプ
リンタ装置は一般的に高価である為、1台のプリンタ装
置を複数のホスト機器で共用して利用している。この場
合、プリンタ装置に接続されるホスト機器が異なればプ
リンタ装置へ入力する印字動作命令情報の形式やデータ
構造が異なる。
Since printer devices capable of high-speed printing, such as LED printers and LCD printers, are generally expensive, one printer device is shared by multiple host devices. In this case, if the host device connected to the printer device is different, the format and data structure of the print operation command information input to the printer device will be different.

この為上記のように汎用性が要求されるプリンタ装置の
設計は各種ホスト機器の印字動作命令情報に含まれるコ
マンドに最低限対応できるように設計しなければならな
い。この為通常、市場で最も主流を占めるプリンタ装置
の使用する印字動作命令情報に対応して設計されている
For this reason, the design of the printer device, which requires versatility as described above, must be designed so that it can at least correspond to the commands included in the print operation command information of various host devices. For this reason, it is usually designed to correspond to printing operation command information used by printer devices that are the most mainstream in the market.

また、さらに上記のようにホスト機器に最低限対応でき
るだけでなく、プリンタとしての新機能を盛り込んだ装
置を開発し、後にホスト機器に付加されるであろう新た
なコマンドにも対応できるように設計している。
Furthermore, as mentioned above, we have developed a device that is not only compatible with the host device at a minimum, but also incorporates new functions as a printer, and is designed to be able to support new commands that will later be added to the host device. are doing.

〔従来技術の問題点〕[Problems with conventional technology]

しかしながら、上記のように機能を向上させたプリンタ
装置が開発されても直ちに新機能を使用するアプリケー
ションソフトが開発されるわけではない。この為、新機
能を盛り込んだプリンタ装置が市場に出てもこの機能を
直ちに有効に利用することができなかった。
However, even if a printer device with improved functions is developed as described above, application software that uses the new functions is not immediately developed. For this reason, even if printer devices incorporating new functions were released on the market, these functions could not be used immediately and effectively.

〔発明の目的〕[Purpose of the invention]

本発明は上記従来の欠点に鑑み、ホスト機器から出力さ
れる印字動作命令情報によらず、プリンタ装置自体によ
り新たな印字動作命令情報を指定し容易に対応する処理
を行うことを可能とした印字動作制御装置を提供するこ
とを目的とする。
In view of the above-mentioned drawbacks of the conventional art, the present invention provides printing that allows new printing operation command information to be designated by the printer itself and the corresponding processing to be easily performed, without depending on the printing operation command information output from the host device. The object of the present invention is to provide an operation control device.

〔発明の要点〕[Key points of the invention]

本発明は上記目的を達成する為、上位機器から送出され
る印字動作命令情報に従って印字部に対応する印字動作
を行わせるよう制御するプリンタの印字動作制御装置に
おいて、前記印字動作命令情報に対応する印字動作制御
プログラムを記憶する第1の記憶手段と、特定の前記印
字動作制御プログラムを選択指定する指定情報及び該指
定情報により指定された前記特定印字動作制御プログラ
ムを実行する実行態様を指示する情報を入力する情報入
力手段と、該情報入力手段より入力した前記両情報を記
憶する第2の記憶手段と、該第2の記憶手段に記憶され
た前記情報に基づき前記第1の記憶手段内の特定印字動
作制御プログラムを実行する処理手段とを備えたことを
特徴とする。
In order to achieve the above object, the present invention provides a printing operation control device for a printer that controls a printing unit to perform a corresponding printing operation in accordance with printing operation instruction information sent from a host device, which corresponds to the printing operation instruction information. a first storage means for storing a print operation control program; designation information for selecting and specifying a specific print operation control program; and information for instructing an execution mode for executing the specific print operation control program specified by the designation information. an information input means for inputting information, a second storage means for storing both of the information inputted from the information input means, and an information input means for storing information in the first storage means based on the information stored in the second storage means. The present invention is characterized by comprising a processing means for executing a specific printing operation control program.

〔実  施  例〕〔Example〕

以下、本発明の一実施例について図面を参照しながら詳
述する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は一実施例の印字動作制御装置を含むプリンタ装
置のシステムブロック図である。同図において、プリン
タ装置1内のシステム槽底はインターフェイス制御部1
aと実際の印字処理を実行するプリンタ部1bで構成さ
れている。このインターフェイス制御部1aは、CPU
 (中央処理装置)2、ROM3、RAM4、不揮発性
メモリであるEEFROM5、キャラクタジェネレータ
(CG)6、フレームメモリ7、及び上記キャラクタジ
ェネレータ6の制御を行うCGコントローラ8、フレー
ムメモリコントローラ9等で構成されている。また、イ
ンターフェイス制御部1aにはホストインターフェイス
(以下ホストI/Fで示す)10を介してホスト機器で
あるホストコンピュータ11が接続されている。このホ
ストコンピュータ11はプリンタ装置1に対して上位機
器であり、ホストコンピュータ11から文字コードや印
字動作命令情報がインターフェイス制御部laへ出力さ
れる。
FIG. 1 is a system block diagram of a printer device including a printing operation control device according to an embodiment. In the figure, the bottom of the system tank in the printer device 1 is the interface control unit 1.
The printer section 1b is configured to include a printer section 1a and a printer section 1b that performs actual printing processing. This interface control unit 1a is a CPU
(Central processing unit) 2, ROM 3, RAM 4, EEFROM 5 which is a non-volatile memory, a character generator (CG) 6, a frame memory 7, a CG controller 8 for controlling the character generator 6, a frame memory controller 9, etc. ing. Further, a host computer 11, which is a host device, is connected to the interface control unit 1a via a host interface (hereinafter referred to as host I/F) 10. This host computer 11 is a host device with respect to the printer device 1, and character codes and printing operation command information are outputted from the host computer 11 to the interface control section la.

CPU2は上記ROM3に記憶されたシステムプログラ
ムに従ってプリンタ装置1の各部の制御を行う。例えば
、上記ホストコンピュータ11から出力される文字コー
ド、印字動作命令情報をホストI/F 10を介して上
記RAMd内の受信バッファへ入力し、この受信バッフ
ァへの上記データの人力が完了すると以後受信バッファ
から文字コード、印字動作命令情報を読み出す制御を行
う。
The CPU 2 controls each part of the printer device 1 according to the system program stored in the ROM 3. For example, the character code and print operation command information output from the host computer 11 are input to the reception buffer in the RAMd through the host I/F 10, and when the manual input of the data to the reception buffer is completed, the data is subsequently received. Controls reading of character codes and print operation command information from the buffer.

そして、例えば文字コードはCGコントローラ8を介し
てキャラクタジェネレータ6へ出力され、キャラクタジ
ェネレータ6により対応するドツトパターンデータに変
換される。また、印字動作命令情報はCPU2がROM
5内に記憶されたコマンド処理プログラムに従ってコマ
ンド解析処理し、対応する印字制御処理が実行される。
For example, the character code is output to the character generator 6 via the CG controller 8, and converted by the character generator 6 into corresponding dot pattern data. In addition, the printing operation command information is stored in the ROM by the CPU2.
The command analysis process is performed according to the command processing program stored in the computer 5, and the corresponding printing control process is executed.

さらにROM3はカード化又はカートリッジ化され不図
示のコネクタを介してプリンタ装置1に対し着脱交換自
在に構成されており、新たに新機能を処理するプログラ
ムを記憶させたROM3に差し換えるだけで新たな印字
制御処理が実行されるよう構成されている。
Furthermore, the ROM 3 is configured as a card or a cartridge and is configured to be detachable and attachable to the printer device 1 via a connector (not shown), so that a new function can be installed simply by replacing the ROM 3 with a ROM 3 that stores a program for processing a new function. It is configured to execute print control processing.

一方、EEFROM5はプリンタ装置1の動作初期時、
又は各頁プリント動作後にホスト機器llから送出され
ない印字動作命令情報及びその命令内容、すなわちプリ
ンタ装f1の新たな機能の登録データとその命令内容の
データが記憶される。
On the other hand, the EEFROM 5 is stored at the initial stage of operation of the printer device 1.
Alternatively, printing operation command information and the contents of the command that are not sent from the host device 11 after each page printing operation, that is, registration data of a new function of the printer f1 and data of the contents of the command are stored.

第2図はEEPROM5のメモリ構成を示す図である。FIG. 2 is a diagram showing the memory configuration of the EEPROM 5.

EEFROM5の各記憶エリアは1バイトで構成され、
複数の記憶エリアで構成されるエリアAにはプリンタ装
置1の初期設定時に実行処理すべきコマンドの階が登録
される。また、エリアBには工頁毎に実行処理すべきコ
マンドのNαが登録される。また、エリアCには上記各
登録弘のESCコードが登録されるエリアD内のアドレ
スデータが記憶される。エリアDには上記のように各登
録NαのESCコードが登録される。同図には例えば、
エリアDのアドレス■に登録No、1のESCコード、
アドレス■に登録Nα2のESCコード、アドレス■に
登録No、 3のESCコードが各々記憶される。上記
各エリアA−Dに記録される登録階及びESCコード(
命令内容)等は上記のようにホスト機器11からは出力
されない本実施例のプリンタ装置1自体により設定され
るものである。
Each storage area of EEFROM5 consists of 1 byte,
In area A, which is composed of a plurality of storage areas, the floors of commands to be executed and processed when the printer device 1 is initialized are registered. Further, in area B, Nα of commands to be executed for each engineering page is registered. Further, in area C, address data in area D in which the ESC code of each of the above-mentioned registered names is registered is stored. In area D, the ESC code of each registration Nα is registered as described above. For example, in the same figure,
Address ■ in area D, registration number, ESC code of 1,
The ESC code of registration No. 2 is stored at address ■, and the ESC code of registration No. 3 is stored at address ■. Registration floor and ESC code recorded in each area A-D above (
Command contents) etc. are set by the printer device 1 itself of this embodiment, which is not output from the host device 11 as described above.

一方、プリンタ部1bは印字部13、プリンタ制御部1
4、LCD表示部15、スイッチ部16で構成されてい
る。上記印字部13にはフレームメモリ7からビデオデ
ータ(ドツトパターンデータ)がビデオI/F17を介
して出力され、印字部13は入力するビデオデータに従
って用紙への印字処理を行う。また、LCD表示部15
はプリンタ制御部14を介して入力する表示信号に従っ
て例えば後述するメツセージ等の表示を行う。また、ス
イッチ部16は後述する複数のキーを有し、各キーの操
作に従った操作信号をプリンタ制御部14、制?111
/F18を介し7CPU2”−出力する。
On the other hand, the printer section 1b includes a printing section 13 and a printer control section 1.
4, an LCD display section 15, and a switch section 16. Video data (dot pattern data) is output from the frame memory 7 to the printing section 13 via the video I/F 17, and the printing section 13 performs printing processing on paper according to the input video data. In addition, the LCD display section 15
In accordance with a display signal input via the printer control section 14, for example, a message, etc., which will be described later, is displayed. Further, the switch unit 16 has a plurality of keys, which will be described later, and controls the printer control unit 14 and controls operation signals according to the operation of each key. 111
/F18 to output 7CPU2''-.

第3図は上記LCD表示部15、スイッチ部16の具体
的構成を示す図である。LCD表示部15及びスイッチ
部16は同一パネル19上に配設されている。LCD表
示部15には上記表示信号によりメツセージの他にES
Cコード等を表示する。また、スイッチ部16は選択キ
ー16a1実行キー16b、カーソルキー16c〜16
fで構成されている。
FIG. 3 is a diagram showing a specific configuration of the LCD display section 15 and switch section 16. The LCD display section 15 and the switch section 16 are arranged on the same panel 19. In addition to the message, the LCD display section 15 displays ES by the above display signal.
Display C code etc. The switch section 16 also includes a selection key 16a1, an execution key 16b, and cursor keys 16c to 16.
It is composed of f.

プリンタ制御部14には選択キー16aから出力される
信号に従って対話形式でLCD表示部15にメツセージ
を表示する為の表示文書を記憶する文書メモリを内蔵す
る。そして、プリンタ制御部14はキー操作信号に基づ
いてCPU2から出力される制御信号に従って文書メモ
リから対応するメツセージを読み出しLCD表示部15
にメツセージ表示を行う。
The printer control section 14 has a built-in document memory that stores a display document for displaying a message on the LCD display section 15 in an interactive manner according to a signal output from the selection key 16a. Then, the printer control section 14 reads out the corresponding message from the document memory in accordance with the control signal output from the CPU 2 based on the key operation signal, and displays the message on the LCD display section 15.
Displays a message.

以上の構成の印字動作制御装置を含むプリンタ装f1に
おいて、以下にその処理動作を説明する。
The processing operations of the printer device f1 including the printing operation control device having the above configuration will be described below.

先ず、EEFROM5内のエリアC及びDに実行部に対
応するアドレスデータ及びESCコードを登録する処理
を説明する。第4図〜第6図はこの登録処理を説明する
フローチャートである。この処理は、先ず第4図に示す
フローチャートに従って選択キー16aを操作してLC
D表示部15にメツセージを表示させ、選択キー16a
を操作して順次メツセージを更新する(ステップ(以下
STPで示す)1.5TP2)。LCD表示部15に表
示されるメツセージはプリンタ装置1により印字処理を
行う際必要なメツセージを全て表示できる。LCD表示
部15に“シーケンス登録処理”のメツセージが表示さ
れるまで選択キー16aを操作し、′シーケンス登録処
理”のメツセージを選択し表示できたならば実行キー1
6bを操作して以後LCD表示部15に表示した設定処
理をCPU2は実行する(STP3.5TP4)。
First, the process of registering the address data and ESC code corresponding to the execution unit in areas C and D in the EEFROM 5 will be explained. FIGS. 4 to 6 are flowcharts illustrating this registration process. This process begins by operating the selection key 16a according to the flowchart shown in FIG.
Display the message on the D display section 15 and press the selection key 16a.
The message is sequentially updated by operating (step (hereinafter referred to as STP) 1.5TP2). All messages necessary for printing by the printer device 1 can be displayed on the LCD display section 15. Operate the selection key 16a until the message "Sequence registration processing" is displayed on the LCD display section 15, and when the message "Sequence registration processing" is selected and displayed, press the execution key 1.
6b, the CPU 2 executes the setting process displayed on the LCD display section 15 (STP3.5TP4).

第5図、第6図は上記シーケンス登録処理を説明するフ
ローチャートであり、上記処理(STP1〜4)により
第5図の処理(ステップ(以下STで示す)1)が同時
に行われており、LCD表示部15には°′シーケンス
トゥロク”の表示がされている。したがって、次にカー
ソルキー16c、16dを操作して登録弘を設定する処
理を実行する(ST2)。この設定は例えば、カーソル
キー16cを操作して番号を1.2、・・・と順次アッ
プし、又はカーソルキー16dを操作して番号を9.8
、・・・と順次ダウンして所望の登録弘を設定する。例
えば、この時登録階を“l”に設定するとすればLCD
表示部15に“1”を表示させた後、実行キー16bを
操作する。この実行キー16bの操作により第6図に示
すフローチャートに基づいてCPU2は登録NO,(1
”)ノ登録指示を知り(ステップ(以下ST’で示す)
1)、LCD表示部15に表示された登録M“1”をR
AM4の所定エリアに書き込む(Sr2’ )。
5 and 6 are flowcharts illustrating the above sequence registration process, and the process (step (hereinafter referred to as ST) 1) in FIG. 5 is performed simultaneously by the above process (STP 1 to 4), and The display unit 15 displays "°' Sequence Track". Therefore, next, the cursor keys 16c and 16d are operated to execute the process of setting the registration range (ST2). Operate the key 16c to increase the number 1.2, etc., or operate the cursor key 16d to increase the number 9.8.
, . . . to set the desired registration name. For example, if you set the registration floor to "l" at this time, the LCD
After displaying "1" on the display section 15, the execution key 16b is operated. By operating this execution key 16b, the CPU 2 selects the registration number (1) based on the flowchart shown in FIG.
”) to learn the registration instructions (step (hereinafter referred to as ST'))
1), R the registration M “1” displayed on the LCD display section 15.
Write in a predetermined area of AM4 (Sr2').

次に、カーソルキー16cm16fを操作してESCコ
ードの人力処理を行う(Sr1)。この処理は上記と同
様にしてカーソルキー16c%16dによりコード番号
を例えばマニュアル等を見ながら先ずLCD表示部15
に表示させる。この処理を入力すべきコード番号に従っ
て順次行い、1つのESCコードの全ての入力が完了す
ると実行キーを操作する(Sr4がY)。この実行キー
16bの操作により前述と同様に第6図に示すフローチ
ャートに基づいてCPU2はLCD表示部15に表示さ
れたESCコード、例えば“ESCAO”“等のコード
番号をRAM4の所定エリアに書き込む(Sr3’ S
r4’ )。
Next, the ESC code is manually processed by operating the cursor keys 16cm and 16f (Sr1). This process is carried out in the same way as above, using the cursor keys 16c and 16d to enter the code number on the LCD display section 15 while looking at the manual, etc.
to be displayed. This process is performed sequentially according to the code number to be input, and when all input of one ESC code is completed, the execution key is operated (Sr4 is Y). By operating this execution key 16b, the CPU 2 writes the ESC code displayed on the LCD display section 15, for example, a code number such as "ESCAO", into a predetermined area of the RAM 4 based on the flowchart shown in FIG. Sr3'S
r4').

CPU2は上記処理を終了すると、次にRAM4に書き
込んだ上記登録階に対応するESCコードをEEFRO
M5に書き込むエリアDのアドレスデータをEEPRO
M5のエリアCへ書き込む処理を実行する(Sr5’ 
)。さらに上記エリアCに記憶されたEEPROM5の
アドレスにESCコードを書き込む処理を実行する(S
r6’)。
When the CPU 2 completes the above processing, the CPU 2 writes the ESC code corresponding to the registered floor written in the RAM 4 to EEFRO.
EEPRO the address data of area D to be written to M5.
Executes the process of writing to area C of M5 (Sr5'
). Furthermore, the process of writing the ESC code to the address of the EEPROM 5 stored in the area C is executed (S
r6').

例えば第2図に示すように登録咀1のESCコードがE
SCAO”及び“ESCBlnであるとすれば、同図の
エリアCに登録階1のアドレス■を記憶し、且つエリア
Dのアドレス■にESCコード”ESCAO”及び“E
SCBI”を記憶する。同図に示すエリアCの他の登録
階2.3、・・とアドレス■、■、・・・についても同
様にESCコードをエリアDに記憶し、対応するアドレ
スをエリアCに記憶する。
For example, as shown in Figure 2, the ESC code of registration 1 is E.
SCAO” and “ESCBln,” then store the registered floor 1 address ■ in area C in the figure, and store the ESC codes “ESCAO” and “ESCAO” in area D address ■.
Similarly, store the ESC code in area D for the other registered floors 2.3, . . . and addresses ■, ■, . Store in C.

次に、シーケンス(登録命令)の実行登録処理について
、第7図、第8図のフローチャートを用いて説明する。
Next, the sequence (registration command) execution registration process will be explained using the flowcharts of FIGS. 7 and 8.

この処理の場合も第7図の処理(ステップ(以下Sで示
す)1)により、選択キー16aを操作してLCD表示
部15に“シーケンス実行登録”。
In this process as well, in the process (step (hereinafter referred to as S) 1) in FIG. 7, the selection key 16a is operated to display "sequence execution registration" on the LCD display section 15.

のメツセージを表示させる。尚、この時の処理は第4図
に示した手順と同様に行われる。次に、カーソルキー1
6cを操作して番号を1.2、・・・と順次アップし、
又はカーソルキー16dを操作して番号を9.8、・・
・と順次ダウンして所望の登録番号を選択する(S2)
。そして、所望の登録番号(登録Nα)を選択したら実
行キー16bを操作する。この実行キー16bの操作に
より第8図に示す判断(ステップ(以下S′で示す)1
)がYとなり、CPU2はこの実行キー16bの操作に
基づいてLCD表示部15に表示された登録階をRAM
4の所定エリアに記録する(S2’)。
Display the message. Note that the processing at this time is performed in the same manner as the procedure shown in FIG. Next, cursor key 1
Operate 6c to increase the number 1, 2, etc.,
Or operate the cursor key 16d to enter the number 9.8, etc.
・Screen down and select the desired registration number (S2)
. After selecting the desired registration number (registration Nα), the user operates the execution key 16b. By operating this execution key 16b, the judgment (step (hereinafter referred to as S') 1) shown in FIG.
) becomes Y, and the CPU 2 stores the registered floor displayed on the LCD display section 15 in the RAM based on the operation of the execution key 16b.
4 in a predetermined area (S2').

その後、再度選択キー16aを操作して(この場合も第
4図の手順と同様)、以下の3つのメツセージの中から
1つを選択する。すなわち、“ミジッコウ”イニシャル
ドキジッコウ”“ページゴトジッコウ”のメツセージの
中から1つを選択する(S3)。そして、実行キー16
bを操作することにより第8図の判断(33’)がYと
なり、RAM4に記憶された上記登録恥を指定されるE
EPROM4のエリアA1又はBに書き込む。例えば、
登録階1が“イニシャルドキジッコウ”として指定され
たならば、エリアAに登録階lを記憶する(S4’)。
Thereafter, the user operates the selection key 16a again (in this case, the same procedure as shown in FIG. 4) selects one of the following three messages. That is, one is selected from among the messages "Mijikou", "Initial Dokijikou", and "Page Gotojikkou" (S3).Then, the execution key 16 is selected.
By operating b, the judgment (33') in FIG. 8 becomes Y, and the above registered shame stored in RAM 4 is specified.
Write to area A1 or B of EPROM4. for example,
If the registered floor 1 is designated as "Initial Kijikko", the registered floor 1 is stored in area A (S4').

また、登録Na2が“ページゴトジッコウ”として指定
されたならば、エリアBに登録Nα2を記憶する(S5
’)。一方、“ごジッコウ”が指定された場合にはその
登録No。
Furthermore, if the registration Na2 is specified as "Page Gotojikko", the registration Na2 is stored in area B (S5
'). On the other hand, if "Gojikou" is specified, its registration number.

をエリアA1又はBから削除する(S6’)。is deleted from area A1 or B (S6').

上記処理(S2、S3.31’〜S6′)を必要とする
登録漱全てについて行い、所望する全てのシーケンス実
行登録を終了する。
The above processing (S2, S3, 31' to S6') is performed for all necessary registration sequences, and all desired sequence execution registrations are completed.

以上のようにしてEEPROMS内のエリアA〜Dにデ
ータを記憶した後、プリンタ装置1が実際のプリント処
理を行う場合の処理動作について第9図、第10図を用
いて説明する。
After data is stored in areas A to D in the EEPROMS as described above, the processing operation when the printer device 1 performs actual printing processing will be described with reference to FIGS. 9 and 10.

先ず、プリンタ装置1のメイン電源を投入するとCPU
2は第9図に示す初期設定処理を実行する。この初期設
定処理は例えば前述の印字部13を構成する不図承の感
光体ドラムの前回転処理や定着ロール等の所定温度加熱
処理、及びインターフェイス制御部1aやプリンタ部1
bの回路チエツク等の処理である(ステップ(以下Uで
示す)1)。この時、CPU2は上記初期設定の1つと
してEEPROM5のエリアAに初期時の実行シーケン
スが記憶されているか判断する(U2)。
First, when the main power of the printer device 1 is turned on, the CPU
2 executes the initial setting process shown in FIG. This initial setting processing includes, for example, pre-rotation processing of the photosensitive drum (not shown) constituting the printing section 13, heating processing at a predetermined temperature of the fixing roll, etc., and interface control section 1a and printer section 1.
This is a process such as a circuit check (step (hereinafter referred to as U) 1). At this time, the CPU 2 determines whether an initial execution sequence is stored in area A of the EEPROM 5 as one of the initial settings (U2).

EEPROM5のエリアAに実行シーケンスが記憶され
ていれば(U2がY)、記憶されているNαのESCシ
ーケンスを実行する(U3)。すなわち、この時前述の
ようにエリアAに登録Nα1が設定されているとすれば
、プリンタ装置1の初期設定処理の際対応する処理を実
行する為CPU2はエリアCを検索し登録N0.1が記
憶されるアドレスデータ(アドレス■)を読み出し、こ
のデータからエリアDに記憶される登録NO31のES
Cコードを読み取る。上記処理によりCPU2は必要と
するESCコードに対応した制御処理を行うことができ
る。すなわち、この処理はプリンタ装置1がホストコン
ピュータ11から出力されない印字動作命令情報処理で
ある。
If an execution sequence is stored in area A of the EEPROM 5 (U2 is Y), the stored ESC sequence of Nα is executed (U3). That is, at this time, if registration Nα1 is set in area A as described above, the CPU 2 searches area C and finds that registration Nα1 is set in area A in order to execute the corresponding process during the initial setting process of printer device 1. Read the stored address data (address ■) and select the ES of registration No. 31 stored in area D from this data.
Read the C code. The above processing allows the CPU 2 to perform control processing corresponding to the required ESC code. That is, this processing is printing operation command information processing in which the printer device 1 is not outputted from the host computer 11.

一方、判断(U2)においてEEPROM5のエリアA
に実行シーケンスが記憶されていなければ(S2がN)
、上記処理(U3)を実行することなくCPU2は初期
設定処理終了後通常の印字処理を実行する。この印字処
理は前述の如くホストコンピュータ11から出力され、
RAMd内の受信バッファ領域に記憶された文字コード
及び印字動作命令情報を読み出し、解析して、文字コー
ドは順次キャラクタジェネレータ6により対応するドツ
トパターンデータに変換してフレームメモリ7へ書き込
む。また、印字動作命令情報に含まれる各種コマンドは
順次CPU2により解析され対応する制御が行われる。
On the other hand, in judgment (U2), area A of EEPROM5
If the execution sequence is not stored in (S2 is N)
, without executing the above process (U3), the CPU 2 executes the normal printing process after completing the initial setting process. This printing process is output from the host computer 11 as described above,
The character codes and print operation command information stored in the reception buffer area in RAMd are read out and analyzed, and the character codes are sequentially converted into corresponding dot pattern data by the character generator 6 and written into the frame memory 7. Further, various commands included in the print operation command information are sequentially analyzed by the CPU 2 and corresponding controls are performed.

この制御を行うにあたりCPU2は第10図に示す処理
を実行する。すなわち、RAMJ内の受信バッファにデ
ータが残っているか否かを判断しくステップ(以下■で
示す)1)、データが残っていれば上記の解析処理を開
始する。そして、種々のコマンド解析に先立って、まず
受信バッファから読み出されたデータがページの先頭デ
ータかの判断を行う(U2)。この時、ページの先頭デ
ータであれば(U2がY) 、EEPROM5のエリア
Bを検索しエリアBに実行シーケンスが有るか否かの判
断を行う(U3)。そして、実行シーケンスがあればエ
リアB内の実行シーケンスを実行する(U4)。すなわ
ち、この時前述のようにエリアBに登録Nα2が設定さ
れているとすれば、この時CPU2はエリアCを検索し
登録No、2が記憶されるアドレスデータ(アドレス■
)を読み出し、このデータからエリアDに記憶される登
録階2のESCコードを読み取る。上記処理によりCP
U2は必要とするESCコードに対応した制御処理を行
うことができる。そして、上述のように受信バッファか
ら読み出されたデータの解析処理中にページの先頭を示
すデータが発見される度に、エリアBに登録された実行
シーケンスが実行される。すなわち、この処理はプリン
タ装置1がホストコンピュータ11から出力されない印
字動作命令情報処理により1頁毎にプリンタ装置1の前
述の新機能に基づく処理を行うことができるものである
In performing this control, the CPU 2 executes the process shown in FIG. That is, it is determined whether or not data remains in the reception buffer in the RAMJ (step 1) (hereinafter denoted by ■), and if data remains, the above-mentioned analysis process is started. Then, before analyzing various commands, it is first determined whether the data read from the reception buffer is the first data of the page (U2). At this time, if it is the first data of the page (U2 is Y), area B of the EEPROM 5 is searched and it is determined whether or not there is an execution sequence in area B (U3). Then, if there is an execution sequence, the execution sequence in area B is executed (U4). That is, at this time, if registration Nα2 is set in area B as described above, then the CPU 2 searches area C and finds the address data (address ■
) and read the ESC code of registered floor 2 stored in area D from this data. By the above process, CP
U2 can perform control processing corresponding to the required ESC code. Then, each time data indicating the beginning of a page is discovered during the analysis process of data read from the reception buffer as described above, the execution sequence registered in area B is executed. That is, in this process, the printer device 1 can perform processing based on the above-mentioned new functions of the printer device 1 for each page by processing print operation command information that is not output from the host computer 11.

上記のように印字制御処理を行うことにより、例えば前
記Dエリアにインデックス印字処理を行うESCコード
が登録されかつその実行モード指定がBエリアにセット
されていれば、第11図に示すようにホストコンピュー
タ11からの文字コード及び印字動作命令情報に従って
用紙P上に印字X、X′、X#を行い、前述のようにプ
リンタ装置l側で設定したシーケンスに基づき用紙Pの
端に例えばインデックスZの表示を行うことができる。
By performing the print control processing as described above, for example, if the ESC code for index printing processing is registered in the D area and its execution mode designation is set in the B area, the host Printing is performed on the paper P according to the character code and printing operation command information from the computer 11, and the index Z is printed on the edge of the paper P based on the sequence set on the printer device l side as described above. Can be displayed.

尚、本実施例では上記のように登録番号、ESCコード
等をスイッチ部16の各キーを操作して行ったが、予め
登録番号とESCコードの関係を固定化しておき、この
関係をEEPROM5等に記憶させておくと共にマニュ
アル等に設定しておいて例えば登録番号のみをスイッチ
部16から入力するように構成しても良い。このように
構成することにより、効率良い印字動作命令情報の設定
処理を行うことができる。
In this embodiment, the registration number, ESC code, etc. were entered by operating each key of the switch unit 16 as described above, but the relationship between the registration number and the ESC code is fixed in advance, and this relationship is stored in the EEPROM 5, etc. For example, it may be configured such that only the registration number is input from the switch unit 16 after being stored in the register and set in a manual or the like. With this configuration, efficient printing operation command information setting processing can be performed.

またEEPROM5内に登録されるESCコードは、前
記インデックス印字に対応するものだけでなく、ROM
3に記憶された処理プログラムを指定するESCコード
であればどのようなものでも可能である。従ってバージ
ョンアップ等により新たな処理プログラムが含められた
ROM3がプリンタ装置1に装着されても、そのプログ
ラムを指定するESCコードをEEFROM5に登録し
さえすれば即座にそのプログラムに対応した印字動作処
理を利用することが可能となる。
In addition, the ESC code registered in the EEPROM 5 is not only the one corresponding to the index printing mentioned above, but also the ESC code registered in the EEPROM 5.
Any ESC code can be used as long as it specifies the processing program stored in 3. Therefore, even if a ROM 3 containing a new processing program is installed in the printer device 1 due to a version upgrade, etc., as long as the ESC code specifying that program is registered in the EEFROM 5, printing operation processing corresponding to that program can be performed immediately. It becomes possible to use it.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように本発明によれば、新たな機能
が付加されたプリンタ装置においてホスト機器から出力
される印字動作命令情報によらず、プリンタ装置自体に
より新機能を指定し容易に対応する処理を行うことがで
きる。
As described in detail above, according to the present invention, in a printer device to which a new function is added, the new function can be specified and easily handled by the printer device itself, without depending on print operation command information output from the host device. can be processed.

また、予め登録番号とESCコードの関係を記憶させて
おくことにより、より効率良い印字動作命令情報の人力
処理を行うことができる。
Furthermore, by storing the relationship between the registration number and the ESC code in advance, more efficient manual processing of the printing operation command information can be performed.

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

第1図は一実施例の印字動作制御装置を含むプリンタ装
置のシステムブロック図、 第2図はEEPROMの構成図、 第3図はLCD表示部及びスイッチ部の配設構成図、 第4図は選択キー及び実行キーの動作を説明するローチ
ャート、 第5図、第6図はシーケンス登録を説明するフローチャ
ート、 第7図、第8図は実行登録処理を説明するフローチャー
ト、 第9図は初期設定時の処理動作を示すフローチャート、 第10図は各頁毎の処理を示すフローチャート、第11
図はインデックス表示の例を説明する図である。 1・・・プリンタ装置、 2・・・CPU、 3・・・ROM。 4・・・RAM。 5・・・EEFROM。 6・・・キャラクタジェネレータ、 7・ ・・フレームメモリ、 11・・・ホストコンピュータ、 l 3 ・ ・ ・ 15 ・ ・ ・ l 6 ・ ・ ・ 16a  ・ ・ 16b  ・ ・ 6cm1 印字部、 LCD表示部、 スイッチ部、 ・選択キー ・実行キー 6f・・・カーソルキー
Fig. 1 is a system block diagram of a printer device including a printing operation control device of one embodiment, Fig. 2 is a configuration diagram of an EEPROM, Fig. 3 is an arrangement configuration diagram of an LCD display section and a switch section, and Fig. 4 is A flowchart explaining the operation of the selection key and execution key, Figures 5 and 6 are flowcharts explaining sequence registration, Figures 7 and 8 are flowcharts explaining execution registration processing, and Figure 9 is a flowchart explaining the initial settings. Figure 10 is a flowchart showing the processing operation for each page; Figure 11 is a flowchart showing the processing for each page;
The figure is a diagram illustrating an example of index display. 1... Printer device, 2... CPU, 3... ROM. 4...RAM. 5...EEFROM. 6...Character generator, 7...Frame memory, 11...Host computer, l3...15...l6...16a...16b...6cm1 Printing section, LCD display section, switch・Selection key・Execution key 6f...Cursor key

Claims (1)

【特許請求の範囲】[Claims] 上位機器から送出される印字動作命令情報に従って印字
部に対応する印字動作を行わせるよう制御するプリンタ
の印字動作制御装置において、前記印字動作命令情報に
対応する印字動作制御プログラムを記憶する第1の記憶
手段と、特定の前記印字動作制御プログラムを選択指定
する指定情報及び該指定情報により指定される前記特定
印字動作制御プログラムの実行態様を指示する情報を入
力する情報入力手段と、該指示情報入力手段より入力し
た前記両情報を記憶する第2の記憶手段と、該第2の記
憶手段に記憶された前記情報に基づき前記第1の記憶手
段内の特定印字動作制御プログラムを実行する処理手段
とを備えたことを特徴とする印字動作制御装置。
In a printing operation control device for a printer that controls a printing unit to perform a corresponding printing operation according to printing operation instruction information sent from a host device, a first printing operation control program that stores a printing operation control program corresponding to the printing operation instruction information; a storage means; an information input means for inputting designation information for selecting and designating a particular print operation control program; and information for instructing an execution mode of the particular print operation control program specified by the designation information; and an information input means for inputting the instruction information. a second storage means for storing both of the information inputted from the means; and a processing means for executing a specific printing operation control program in the first storage means based on the information stored in the second storage means. A printing operation control device comprising:
JP2035791A 1990-02-16 1990-02-16 Printing operation control device Expired - Lifetime JP2921899B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2035791A JP2921899B2 (en) 1990-02-16 1990-02-16 Printing operation control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2035791A JP2921899B2 (en) 1990-02-16 1990-02-16 Printing operation control device

Publications (2)

Publication Number Publication Date
JPH03240124A true JPH03240124A (en) 1991-10-25
JP2921899B2 JP2921899B2 (en) 1999-07-19

Family

ID=12451742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2035791A Expired - Lifetime JP2921899B2 (en) 1990-02-16 1990-02-16 Printing operation control device

Country Status (1)

Country Link
JP (1) JP2921899B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218543A (en) * 1983-05-26 1984-12-08 Toshiba Corp Controller of printer
JPS61147434U (en) * 1985-03-01 1986-09-11
JPS6486232A (en) * 1987-09-28 1989-03-30 Brother Ind Ltd Printing device
JPH01241616A (en) * 1988-03-24 1989-09-26 Canon Inc Printing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218543A (en) * 1983-05-26 1984-12-08 Toshiba Corp Controller of printer
JPS61147434U (en) * 1985-03-01 1986-09-11
JPS6486232A (en) * 1987-09-28 1989-03-30 Brother Ind Ltd Printing device
JPH01241616A (en) * 1988-03-24 1989-09-26 Canon Inc Printing device

Also Published As

Publication number Publication date
JP2921899B2 (en) 1999-07-19

Similar Documents

Publication Publication Date Title
US6681267B2 (en) Virtual computer system and method for swapping input/output devices between virtual machines and computer readable storage medium
JPH03240124A (en) Printing action controller
JP2001119510A (en) Operation panel and information processing unit provided with the operation panel
JP3177274B2 (en) Information processing device
JP2002268711A (en) Programmable display unit and plotting program for the same and recording medium with its plotting program recorded
JP2000235463A (en) Removable media writing device and recording medium
JP2001034705A (en) Item processing method for personal information entry medium recognizing device, personal information entry medium recognizing device having item processing function and recording medium
JPS63163626A (en) Command controller for printer
JP2862369B2 (en) Image display control device
JP2664168B2 (en) Starting method of information processing device
JPH1021191A (en) Command history managing device for information processor
JP2805642B2 (en) Printer device
JPH04318616A (en) Printer device
JP2002281259A (en) Imaging apparatus
JP3177423B2 (en) Peripheral device testing system
JP2701659B2 (en) Electronic filing equipment
JPH0561585A (en) Information processor
JP2002007024A (en) Device for displaying plurality of languages, and image forming device provided with the device
JPH08101738A (en) Signal input controller
JPH08286870A (en) Information processing unit
JP2000163231A (en) Data processor, driver processing method for data processor and storage medium with program readable by computer stored therein
JPH0460807A (en) Programming device for programmable controller
JPH11154076A (en) Icon design device for business screen and storage medium recording icon design program
JP2000185440A (en) Imaging apparatus and control method by program of different memory address
JPH09222981A (en) Information processor