JPS6345079A - Document printing controller - Google Patents

Document printing controller

Info

Publication number
JPS6345079A
JPS6345079A JP61189027A JP18902786A JPS6345079A JP S6345079 A JPS6345079 A JP S6345079A JP 61189027 A JP61189027 A JP 61189027A JP 18902786 A JP18902786 A JP 18902786A JP S6345079 A JPS6345079 A JP S6345079A
Authority
JP
Japan
Prior art keywords
printing
character
actual
printer
space
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
JP61189027A
Other languages
Japanese (ja)
Inventor
Masahide Akagawa
赤川 正英
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61189027A priority Critical patent/JPS6345079A/en
Publication of JPS6345079A publication Critical patent/JPS6345079A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enable line space and character space in a printing format to be finely changed, by multiplying a line space and a character space previously specified by the operator by a scaling factor separately set, thereby obtaining an actual line space and an actual character space, and causing a printer to print according to the values thus obtained. CONSTITUTION:When execution of a printing operation is selected, a printing format menu is displayed on a CRT screen of a CRT display device 8 under the control of a CPU 1. According to the menu, appropriate ones of line space values and character space values for printing which are previously provided in a device are selected in addition to a printing format such as paper size and printing direction, and a scaling factor is set. The information thus selected or set is sent to a calculating circuit 13, which multiplies the selected line space value and the selected character space value by the scaling factor. The results of calculation are sent to a printer controller 12 as an 'actual' line space value and an 'actual' character space value, and a document text is outputted to a printer 11 on the basis of these values.

Description

【発明の詳細な説明】 〔産業上の利用分野」 この発明は9文4″f任意の誉式で印刷可能な印刷機能
を持つワードプロセッサの文書印刷制御装置に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document print control device for a word processor having a printing function capable of printing 9 sentences, 4″f, in any honor format.

〔従来の技術〕[Conventional technology]

第3図は列えば、特開昭58−138155号公報に示
された従来の文書印刷制御装置を用いた文書印刷装置の
ブロック図であ)1図において、(1)は装置全体の制
御を行うCPU、(2)は印刷制御するプログラムや印
刷書式を格納しておく内部メモリ。
Figure 3 is a block diagram of a document printing device using the conventional document printing control device disclosed in Japanese Patent Application Laid-Open No. 58-138155.) In Figure 1, (1) shows the control of the entire device. The CPU (2) is an internal memory that stores print control programs and print formats.

(3)は外部記憶装置と内部メモリ(2)の間のデータ
転送の制御を行うDMAコントローラ、(4)は外部記
憶装置に対するアクセスの制御を行リファイルメモリコ
ントローラ、(5)はフロッピーディスク装置。
(3) is a DMA controller that controls data transfer between the external storage device and internal memory (2), (4) is a refile memory controller that controls access to the external storage device, and (5) is a floppy disk device. .

(6)は磁気ディスク装置でアシ、それぞれ9文書デー
タや印刷書式を格納する外部記憶装置である。
(6) is a magnetic disk device, each of which is an external storage device that stores nine document data and print formats.

(7)は文書入力及び印刷時の印刷書式の入力等を含む
各種の情報人力に供される各種のデータキー。
(7) Various data keys used for various information functions including document input and input of print formats during printing.

及びファンクションキーを有してなるキーボードで6D
、t8)は文書作成2文書入力・印刷出力等のための各
種のメニュー表示2炸成文書の表示等に供されるCRT
デイスプVイ装置、(9)は上記キーボード(力及びC
RTデイスプレィ装置(8)を制御するの・CRTコン
トローラである。α1はシステムで取)扱われる各種の
漢字パターン情報を貯える漢字パターンメモ!J、Ql
)はオペレータが指定した印刷書式に従って印刷するプ
リンタ、α2はプリンタαυを制御するプリンタコント
ローラである。
and 6D keyboard with function keys.
, t8) is a CRT used for document creation, various menu displays for document input/print output, etc., and display of completed documents.
Display V device, (9) is the above keyboard (power and C
The CRT controller controls the RT display device (8). α1 is a kanji pattern memo that stores information on various kanji patterns handled by the system! J,Ql
) is a printer that prints according to the print format specified by the operator, and α2 is a printer controller that controls the printer αυ.

次に動作について説明する。Next, the operation will be explained.

システムの電源が投入されると、DMAコントローラ(
3)、及び、ファイルメモリコントローラ(4)の制御
の下に、外部メモリ、例えば磁気ディスク装置(6)に
格納されているプログラム情報がMMU(2)の所定の
プログラム格納領域ヘロードされ、その後M M U 
t21に格納されたプログラムに従うCPU1llの制
御の下に、KA−c几Tコントローラ(9)がCRTデ
イスプレィ装置(8)をドライブし、CRT画面上に作
業メニューが表示される。このCRT画面上に表示され
た作業メニューの中から、オペレータがキーボード(7
)を操作して、以後の処理作業を選択する。
When the system is powered on, the DMA controller (
3), and under the control of the file memory controller (4), program information stored in an external memory, such as a magnetic disk device (6), is loaded into a predetermined program storage area of the MMU (2), and then the MMU M U
Under the control of the CPU 1ll according to the program stored in t21, the KA-c controller (9) drives the CRT display device (8), and a work menu is displayed on the CRT screen. The operator selects the keyboard (7) from the work menu displayed on this CRT screen.
) to select the next processing task.

ここで印刷動作の実行を選択すると、CPU(1+の制
御の下に以下のような動作が実行される。先ず、CRT
デイスプレィ装置(8)のCRT画面上に印刷書式のメ
ニューが表示される。このメニューに従いオペレータか
ら印刷書式を指定されると。
If you select to execute the print operation here, the following operations will be executed under the control of the CPU (1+).First, the CRT
A print format menu is displayed on the CRT screen of the display device (8). When the operator specifies the print format according to this menu.

その印刷書式で指定された用紙サイズ、文字間隔。The paper size and character spacing specified in the print format.

行間隔の各清報に従ってプリンタαυに印刷する。Print on the printer αυ according to each line interval information.

この印刷制御のフローチャートを第4図に示す。A flowchart of this print control is shown in FIG.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の日本語ワードプロセッサにおける印刷制御装置は
以上のように構成されているので1行間隔9文字間隔は
あらかじめ印刷書式に用意されている値しか取ることが
できず、必ずしもオペレータが要求した印刷形式を満足
させることができないという問題点があった。
Since the print control device in conventional Japanese word processors is configured as described above, the 9-character spacing per line can only take values that are prepared in advance for the print format, and it does not necessarily match the print format requested by the operator. There was a problem that it could not be satisfied.

この発明は上記のような問題点を解消するためにな嘔れ
たもので、印刷書式の行間隔9文字間隔を微細に変更で
きる印刷制御装置を得ることを目的とする。
The present invention was made to solve the above-mentioned problems, and an object of the present invention is to provide a print control device that can finely change the line spacing of nine characters in a print format.

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

この発明に係る印刷制御装置は、あらかじめオペレータ
が指定した行間隔2文字間隔に対して別に設定した拡大
率、縮小率を乗じ、実行間隔、実文字間隔を求め、この
値に従ってプリンタが印刷するようにしたものである。
The print control device according to the present invention multiplies the two-character line spacing specified by the operator in advance by a separately set enlargement rate and reduction rate to obtain an execution interval and an actual character interval, and causes the printer to print according to these values. This is what I did.

〔作用〕[Effect]

この発明における演算器は、オペレータが指定した行間
隔9文字間隔に、別に指定した拡大率。
The arithmetic unit in this invention has a line spacing of 9 characters specified by the operator and a separately specified enlargement rate.

縮小率を乗じ、実際に印刷する際の実行間隔、実文字間
隔を求めるものである。
By multiplying by the reduction ratio, the execution interval and actual character interval during actual printing are determined.

〔発明の実施例」 以下、この発明の一実施例を図について説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図において、(1)は装置全体の制御を行うCPU
、(2)は印刷制御するプログラムや印刷書式を格納し
ておく内部メモ1ハ(3)は外部記憶装置と内部メモ1
月2)の間のデータ転送の制御を行うDMAコントロー
ラ、(4)は外部記憶装置に対するアクセスの制御を行
うファイルメモリコントローラ、(5)はフロッピーデ
ィスク装置、(6)は磁気ディスク装置であや、それぞ
れ2文書データや印刷書式を格納する外部記憶装置でお
る。(7)は文書入力及び行間隔1文字間隔、及び拡大
・縮小率を含む印刷書式の人力等を含む各種の1′#報
入力に供される各種のデータキー、及びファンクション
キーヲ有シてなるキーボー ドであ、9.!81は文書
作成2文書入力。
In Figure 1, (1) is a CPU that controls the entire device.
, (2) is an internal memo 1 that stores print control programs and print formats, and (3) is an external storage device and an internal memo 1.
A DMA controller that controls data transfer during month 2), (4) a file memory controller that controls access to external storage devices, (5) a floppy disk device, and (6) a magnetic disk device. Each is an external storage device that stores document data and print formats. (7) has various data keys and function keys for inputting various kinds of information including document input, line spacing, character spacing, and printing formatting including enlargement/reduction ratio. 9. ! 81 is document creation 2 document input.

印刷出力等のための各種のメニュー表示9咋成文書の表
示等に供されるCRTデイスプレィ装置。
A CRT display device used for displaying various menus for printing output, etc., and displaying written documents.

(9)は上記キーボード(7)及びCRTデイスプレィ
装置(8)を制御するに7′B −CRTコントローラ
である。
(9) is a 7'B-CRT controller for controlling the keyboard (7) and CRT display device (8).

αlはこの装置で取υ扱われる各種の漢字パターン情報
を貯える漢字パターンメモリである。qυはオペレータ
が指定した印刷書式に従って印刷するプリンタ、qっけ
プリンタUυを制御するプリンタコントローラ、(L3
はオペレータがキーボード(7)よ)入力、もしくは、
外部記憶装置にあらかじめ格納されている行間隔値9文
字間隔及び拡大・縮小率より実際に印刷する際の実行間
隔・実文字間隔を計算する演算回路である。
αl is a kanji pattern memory that stores various kanji pattern information handled by this device. qυ is a printer that prints according to the print format specified by the operator, a printer controller that controls the qkke printer Uυ (L3
is entered by the operator using the keyboard (7), or
This is an arithmetic circuit that calculates the execution interval and actual character interval when actually printing from the line interval value 9 character interval and the enlargement/reduction ratio stored in advance in an external storage device.

次に、実施例の動作について説明する。Next, the operation of the embodiment will be explained.

装置の電源が投入されると、DMAコントローラ(3)
及び、ファイルメモリコントローラ(4)の制御の丁に
、外部記憶装置1例えば、磁気ディスク装置(6)に格
納されているプログラム情報がM M U t2+の所
定のプログラム格納領域ヘロードされ、その後M M 
U (2)に格納されたプログラムに従うCPU(1)
の制御の下に、に/B−CRTコントローラ(9)がC
凡Tデイスプレィ装置(8)をドライブし、CRT画面
上に作業メニューが表示される。このCRT画面上に表
示された作業メニューの中から、オペレータがキーボー
ド(7)を操作して、以後の処理作業を選択する。
When the device is powered on, the DMA controller (3)
Then, under the control of the file memory controller (4), the program information stored in the external storage device 1, for example, the magnetic disk device (6), is loaded into a predetermined program storage area of the MMU t2+, and then the MMU
CPU (1) following the program stored in U (2)
Under the control of the C/B-CRT controller (9)
Drive the T-display device (8) and display the work menu on the CRT screen. From the work menu displayed on the CRT screen, the operator operates the keyboard (7) to select the subsequent processing work.

ここで、印刷動作の実行を選択すると、CPU(1)の
制御の下に以下のように動作する。先ず、CRTデイス
プレィ装置1B+のCR’r画面上に印刷書式のメニュ
ーが表示される。このメニューに従い。
Here, when execution of the print operation is selected, the following operations are performed under the control of the CPU (1). First, a print format menu is displayed on the CR'r screen of the CRT display device 1B+. Follow this menu.

用紙サイズ、印刷方向などの印刷書式の他に、あらかじ
め装置に用意されている印刷時の行間隔値。
In addition to print formats such as paper size and print direction, line spacing values for printing that are provided in advance by the device.

文字間隔値の中から適当なものを選択すると共に。Along with selecting an appropriate character spacing value.

拡大・縮小率を設定すると、これらの情報は、演算回路
t13に送られ2行間隔値9文字間隔値のそれぞれに拡
大・縮小率が乗ぜられる。この結果は。
Once the enlargement/reduction ratio is set, these pieces of information are sent to the arithmetic circuit t13, and each of the 2-line spacing value and the 9-character spacing value is multiplied by the enlargement/reduction ratio. This result is.

「芙」行間隔値、「実」文字間隔値として、プリンタコ
ントローラi1■に送られ、この値をもとにプリンタI
へ文書を出力する。
These are sent to the printer controller i1■ as the "Fu" line spacing value and the "actual" character spacing value, and based on these values, the printer I
Output the document to.

以上の動作を具体例を上げて説明する。The above operation will be explained using a specific example.

一般にプリンタ111)が9文字をドツトマトリクスと
して印刷するドツトプリンタである時0行間隔・文字間
隔はドツトを単位として指定される。すなわち、1ドツ
トは、ドツトマトリクス内の隣υらうドツト間の距離で
ある。たとえば、オペレータが2行間隔を12ドツト、
文字間隔を8ドツトと指定し、拡大・縮小率を360%
と設定したとする。これらの値は、演算回路+13に送
られ、それぞれ、「央」行間隔t−43ドツト、「実」
文字間隔を28ドツトと計算する。計算結果の小数点以
下は、切り捨てられるものとする。「実」行間隔・「実
」文字間隔がプリンタコントローラα2に送られると、
プリンタコントローラーは、1文字分の印字が終ると、
28ドツト分プリンタαυのヘッドを印刷方向へ移動し
、1行分の印刷が終ると43ドツト分プリンタllυの
プラテンを印刷方向へ回転させる。
Generally, when the printer 111) is a dot printer that prints nine characters as a dot matrix, the zero line spacing and character spacing are specified in units of dots. That is, one dot is the distance between adjacent dots in the dot matrix. For example, if the operator sets the spacing between two lines to 12 dots,
Specify the character spacing as 8 dots and set the enlargement/reduction ratio to 360%.
Suppose we set These values are sent to the arithmetic circuit +13, and the "center" row spacing is t-43 dots, and the "real" row spacing is t-43 dots.
Calculate the character spacing as 28 dots. The calculation result shall be rounded down to the decimal point. When the "actual" line spacing and "actual" character spacing are sent to the printer controller α2,
When the printer controller finishes printing one character,
The head of printer αυ is moved in the printing direction by 28 dots, and when printing for one line is completed, the platen of printer llυ is rotated in the printing direction by 43 dots.

第2図に、上記印刷制御i[177作のフローチャート
を示す。
FIG. 2 shows a flowchart of the print control i [177 production].

なお、上記実施例では、「実」行間隔・「実」文字間隔
を計算するために、演算回路を設けたが。
In the above embodiment, an arithmetic circuit is provided to calculate the "actual" line spacing and "actual" character spacing.

これらの計算をプログラムし、CPUで行なわせても、
上記実施例と同様の効果を奏する。
Even if these calculations are programmed and performed by the CPU,
The same effects as in the above embodiment are achieved.

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

以上のように、この発明によれば、従来のプリンタコン
トローラを改造することなく、簡単な演算回路を付加し
ただけであるため、わずかのコスト増加で、大幅な機能
改善が得られる効果がある。
As described above, according to the present invention, a simple arithmetic circuit is simply added without modifying a conventional printer controller, so that a significant functional improvement can be achieved with a slight increase in cost.

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

第1図はこの発明の一実施例による印刷制御装置を示す
ブロック図、第2図はこの発明の動作を示すフローチャ
ート、第3図は従来の印刷制御装置を示すブロック図、
第4図は従来の印刷制御方式の動作を示すフローチャー
トである。 (1)はCPU、(2+は内部メモリ、(3)はD M
 Aコントローラ、 +4)ハフアイルメモリコントロ
ー?、(51はフロッピーディスク装置t、 (6)は
磁気ディスク装置、(7)はキーボード、(8)はCR
Tデイスプレィ装置、I9)はy、/B−c a T 
コント(1−7,ilGは漢字パターンメモリ、αυは
プリンタ、■はプリンタコントローラ、(13は演算回
路である。 なお図中、同一符号は同一、または相当部分を示す。
FIG. 1 is a block diagram showing a print control device according to an embodiment of the present invention, FIG. 2 is a flow chart showing the operation of the present invention, and FIG. 3 is a block diagram showing a conventional print control device.
FIG. 4 is a flowchart showing the operation of a conventional print control system. (1) is CPU, (2+ is internal memory, (3) is DM
A controller, +4) Huff Isle memory controller? , (51 is a floppy disk device t, (6) is a magnetic disk device, (7) is a keyboard, (8) is a CR
T display device, I9) is y, /B-c a T
Control (1-7, ilG is a kanji pattern memory, αυ is a printer, ■ is a printer controller, (13 is an arithmetic circuit). In the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims]  印字装置とこの印字装置を制御する印字制御装置を少
なくとも具備する日本語ワードプロセッサにおいて、オ
ペレータにより指定される印刷書式の中の行間隔、文字
間隔に対し拡大率、縮小率を指定する手段を備え、指定
された拡大率、縮小率に応じて印刷行間隔、文字間隔を
計算する演算手段を備えたことを特徴とする文書印刷制
御装置。
A Japanese word processor comprising at least a printing device and a printing control device for controlling the printing device, comprising means for specifying an enlargement rate and a reduction rate for line spacing and character spacing in a print format specified by an operator, A document printing control device comprising a calculation means for calculating printing line spacing and character spacing according to specified enlargement and reduction ratios.
JP61189027A 1986-08-12 1986-08-12 Document printing controller Pending JPS6345079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61189027A JPS6345079A (en) 1986-08-12 1986-08-12 Document printing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61189027A JPS6345079A (en) 1986-08-12 1986-08-12 Document printing controller

Publications (1)

Publication Number Publication Date
JPS6345079A true JPS6345079A (en) 1988-02-26

Family

ID=16234070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61189027A Pending JPS6345079A (en) 1986-08-12 1986-08-12 Document printing controller

Country Status (1)

Country Link
JP (1) JPS6345079A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61132360A (en) * 1984-12-01 1986-06-19 Toshiba Corp Character processor
JPS61197250A (en) * 1985-02-28 1986-09-01 Toshiba Corp Character pitch control device in printer
JPS62246766A (en) * 1986-04-18 1987-10-27 Nec Corp Document and journal printing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61132360A (en) * 1984-12-01 1986-06-19 Toshiba Corp Character processor
JPS61197250A (en) * 1985-02-28 1986-09-01 Toshiba Corp Character pitch control device in printer
JPS62246766A (en) * 1986-04-18 1987-10-27 Nec Corp Document and journal printing system

Similar Documents

Publication Publication Date Title
US7941750B2 (en) Method and system for defining separate print quality regions within a print job
JPS6345079A (en) Document printing controller
JPH0934678A (en) Display method for document file
JPH02297127A (en) Information processor
JP2910921B2 (en) Printing control device
JPS6366630A (en) Input device for print position
JPS6063665A (en) Input system for external character
JP2705690B2 (en) Display control device
JPH0421468A (en) Document processor
JPH02297125A (en) Information processor
JP3077777B2 (en) Document processing device
JPH01121969A (en) Data processor with paginating function
JPH04216982A (en) Printing of page numbers
JPH0270472A (en) Displaying method for printing position of document forming apparatus
JPH04118768A (en) Document preparing device
JPS63227369A (en) Information processor
JPH0272356A (en) Layout simulation device
JPH02255950A (en) Document processor with type selecting function
JPH04118771A (en) Document preparing device
JPS63201771A (en) Quickening system for grid marker train display
JPH04195673A (en) Character processor
JPS62293465A (en) Word processor
JPH0580013B2 (en)
JPH0573553A (en) Document processor
JPH0869457A (en) Document preparation device and qualification control method