JPH0727478B2 - Information processing peripheral device additional function check method - Google Patents

Information processing peripheral device additional function check method

Info

Publication number
JPH0727478B2
JPH0727478B2 JP60178904A JP17890485A JPH0727478B2 JP H0727478 B2 JPH0727478 B2 JP H0727478B2 JP 60178904 A JP60178904 A JP 60178904A JP 17890485 A JP17890485 A JP 17890485A JP H0727478 B2 JPH0727478 B2 JP H0727478B2
Authority
JP
Japan
Prior art keywords
additional function
information processing
peripheral device
processing peripheral
user program
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
JP60178904A
Other languages
Japanese (ja)
Other versions
JPS6238950A (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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60178904A priority Critical patent/JPH0727478B2/en
Publication of JPS6238950A publication Critical patent/JPS6238950A/en
Publication of JPH0727478B2 publication Critical patent/JPH0727478B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理周辺装置の制御方式に関する。The present invention relates to a control system for an information processing peripheral device.

〔従来の技術〕[Conventional technology]

従来、利用者は、使用する情報処理周辺装置の付加機能
の有無を熟知して利用者プログラムを作っていた。
Conventionally, a user has made a user program by fully knowing whether or not the information processing peripheral device to be used has an additional function.

例えば利用者プログラムが印刷のオブジェクト作成手段
を通して情報処理周辺装置であるプリンタへ帳票を印刷
することを目的としている場合、プリンタには種々のハ
ードウェアまたはファームウェアの付加機能が付いてお
り、付加機能にない動作を利用者プログラムが要求する
とプリンタがエラーを検出して動作しなくなるか、また
は乱れた帳票が印刷される。この場合、利用者は誤りを
解析して利用者プログラムを修正し、再度実行してい
た。
For example, when the user program is intended to print a form to a printer which is an information processing peripheral device through a print object creating means, the printer has various hardware or firmware additional functions, and the additional functions If the user program requests a non-existent operation, the printer will detect an error and stop working, or a distorted form will be printed. In this case, the user analyzes the error, corrects the user program, and re-executes it.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上述した従来の方式では情報処理周辺装置が誤りを発見
するため、原因区分表示が不明確であり、誤りの解析に
時間を要し、プログラムの修正が必要であると共に利用
者が情報処理周辺装置の複雑な知識を知っていなければ
ならず、利用者にとって扱いにくいという欠点があり、
また装置を占有して始めてチェックが行えるという欠点
があり、さらに仮想入出力を行うシステムにおいては利
用者プログラムの終了後実際の装置でエラーが発見され
るために、エラーの種類が利用者プログラムに報告され
ない欠点がある。
In the above-mentioned conventional method, since the information processing peripheral device discovers an error, the cause classification display is unclear, it takes time to analyze the error, the program needs to be modified, and the user cannot Has the drawback that it requires complicated knowledge of
In addition, there is a drawback that the check can be performed only by occupying the device, and in a system that performs virtual I / O, an error is found in the actual device after the user program ends, so the type of error depends on the user program. There are drawbacks that are not reported.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の方式は、情報処理周辺装置と入出力を行う利用
者プログラムとの間に両者とは別に存在し、情報処理周
辺装置の付加機能の記憶領域を有し、付加機能を蓄積す
る付加機能記憶手段と、情報処理周辺装置から付加機能
を読みとり、付加機能記憶手段に格納する読込手段と、
利用者プログラムを入力し、前記情報処理周辺装置の付
加機能使用要求を解析する解析手段と、前記記憶領域の
当該情報処理周辺装置の付加機能と解析手段での解析結
果である要求された付加機能を比較する比較手段と、比
較手段から利用者プログラムが付加機能にない動作を要
求していなかどうかを通知する通知手段とを有する。
The system of the present invention exists between the information processing peripheral device and a user program for input / output separately from the both, has a storage area for the additional function of the information processing peripheral device, and stores the additional function. Storage means and reading means for reading the additional function from the information processing peripheral device and storing it in the additional function storage means;
Analyzing means for inputting a user program and analyzing the additional function use request of the information processing peripheral device, and additional function requested of the additional function of the information processing peripheral device in the storage area and the analysis result by the analyzing means. And a notifying means for notifying from the comparing means whether or not the user program requests an operation which the additional function does not have.

このように、情報処理周辺装置の付加機能を予め記憶し
ておき、情報処理周辺装置の初期化時に利用者プログラ
ムを解析し、解析結果を記憶内容と比較して、利用者プ
ログラムが付加機能にない動作を要求していないかどう
かチェックして利用者に通知することにより、利用者プ
ログラムが付加機能にない動作を要求して情報処理周辺
装置が動作しないような状況を避けることができ、した
がって、利用者のエラーの解析も不要になる。
In this way, the additional functions of the information processing peripheral device are stored in advance, the user program is analyzed when the information processing peripheral device is initialized, the analysis result is compared with the stored contents, and the user program becomes the additional function. By checking whether or not the user does not request an operation that is not required and notifying the user, it is possible to avoid a situation in which the user program requests an operation not included in the additional function and the information processing peripheral device does not operate. No need to analyze user error.

〔実施例〕〔Example〕

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

第1図は本発明の情報処理周辺装置付加機能チェック方
式の一実施例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of an information processing peripheral device additional function check system of the present invention.

本実施例はプリンタへの印加と印刷範囲拡張付加機能の
例である。
The present embodiment is an example of application to a printer and a print range expansion addition function.

プリンタ5は、第2図に示すように、1頁内に、用紙A
の左上を基点として通常は縦方向はn行、横方向はm桁
まで印刷できるが、横方向の印刷範囲を拡張する機能が
付いているため横方向はl桁まで印刷できる。読込手段
7は、プリンタ5に電源が入り、初期動作が行なわれる
ときに動作し、プリンタ5に、横方向の印刷範囲を拡張
する付加機能のみが付いていることを読込み、印刷可能
領域がn行l桁になることを算出して付加機能記憶手段
8に装置がプリンタ5であること、およびnとlの値を
伝える。(格納する)。付加機能記憶手段8は、第3図
に示すような記憶領域を有しており、プリント5用の領
域を確保し、印刷可能領域の値n,lをセットし、他の付
加機能は“なし”をセットする。利用者プログラム2に
は第4図に示すような印刷イメージが書かれている。こ
の場合、利用者プログラム2が定義している印刷領域は
Y行X桁であるが、実際の帳票イメージはy行x桁まで
しか使用していないものとする。この利用者プログラム
2にはプリンタ5へ印刷するという情報も書かれてい
る。解析手段6は利用者プログラム2を入力し、対象と
なる情報処理周辺装置がプリンタ5であることを解析
し、また、定義している印加領域がY行X桁であり、実
際に印刷する領域がy行x桁であることを解析する。比
較手段9はこれらの解析結果を入力し、装置種別がプリ
ンた5であるときの付加機能の情報について付加機能記
憶手段8を参照し、第5図のフローチャートのようにy,
xおよびY,Xをn,lと比較する。すなわち、まず、y>n
またはx>l、つまり印刷内容が印刷可能領域から出て
いるかどうか判定し(処理11)、出ていれば”印刷不
可”と判定し(処理12)、出ていなければY>nまたは
X>l,つまり定義している印刷領域が印刷可能領域から
出ているかどうか判定し(処理13)、出ていれば、定義
している印刷領域をn行またはl桁に修正する“修正印
刷”の判定を行ない(処理14)、出ていなければ“正常
印刷”の判定(処理15)を行なう。通知手段10は比較手
段9の判定結果が“印刷不可”の場合にはオブジェクト
作成手段3に印刷停止の指示を出すとともに、利用者1
に印刷できない旨と誤りの内容を通知し、“修正印刷”
の場合にはオブジェクト作成手段3に部分修正の指示を
出すとともに、利用者1の修正内容を通知し、“正常印
刷”の場合には、利用者1に正常に印刷できる旨を通知
する。
The printer 5, as shown in FIG.
Normally, up to n rows in the vertical direction and m digits in the horizontal direction can be printed with the upper left corner as the base point, but up to 1 digit in the horizontal direction can be printed because of the function to expand the printing range in the horizontal direction. The reading means 7 operates when the printer 5 is powered on and an initial operation is performed, and it is read that the printer 5 has only the additional function of expanding the horizontal print range, and the printable area is n. It is calculated that the line has 1 digit, and the additional function storage means 8 is informed that the device is the printer 5 and the values of n and l. (Store). The additional function storage means 8 has a storage area as shown in FIG. 3, secures an area for the print 5, sets the printable area values n and l, and sets the other additional functions to “none”. "Set. A print image as shown in FIG. 4 is written in the user program 2. In this case, the print area defined by the user program 2 is Y rows and X columns, but the actual form image is used up to y rows and X columns. The user program 2 also includes information about printing on the printer 5. The analysis unit 6 inputs the user program 2, analyzes that the target information processing peripheral device is the printer 5, and defines the applied area of Y rows and X digits, and the area to be actually printed. Is analyzed for y rows and x digits. The comparing means 9 inputs these analysis results, refers to the additional function storing means 8 for the information of the additional function when the device type is 5, and as shown in the flowchart of FIG.
Compare x and Y, X with n, l. That is, first, y> n
Alternatively, x> l, that is, it is determined whether the print content is out of the printable area (process 11). If it is out, it is determined that "printing is impossible" (process 12). If not, Y> n or X> l, that is, it is determined whether the defined print area is out of the printable area (Processing 13), and if so, the "correction print" of correcting the defined print area to n lines or l columns A determination is made (process 14), and if not output, a "normal print" is determined (process 15). If the determination result of the comparison means 9 is "printing is not possible", the notification means 10 issues an instruction to stop printing to the object creation means 3 and the user 1
Informs you that printing is not possible and the contents of the error, and clicks "Correct print"
In the case of, a partial correction instruction is issued to the object creating means 3, and the correction content of the user 1 is notified, and in the case of “normal printing”, the user 1 is notified that normal printing is possible.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、情報処理周辺装置の付加
機能を読みとって記憶しておき、利用者プログラムのチ
ェックを行い、これを記憶内容と比較することにより、
利用者がハードウェアまたはファームウェアの制約を意
識せずにプログラム作成ができ、情報処理周辺装置が動
作しないような状況を避けることができる効果がある。
As described above, according to the present invention, the additional function of the information processing peripheral device is read and stored, the user program is checked, and this is compared with the stored content,
There is an effect that the user can create a program without being aware of the restrictions of the hardware or the firmware, and the situation where the information processing peripheral device does not operate can be avoided.

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

第1図は本考案の情報処理周辺装置付加機能チェック方
式の一実施例を示す構成図、第2図は第1図中のプリン
タ5の印刷可能領域を示す図、第3図は第1図中の記憶
手段8の記憶領域の形式を示す図、第4図は第1図中の
利用者プログラム2に書かれている帳票イメージを示す
図、第5図は第1図中の比較手段9の処理を示すフロー
チャートである。 1……利用者、2……利用者プログラム、3……オブジ
ェクト作成手段、4……オブジェクト記憶手段、5……
プリンタ、6……解析手段、7……読込手段、8……付
加機能記憶手段、9……比較手段、10……通知手段。
FIG. 1 is a block diagram showing an embodiment of an information processing peripheral device additional function check system of the present invention, FIG. 2 is a view showing a printable area of a printer 5 in FIG. 1, and FIG. 3 is FIG. FIG. 4 is a diagram showing the format of the storage area of the storage means 8 in FIG. 4, FIG. 4 is a view showing the form image written in the user program 2 in FIG. 1, and FIG. 5 is a comparison means 9 in FIG. It is a flowchart which shows the process of. 1 ... user, 2 ... user program, 3 ... object creating means, 4 ... object storing means, 5 ...
Printer, 6 ... Analysis means, 7 ... Reading means, 8 ... Additional function storage means, 9 ... Comparison means, 10 ... Notification means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】情報処理周辺装置の付加機能と、利用者プ
ログラムが要求する情報処理周辺装置の付加機能をチェ
ックする方式であって、 前記情報処理周辺装置の付加機能を蓄積する付加機能記
憶手段と、 前記情報処理周辺装置から付加機能を読みとり、前記付
加機能記憶手段に格納する読込手段と、 与えられた前記利用者プログラムの中から前記情報処理
周辺装置の付加機能使用要求を解析する解析手段と、 前記付加機能記憶手段からの前記情報処理周辺装置の付
加機能と前記解析手段での解析結果である要求された付
加機能を比較すると比較手段と、 この比較手段から前記利用者プログラムが付加機能にな
い動作を要求していないかどうかを通知する通知手段と
を含むことを特徴とする情報処理周辺装置付加機能チェ
ック方式。
1. A method for checking an additional function of an information processing peripheral device and an additional function of the information processing peripheral device requested by a user program, wherein the additional function storage means stores the additional function of the information processing peripheral device. Reading means for reading an additional function from the information processing peripheral device and storing it in the additional function storage means; and analysis means for analyzing an additional function use request of the information processing peripheral device from the given user program. Comparing the additional function of the information processing peripheral device from the additional function storage means with the requested additional function which is the analysis result of the analyzing means, and comparing means; An information processing peripheral device additional function check method, comprising: a notification means for notifying whether or not an operation not present in the above is included.
JP60178904A 1985-08-13 1985-08-13 Information processing peripheral device additional function check method Expired - Lifetime JPH0727478B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60178904A JPH0727478B2 (en) 1985-08-13 1985-08-13 Information processing peripheral device additional function check method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60178904A JPH0727478B2 (en) 1985-08-13 1985-08-13 Information processing peripheral device additional function check method

Publications (2)

Publication Number Publication Date
JPS6238950A JPS6238950A (en) 1987-02-19
JPH0727478B2 true JPH0727478B2 (en) 1995-03-29

Family

ID=16056716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60178904A Expired - Lifetime JPH0727478B2 (en) 1985-08-13 1985-08-13 Information processing peripheral device additional function check method

Country Status (1)

Country Link
JP (1) JPH0727478B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6044700B2 (en) * 1978-03-17 1985-10-04 株式会社日立製作所 Configuration error detection device
JPS5824812B2 (en) * 1978-09-22 1983-05-24 株式会社日立製作所 I/O device management method
JPS56143053A (en) * 1980-04-09 1981-11-07 Toshiba Corp Program executing method in electronic computer system

Also Published As

Publication number Publication date
JPS6238950A (en) 1987-02-19

Similar Documents

Publication Publication Date Title
JPH0420789B2 (en)
JPH0263763A (en) Printing apparatus
JPH0727478B2 (en) Information processing peripheral device additional function check method
JPH0330977A (en) Page printer control system
JP3072428B2 (en) Character display device
JPH0610441Y2 (en) Word processor
JPH07152356A (en) Display controller
JP3100679B2 (en) Image processing device
JPH0443296B2 (en)
JPH10283109A (en) Writing data input device and program record medium therefor
JP2715475B2 (en) Graphic output device
JPH02178765A (en) Document preparing device
JPH07106649B2 (en) output method
JP3143118B2 (en) Printer and print image pattern development method
JPH0462169A (en) Printer
JPH0746543Y2 (en) Printer
JPS62208086A (en) Image processor
JPH01139267A (en) Color recording apparatus
JPH01291956A (en) Dot matrix printer
JPH0410865B2 (en)
JPH0596811A (en) Printing method
JPH11188934A (en) Printer
JPS6334153A (en) Dot matrix printer
JPH05216724A (en) File memory device
JPH07200185A (en) File controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term