JPS6352253A - コンピユ−タ周辺装置に対する出力方法 - Google Patents

コンピユ−タ周辺装置に対する出力方法

Info

Publication number
JPS6352253A
JPS6352253A JP61196036A JP19603686A JPS6352253A JP S6352253 A JPS6352253 A JP S6352253A JP 61196036 A JP61196036 A JP 61196036A JP 19603686 A JP19603686 A JP 19603686A JP S6352253 A JPS6352253 A JP S6352253A
Authority
JP
Japan
Prior art keywords
peripheral device
program
data structure
driver
source
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
JP61196036A
Other languages
English (en)
Inventor
Miwako Maruyama
美和子 丸山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP61196036A priority Critical patent/JPS6352253A/ja
Publication of JPS6352253A publication Critical patent/JPS6352253A/ja
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明け、コンピータ周辺装置に対する出力方法に関す
る。
〔従来の技術〕
従来、第4図に示すように、コンピュータ周辺装置に対
して出力を行なう場合にけ、ソースファイルで出力ごと
にデータ定義かする必要h;あり比ゆ周辺装置として、
CRTと、プリンタを例にあげると、ソースファイルで
CRT出方用データ定義部10とプリンタ出方用データ
定義部11が必要となる。これらのデータは、それぞれ
パラメータブロック12.パラメータブロック13とい
う別々のパラメータプロ1りに積まれ、別々のドライバ
ー14、ドライバー15によって実行される。
ソースプログラムは、第5図、第6図で示すようだ、デ
ータ定義部は、出力光ごとに2つだ分かれ出力部では、
それぞれ別のドライバーを呼ぶ必要bsある。ここで、
第5図は、0OBOL言語で書かれたプログラム例を示
し、第6図は、C言語で書かれ之プログラム例を示す。
〔発明bt解決しようとする問題点〕
しかし、従来の方法では、第5図、第6図で示すように
、ユーザがソースファイルに出力光ごとに、cRTm力
用データ定義部16、プリンタ出力用データ定義部17
のように定義をしなければなちす、そのために、コーデ
ィングに時間h’=かかりオブジェクトファイルめ;大
き(なるという問題がもった。
第4図で示すドライバーについても、周辺装置ごとにド
ライバー14、ドライバー15が必要となる。さらに、
周辺装置が別の物に−t’わった場合、従来の方法では
、ソースファイルを変更しなければならないという問題
点を有していた。
そのtめ、本発明は従来のこのような問題を解決するt
め、オブジェクトとプログラムを小さくかつ、周辺装置
6”−変った時でも、ソースプログラムの変更の必要を
なくすことを目的としている。
〔問題点を解決するための手段〕
本発明け、コンビーータ周辺装置に依存しない共通デー
タ構造を有するパラメータブロック部と前記周辺装置の
・・−ドウエフ構成に依存する部分をモジエール化して
複数個備えた前記周辺装置を制御スルドライバープログ
ラムを有し、該ドライバープログラムが前記パラメータ
ブロック部のデータ構造を解釈して前記周辺装置を制御
することを特徴とする。
〔作用〕
上記のように構成され次、共通データ構造であるパラメ
ータブロックを持つことによって、ソースプログラムは
、出力光に依存しないデータ定義を1つ記述すればよ(
、出力部でも、出力光に依存しないドライバーを呼べば
よい。
これによって、ソースファイルが小さくなり、これにと
もなりて、オブジェクトファイルも小さくなる。ま几1
周辺装置め;変った場合にも、ドライバーのマシン依存
部を修正することにより、ソースファイルを修正しない
で済む。
〔実施例〕
以下に本発明の実施例を図面に基づbて、説明する。第
1図において、パラメータブロック2をどの出力光を指
定し定時にも、共通に参照できるものとする。これてよ
って、ソースプログラムのデータの記述は、第2図でC
0BOLプログラムの出力データ記述部6.第3図で、
データ定義部8で示されろように、出力光hz、CRT
とプリンタの2つであっても、データ定義は一回で済む
ことになる。そのため、ユーザのプログラミングに要−
jる時間h″−−短縮、J!やすぐ効率のよいプログラ
ミング^;可能となる。
まfc、本発明による第2図と第3図のソースプログラ
ムでは、明らかにステップ数が減少しこれによって、オ
ブジェクトファイルも小さくでキ石。
第1図のドライバー3は、共通データ構造であるパラメ
ータブロック2を、解釈できるものとする。
これによって、出力部では第2図の出力部7、第3図の
出力部?で示すように、実行時に出力光を指定すればよ
いことになる。本発明では、第1図で示すように、ドラ
イバー6の入で、解釈を可能としている。したう一つて
この場合の例では、CRTとプリンタを例にあげている
が、これへの周辺装# b;4tのものに変わった時、
ソースファイルをすべて修正する必要がなく、ドライバ
−50マシン依存部の修正で済むということになる。つ
まり、ソースファイル全てを修正するというユーザの負
担をrr <’すことが可能なわけである。
本発明け、出力光としてプリンタとCRTを例にあげて
、説明したt;、他の周辺装置の出力に対しても、全く
同様な効果が得られる。
ま九、C!0BOLのプログラムと、Cのプログラムを
例におげて説明し九が、他の言語の処理についても、同
様の効果が得られる。
〔発明の効果〕
本発明け、以上説明したように、パラメータブロック2
という共通データ構造を持つことてよりソースプログラ
ムを小さいものにでき、これによってユーザのコーティ
ング時間の縮小、オブジェクトファイルを小さいものし
でする、ドライバー3を1つにできる、周辺装置が實っ
念時でも、ソースファイル−つ一つを変更せずに、ドラ
イバーの一部を修正することによって、出力光を変えろ
ことができるなどの効果がある。
【図面の簡単な説明】
第1図は、本発明によるパラメータブロックを使った出
力方法を説明する図。 第2図は、本発明によるパラメータプ。ツクとドライバ
ーを使つ几、0OBOLのソースプログラムの例を示す
図。 第3図は、本発明によるパラメータブロックとドライバ
ーを使った、C言語のソースプログラムの例を示す図。 第4図は、従来の出力方法の説明図。 第5図は、従来の0OBOLのソースプログラムの例を
示す図。 第6図は、従来のC言語のソースプログラムの例を示す
陶。 以  上 出願人 セイコーエプソン株式会社 第2図

Claims (1)

    【特許請求の範囲】
  1. コンピュータ周辺装置に依存しない共通データ構造を有
    するパラメータブロック部、前記周辺装置のハードウェ
    ア構成に依存する部分をモジュール化して複数個備えた
    前記周辺装置を制御するドライバープログラムを有し、
    該ドライバープログラムが前記パラメータブロック部の
    データ構造を解釈して前記周辺装置を制御することを特
    徴とするコンピュータ周辺装置に対する出力方法。
JP61196036A 1986-08-21 1986-08-21 コンピユ−タ周辺装置に対する出力方法 Pending JPS6352253A (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61196036A JPS6352253A (ja) 1986-08-21 1986-08-21 コンピユ−タ周辺装置に対する出力方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61196036A JPS6352253A (ja) 1986-08-21 1986-08-21 コンピユ−タ周辺装置に対する出力方法

Publications (1)

Publication Number Publication Date
JPS6352253A true JPS6352253A (ja) 1988-03-05

Family

ID=16351134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61196036A Pending JPS6352253A (ja) 1986-08-21 1986-08-21 コンピユ−タ周辺装置に対する出力方法

Country Status (1)

Country Link
JP (1) JPS6352253A (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH048824U (ja) * 1990-05-14 1992-01-27
JPH0744291A (ja) * 1993-07-30 1995-02-14 Canon Inc マルチメディア機器の制御システム
US6108717A (en) * 1995-09-06 2000-08-22 Seiko Epson Corporation Control system using plural objects, a programming method therefor, and a peripheral devices control system
US7020881B2 (en) 1993-07-30 2006-03-28 Canon Kabushiki Kaisha System for receiving description information from a network device and automatically generate a control panel at a controller for controlling the device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH048824U (ja) * 1990-05-14 1992-01-27
JPH0744291A (ja) * 1993-07-30 1995-02-14 Canon Inc マルチメディア機器の制御システム
US7020881B2 (en) 1993-07-30 2006-03-28 Canon Kabushiki Kaisha System for receiving description information from a network device and automatically generate a control panel at a controller for controlling the device
US6108717A (en) * 1995-09-06 2000-08-22 Seiko Epson Corporation Control system using plural objects, a programming method therefor, and a peripheral devices control system
US6292849B1 (en) 1995-09-06 2001-09-18 Seiko Epson Corporation Control system using plural objects, a programming method therefor, and a peripheral devices control system
US6304922B2 (en) 1995-09-06 2001-10-16 Seiko Epson Corporation Control system using plural objects, a programming method therefor, and a peripheral devices control system

Similar Documents

Publication Publication Date Title
Tody The IRAF data reduction and analysis system
US4782442A (en) Time-sharing computer system operable in a host TSS mode and a terminal TSS mode
US5805892A (en) Method of and apparatus for debugging multitask programs
JPH01154267A (ja) 入出力機器制御プログラムのアドレス解決方法
JPS6352253A (ja) コンピユ−タ周辺装置に対する出力方法
CA1224574A (en) Inter-logical-area data transfer control system
EP0436402A2 (en) Channel assignment in data processing apparatus
US5765148A (en) Database processing apparatus and database processing method for variable length objects, and computer-readable memory medium for storing database processing program
US6948159B2 (en) Automatic compilation of electronic telecommunications system message generation code
JPH02140859A (ja) 計算機システムにおける画面制御方式
JPH04362738A (ja) 変数管理方法
JPH0430239A (ja) コマンドオプション指定処理装置
JPH0337728A (ja) オペレーティングシステム
JPH04322327A (ja) サブルーチン共有方法
JPS6217838A (ja) 制御記憶装置のマツプ制御方式
Sigle Bringing algorithms to life
JPH0795296B2 (ja) データ処理システムにおける情報共有処理方式
JPH01241623A (ja) 動的入出力モジュール対応機構
JPS61208142A (ja) プロセス間の通信方式
JP2006107312A (ja) モーションコントローラ
JPS62264333A (ja) プログラム最適化処理方法
JPS6057437A (ja) コンパイラ装置
Dudman Program dismemberment
JPS63237131A (ja) ジヨブ起動方式
JP2003271207A (ja) プログラムの実行方式及びプログラム開発支援装置