JPS62236745A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPS62236745A
JPS62236745A JP61080598A JP8059886A JPS62236745A JP S62236745 A JPS62236745 A JP S62236745A JP 61080598 A JP61080598 A JP 61080598A JP 8059886 A JP8059886 A JP 8059886A JP S62236745 A JPS62236745 A JP S62236745A
Authority
JP
Japan
Prior art keywords
color
mode
data processing
printing
content
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
JP61080598A
Other languages
Japanese (ja)
Inventor
Yasuro Saito
齋藤 康郎
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 JP61080598A priority Critical patent/JPS62236745A/en
Publication of JPS62236745A publication Critical patent/JPS62236745A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To easily change over a color mode and a monochromatic mode without carrying out special processing according to an application program, by storing an information, such that either one of the color mode and the monochromatic mode must be selected in printing, in a non-volatile memory. CONSTITUTION:The content stored in a main memory device 3 is entirely extincted when the power source of a data processing unit is cut off but the content of a non-volatile memory 4 is held even after the cutting-OFF of the power source. A color printer 5 is operated by indicating either one of a monochromatic printing mode and a seven-color printing mode by a central processing unit 1. The content of the main memory device is described by an assembler word carried out and interpreted by an interpretor 11. An operating system 12 adminiters the control of the program stored in an application program area 13. Further, the content of the non-volatile memory 4 can be rewritten at the arbitrary point of time during the operation of this data processing unit using a keyboard 6 and CRT by the actions of the operating system 12 and the interpretor 11.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ処理装置の印字モード選択方式に関し、
特にカラー/モノクロムの両モードで印字が可能なプリ
ンタにおけるモード選択方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a printing mode selection method for a data processing device.
In particular, the present invention relates to a mode selection method for a printer capable of printing in both color and monochrome modes.

(従来の技術) 従来、この種の印字モードの選択は、各アプリケーショ
ンプログラムにより個別に指定するのが一般的方式であ
った。
(Prior Art) Conventionally, the general method for selecting this type of printing mode has been to specify it individually by each application program.

(発明が解決しようとする問題点) 上述した従来のデータ処理装置で個々のアプリケーショ
ンプログラムによるカラー/モノクロム印字モードの指
定方式では、個々のアプリケーションプログラムによっ
て指定された印字モードを容易に変更することが困難で
あった。
(Problems to be Solved by the Invention) In the above-described method of specifying color/monochrome print modes by individual application programs in the conventional data processing device, it is not possible to easily change the print mode specified by each application program. It was difficult.

このため、特にカラーモードでの印字時間がモノクロム
モードでの印字時間に比較して著しく長い場合には、ア
プリケーションによってカラーモードが指定されている
と、カラー印字に長時間を賛するという欠点があった。
For this reason, if the color mode is specified by the application, especially if the printing time in color mode is significantly longer than the printing time in monochrome mode, the disadvantage is that color printing takes a long time. there were.

本発明の目的は、カラー/モノクロムのいずれのモード
でも印字可能なプリンタが接続されたデータ処理装置の
内部にカラー/モノクロムのいずれのモードで印字すべ
きかの情報を不揮発性メモリに記憶しておくことによっ
て上記欠点を除去し、カラーの印字に長時間t−*する
ことがないように構成したデータ処理装置を提供するこ
とにある。
An object of the present invention is to store information on whether to print in color or monochrome mode in a nonvolatile memory inside a data processing device connected to a printer capable of printing in either color or monochrome mode. It is therefore an object of the present invention to provide a data processing device which eliminates the above-mentioned drawbacks and is configured so that color printing does not require long periods of time.

(問題点を解決するための手段) 本発明によるデータ処理装置は、プリンタと、不揮発性
メモリと、処理/記憶手段とを具備して構成したもので
ある。
(Means for Solving the Problems) A data processing device according to the present invention includes a printer, a nonvolatile memory, and processing/storage means.

プリンタは、カラー/モノクロムのいずれのモードでも
印字可能なものである。
The printer can print in either color or monochrome mode.

不揮発性メモリは、カラー/モノクロムのいずれのモー
ドで印字すべきかの情報を記憶するためのものである。
The non-volatile memory is for storing information on whether printing should be performed in color or monochrome mode.

処理/記憶手段は、プリンタおよび不揮発性メモリを動
作させてカラー、ま念はモノクロムで印字を行わせるた
めのものである。
The processing/storage means is used to operate the printer and non-volatile memory to print in color, preferably monochrome.

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

第1図は、本発明によるデータ処理装置の一実施例を示
すブロック図である。第1図において、lは中央処理装
置、2は内部バス、3は主記憶装置、4は不揮発性メモ
リ、5はカラープリンタ、6はキーボード、7はCRT
である。
FIG. 1 is a block diagram showing an embodiment of a data processing apparatus according to the present invention. In FIG. 1, l is a central processing unit, 2 is an internal bus, 3 is a main memory, 4 is a non-volatile memory, 5 is a color printer, 6 is a keyboard, and 7 is a CRT.
It is.

第1図において、中央処理装[1に接続された内部バス
2には主記憶装置3と、不揮発性メモリ4と、カラープ
リンタ5と、千−ボード6と、CRT)とが接続されて
いる。
In FIG. 1, a main storage device 3, a nonvolatile memory 4, a color printer 5, a board 6, and a CRT) are connected to an internal bus 2 connected to a central processing unit 1. .

主記憶装置3に格納されている内容は、本発明によるデ
ータ処理装置の電源を切断することにより、すべて消滅
するが、不揮発性メモリ4の内容は電源切断後も保持さ
れる。
The contents stored in the main memory device 3 are completely erased by turning off the power to the data processing device according to the present invention, but the contents in the non-volatile memory 4 are retained even after the power is turned off.

カラープリ/りSは、中央処理装置lの指示により黒色
のみによるモノクロム印字と、7色のカラーによるカラ
ー印字とのいずれかの印字モードを指定することにより
動作させることが可能である。
The color printer S can be operated by specifying either monochrome printing using only black or color printing using seven colors according to an instruction from the central processing unit 1.

第2図は、主記憶装置3の内部のメモリ割当てを示す説
明図である。第2図において、11はインタプリータ、
12はオペレーティングシステム、13はアプリケーシ
ョンプログラム領域である。
FIG. 2 is an explanatory diagram showing the internal memory allocation of the main storage device 3. As shown in FIG. In FIG. 2, 11 is an interpreter;
12 is an operating system, and 13 is an application program area.

主記憶装置3の内容は、インタプリータ11によって実
行解釈されるアセンブラ言語で記述・されている。オペ
レーティングシステム12は、アプリケーションプログ
ラム領域13に格納されているプログラムの制御を司っ
ている。
The contents of the main memory 3 are written in an assembler language that is executed and interpreted by an interpreter 11. The operating system 12 is in charge of controlling programs stored in the application program area 13.

第3図は、インタプリータ11で特に印字コマンドの実
行の概略を示すフローチャートである。
FIG. 3 is a flowchart showing an outline of the execution of print commands by the interpreter 11. In FIG.

第3図において、ステップ14.Isによって接続され
ているプリンタの種類と不揮発性メモリ4に格納されて
いる印字モードとか判定されて、カラープリンタ5が接
続される。不揮発性メモリ4の指定がカラーモードのと
きに限って、ステップ16によりカラー印字が実行され
、他の場合にはステップ17によりモノクロム印字が実
行される。
In FIG. 3, step 14. The type of printer connected and the print mode stored in the nonvolatile memory 4 are determined based on Is, and the color printer 5 is connected. Color printing is performed in step 16 only when the nonvolatile memory 4 is designated as color mode, and in other cases, monochrome printing is performed in step 17.

アプリケーションプログラム領域13よりカラープリン
タ5に対する印字コマンドか発行されると、オペレーテ
ィングシステム12に介してインタプリータ11によっ
て印字コマンドの実行解釈が行われる。この際、インタ
プリータ11によって不揮発性メモリ4の内容が参照さ
れ、その指示に従ってカラーまたはモノクロムモードで
の印字が行われる。
When a print command is issued to the color printer 5 from the application program area 13, the print command is executed and interpreted by the interpreter 11 via the operating system 12. At this time, the interpreter 11 refers to the contents of the nonvolatile memory 4, and prints in color or monochrome mode according to the instructions.

なお、不揮発性メモリ4の内容は本データ処理装置が動
作中の任意の時点で、オペレーティングシステム12お
よびインタプリータ11の働きによシ、キーボード6お
よびCRT7を使用して書換えることができる。
It should be noted that the contents of the nonvolatile memory 4 can be rewritten at any time during the operation of the present data processing apparatus by the operation of the operating system 12 and the interpreter 11, using the keyboard 6 and the CRT 7.

(発明の効果) 以上説明したように本発明は、カラー/モノクロムのい
ずれのモードで印字すべきかの情報を不揮発性メモリに
格納させることによシ、アプリケーションプログラムに
よって特別な処理を実行させることなく、容易に両モー
ドの切替えを行うことができるという効果かある。
(Effects of the Invention) As explained above, the present invention stores information on whether to print in color or monochrome mode in a nonvolatile memory, thereby eliminating the need for an application program to execute special processing. This has the advantage that it is possible to easily switch between the two modes.

【図面の簡単な説明】 第1図は、本発明によるデータ処理装置の一実施例を示
すブロック図である。 第2図は、第1図に示すデータ処理装置の主記憶装置の
メモリ割当てを示す説明図である。 第3図は、m1図に示すデータ処理装置において、印字
コマンド実行解釈の処理フローの概略を示すフローチャ
ートである。 l・・・中央処理装置 2・・・内部バス 3・・・主記憶装置 4・・φ不揮発性メモリ 5・・・カラープリンタ 6−・・キーボード 7φ・・CRT 11・・拳インタブリータ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a data processing device according to the present invention. FIG. 2 is an explanatory diagram showing memory allocation of the main storage device of the data processing device shown in FIG. 1. FIG. 3 is a flowchart showing an outline of the processing flow for executing and interpreting print commands in the data processing apparatus shown in FIG. m1. l...Central processing unit 2...Internal bus 3...Main storage device 4...φNon-volatile memory 5...Color printer 6--Keyboard 7φ...CRT 11...Fist interleater

Claims (1)

【特許請求の範囲】[Claims] カラー/モノクロムのいずれかのモードでも印字可能な
プリンタと、前記カラー/モノクロムのいずれのモード
で印字すべきかの情報を記憶するための不揮発性メモリ
と、前記プリンタおよび前記不揮発性メモリを動作させ
てカラーまたはモノクロムで印字を行わせるための処理
/記憶手段とを具備して構成したことを特徴とするデー
タ処理装置。
A printer capable of printing in either color or monochrome mode, a non-volatile memory for storing information on whether printing should be performed in either color or monochrome mode, and operating the printer and the non-volatile memory. 1. A data processing device comprising processing/storage means for printing in color or monochrome.
JP61080598A 1986-04-08 1986-04-08 Data processing device Pending JPS62236745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61080598A JPS62236745A (en) 1986-04-08 1986-04-08 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61080598A JPS62236745A (en) 1986-04-08 1986-04-08 Data processing device

Publications (1)

Publication Number Publication Date
JPS62236745A true JPS62236745A (en) 1987-10-16

Family

ID=13722763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61080598A Pending JPS62236745A (en) 1986-04-08 1986-04-08 Data processing device

Country Status (1)

Country Link
JP (1) JPS62236745A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62270342A (en) * 1986-05-20 1987-11-24 Hitachi Ltd Host interface system for color printer
US7210868B2 (en) * 2003-01-31 2007-05-01 Seiko Epson Corporation Printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62270342A (en) * 1986-05-20 1987-11-24 Hitachi Ltd Host interface system for color printer
JPH07115529B2 (en) * 1986-05-20 1995-12-13 株式会社日立製作所 Color printer host interface system
US7210868B2 (en) * 2003-01-31 2007-05-01 Seiko Epson Corporation Printer

Similar Documents

Publication Publication Date Title
JPS62236745A (en) Data processing device
JP2864759B2 (en) Programmable controller
JPS62137627A (en) Memory dump system
JP2738696B2 (en) Printing control device
JP2805642B2 (en) Printer device
JPH05221082A (en) Printer
JPS63214825A (en) Printer
JPH0546212A (en) System setting method for programmable controller
JPH03214228A (en) Control system for serial printer
JPH05233026A (en) Microcomputer circuit
JPH09160860A (en) Data processor
JPS6249463A (en) Patching system of input output controller
JPH05158580A (en) Information processor
JPH01308656A (en) Evaluating circuit of program of printer
JPH06149509A (en) Printer
JPH05318883A (en) Printer
JPH04246729A (en) Memory selection control method in i/o adaptor
JPH05294017A (en) Recording device
JPH05204750A (en) Data holding system for program controller
JPH03230979A (en) Printing apparatus
JPS63155241A (en) Address space control system
JPS626266B2 (en)
JPH0365735A (en) Vicarious execution system for diagnosis processing
JPH05334127A (en) I/o simulation system
JPH1063489A (en) Memory system and its writing method