JP2582532B2 - Operation mode processing method of computer input / output device - Google Patents

Operation mode processing method of computer input / output device

Info

Publication number
JP2582532B2
JP2582532B2 JP6185049A JP18504994A JP2582532B2 JP 2582532 B2 JP2582532 B2 JP 2582532B2 JP 6185049 A JP6185049 A JP 6185049A JP 18504994 A JP18504994 A JP 18504994A JP 2582532 B2 JP2582532 B2 JP 2582532B2
Authority
JP
Japan
Prior art keywords
operation mode
information
model
input
unique
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.)
Expired - Lifetime
Application number
JP6185049A
Other languages
Japanese (ja)
Other versions
JPH0850565A (en
Inventor
幸治 野嶋
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 Platforms Ltd
Original Assignee
NEC Shizuoca 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 Shizuoca Ltd filed Critical NEC Shizuoca Ltd
Priority to JP6185049A priority Critical patent/JP2582532B2/en
Publication of JPH0850565A publication Critical patent/JPH0850565A/en
Application granted granted Critical
Publication of JP2582532B2 publication Critical patent/JP2582532B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はコンピュータ入出力装置
の動作モード処理方式に関し、特にプリンタやイメージ
スキャナ装置等のコンピュータ入出力装置の動作モード
処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an operation mode processing method for a computer input / output device, and more particularly to an operation mode processing method for a computer input / output device such as a printer or an image scanner.

【0002】[0002]

【従来の技術】従来のコンピュータ入出力装置の動作モ
ード処理方式の一例としてプリンタの動作モード処理方
式について図面を参照して説明する。
2. Description of the Related Art An operation mode processing method of a printer will be described with reference to the drawings as an example of an operation mode processing method of a conventional computer input / output device.

【0003】図3は従来のプリンタの動作モード処理方
式における処理手順を示す流れ図、図4は図3に示す従
来のプリンタの動作モード処理方式を示すブロック図で
ある。
FIG. 3 is a flowchart showing a processing procedure in a conventional printer operation mode processing method, and FIG. 4 is a block diagram showing a conventional printer operation mode processing method shown in FIG.

【0004】この図3および図4に示す従来のプリンタ
動作モード処理方式は、特開平4−43423号公報:
「論理制御符号処理方式」の記載から表したものであ
る。
The conventional printer operation mode processing method shown in FIGS. 3 and 4 is disclosed in Japanese Patent Laid-Open No. 4-42323.
This is expressed from the description of “Logic control code processing method”.

【0005】図3において、アプリケーション・プログ
ラムAPS120で異機種プリンタのプログラム間で共
通の論理制御符号を設定する。プリンタ処理ルーチンS
130の中の論理制御符号判断機構S101はプログラ
ムで設定された制御符号が論理制御符号であることを判
断する。次にプリンタ判定・制御符号変換機構S102
のプリンタ判定部により、装置情報領域を参照しプリン
タの機種を判定する。プリンタ判定部により、装置情報
領域を参照しプリンタの機種を判定する。プリンタ判底
部により判定されたプリンタの機種に基づき、制御符号
変換部によって論理制御符号を各装置固有の制御符号に
変換する。プリンタ出力機構S103により、変換した
制御符号の指定する機能を実行しプリンタ出力を行う。
In FIG. 3, a common logical control code is set between programs of different types of printers by an application program APS120. Printer processing routine S
A logical control code determination mechanism S101 in 130 determines that the control code set by the program is a logical control code. Next, a printer determination / control code conversion mechanism S102
Of the printer is determined with reference to the device information area. The printer determination unit determines the model of the printer by referring to the device information area. Based on the printer model determined by the printer bottom, the control code conversion unit converts the logical control code into a control code unique to each device. The printer output mechanism S103 executes the function of designating the converted control code and performs printer output.

【0006】図4において、図3に示すこの従来例の処
理手順では、3台のプリンタ111〜113に同じ機能
を実行させるアプリケーションプログラムAPS120
共通の論理制御符号(例えば「AZ×××」)を用いる
ことにより、3台のプリンタを1種のプログラムで動作
させる。
[0006] In FIG. 4, in the processing procedure of the conventional example shown in FIG. 3, an application program APS120 that causes three printers 111 to 113 to execute the same function is used.
By using a common logical control code (for example, “AZxxx”), three printers are operated by one type of program.

【0007】このようにこの従来例では、同一の処理プ
ログラムを異機種プリンタで実行する場合に、共通の論
理制御符号を用いることにより、プリンタ毎にプログラ
ムを修正する作業が必要なくなり、異機種プリンタのプ
ログラム間に互換性を持たせることができる。
As described above, in this conventional example, when the same processing program is executed by a different type of printer, the use of a common logical control code eliminates the need to modify the program for each printer. Programs can be compatible with each other.

【0008】[0008]

【発明が解決しようとする課題】現在、コンピュータ入
出力装置の動作モードの種類には、すべての機種で存在
する機種共通の動作モード(例えば、イメージスキャナ
装置の場合、読み取り線密度、濃度などの動作モード)
と、各機種によって存在の有無が異なる機種固有の動作
モード(例えば、イメージスキャナ装置の場合、OR処
理、輪郭強調、明度などの動作モード)とがある。しか
し、この従来例における制御プログラムは、機種共通の
動作モード、機種固有の動作モードに関係なく全種類の
動作モードの論理制御符号をAPから受け取る処理方式
となっているので、APは、使用するプリンタに存在す
る動作モードの論理制御符号のみを制御プログラムへ渡
さなければならなくなるため、存在する動作モードが同
一のプリンタの機種間でしかAPの互換性を持たせるこ
とができないという欠点がある。
At present, the types of operation modes of the computer input / output device include operation modes common to all models (for example, in the case of an image scanner, such as reading line density and density). action mode)
And model-specific operation modes (for example, in the case of an image scanner, operation modes such as OR processing, contour emphasis, and brightness) that differ depending on the model. However, since the control program in this conventional example is a processing method in which logical control codes of all kinds of operation modes are received from the AP irrespective of the operation mode common to the models and the operation mode unique to the model, the AP is used. Since only the logical control code of the operation mode existing in the printer must be passed to the control program, there is a disadvantage that the compatibility of the AP can be provided only between printer models having the same operation mode.

【0009】本発明は、制御プログラムが機種共通の動
作モードと機種固有の動作モードを分けて処理し、AP
は機種共通の動作モードの論理制御符号だけを制御プロ
グラムヘ渡すことにより、すべてのコンピュータ入出力
装置の機種間でAPの互換性を持たせることが可能にな
るコンピュータ入出力装置の動作モード処理方式を提供
することを目的とする。
According to the present invention, the control program separately processes the operation mode common to the models and the operation mode unique to the model, and
Is an operating mode processing method for computer input / output devices that enables the compatibility of AP between all computer input / output device models by passing only the logical control code of the operation mode common to the models to the control program. The purpose is to provide.

【0010】[0010]

【課題を解決するための手段】本発明のコンピュータ入
出力装置の動作モード処理方式は、コンピュータ装置に
接続した複数の入出力装置それぞれの複数の動作モード
を設定する場合に、制御プログラムを介して処理を行う
アプリケーションプログラムから取得した動作モードが
どの前記入出力装置の機種でも存在する共通動作モード
であるか又はそれぞれの前記入出力装置の機種ごとに存
在の有無が異る固有動作モードであるかを判別する判別
手段と、予め認定されている前記共通の動作モードの設
定値を前記アプリケーションプログラムから受け取る第
1の取得手段と、前記固有動作モードの設定値を設定値
入力手段から受け取る第2の取得手段と、前記入出力装
置の機種を判別して前記第1または及び第2の取得手段
から受け取った前記共通及び固有動作モードの設定値を
判別した機種に合った制御符号に変換する変換手段と、
変換した前記制御符号を前記判別した入出力装置へ出力
する出力手段とを備えている。
According to the operation mode processing method of the computer input / output device of the present invention, when setting a plurality of operation modes of each of a plurality of input / output devices connected to the computer device, a control program is used. Whether the operation mode acquired from the application program that performs the processing is a common operation mode that exists in any of the input / output device models, or is a unique operation mode in which the presence / absence differs for each of the input / output device models. Determining means for determining from the application program a set value of the common operation mode which has been previously certified, and a second obtaining means for receiving the set value of the unique operation mode from the set value input means. Acquiring means, before determining the model of the input / output device and receiving from the first or second acquiring means; Conversion means for converting the common and suits the control codes to the type that determines the set value of the specific operation mode,
Output means for outputting the converted control code to the determined input / output device.

【0011】本発明のコンピュータ入出力装置の動作モ
ード処理方式は、コンピュータ装置に接続した複数のイ
メージスキャナ装置の複数の動作モードを設定する場合
に制御プログラムを介して処理を行うアプリケーション
プログラムから取得した前記動作モードがどの前記イメ
ージスキャナ装置の機種でも存在する共通動作モードで
あるか又はそれぞれの前記イメージスキャナ装置の機種
ごとに存在の有無が異なる固有動作モードであるかを判
別する判別手段と、予め設定されている前記共通動作モ
ードの設定値を前記アプリケーションプログラムから受
け取る第1の取得手段と、前記固有動作モートの設定値
を設定値入力手段から受け取る第2の取得手段と、前記
イメージスキャナ装置の機種を判別して前記第1または
及び第2の取得手段から受け取った動作モードの設定値
を判別した機種に合った制御符号に変換する変換手段
と、変換した前記制御符号を前記判別したイメージスキ
ャナ装置へ出力する出力手段とを備えている。
The operation mode processing method of the computer input / output device according to the present invention is obtained from an application program which performs processing via a control program when setting a plurality of operation modes of a plurality of image scanners connected to the computer. A determination unit configured to determine whether the operation mode is a common operation mode that exists in any of the image scanner apparatuses or a unique operation mode in which the presence or absence of each of the image scanner apparatuses is different; A first acquisition unit that receives a preset set value of the common operation mode from the application program, a second acquisition unit that receives a set value of the unique operation mode from a set value input unit, and the image scanner device The first or second acquisition means Conversion means for converting the control code setting value of the operation mode suitable for the discriminated type received from the converted and the control code and an output means for outputting to the discriminated image scanner.

【0012】本発明のコンピュータ入出力装置の動作モ
ード処理方式は、オペレータが複数のイメージスキャナ
装置の中から動作モードを設定するイメージスキャナ装
置を選択させるための第1の選択情報を表示させる機種
選択画面表示手段と、この機種選択画面表示手段から前
記オペレータからの第1の入力情報によって前記動作モ
ードを設定するイメージスキャナ装置を判別する機種判
別情報取得手段と、予め定められたアプリケーションプ
ログラムの動作モード判別フラグ情報に読み取り線密度
のフラグ情報が設定されているか否かを判断する第1の
判断手段と、前記読み取り線密度のフラグ情報が設定さ
れている場合に前記アプリケーションプログラムの予め
設定されている共通動作モード情報の内の読み取り線密
度の設定値情報を取得する読み取り線密度取得手段と、
前記動作モード判別フラグ情報に濃密のフラグ情報が設
定されているか否かを判断する第2の判断手段と、前記
濃度のフラグ情報が設定されている場合に前記共通動作
モード情報の内の濃度の設定値情報を取得する濃度取得
手段と、前記動作モード判別フラグ情報の内機種固有の
動作モードのフラグ情報が設定されているか否かを判断
する第3の判断手段と、前記機種固有の動作モードのフ
ラグ情報が設定されている場合に複数の機種固有の動作
モードの内前記オペレータが選択設定されている場合に
複数の機種固有の動作モードの内前記オペレータが選択
設定させるための第2の選択情報を表示させる固有動作
モード入力画面表示手段と、この固有動作モード入力画
面表示手段から前記オペレータからの第2の入力情報に
よって前記機種固有の動作モードの設定値を取得する固
有動作モード取得手段と、前記読み取り線密度取得手
段、前記濃度取得手段及び前記固有モード取得手段の各
手段で取得した設定値を前記機種判断情報取得手段で取
得した機種判別情報を元に予め設定されている制御符号
変換テーブルを使用して物理制御符号に変換する動作モ
ード変換手段と、前記機種判別情報が示すイメージスキ
ャナ装置へ前記物理制御符号を出力する物理制御符号出
力手段とを有している。
The operation mode processing method of the computer input / output device according to the present invention is characterized in that a model selection for displaying first selection information for allowing an operator to select an image scanner device to set an operation mode from among a plurality of image scanner devices. Screen display means, model discrimination information acquisition means for discriminating an image scanner device for setting the operation mode based on first input information from the operator from the model selection screen display means, and an operation mode of a predetermined application program First determining means for determining whether or not flag information of the read linear density is set in the determination flag information; and setting of the application program in advance when the read linear density flag information is set. Set the read line density setting value information in the common operation mode information. A read line density acquiring means Tokusuru,
Second determining means for determining whether or not dense flag information is set in the operation mode determination flag information; and determining the density of the common operation mode information when the density flag information is set. Density acquiring means for acquiring set value information; third judging means for judging whether or not flag information of an operation mode unique to the model in the operation mode discrimination flag information is set; and operation mode unique to the model. When the flag information is set, the operator selects and sets a plurality of model-specific operation modes from among a plurality of model-specific operation modes. Unique operation mode input screen display means for displaying information; and the model-specific information based on second input information from the operator from the unique operation mode input screen display means. A set value obtained by each of the reading linear density obtaining unit, the density obtaining unit, and the unique mode obtaining unit by the model determining information obtaining unit. Operation mode conversion means for converting a physical control code into a physical control code using a preset control code conversion table based on the obtained model identification information, and a physical mode for outputting the physical control code to an image scanner device indicated by the model identification information Control code output means.

【0013】[0013]

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

【0014】図1は本発明の一実施例の全体構成を示す
ブロック図、図2は本実施例の制御プログラムの処理手
順を示す流れ図である。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing a processing procedure of a control program of the embodiment.

【0015】図1において、本実施例はイメージスキャ
ナ装置の動作モード処理方式示し、イメージスキャナ装
置30,31,32と、オペレータ20がイメージスキ
ャナ装置30,31,32に関する機種判別情報53,
固有動作モード情報52等を入力するキーボード14
と、イメージスキャナ装置30,31,32の機種固有
の動作モード等を表示するディスプレイ15と、本実施
例の全体の制御及び処理を行うコンピュータ装置10と
を備えている。
In FIG. 1, this embodiment shows an operation mode processing method of the image scanner device. The image scanner devices 30, 31, and 32, and the operator 20 determines the model identification information 53 on the image scanner devices 30, 31, and 32.
Keyboard 14 for inputting unique operation mode information 52 and the like
And a display 15 for displaying operation modes and the like specific to the models of the image scanner devices 30, 31, and 32, and a computer device 10 for performing overall control and processing of the present embodiment.

【0016】コンピュータ装置10はイメージスキャナ
装置30,31,32のアプリケーションプログラム
(以下AP)40及び制御プログラムを格納しているメ
インメモリ12と、イメージスキャナ装置30,31,
32、キーボード14及びディスプレイ15を制御する
I/Oコントローラ13と、メインメモリ12及びI/
Oコントローラ13を制御するCPU11とを有してい
る。
The computer device 10 includes a main memory 12 storing an application program (hereinafter referred to as an AP) 40 and a control program for the image scanner devices 30, 31, and 32;
32, an I / O controller 13 for controlling the keyboard 14 and the display 15, a main memory 12 and an I / O controller
A CPU 11 for controlling the O controller 13.

【0017】AP40は動作モード判別フラグ50と、
共通動作モード51とを含み、動作モード判別フラグ5
0は、イメージスキャナ装置30,31,32に対して
設定可能な数種類の動作モードのうち機種共通の動作モ
ードのそれぞれ(例えば、読み取り線密度、濃度)につ
いてAP40が設定を行おうとするか否かというフラグ
情報と、機種固有の動作モードについてオペレータ20
からのキーボード14の入力により設定を行おうとする
かというフラグ情報を示す。共通動作モード情報51
は、動作モード判別フラグ50の機種共通の動作モード
のそれぞれ(例えば、読み取り線密度、濃度)フラグ情
報が設定を行おうとすることを示している場合のみ有効
な情報で、動作モード判別フラグ50が設定を行おうと
することを示す動作モードの論理的な設定値を示す。
The AP 40 has an operation mode determination flag 50,
A common operation mode 51, and an operation mode determination flag 5
0 indicates whether or not the AP 40 intends to set each of the operation modes common to the models (for example, the reading linear density and the density) among the several types of operation modes that can be set for the image scanner apparatuses 30, 31, and 32. Flag information and the operation mode specific to the model
This indicates flag information indicating whether or not the setting is to be performed by input from the keyboard 14. Common operation mode information 51
Is effective only when the flag information (for example, reading linear density and density) of each of the operation modes common to the models of the operation mode determination flag 50 indicates that the setting is to be performed. This shows the logical setting value of the operation mode indicating that the setting is to be performed.

【0018】制御符号変換テーブル54は、共通動作モ
ード情報51または固有動作モード情報52を機種判別
情報53を元に物理制御符号55へ変換するための情報
テーブルである。物理制御符号55は、イメージスキャ
ナ装置30,31,32の動作モードを設定するために
制御プログラム41がI/Oコントローラ13,コント
ローラ33,34,35を経由してイメージスキャナ装
置30,31,32へ出力する制御符号を示す。
The control code conversion table 54 is an information table for converting the common operation mode information 51 or the unique operation mode information 52 into a physical control code 55 based on the model identification information 53. The physical control code 55 indicates that the control program 41 is set by the control program 41 via the I / O controller 13 and the controllers 33, 34, 35 to set the operation mode of the image scanners 30, 31, 32. Indicates a control code to be output to.

【0019】尚、固有動作モード情報52は、動作モー
ド判別フラグ50の機種固有の動作モードのフラグ情報
が設定を行おうとすることを示している場合のみオペレ
ータ20がキーボード14から入力することができる情
報で、機種固有の動作モードの論理的な設定値を示し、
機種判別情報53は、動作モードを設定するイメージス
キャナ装置の機種がイメージスキャナ装置30,31,
32のいずれであるかを示す。
The operator 20 can enter the unique operation mode information 52 from the keyboard 14 only when the flag information of the operation mode specific flag of the operation mode discrimination flag 50 indicates that the setting is to be performed. The information indicates the logical setting value of the operation mode specific to the model,
The model identification information 53 indicates that the model of the image scanner device for which the operation mode is to be set is the image scanner device 30, 31, or
32.

【0020】ここで、本実施例では、イメージスキャナ
装置30の動作モードには2種の機種共通の動作モード
(読み取り線密度、濃度)と1種の機種固有の動作モー
ド(OR処理)が存在し、イメージスキャナ装置31の
動作モードには2種の機種共通の動作モード(読み取り
線密度、濃度)と3種の機種固有の動作モード(OR処
理、輪郭強調)が存在すると仮定する。
In this embodiment, the operation modes of the image scanner device 30 include an operation mode common to two models (reading line density and density) and an operation mode unique to one model (OR processing). It is assumed that the operation modes of the image scanner device 31 include an operation mode common to two models (reading line density and density) and an operation mode unique to three models (OR processing and contour enhancement).

【0021】次に、図1,図2を用いて本発明の制御プ
ログラムの処理手順を説明する。
Next, the processing procedure of the control program of the present invention will be described with reference to FIGS.

【0022】まず動作モードを設定するイメージスキャ
ナ装置をイメージスキャナ装置30,31,32のいず
れかからオペレータ20に選択させるために、機種選択
画面表示部S60でディスプレイ15にイメージスキャ
ナ装置を選択させる画面を表示する。両面表示後、オペ
レータ20によりキーボード14から入力される機種判
別情報53を機種判別情報取得部S61で取得する。次
に、読み取り線密度判断部S62でAP40から渡され
た動作モード判別フラグ50のうち読み取り線密度のフ
ラグ情報が設定することを示しているか否かを判断す
る。設定することを示している場合には読み取り線密度
取得部S63で、AP40から渡された共通動作モード
情報51のうちの読み取り線密度の設定値情報を取得す
る。同様に、濃度判断部S64で、AP40から渡され
た動作モード判別フラグ50のうち濃度のフラグ情報が
設定することを示しているか否かを判断する。設定する
ことを示している場合には濃度取得部S65で、AP4
0から渡された共通動作モード情報51のうちの濃度の
設定値情報を取得する。
First, in order to allow the operator 20 to select an image scanner device to set an operation mode from any of the image scanner devices 30, 31, and 32, a screen for selecting the image scanner device on the display 15 in the model selection screen display unit S60. Is displayed. After the double-sided display, the model identification information 53 input from the keyboard 14 by the operator 20 is acquired by the model identification information acquiring unit S61. Next, the reading linear density determining unit S62 determines whether or not the reading linear density flag information among the operation mode determination flags 50 passed from the AP 40 indicates that the flag information is to be set. When the setting is indicated, the reading linear density acquiring unit S63 acquires the setting value information of the reading linear density from the common operation mode information 51 passed from the AP 40. Similarly, the density determination unit S64 determines whether the density flag information of the operation mode determination flag 50 passed from the AP 40 indicates that the flag is to be set. If the setting is indicated, the density acquisition unit S65 sets the AP4
The density setting value information of the common operation mode information 51 passed from 0 is acquired.

【0023】続いて、固有動作モード判断部S66で、
AP40から渡された動作モード判別フラグ50のうち
機種固有の動作モードのフラグ情報が設定することを示
しているか否か判断する。設定することを示している場
合には、その設定値である固有動作モード情報52をオ
ペレータ20にキーボード14から入力させるために、
固有動作モード入力画面表示部S67でディスプレイ1
5に機種固有の動作モードを入力させる画面を表示す
る。この画面を表示する機種固有の動作モードは機種判
別情報取得部S61で取得したイメージスキャナ装置の
機種に存在する機種固有の動作モードを表示する。
Subsequently, in the unique operation mode determination section S66,
It is determined whether or not the model-specific operation mode flag information among the operation mode determination flags 50 passed from the AP 40 indicates that setting is to be performed. When the setting is indicated, the specific operation mode information 52, which is the set value, is input from the keyboard 14 to the operator 20.
Display 1 in the unique operation mode input screen display section S67
5 displays a screen for inputting an operation mode specific to the model. The model-specific operation mode for displaying this screen displays the model-specific operation mode existing in the model of the image scanner apparatus acquired by the model identification information acquisition unit S61.

【0024】つまり、機種判別情報取得部S61で取得
したイメージスキャナ装置の機種がイメージスキャナ装
置30である場合に固有動作モード入力画面表示部S6
7で表示する機種固有の動作モードはOR処理であり、
機種判別情報取得部S61で取得したイメージスキャナ
装置の機種がイメージスキャナ装置31である場合に固
有動作モード入力画面表示部S67で表示する機種固有
の動作モードはOR処理、輪郭協調、ノイズリダクショ
ンであり、機種判別情報取得部S61で取得したイメー
ジスキャナ装置の機種がイメージスキャナ装置32であ
る場合に固有動作モード入力画面表示部S67で表示す
る機種固有の動作モードは輪郭強調である。
That is, when the model of the image scanner device acquired by the model identification information acquiring unit S61 is the image scanner device 30, the unique operation mode input screen display unit S6
The operation mode specific to the model indicated by 7 is OR processing,
When the model of the image scanner acquired by the model identification information acquiring unit S61 is the image scanner 31, the model-specific operation modes displayed on the unique operation mode input screen display unit S67 are OR processing, contour coordination, and noise reduction. When the model of the image scanner device acquired by the model identification information acquiring unit S61 is the image scanner device 32, the model-specific operation mode displayed on the unique operation mode input screen display unit S67 is outline emphasis.

【0025】画面表示後、オペレータ20によりキーボ
ード14から入力される固有動作モード情報52を固有
動作モード取得部S68で取得する。ここで取得する固
有動作モード情報52は、固有動作モード入力画面表示
部S67で表示した機種固有の動作モードである。
After the screen is displayed, the unique operation mode information 52 input from the keyboard 14 by the operator 20 is acquired by the unique operation mode acquisition section S68. The unique operation mode information 52 acquired here is the model-specific operation mode displayed on the unique operation mode input screen display section S67.

【0026】読み取り線密度取得部S63、濃度取得部
S65、固有動作モード取得部S68で取得した動作モ
ードを物理制御符号55に変換するため、機種判別情報
取得部S61で取得した機種判別情報53を基に制御プ
ログラム41が持つ制御符号変換テーブル54を使用し
て動作モード変換部S69で物理制御符号55に変換す
る。最後に、物理制御符号出力部S70で物理制御符号
55を、イメージスキャナ装置30,31,32のうち
機種判別情報取得部S61で取得した機種判別情報53
が示すイメージスキャナ装置に対して出力を行う。
In order to convert the operation mode acquired by the reading linear density acquisition unit S63, the density acquisition unit S65, and the unique operation mode acquisition unit S68 into the physical control code 55, the model identification information 53 acquired by the model identification information acquisition unit S61 is converted. Based on the control code conversion table 54 of the control program 41, the operation mode conversion unit S69 converts the data into the physical control code 55. Finally, the physical control code 55 is output by the physical control code output unit S70, and the model identification information 53 acquired by the model identification information acquisition unit S61 of the image scanners 30, 31, and 32.
Is output to the image scanner device indicated by.

【0027】以上説明したように本実施例は、イメージ
スキャナ装置30,31,32の動作モードを設定する
場合に、制御プログラム41が機種共通の動作モードと
機種固有動作モードに分けて処理し、AP40は機種共
通の動作モードの設定だけを制御プログラム41へ渡す
ことにより、イメージスキャナ装置30,31,32ご
とにAP40の処理を修正する必要がなくなり、イメー
ジスキャナ装置30,31,32の全機種間でAP40
に互換性を持たせることが可能となるという効果があ
る。
As described above, according to the present embodiment, when setting the operation modes of the image scanner devices 30, 31, and 32, the control program 41 performs processing by dividing the operation mode into a model-common operation mode and a model-specific operation mode. The AP 40 passes only the setting of the operation mode common to the models to the control program 41, so that it is not necessary to modify the processing of the AP 40 for each of the image scanners 30, 31, 32, and all the models of the image scanners 30, 31, 32 AP40 between
There is an effect that it is possible to make the device compatible.

【0028】[0028]

【発明の効果】以上説明したように本発明は、コンピュ
ータ装置に接続した複数の入出力装置それぞれ複数の動
作モードを設定する場合に制御プログラムを介して処理
を行うアプリケーションプログラムから取得した動作モ
ードがどの入出力装置の機種でも存在する共通動作モー
ドであるか又はそれぞれの入出力装置の機種ごとに存在
の有無が異なる固有動作モードであるかを判別する判別
手段と、予じめ設定されている共通の動作モードの設定
値をアプリケーションプログラムから受け取る第1の取
得手段と、固有動作モードの設定値を設定値入力手段か
ら受け取る第2の取得手段と、入出力装置の機種を判別
して第1または及び第2の取得手段から受け取った前記
共通及び固有動作モードの設定値を判別した機種に合っ
た制御符号に変換する変換手段と、変換した制御符号を
判別した入出力装置へ出力する出力手段とを備えること
により、入出力装置の動作モードを設定する場合に、制
御プログラムが機種共通の動作モードと機種固有の動作
モードに分けて処理し、APは機種共通の動作モードの
設定値だけを制御プログラムへ渡すことにより、入出力
装置ごとにAPの処理を修正する必要がなくなり、入出
力装置の全機種間でAPに互換性を持たせることができ
るという効果がある。
As described above, according to the present invention, when a plurality of operation modes are set for each of a plurality of input / output devices connected to a computer device, the operation mode acquired from an application program which performs processing through a control program is used. A determination means for determining whether the operation mode is a common operation mode that exists in any of the input / output device models or a unique operation mode in which the presence / absence of each input / output device is different is set in advance; A first acquisition unit for receiving a set value of a common operation mode from an application program; a second acquisition unit for receiving a set value of a unique operation mode from a set value input unit; Or converting the set values of the common and unique operation modes received from the second acquisition means into control codes suitable for the determined model. Conversion means, and an output means for outputting the converted control code to the input / output device that has been determined. The processing is divided into operation modes, and the AP passes only the setting values of the operation mode common to the models to the control program, eliminating the need to modify the processing of the AP for each input / output device. There is an effect that the AP can be made compatible.

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

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

【図2】本実施例の制御プログラムの処理手順を示す流
れ図である。
FIG. 2 is a flowchart illustrating a processing procedure of a control program according to the embodiment.

【図3】従来のプリンタの動作モード処理方式における
処理手順を示す流れ図である。
FIG. 3 is a flowchart showing a processing procedure in a conventional operation mode processing method of a printer.

【図4】図3に示す従来のプリンタ装置の動作モード処
理方式を示すブロック図である。
FIG. 4 is a block diagram showing an operation mode processing method of the conventional printer shown in FIG.

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

10 コンピュータ装置 11 CPU 12 メインメモリ 13 I/Oコントローラ 14 キーボード 15 ディスプレイ 20 オペレータ 30 イメージスキャナ装置 31 イメージスキャナ装置 32 イメージスキャナ装置 33 コントローラ 34 コントローラ 35 コントローラ 40 AP 41 制御プログラム 50 動作モード判別フラグ 51 共通動作モード情報 52 固有動作モード情報 53 機種判別情報 54 制御符号変換テーブル 55 物理制御符号 Reference Signs List 10 computer device 11 CPU 12 main memory 13 I / O controller 14 keyboard 15 display 20 operator 30 image scanner device 31 image scanner device 32 image scanner device 33 controller 34 controller 35 controller 40 AP 41 control program 50 operation mode determination flag 51 common operation Mode information 52 Specific operation mode information 53 Model identification information 54 Control code conversion table 55 Physical control code

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コンピュータ装置に接続した複数の入出
力装置それぞれの複数の動作モードを設定する場合に、
制御プログラムを介して処理を行うアプリケーションプ
ログラムから取得した動作モードがどの前記入出力装置
の機種でも存在する共通動作モードであるか又はそれぞ
れの前記入出力装置の機種ごとに存在の有無が異る固有
動作モードであるかを判別する判別手段と、予め認定さ
れている前記共通の動作モードの設定値を前記アプリケ
ーションプログラムから受け取る第1の取得手段と、前
記固有動作モードの設定値を設定値入力手段から受け取
る第2の取得手段と、前記入出力装置の機種を判別して
前記第1または及び第2の取得手段から受け取った前記
共通及び固有動作モードの設定値を判別した機種に合っ
た制御符号に変換する変換手段と、変換した前記制御符
号を前記判別した入出力装置へ出力する出力手段とを備
えることを特徴とするコンピュータ入出力装置の動作モ
ード処理方式。
When setting a plurality of operation modes of a plurality of input / output devices connected to a computer device,
Whether the operation mode obtained from the application program that performs the processing through the control program is a common operation mode that exists in any of the input / output device models, or a unique operation mode in which the presence / absence differs for each of the input / output device models Determining means for determining whether the operation mode is the operation mode, first obtaining means for receiving a set value of the common operation mode which has been previously recognized from the application program, and setting value input means for setting the set value of the unique operation mode And a control code suitable for the type of the input / output device determined from the first and / or second obtaining means and the set value of the common and unique operation modes determined from the first and / or second obtaining means. And conversion means for outputting the converted control code to the determined input / output device. Operation mode processing system of a computer input device that.
【請求項2】 コンピュータ装置に接続した複数のイメ
ージスキャナ装置の複数の動作モードを設定する場合に
制御プログラムを介して処理を行うアプリケーションプ
ログラムから取得した前記動作モードがどの前記イメー
ジスキャナ装置の機種でも存在する共通動作モードであ
るか又はそれぞれの前記イメージスキャナ装置の機種ご
とに存在の有無が異なる固有動作モードであるかを判別
する判別手段と、予め設定されている前記共通動作モー
ドの設定値を前記アプリケーションプログラムから受け
取る第1の取得手段と、前記固有動作モートの設定値を
設定値入力手段から受け取る第2の取得手段と、前記イ
メージスキャナ装置の機種を判別して前記第1または及
び第2の取得手段から受け取った動作モードの設定値を
判別した機種に合った制御符号に変換する変換手段と、
変換した前記制御符号を前記判別したイメージスキャナ
装置へ出力する出力手段とを備えることを特徴とするコ
ンピュータ入出力装置の動作モード処理方式。
2. The method according to claim 1, wherein the plurality of operation modes of the plurality of image scanners connected to the computer apparatus are set in any one of the plurality of image scanner apparatuses. Determining means for determining whether a common operation mode exists or a unique operation mode in which presence / absence is different for each model of the image scanner device; and a preset setting value of the common operation mode From the application program, second acquisition means for receiving the set value of the unique operation mode from the set value input means, The setting value of the operation mode received from the acquisition means 2 matches the model Conversion means for converting the control code into
Output means for outputting the converted control code to the determined image scanner device.
【請求項3】 オペレータが複数のイメージスキャナ装
置の中から動作モードを設定するイメージスキャナ装置
を選択させるための第1の選択情報を表示させる機種選
択画面表示手段と、この機種選択画面表示手段から前記
オペレータからの第1の入力情報によって前記動作モー
ドを設定するイメージスキャナ装置を判別する機種判別
情報取得手段と、予め定められたアプリケーションプロ
グラムの動作モード判別フラグ情報に読み取り線密度の
フラグ情報が設定されているか否かを判断する第1の判
断手段と、前記読み取り線密度のフラグ情報が設定され
ている場合に前記アプリケーションプログラムの予め設
定されている共通動作モード情報の内の読み取り線密度
の設定値情報を取得する読み取り線密度取得手段と、前
記動作モード判別フラグ情報に濃密のフラグ情報が設定
されているか否かを判断する第2の判断手段と、前記濃
度のフラグ情報が設定されている場合に前記共通動作モ
ード情報の内の濃度の設定値情報を取得する濃度取得手
段と、前記動作モード判別フラグ情報の内機種固有の動
作モードのフラグ情報が設定されているか否かを判断す
る第3の判断手段と、前記機種固有の動作モードのフラ
グ情報が設定されている場合に複数の機種固有の動作モ
ードの内前記オペレータが選択設定されている場合に複
数の機種固有の動作モードの内前記オペレータが選択設
定させるための第2の選択情報を表示させる固有動作モ
ード入力画面表示手段と、この固有動作モード入力画面
表示手段から前記オペレータからの第2の入力情報によ
って前記機種固有の動作モードの設定値を取得する固有
動作モード取得手段と、前記読み取り線密度取得手段、
前記濃度取得手段及び前記固有モード取得手段の各手段
で取得した設定値を前記機種判断情報取得手段で取得し
た機種判別情報を元に予め設定されている制御符号変換
テーブルを使用して物理制御符号に変換する動作モード
変換手段と、前記機種判別情報が示すイメージスキャナ
装置へ前記物理制御符号を出力する物理制御符号出力手
段とを有することを特徴とするコンピュータ出力装置の
動作モード処理方式。
3. A model selection screen display for displaying first selection information for allowing an operator to select an image scanner for which an operation mode is to be set from among a plurality of image scanners. Model identification information acquisition means for identifying an image scanner device for setting the operation mode based on first input information from the operator; and read linear density flag information set in operation mode identification flag information of a predetermined application program First determining means for determining whether the read linear density has been set, and setting the read linear density in the preset common operation mode information of the application program when the read linear density flag information is set. Reading line density acquiring means for acquiring value information; Second determining means for determining whether or not dense flag information is set in the lag information; and setting the density setting value information in the common operation mode information when the density flag information is set. Density acquisition means for acquiring, third determination means for determining whether or not flag information of an operation mode unique to the model in the operation mode determination flag information is set, and flag information of the operation mode unique to the model When the setting is set, when the operator is selected from a plurality of model-specific operation modes, second selection information is displayed to allow the operator to select and set the operation mode among a plurality of model-specific operation modes. Unique operation mode input screen display means, and setting of an operation mode unique to the model based on second input information from the operator from the unique operation mode input screen display means A specific operation mode acquiring means for acquiring, the reading line density acquiring means,
A physical control code is obtained by using a control code conversion table that is set in advance based on the model identification information obtained by the model determination information obtaining unit, based on the set values obtained by the density obtaining unit and the unique mode obtaining unit. And a physical control code output means for outputting the physical control code to the image scanner device indicated by the model identification information.
JP6185049A 1994-08-08 1994-08-08 Operation mode processing method of computer input / output device Expired - Lifetime JP2582532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6185049A JP2582532B2 (en) 1994-08-08 1994-08-08 Operation mode processing method of computer input / output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6185049A JP2582532B2 (en) 1994-08-08 1994-08-08 Operation mode processing method of computer input / output device

Publications (2)

Publication Number Publication Date
JPH0850565A JPH0850565A (en) 1996-02-20
JP2582532B2 true JP2582532B2 (en) 1997-02-19

Family

ID=16163908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6185049A Expired - Lifetime JP2582532B2 (en) 1994-08-08 1994-08-08 Operation mode processing method of computer input / output device

Country Status (1)

Country Link
JP (1) JP2582532B2 (en)

Also Published As

Publication number Publication date
JPH0850565A (en) 1996-02-20

Similar Documents

Publication Publication Date Title
US5228118A (en) Printing system wherein one of printer drivers through which print data is sent from a data processor to a printer is selected based on interpreters available on the printer
US20010010525A1 (en) Information display apparatus
JP2582532B2 (en) Operation mode processing method of computer input / output device
CN101114279A (en) Document production support device, methods thereof and storage medium
JPH08211860A (en) Display color changing device
JPS62174824A (en) Printing method for picture display information
JP2808427B2 (en) Image generation support system
JP3382318B2 (en) Image processing method and apparatus
JPH07182214A (en) Method for displaying list of file and data processor
JPH07200634A (en) Image reading device
JPH07314843A (en) Printing system, and print control method thereof
JPH08340457A (en) Processor and method for image processing
JP2000255123A (en) Drawing processing apparatus
JPH0628130A (en) Printing controller
JPH01231472A (en) Picture element density automatic selection device
JPS61211732A (en) Display picture recognizing device
JPH05110819A (en) Mixed mode communication system and device
JPH05266015A (en) Word processor
JP2006058951A (en) Automatic color scheme device, method, and program
JPH076012A (en) Plant monitor device
JPH0659928A (en) Array data display system by debugger
JPH07160455A (en) Data selecting method
JPH0916234A (en) Numerical controller with open-to-user screen display function
JPH06259216A (en) Method and device for audibly recognizing window
JPH0713551A (en) Method and device for display control

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961001

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071121

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091121

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091121

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101121

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 16

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 16

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131121

Year of fee payment: 17

EXPY Cancellation because of completion of term