JPH0217530A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH0217530A
JPH0217530A JP63169364A JP16936488A JPH0217530A JP H0217530 A JPH0217530 A JP H0217530A JP 63169364 A JP63169364 A JP 63169364A JP 16936488 A JP16936488 A JP 16936488A JP H0217530 A JPH0217530 A JP H0217530A
Authority
JP
Japan
Prior art keywords
printing
printer
screen
electronic computer
picture
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
JP63169364A
Other languages
Japanese (ja)
Inventor
Hiroshi Yamaguchi
浩 山口
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 JP63169364A priority Critical patent/JPH0217530A/en
Publication of JPH0217530A publication Critical patent/JPH0217530A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To widen an applied range by providing an output means to a printer and contracting or expanding a text picture and printing it. CONSTITUTION:A printer 6 connected to an electronic computer has contracting and expanding functions and has the emulation function and printing function of a serial printer. The electronic computer provides a CRT displaying part 1, a keyboard 2 to give an instruction, an input buffer 3, a central processing unit (CPU) 4, an output buffer 5, an internal memory 8, etc. In the internal memory 8, a scale factor 11 of contraction and expansion and a classification 12 of the picture printing are set. For the scale factor 11, a utility program is activated by a floppy disk driving 7, the standard and scale factor displayed at the picture are instructed by the keyboard 2 and can be rewritten. Thus, the contracting and expanding printing can be executed including a text picture.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は外部印刷機器に対して機能を拡大した電子計算
機に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic computer whose functions are extended to external printing equipment.

[従来の技術] これまでの一般の電子計算機において、インタプリタ方
式言語処理プロセッサは、文字を表示するテキスト画面
とグラフィックを表示するグラフィック画面を持ってお
り、デイスプレィ装置にはこれらを重ね合わせたものを
表示していた。画面上のデータがテキスト画面のみの場
合は文字コードでプリンタ等の外部印刷機器に出力して
おり、グラフィック画面のみまたはテキスト画面とグラ
フィック画面の両者の場合はドツト列でプリンタに出力
していた。
[Prior Art] In conventional general electronic computers, interpreted language processors have a text screen for displaying characters and a graphics screen for displaying graphics, and a display device has a superimposed display of these. It was displayed. If the data on the screen was only a text screen, it was output to an external printing device such as a printer in character code, and if it was only a graphic screen or both a text screen and a graphic screen, it was output to the printer in dot rows.

[発明が解決しようとする課題] ところが、テキスト画面のデータをプリンタに出力する
場合は、文字コードを出力するのみであるから、一定の
形状の文字列を印刷するのみで縮小とか拡大することは
不可能であった。
[Problem to be Solved by the Invention] However, when outputting text screen data to a printer, only character codes are output, so it is not possible to reduce or enlarge a character string of a certain shape. It was impossible.

[課題を解決するための手段] かかる課題を解決するために、本発明はインタプリタ言
語のもとに画面に表示された文字及びグラフィックのデ
ータを縮小あるいは拡大させる指令手段と、この指令手
段に基づいて文字及びグラフィックデータを外部印刷機
器に出力するための記憶手段を少なくとも備えているこ
とを特徴としている。
[Means for Solving the Problem] In order to solve the problem, the present invention provides a command means for reducing or enlarging character and graphic data displayed on a screen based on an interpreted language, and a command means based on the command means. The apparatus is characterized in that it includes at least a storage means for outputting character and graphic data to an external printing device.

〔作用〕[Effect]

上記のようなプリンタへの出力手段を持つことにより、
本発明はテキスト画面も含めて縮小、拡大印刷を可能し
た。
By having a means of outputting to a printer as described above,
The present invention enables reduction and enlargement printing including text screens.

[実施例] 以下、本発明の実施例を図面に基づいて説明する。本発
明の電子計算機に接続するプリンタは、縮小、拡大機能
を持っており、シリアルプリンタのエミュレーション機
能と、例えば10.5ポイントと12ポイントの漢字が
印字できる機能をもつページプリンタを例として用いる
ことにする。
[Example] Hereinafter, an example of the present invention will be described based on the drawings. The printer connected to the computer of the present invention has reduction and enlargement functions, and a page printer having a serial printer emulation function and a function capable of printing 10.5-point and 12-point Kanji characters, for example, is used as an example. Make it.

第1図は本発明による電子計算機の全体を示すブロック
図であり、1はCRT表示部、2は指令を与えるキーボ
ード、3は大力バッファ、4はインタプリタで作動する
中央制御装置(CPU)、5は外部印刷機器例えばプリ
ンタを接続するための出力バッファ、6はプリンタ、7
はフロッピーディスクドライブ(FDD)、8は内部メ
モリーを示している。この内部メモリーに縮小、拡大の
倍率(11)と画面印刷の種別(12)が設定されてい
る。
FIG. 1 is a block diagram showing the entire electronic computer according to the present invention, in which 1 is a CRT display, 2 is a keyboard for giving commands, 3 is a large-capacity buffer, 4 is a central control unit (CPU) operated by an interpreter, and 5 is an output buffer for connecting an external printing device such as a printer, 6 is a printer, 7
8 indicates a floppy disk drive (FDD), and 8 indicates an internal memory. The reduction/enlargement magnification (11) and screen printing type (12) are set in this internal memory.

縮小、拡大の倍率(11)は例えば、0,1゜2、 3
. 4と記憶され、各々標準と1/3,2/3.3/3
,4/3の倍率を示す。標準とは画面をシリアルプリン
タのエミュレーションモードで印刷することを表す。本
発明の電子計算機に接続するプリンタの縮小、拡大の性
能によるが、この数値列に限定されることはない。この
縮小、拡大の倍率(11)は、7のFDDでユーティリ
ティプログラムを起動し、画面に表示された標準または
倍率を2のキーボードより指示し、決定することにより
書き換えることができる。
The reduction/enlargement magnification (11) is, for example, 0, 1°2, 3
.. 4 is memorized, respectively standard and 1/3, 2/3. 3/3
, showing a magnification of 4/3. Standard means that the screen is printed in serial printer emulation mode. Although it depends on the reduction/enlargement performance of the printer connected to the computer of the present invention, it is not limited to this numerical sequence. The reduction/enlargement magnification (11) can be rewritten by activating the utility program on the FDD 7, instructing and determining the standard or magnification displayed on the screen using the keyboard 2.

また、画面印刷の種別は例えば、l、  2. 3と記
憶され、各々テキスト画面のみの印刷、グラフィック画
面のみの印刷、テキスト画面とグラフィック画面の両者
の印刷を表す。この画面印刷の種別は、電子計算機のキ
ーボード(2)の画面印刷のキーが押下されるか、画面
印刷を指示するコマンドをインタプリタが解釈した時点
で設定される。
In addition, the types of screen printing are, for example, l, 2. 3, respectively representing printing of only a text screen, printing of only a graphic screen, and printing of both a text screen and a graphic screen. The type of screen printing is set when the screen printing key on the keyboard (2) of the computer is pressed or when the interpreter interprets a command instructing screen printing.

以下にテキスト画面のみの印刷の過程を具体的に説明す
る。
The process of printing only a text screen will be specifically explained below.

第2図は、電子計算機のキーボードの画面印刷のキーが
押下されるか、画面印刷を指示するコマンドをインタプ
リタが解釈すると制御がわたる画面印刷のプログラムの
主たる流れをそのフローチャートの中で示す。まず、画
面印刷が標準印刷か否かを内部メモリーの縮小、拡大の
倍率(11)をもとに判定する(21)。標準印刷なら
ば(Yes)、プリンタに対してシリアルプリンタモー
ドで印刷を行う。標準印刷でないならば(No)、内部
メモリーの画面印刷の種別(12)をもとに印刷種別が
テキスト画面のみの印刷か否かの判定を行う(22)。
FIG. 2 shows in a flowchart the main flow of the screen printing program, which is controlled when the screen printing key on the computer keyboard is pressed or when the interpreter interprets a command instructing screen printing. First, it is determined whether the screen printing is standard printing or not based on the reduction/enlargement magnification (11) of the internal memory (21). If it is standard printing (Yes), the printer prints in serial printer mode. If it is not standard printing (No), it is determined whether the printing type is text screen only printing based on the screen printing type (12) in the internal memory (22).

もしも印刷種別がテキスト画面のみ(Yes)ならば、
下記で説明するテキスト画面印刷ルーチンへブランチす
る。もしも印刷種別がテキスト画面のみでない(NO)
ならば、本発明とは関係ないグラフィック画面のみの両
面印刷及び、テキスト画面とグラフィック画面の画面印
刷の判断ブロックへ進む。
If the print type is text screen only (Yes),
Branch to the text screen printing routine described below. If the print type is not only text screen (NO)
If so, the process proceeds to a decision block for double-sided printing of only the graphic screen and screen printing of the text screen and the graphic screen, which are unrelated to the present invention.

第3図は、テキスト画面印刷ルーチンの主たる流れを示
す、内部メモリーの縮小、拡大の倍率(11)をもとに
、倍率が1/3か否かを判定する(31)、もしも倍率
が1/3である(Yes)ならば、ドツト列印刷ルーチ
ンへブランチする。
Figure 3 shows the main flow of the text screen printing routine. Based on the internal memory reduction/enlargement magnification (11), it is determined whether the magnification is 1/3 (31). /3 (Yes), branch to the dot row printing routine.

倍率が1/3でない(No)ならば、倍率が2/3であ
るか否かを判定する(32)、もしも倍率が2/3であ
る(Yes)ならば、ドツト列印刷ルーチンへブランチ
する0倍率が2/3でない(No)ならば、3/3また
は3/4と判断し文字列印刷ルーチンへブランチする。
If the magnification is not 1/3 (No), determine whether the magnification is 2/3 (32); if the magnification is 2/3 (Yes), branch to the dot row printing routine. If the 0 magnification is not 2/3 (No), it is determined to be 3/3 or 3/4 and the process branches to the character string printing routine.

ドツト列印刷ルーチンでは、画面に表示されている文字
をそのドツトでプリンタに出力し印刷する。また、文字
列印刷ルーチンでは、文字コードをプリンタに出力し、
プリンタの数種のサイズの文字フォントを用いて印刷す
る。
In the dot row printing routine, the characters displayed on the screen are output to the printer as dots and printed. Also, the string print routine outputs the character code to the printer,
Print using the printer's character fonts of several sizes.

第4図のドツト列印刷ルーチンに制御が渡るのは、指定
された縮小、拡大の倍率に対応する文字フォントパター
ンがプリンタ側に存在しない場合であり、前記第3図の
処理において、その点が判断される。
Control is passed to the dot row printing routine in Figure 4 when the character font pattern corresponding to the specified reduction or enlargement ratio does not exist on the printer side. be judged.

第4図のドツト列印刷ルーチンを参照すると、まずペー
ジプリンタとして使用することをプリンタに対して指示
する(41)、次に画面左上より右下まで画面に表示さ
れている文字のフォントを求め、印刷位置と共にプリン
タへ出力する(42)。
Referring to the dot string printing routine in Figure 4, first, the printer is instructed to use it as a page printer (41), then the font of the characters displayed on the screen from the top left to the bottom right is determined. It is output to the printer together with the print position (42).

ここでプリンタへは、本体側のCGより生成された基本
文字パターンと、縮小、拡大の倍率が送られる。最後に
改ページをプリンタに対して指示しく43)、プリンタ
をデフォルト(プリンタの電源投入時の)状態に戻す(
44)。
Here, the basic character pattern generated from the CG on the main body side and the reduction/enlargement magnification are sent to the printer. Finally, instruct the printer to break a page (43) and return the printer to its default state (when the printer was turned on) (
44).

第5図の文字列印刷ルーチンを参照すると、まずシリア
ルプリンタモードで印刷を行なうことをプリンタに対し
て指示する(51)。内部メモリーの縮小、拡大の倍率
(11)をもとに、倍率が3/3か否かを判定する(5
2)。もしも倍率が3/3である(Yes)ならば、1
0.5ポイントの文字を使用することをプリンタに指示
する(53)。倍率が3/3でない(N o )ならば
、4/3と判断し12ポイントの文字を使用することを
プリンタに指示する(54)。次に画面左上より右下ま
で画面に表示されている文字のコードを、プリンタへ出
力する(55)。この時、1行毎に改行をプリンタに対
して指示する。最後に改ページをプリンタに対して指示
しく56)、プリンタをデフォルト(プリンタの電源投
入時の)状態に戻す(57)。
Referring to the character string printing routine in FIG. 5, first, the printer is instructed to print in serial printer mode (51). Based on the internal memory reduction/enlargement magnification (11), determine whether the magnification is 3/3 or not (5
2). If the magnification is 3/3 (Yes), then 1
Instructs the printer to use 0.5 point characters (53). If the magnification is not 3/3 (N o ), it is determined to be 4/3 and the printer is instructed to use 12 point characters (54). Next, the code of the characters displayed on the screen from the upper left to the lower right is output to the printer (55). At this time, a line feed is instructed to the printer for each line. Finally, a page break is instructed to the printer 56), and the printer is returned to its default state (when the printer is turned on) (57).

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

これまでになかったテキスト画面を縮小あるいは拡大し
て印刷することができるので、文字の形状を相手ユーザ
ーの用途に応じて変化させることのできる電子計算機と
してその応用範囲は広い。
Since it is possible to reduce or enlarge the text screen and print it, which was not possible before, it has a wide range of applications as an electronic computer that can change the shape of the characters depending on the purpose of the other user.

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

第1図は、本発明による全体を示すブロック図である。 第2図、第3図、第4図、及び第5図は、本発明に関係
する処理の流れ図をそれぞれ示す図である。 : CRT表示部 :キーボード :入カバッファ :中央制御装置(CPU) :出力バッファ :プリンタ :フロッピーディスクドライブ(FDD):内部メモリ
ー :縮小、拡大の倍率 二画面印刷の種別 以上 出願人 セイコーエプソン株式会社 代理人弁理士 鈴木喜三部 他1名 第1図 第2図 第3図
FIG. 1 is an overall block diagram according to the present invention. FIG. 2, FIG. 3, FIG. 4, and FIG. 5 are diagrams each showing a flowchart of processing related to the present invention. : CRT display: Keyboard: Input buffer: Central control unit (CPU): Output buffer: Printer: Floppy disk drive (FDD): Internal memory: Reduction/enlargement magnification Types of dual-screen printing and above Applicant: Seiko Epson Corporation Representative Patent attorney Kizobe Suzuki and 1 other person Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] インタプリタ言語で処理されたプロセッサで作動する電
子計算機において、前記インタプリタ言語のもとに画面
に表示された文字及びグラフィックのデータを縮小ある
いは拡大させる指令手段と、前記指令手段に基づく前記
文字及びグラフィックデータを外部印刷機器に出力する
ための記憶手段を少なくとも備えていることを特徴とす
る電子計算機。
In an electronic computer operated by a processor processed in an interpreted language, a command means for reducing or enlarging character and graphic data displayed on a screen based on the interpreted language, and the character and graphic data based on the command means. An electronic computer comprising at least storage means for outputting the information to an external printing device.
JP63169364A 1988-07-06 1988-07-06 Electronic computer Pending JPH0217530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63169364A JPH0217530A (en) 1988-07-06 1988-07-06 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63169364A JPH0217530A (en) 1988-07-06 1988-07-06 Electronic computer

Publications (1)

Publication Number Publication Date
JPH0217530A true JPH0217530A (en) 1990-01-22

Family

ID=15885212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63169364A Pending JPH0217530A (en) 1988-07-06 1988-07-06 Electronic computer

Country Status (1)

Country Link
JP (1) JPH0217530A (en)

Similar Documents

Publication Publication Date Title
JPH0217530A (en) Electronic computer
US4944613A (en) Printing device
JPH03282881A (en) Document preparation device
JP3035973B2 (en) Character output device
JPH01108625A (en) Input device
JPS63203363A (en) Printing controller
JPH06118934A (en) External character registering method
JPH06110444A (en) Character processor and character output method
JPH0728790A (en) Method and device for document processing
JPH01231088A (en) Calligraphic style selecting picture displaying system
JPH0721157A (en) Word processor provided with document information reducing function
JPH08235164A (en) Display control method of document preparation device
JPS59117621A (en) Document editing and proofreading system
JPH01293423A (en) Bit map system display device for data processor
JPH04118771A (en) Document preparing device
JPS63155356A (en) Document editing device
JPH03132796A (en) Display controller
JPH06103021A (en) Data processor provided with display device
JPH01251087A (en) Mouse cursor display control system
JPS63155355A (en) Document editing device
JPH0421468A (en) Document processor
JPS63285587A (en) Character processor
JPS62286160A (en) Word processor
JPS61281285A (en) Character display unit
JPS6240532A (en) Control device for display of information processing system