JPH06166234A - Document preparing device and printing control method - Google Patents

Document preparing device and printing control method

Info

Publication number
JPH06166234A
JPH06166234A JP4319600A JP31960092A JPH06166234A JP H06166234 A JPH06166234 A JP H06166234A JP 4319600 A JP4319600 A JP 4319600A JP 31960092 A JP31960092 A JP 31960092A JP H06166234 A JPH06166234 A JP H06166234A
Authority
JP
Japan
Prior art keywords
line
printing
format
paper
document
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
JP4319600A
Other languages
Japanese (ja)
Inventor
Isao Hamano
功 浜野
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP4319600A priority Critical patent/JPH06166234A/en
Publication of JPH06166234A publication Critical patent/JPH06166234A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain easily a beautiful printing result where the arrangement of printing match lines in the use of format paper, in a document creating device provided with a printing function. CONSTITUTION:The head of a printer 23 is provided with a small scanner 25, lines printed on format paper is read by the scanner 25 to measure line spacing (the distance between the lines). This is stored as line information in the line information storage area 32 of a RAM 11, and a printing format, such as a line pitch, is defined based on the line information so that characters are positioned several dots above or below the line, for example. Subsequently, document information stored in a document buffer 31 is printed in the printing format on paper by the printer 23.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、印刷機能を備えた文書
作成装置において、特に行線が予め印刷されている特定
の用紙(以下、フォーマット用紙)を用いて印刷する際
に好適な文書作成装置及び印刷制御方法を提供すること
を目的とする。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document preparation apparatus having a printing function, and particularly to a document preparation suitable for printing using a specific paper (hereinafter, a format paper) on which line lines are printed in advance. An object of the present invention is to provide an apparatus and a print control method.

【0002】[0002]

【従来の技術】従来、印刷機能を備えた文書作成装置で
は、作成した文書を用紙に印刷することができる。この
場合、印刷前に印刷書式(文字ピッチ、行ピッチ等)を
予め設定しておくことにより、その書式に従った印刷が
行われることになる。
2. Description of the Related Art Conventionally, a document creating apparatus having a printing function can print a created document on paper. In this case, by setting a print format (character pitch, line pitch, etc.) in advance before printing, printing according to the format is performed.

【0003】ここで、印刷に用いる用紙としては、通
常、印刷面に何も印刷されていないものを用いるが、用
途によっては、例えばレポート用紙など、行線が予め印
刷されているフォーマット用紙を用いる場合がある。こ
のようなフォーマッ用紙を用いた場合、行線に合わせて
文書が印刷されるように書式を設定する必要がある。従
来、この書式設定をユーザ自身が行っていた。
Here, as the paper used for printing, a paper on which nothing is printed is usually used, but depending on the application, a format paper such as a report paper on which line lines are preprinted is used. There are cases. When such a format paper is used, it is necessary to set the format so that the document is printed according to the line lines. In the past, this formatting was done by the user himself.

【0004】[0004]

【発明が解決しようとする課題】上記したように、従
来、フォーマット用紙を用いた場合には、ユーザ自身が
用紙の行線に合わせて書式を設定する必要があった。こ
のため、設定操作が非常に面倒であり、また、その設定
も困難を要し、行線に合わせた綺麗な印刷結果を簡単に
得ることができない等の問題があった。
As described above, conventionally, when the format paper is used, it is necessary for the user to set the format according to the line of the paper. Therefore, the setting operation is very troublesome, and the setting is difficult, and there is a problem that it is not possible to easily obtain a beautiful print result in line with the line.

【0005】本発明は上記のような点に鑑みなされたも
ので、フォーマット用紙を用いた際、行線に合わせた綺
麗な印刷結果を簡単に得ることのできる文書作成装置及
び印刷制御方法を提供することを目的とする。
The present invention has been made in view of the above points, and provides a document creation apparatus and a print control method that can easily obtain a beautiful print result in line with a line when using a format sheet. The purpose is to do.

【0006】[0006]

【課題を解決するための手段】本発明は、行線が予め印
刷されている特定の用紙を用いた印刷において、行線の
間隔をスキャナ等で読み取ることにより、その行線間隔
に応じた印刷書式を設定し、印刷を行うようにしたもの
である。
SUMMARY OF THE INVENTION According to the present invention, in printing using a specific paper on which line lines are printed in advance, by reading the interval between line lines with a scanner or the like, printing according to the line line interval is performed. The format is set and printing is performed.

【0007】[0007]

【作用】上記の構成によれば、用紙に印刷されている行
線が読み取られ、その行線間隔に応じた印刷書式が自動
設定されて印刷が行われる。したがって、ユーザ自身が
印刷書式を設定しなくとも、用紙の行線に合わせた綺麗
な印刷結果を簡単に得ることができる。
According to the above construction, the line lines printed on the paper are read, and the print format is automatically set according to the line line intervals to perform printing. Therefore, even if the user does not set the print format, it is possible to easily obtain a beautiful print result that matches the line of paper.

【0008】[0008]

【実施例】以下、図面を参照して本発明の一実施例に係
る文書作成装置を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A document creating apparatus according to an embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は同実施例に係る文書作成装置の構成
を示す図である。同図において、10はマイクロプロセ
ッサ(以下、CPUと称す)、11および12はCPU
10によりアクセスされるメモリ(RAM,ROM)で
ある。
FIG. 1 is a view showing the arrangement of the document creating apparatus according to the embodiment. In the figure, 10 is a microprocessor (hereinafter referred to as CPU), and 11 and 12 are CPUs.
A memory (RAM, ROM) accessed by 10.

【0010】CPU10は、装置全体の制御を行なうも
ので、RAM11、ROM12をアクセスして入力指示
に従うプログラムの起動で文書作成処理や、図2に示す
ような印刷処理等を実行する。
The CPU 10 controls the entire apparatus. The CPU 10 accesses the RAM 11 and the ROM 12 and executes a program according to an input instruction to execute a document creating process, a printing process as shown in FIG.

【0011】ROM12には、CPU10の動作を決定
する各種処理プログラムが格納されたプログラム領域1
3をはじめ、フォントデ―タが格納された文字パターン
領域14、仮名あるいはロ―マ字で入力された読み情報
を漢字情報に変換するための標準辞書が格納された辞書
領域15等が設けられている。
The ROM 12 has a program area 1 in which various processing programs for determining the operation of the CPU 10 are stored.
3, a character pattern area 14 in which font data is stored, a dictionary area 15 in which a standard dictionary for converting reading information input in kana or romaji into kanji information is provided, and the like. There is.

【0012】RAM11には、文書作成に必要な各種の
情報を格納するための領域が設けられており、ここでは
文書情報を格納するための文書バッファ31および後述
するフォーマット用紙41の行線情報を格納するための
行線情報格納領域32が設けられている。
The RAM 11 is provided with an area for storing various kinds of information necessary for creating a document. Here, a document buffer 31 for storing the document information and line line information of a format sheet 41 described later are stored. A row line information storage area 32 for storing is provided.

【0013】また、16はキ―ボ―ド(KB)、17は
キーボードインターフェイス(KB−IF)、18は表
示器、19は表示コントローラ(表示−CNT)、20
は表示用ドットメモリ、21はフロッピ―ディスク装置
(FDD)、22はFDDインターフェイス(FDD−
IF)、23はプリンタ装置(PRT)、24はプリン
タインターフェイス(PRT−IF)である。
Reference numeral 16 is a keyboard (KB), 17 is a keyboard interface (KB-IF), 18 is a display, 19 is a display controller (display-CNT), 20
Is a dot memory for display, 21 is a floppy disk device (FDD), 22 is an FDD interface (FDD-).
IF), 23 is a printer device (PRT), and 24 is a printer interface (PRT-IF).

【0014】キ―ボ―ド(KB)16は、文書作成等に
必要な入力情報をキ―ボ―ドインターフェイス(KB−
IF)17を介してCPU10へ出力する。このキ―ボ
―ド16には、「文字」キ―、「数値」キーをはじめ、
「機能1」キー、「機能2」キー等のファンクションキ
ーの他、ここでは印刷機能を指定するための「印刷」キ
ー16aが設けられている。
A keyboard (KB) 16 receives input information necessary for creating a document and the like, and a keyboard interface (KB-).
IF) 17 to CPU 10. This keyboard 16 includes "character" key, "numerical value" key,
In addition to function keys such as a "function 1" key and a "function 2" key, a "print" key 16a for designating a print function is provided here.

【0015】表示器18は、例えば40字20行のバックラ
イト付き液晶ディスプレイからなり、最下行(第20行
目)をガイド表示専用の領域(ガイド行)に設定してい
る。表示−CNT19は、CPU10の制御の下に表示
用ドットメモリ20を用いて表示器18の表示制御を行
なう。
The display unit 18 is composed of, for example, a 40-character, 20-line liquid crystal display with a backlight, and the bottom line (20th line) is set as an area (guide line) dedicated to guide display. The display-CNT 19 controls the display of the display device 18 using the display dot memory 20 under the control of the CPU 10.

【0016】フロッピ―ディスク装置(FDD)21
は、CPU10の制御の下に、FDDインターフェイス
(FDD−IF)22を介して、作成された文書を保存
したり、外字および第2水準文字等を記憶する。プリン
タ装置(PRT)23は、例えばシリアルプリンタから
なる。
Floppy disk drive (FDD) 21
Under the control of the CPU 10, saves the created document, stores external characters and second level characters, etc., via the FDD interface (FDD-IF) 22. The printer device (PRT) 23 is, for example, a serial printer.

【0017】ここで、同実施例では、小型のスキャナ2
5を有する。このスキャナ25は、図3に示すようにプ
リンタ23のヘッド23a部分に設けられており、図4
に示すようなフォーマット用紙41の行線42を読み取
り、その行線イメージをスキャナインターフェイス(ス
キャナ−IF)26を介してCPU10へ出力する。次
に、同実施例の動作を説明する。ここでは、図4に示す
ように、予め行線42が同一間隔で複数印刷されている
フォーマット用紙41を用いて印刷する場合を想定して
説明する。
Here, in the embodiment, the small scanner 2 is used.
Have 5. The scanner 25 is provided in the head 23a portion of the printer 23 as shown in FIG.
The line line 42 of the format paper 41 as shown in FIG. 2 is read, and the line line image is output to the CPU 10 via the scanner interface (scanner-IF) 26. Next, the operation of the embodiment will be described. Here, as shown in FIG. 4, description will be given on the assumption that printing is performed using the format paper 41 in which a plurality of row lines 42 are printed in advance at the same interval.

【0018】図2のフローチャートに示すように、ま
ず、キ―ボ―ド16の「印刷」キー16aを押下するこ
とにより、印刷機能を指示する(ステップS1)。この
指示により、CPU10は図示せぬ印刷メニューを表示
器18に表示する(ステップS2)。この印刷メニュー
には、印刷の種類を示す複数の項目が示されており、そ
の中で「指定用紙印刷」の項目を選択する(ステップS
3)。この項目選択により、CPU10はプリンタ23
の用紙送りモータを起動し、印刷機構部にセットされて
いるフォーマット用紙41を行方向に送りながら、この
フォーマット用紙41に印刷されている行線42をスキ
ャナ25によって読み取る(ステップS4)。
As shown in the flow chart of FIG. 2, first, the print function is instructed by depressing the "print" key 16a of the keyboard 16 (step S1). By this instruction, the CPU 10 displays a print menu (not shown) on the display device 18 (step S2). In this print menu, a plurality of items indicating the type of printing are shown, and among them, the item of "designated paper print" is selected (step S
3). By selecting this item, the CPU 10 causes the printer 23
The paper feed motor is activated to feed the format sheet 41 set in the printing mechanism section in the row direction, and the line lines 42 printed on the format sheet 41 are read by the scanner 25 (step S4).

【0019】ここで、CPU10は、2本の行線42を
読み取った時点でその行間(行線の間隔)をメモリ内部
で計算し、より正確な長さを測定する(ステップS5〜
S9)。この場合、1つ目の行間と2つ目の行間とが一
致し、さらに2つ目の行間と3つ目の行間とが一致する
か、あるいは、2つ目の行間と3つ目の行間とが一致
し、さらに3つ目の行間と4つ目の行間とが一致したと
き、CPU10はプリンタ23の用紙送りモータの回転
角度により行間の長さを決定する。これは、例えばレポ
ート用紙などは1行目が題目等の記入用として行間が大
きく取られており、2行目以降から同一間隔で行線が印
刷されているためである。
Here, the CPU 10 calculates the line spacing (row line interval) inside the memory at the time when the two line lines 42 are read, and measures a more accurate length (steps S5 to S5).
S9). In this case, the first line spacing and the second line spacing match and the second line spacing and the third line spacing match, or the second line spacing and the third line spacing match. When, and the third line spacing and the fourth line spacing match, the CPU 10 determines the line length by the rotation angle of the paper feed motor of the printer 23. This is because, for example, the first line of a report paper or the like has a large line spacing for writing a subject and the like, and line lines are printed at the same intervals from the second line onward.

【0020】このようにして行間の長さが測定される
と、CPU10はこれを行線情報としてRAM11の行
線情報格納領域32に格納した後、その行線情報に基づ
いて例えば行線の上または下から数ドットの位置に文字
が来るように行ピッチ等の印刷書式を設定する(ステッ
プS10)。次に、CPU10は文書バッファ31から
印刷すべき文書情報を読み出し、この文書情報を上記印
刷書式でプリンタ23によりフォーマット用紙41上に
印刷する(ステップS11)。
When the line-to-line length is measured in this manner, the CPU 10 stores it as line-line information in the line-line information storage area 32 of the RAM 11 and then, for example, based on the line-line information. Alternatively, the print format such as the line pitch is set so that the characters are located at a few dots from the bottom (step S10). Next, the CPU 10 reads out the document information to be printed from the document buffer 31, and prints this document information on the format sheet 41 by the printer 23 in the above print format (step S11).

【0021】このように、フォーマット用紙41を用い
た場合には、そのフォーマット用紙41に印刷されてい
る行線42が読み取られ、その間隔に応じた印刷書式が
自動設定されて印刷が行われる。したがって、従来のよ
うにユーザ自身が印刷書式を設定するといった面倒な作
業を必要とせず、行線42に合わせた綺麗な印刷結果を
簡単に得ることができる。このときの印刷結果を図5に
示す。図5(a)は用紙全体、同図(b)は一部を拡大
して示す図である。
As described above, when the format sheet 41 is used, the line lines 42 printed on the format sheet 41 are read, and the print format corresponding to the interval is automatically set and printing is performed. Therefore, unlike the related art, the user does not need to perform a troublesome work such as setting a print format by himself, and it is possible to easily obtain a beautiful print result according to the row line 42. The printing result at this time is shown in FIG. FIG. 5A is an enlarged view of the entire sheet, and FIG. 5B is an enlarged view of a part thereof.

【0022】なお、上記実施例では、行線の間隔が一定
であるフォーマット用紙を用いた場合について説明した
が、例えは行線の間隔が一定でないフォーマット用紙を
用いた場合には、その用紙に印刷されている行線を全て
読み込み、その行線情報に基づいて1行毎に用紙送りを
調整しながら印刷を行うものとする。
In the above embodiment, the case where the format paper having the constant line spacing is used has been described. However, for example, when the format paper having the non-uniform spacing of the line is used, the format paper is used. It is assumed that all the printed line lines are read and printing is performed while adjusting the paper feed for each line based on the line line information.

【0023】また、文字サイズについて、行線を越えて
しまうような場合にば、例えば「文字ポイントを下げて
ください」といったようなメッセージを表示するか、あ
るいは行間に嵌まるような文字サイズを自動設定して印
刷する。この場合、行線の間隔が一定でないフォーマッ
ト用紙では、行間の長さが最小なものを選んで文字サイ
ズを決定するものとする。
When the character size exceeds the line line, a message such as "Please lower the character point" is displayed, or the character size that fits between the lines is automatically set. Set and print. In this case, for the format paper in which the line spacing is not constant, the character size is determined by selecting the one having the smallest line spacing.

【0024】[0024]

【発明の効果】以上のように本発明によれば、用紙に印
刷されている行線を読み取り、その行線間隔に応じた印
刷書式を自動設定して印刷するようにしたため、ユーザ
自身が印刷書式を設定するといった面倒な作業を必要と
せず、用紙の行線に合わせた綺麗な印刷結果を簡単に得
ることができる。これにより、印刷機能を備えた文書作
成装置において、各種の用紙を用いて印刷することがで
き、非常に便利になる。
As described above, according to the present invention, the line lines printed on the paper are read, and the print format corresponding to the line line intervals is automatically set for printing. You can easily obtain beautiful print results that match the line lines of paper, without the need for complicated work such as setting formats. This makes it possible to print using various types of paper in a document creation apparatus having a printing function, which is very convenient.

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

【図1】本発明の一実施例に係る文書作成装置の構成を
示すブロック図。
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention.

【図2】同実施例の動作を説明するためのフローチャー
ト。
FIG. 2 is a flowchart for explaining the operation of the embodiment.

【図3】同実施例の印刷機構部の構成を示す図。FIG. 3 is a diagram showing a configuration of a printing mechanism unit of the embodiment.

【図4】同実施例にフォーマット用紙の構成を示す図。FIG. 4 is a diagram showing a configuration of a format sheet in the embodiment.

【図5】同実施例の印刷結果を示す図。FIG. 5 is a diagram showing a printing result of the embodiment.

【符号の説明】[Explanation of symbols]

10…CPU、11…RAM、12…ROM、16…キ
ーボード(KB)、16a…「印刷」キー、18…表示
器、21…プリンタ(PRT)、25…スキャナ、31
…文書バッファ、32…行線情報格納領域。
10 ... CPU, 11 ... RAM, 12 ... ROM, 16 ... Keyboard (KB), 16a ... "Print" key, 18 ... Display, 21 ... Printer (PRT), 25 ... Scanner, 31
... document buffer, 32 ... line / line information storage area.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 行線が予め印刷されている特定の用紙
と、 この用紙の上記行線の間隔を読み取るスキャナ手段と、 このスキャナ手段によって読み取られた上記行線の間隔
に基づいて印刷書式を設定する書式設定手段と、 この書式設定手段によって設定された上記印刷書式に基
づいて上記用紙に印刷を行う印刷手段とを具備したこと
を特徴とする文書作成装置。
1. A specific sheet on which line lines are printed in advance, a scanner unit for reading the interval between the line lines on the sheet, and a print format based on the interval between the line lines read by the scanner unit. A document creating apparatus comprising: a format setting means for setting; and a printing means for printing on the paper based on the print format set by the format setting means.
【請求項2】 行線が予め印刷されている特定の用紙を
用いて印刷するものにおいて、 上記行線の間隔を読み取り、 その行線間隔に基づいて印刷書式を設定し、 その印刷書式に基づいて上記用紙に印刷を行うようにし
たことを特徴とする印刷制御方法。
2. When printing is performed using a specific paper on which line lines are printed in advance, the interval between the line lines is read, a print format is set based on the line line interval, and the print format is set based on the print format. A printing control method, wherein printing is performed on the paper.
JP4319600A 1992-11-30 1992-11-30 Document preparing device and printing control method Pending JPH06166234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4319600A JPH06166234A (en) 1992-11-30 1992-11-30 Document preparing device and printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4319600A JPH06166234A (en) 1992-11-30 1992-11-30 Document preparing device and printing control method

Publications (1)

Publication Number Publication Date
JPH06166234A true JPH06166234A (en) 1994-06-14

Family

ID=18112083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4319600A Pending JPH06166234A (en) 1992-11-30 1992-11-30 Document preparing device and printing control method

Country Status (1)

Country Link
JP (1) JPH06166234A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8118144B2 (en) 2002-05-29 2012-02-21 Turner Technology Group, Inc. Hydraulic dampers with pressure regulated control valve

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8118144B2 (en) 2002-05-29 2012-02-21 Turner Technology Group, Inc. Hydraulic dampers with pressure regulated control valve

Similar Documents

Publication Publication Date Title
JPH07125374A (en) Layout indication device
JPH05185653A (en) Tape printing apparatus
US5435659A (en) Scale printing apparatus
US4858171A (en) Word processor with selective placement of printhead for printing of newly input print data after interruption of printing
JPS5969837A (en) Word processor
JPH06166234A (en) Document preparing device and printing control method
JP3280073B2 (en) Document processing device
JPH01217540A (en) Document preparing device
US5878200A (en) Document processing apparatus for displaying inputted data in a print area based upon the size of a recording material and the reprinted data printed thereon
JP2695828B2 (en) Printing control device
JPH03156668A (en) Document preparing device
JP3139514B2 (en) Tape printer
JPH06161689A (en) Document preparing device and print control method
JP2610405B2 (en) Document creation device
JPS63188077A (en) Sentence preparing apparatus
JP2779157B2 (en) Document information processing device
JPH08123801A (en) Document preparing device and frame editing method
JPH0736886A (en) Document preparing device and method for controlling editing history
JPH05101058A (en) Word processor
JPH0752495A (en) Printer
JP3026992B2 (en) Display control method and device
JP2739744B2 (en) Character output device
JPH05188917A (en) Output device
JPH01216873A (en) Printing controlling device
JPH06168232A (en) Document preparing device and display control method