JP2908899B2 - Character processor - Google Patents

Character processor

Info

Publication number
JP2908899B2
JP2908899B2 JP3096990A JP9699091A JP2908899B2 JP 2908899 B2 JP2908899 B2 JP 2908899B2 JP 3096990 A JP3096990 A JP 3096990A JP 9699091 A JP9699091 A JP 9699091A JP 2908899 B2 JP2908899 B2 JP 2908899B2
Authority
JP
Japan
Prior art keywords
line
page
feed pitch
character
character string
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
JP3096990A
Other languages
Japanese (ja)
Other versions
JPH04326460A (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.)
Consejo Superior de Investigaciones Cientificas CSIC
Original Assignee
Consejo Superior de Investigaciones Cientificas CSIC
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 Consejo Superior de Investigaciones Cientificas CSIC filed Critical Consejo Superior de Investigaciones Cientificas CSIC
Priority to JP3096990A priority Critical patent/JP2908899B2/en
Publication of JPH04326460A publication Critical patent/JPH04326460A/en
Application granted granted Critical
Publication of JP2908899B2 publication Critical patent/JP2908899B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は文字処理装置に関し、
特に用紙の頁最終行に当たる文字列を印刷時に位置調整
する機能を備えた文字処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device,
In particular, the present invention relates to a character processing apparatus having a function of adjusting the position of a character string corresponding to the last line of a page of a sheet during printing.

【0002】[0002]

【従来の技術】従来、文字高さと行間隔の和によって改
行ピッチを規定しているような文字処理装置では、図4
に示すように、頁最終行に印刷する文字列の改行ピッチ
が印刷可能範囲の下限を超えるかどうかを判断してお
り、その下限を超える場合には頁最終行に当たる文字
列、すなわち、図4においては“は、初期化という処理
を"を次頁の1行目に印刷するように構成されている。
2. Description of the Related Art Conventionally, in a character processing apparatus in which a line feed pitch is defined by the sum of a character height and a line interval, FIG.
As shown in FIG. 4, it is determined whether the line feed pitch of the character string printed on the last line of the page exceeds the lower limit of the printable range. If the lower limit is exceeded, the character string corresponding to the last line of the page, ie, FIG. Is configured to print "was initialized" on the first line of the next page.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記し
たような従来の文字処理装置では、改行ピッチを文字高
さ+行間隔からなる1対の設定値として規定しているた
め、改行ピッチの長さが印刷可能範囲の下限を超える
と、最終行が印刷中の頁内には印刷されず、次の頁の先
頭に印刷されることになる。そのため、印刷結果として
は用紙の下側に必要以上の空白が生じ、印刷レイアウト
を不自然なものにするという欠点があった。
However, in the conventional character processing apparatus as described above, the line feed pitch is defined as a pair of set values consisting of the character height and the line interval. Exceeds the lower limit of the printable range, the last line is not printed in the page being printed, but is printed at the beginning of the next page. For this reason, there is a drawback that a printing result results in an unnecessarily large space below the sheet, which makes the printing layout unnatural.

【0004】この発明は以上の事情を考慮してなされた
もので、用紙内に文字行をバランス良く配置して印刷す
ることのできる文字処理装置を提供する。
The present invention has been made in view of the above circumstances, and provides a character processing apparatus capable of arranging and printing character lines on paper in a well-balanced manner.

【0005】[0005]

【課題を解決するための手段】この発明は、改行ピッチ
を文字上端から次行文字上端までの距離として規定し、
各行の文字列を予め定められた改行ピッチに基づき順次
印刷する機能を有する文字処理装置であって、頁最終行
について改行ピッチの設定解除の指示を行う指示手段
と、頁最終行に当たる文字列の改行ピッチが印刷可能範
囲の下限を越えるかどうかを判断する判断手段と、頁最
終行に当たる文字列の改行ピッチが前記下限を越え、か
つ前記設定解除の指示がなされている場合に頁最終行の
改行ピッチのみを無視して前記頁最終行に当たる文字列
他行の文字列と共に1頁内に印刷し、また、頁最終行
に当たる文字列の改行ピッチが前記下限を越え前記設定
解除の指示がなされていない場合はその文字列を次頁の
1行目に印刷する印刷行数調整手段とを含むことを特徴
とする文字処理装置である。
According to the present invention, a line feed pitch is defined as a distance from the upper end of a character to the upper end of the next character.
A character processing device having a function of sequentially printing a character string of each line based on a predetermined line feed pitch, an instruction means for instructing release of setting of a line feed pitch for a last line of a page, and a character string corresponding to the last line of the page. Determining means for determining whether or not the line feed pitch exceeds the lower limit of the printable range; and a line feed pitch of a character string corresponding to the last line of the page exceeds the lower limit and if the setting release instruction is given, the last line of the page is determined. The character string corresponding to the last line of the page is printed in one page together with the character strings of the other lines, ignoring only the line feed pitch, and the line break pitch of the character string corresponding to the last line of the page exceeds the lower limit and the setting release instruction is issued. If not, the character processing apparatus further includes a print line number adjusting unit that prints the character string on the first line of the next page.

【0006】[0006]

【作用】この発明に従えば、頁最終行の改行ピッチの設
定解除を指示すると、印刷の際に頁最終行に当たる文字
列の改行ピッチが印刷可能範囲の下限を超えるかどうか
が判断され、超える場合には、頁最終行のみ改行ピッチ
を無視し、頁最終行に当たる文字列を同じ頁内に含めて
印刷する。また、設定解除の指示がない場合には次頁の
1行目に印刷する。
According to the present invention, when an instruction to cancel the setting of the line feed pitch of the last line of the page is issued, it is determined whether or not the line feed pitch of the character string corresponding to the last line of the page exceeds the lower limit of the printable range during printing. In this case, the line feed pitch is ignored only for the last line of the page, and a character string corresponding to the last line of the page is included in the same page and printed. If there is no instruction to cancel the setting, printing is performed on the first line of the next page.

【0007】[0007]

【実施例】以下図に示す実施例に基づいてこの発明を詳
述する。なお、これによってこの発明は限定されるもの
ではない。図1はこの発明の一実施例である文字処理装
置のシステム構成図である。同図において、1は判断手
段,印刷行数調整手段として機能する制御装置であり、
マイクロプロセッサから構成され、このシステムを稼働
させるための制御を行う。制御装置1は、文字列を印刷
する場合に、頁最終行に当たる文字列の改行ピッチが印
刷可能範囲の下限を超えるかどうかを判断し、頁最終行
に当たる文字列の改行ピッチが前記下限を超え、かつ前
記設定解除の指示がなされている場合に改行ピッチを無
視して前記頁最終行に当たる文字列を1頁内に印刷し、
また、頁最終行に当たる文字列の改行ピッチが前記下限
を超え前記設定解除の指示がなされていない場合にはそ
の文字列を次頁の1行目に印刷する制御を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. The present invention is not limited by this. FIG. 1 is a system configuration diagram of a character processing apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a control device that functions as a determination unit and a print line number adjustment unit.
It is composed of a microprocessor and controls the operation of this system. When printing a character string, the control device 1 determines whether the line feed pitch of the character string corresponding to the last line of the page exceeds the lower limit of the printable range, and determines that the line feed pitch of the character string corresponding to the last line of the page exceeds the lower limit. And when the instruction to cancel the setting is given, a character string corresponding to the last line of the page is printed in one page ignoring the line feed pitch,
If the line feed pitch of the character string corresponding to the last line of the page exceeds the lower limit and the setting release instruction has not been issued, control is performed to print the character string on the first line of the next page.

【0008】2は指示手段として機能する入力装置であ
り、この実施例ではキーボードから構成され、文字を入
力するための文字入力キー、かな漢字変換を行うための
変換キー、各種編集を行うための編集キー、印刷モード
を選択するための印刷キー、書式設定において1頁行数
拡大の“要否"を指示するための行数拡大キーなどを備
えている。1頁行数拡大の指示とは、頁最終行について
改行ピッチの設定を解除して頁最終行に当たる文字列を
1頁内に収めるようにするための指示である。
Reference numeral 2 denotes an input device which functions as an instruction means. In this embodiment, the input device is constituted by a keyboard. Character input keys for inputting characters, conversion keys for converting kana-kanji characters, and editing for performing various edits are provided. A key, a print key for selecting a print mode, a line number expansion key for instructing "necessity" of one page line number expansion in format setting, and the like are provided. The instruction to enlarge the number of lines per page is an instruction for releasing the setting of the line feed pitch for the last line of the page so that the character string corresponding to the last line of the page is contained within one page.

【0009】3は表示装置であり、この実施例ではCR
Tから構成され、キーボード2から入力された文字列を
表示するとともに、変換キーの操作に応じて変換候補を
その画面上に表示する。4は印刷装置であり、この実施
例ではドットマトリクスタイプのプリンタから構成さ
れ、編集結果を出力する。5はプログラムメモリであっ
てROMから構成され、制御装置1を制御するためのプ
ログラムを格納している。6は文書データメモリであり
RAMから構成され、文書データを蓄えておくためのも
のである。7は印刷用メモリでありRAMから構成さ
れ、文書データを実際の印刷用データに展開するための
ものである。
Reference numeral 3 denotes a display device.
A character string input from the keyboard 2 is displayed, and conversion candidates are displayed on the screen in accordance with the operation of the conversion key. Reference numeral 4 denotes a printing apparatus, which in this embodiment is constituted by a dot matrix type printer and outputs an editing result. Reference numeral 5 denotes a program memory which is composed of a ROM and stores a program for controlling the control device 1. Reference numeral 6 denotes a document data memory which is constituted by a RAM and stores document data. Reference numeral 7 denotes a printing memory, which is composed of a RAM, and is for expanding document data into actual printing data.

【0010】図2は上記の文書データメモリ6の構造を
示したものである。文書データメモリ6の内容は、書式
情報60,データ61,罫線情報62,その他の情報6
3から主として構成される。書式情報とは、具体的には
用紙サイズ,縦/横入れ,縦書き/横書き情報と、1行
字数情報と、改行ピッチ情報と、イタリック体,下線,
網掛け種情報と、両端揃え印刷,文字ドット種情報と、
文字高さ印刷(文字高さ分だけ改行),ポイント種情報
と、字間ドット種情報と、モード,飾り文字情報と、こ
の実施例の特徴である1頁行数拡大情報である。
FIG. 2 shows the structure of the document data memory 6 described above. The contents of the document data memory 6 include format information 60, data 61, ruled line information 62, and other information 6
3 mainly. The format information is, specifically, paper size, vertical / horizontal insertion, vertical / horizontal writing information, one-line character number information, line feed pitch information, italic, underline,
Shading type information, justified printing, character dot type information,
Character height printing (line feed for character height), point type information, character dot type information, mode and decorative character information, and one page line number expansion information which is a feature of this embodiment.

【0011】図3は上記の制御装置1の処理内容を示し
たフローチャートである。なお、前提として印刷モード
が選択され、印刷が実行されているものとする。まず、
次に印刷する行の改行ピッチ(行高さ+行間隔)が印刷可
能範囲の下限を超えるかどうかを判断し(ステップ1
0)、超える場合はさらに、文書データメモリ6の書式
情報中の1頁行数拡大が“要"になっているかどうかを
判断する(ステップ11)。判断の結果が“要"であれば
改行ピッチ量は無視して現在の頁すなわち1頁内に、次
に印刷する行を印刷する(ステップ12)。また、1頁行
数拡大が“否"になっている場合には、次の行は次頁の
1行目に印刷する(ステップ13)。なお、用紙内に印刷
する頁最終行の特定は、各行毎に、印刷可能範囲から改
行ピッチを減算する従来技術を用いることによって可能
である。
FIG. 3 is a flowchart showing the processing contents of the control device 1 described above. It is assumed that the print mode is selected and printing is performed as a premise. First,
Determine whether the line feed pitch (line height + line interval) of the line to be printed exceeds the lower limit of the printable range (step 1).
0) If it exceeds, it is further determined whether or not the expansion of the number of lines per page in the format information of the document data memory 6 is "necessary" (step 11). If the result of the determination is "necessary", the line to be printed next is printed on the current page, that is, one page, ignoring the line feed pitch amount (step 12). If the number of lines per page is "no", the next line is printed on the first line of the next page (step 13). The last line of a page to be printed on a sheet can be specified by using a conventional technique of subtracting a line feed pitch from a printable range for each line.

【0012】[0012]

【発明の効果】この発明によれば、用紙の印刷範囲を十
分に活用することができるので、不要な余白部をなくし
て文字行のレイアウトを適性に調整することができる。
According to the present invention, since the printing range of the paper can be fully utilized, the layout of the character lines can be appropriately adjusted by eliminating unnecessary margins.

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

【図1】この発明の一実施例の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】実施例による文書データメモリの構成図であ
る。
FIG. 2 is a configuration diagram of a document data memory according to an embodiment.

【図3】実施例の動作を説明するフローチャートであ
る。
FIG. 3 is a flowchart illustrating the operation of the embodiment.

【図4】従来例の改行ピッチを説明する説明図である。FIG. 4 is an explanatory diagram illustrating a line feed pitch of a conventional example.

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

1 制御装置 2 キーボード 3 表示装置 4 印刷装置 5 プログラムメモリ 6 文書データメモリ 7 印刷メモリ REFERENCE SIGNS LIST 1 control device 2 keyboard 3 display device 4 printing device 5 program memory 6 document data memory 7 print memory

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−70370(JP,A) 特開 昭60−109883(JP,A) Newton別冊1「ワードプロセッ サのみべて」(昭和57年5月20日発 行),株式会社教育社,p.204〜205 (58)調査した分野(Int.Cl.6,DB名) G06F 15/20 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-63-70370 (JP, A) JP-A-60-109883 (JP, A) Newton separate volume 1 Issued on March 20), Kyoikusha Co., Ltd., p. 204-205 (58) Field surveyed (Int.Cl. 6 , DB name) G06F 15/20

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 改行ピッチを文字上端から次行文字上端
までの距離として規定し、各行の文字列を予め定められ
た改行ピッチに基づき順次印刷する機能を有する文字処
理装置であって、 頁最終行について改行ピッチの設定解除の指示を行う指
示手段と、 頁最終行に当たる文字列の改行ピッチが印刷可能範囲の
下限を越えるかどうかを判断する判断手段と、 頁最終行に当たる文字列の改行ピッチが前記下限を越
え、かつ前記設定解除の指示がなされている場合に頁最
終行の改行ピッチのみを無視して前記頁最終行に当たる
文字列を他行の文字列と共に1頁内に印刷し、また、頁
最終行に当たる文字列の改行ピッチが前記下限を越え前
記設定解除の指示がなされていない場合はその文字列を
次頁の1行目に印刷する印刷行数調整手段とを含むこと
を特徴とする文字処理装置。
1. A line feed pitch is defined as a distance from an upper end of a character to an upper end of a next character, and a character string of each line is determined in advance.
A character processing device having a function of sequentially printing based on the line feed pitch, an instruction means for instructing the release of the line feed pitch setting for the last line of the page, and the line feed pitch of the character string corresponding to the last line of the page being the lower limit of the printable range. determining means for determining whether exceeds, beyond the line feed pitch the lower string striking the page last row, and ignoring the only line feed pitch of the page last line if an instruction of the setting cancellation has been made the A character string corresponding to the last line of the page is printed on one page together with a character string of another line. If the line feed pitch of the character string corresponding to the last line of the page exceeds the lower limit and the setting release instruction is not issued, the character string is printed. And a print line number adjusting means for printing the first line of the next page.
JP3096990A 1991-04-26 1991-04-26 Character processor Expired - Lifetime JP2908899B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3096990A JP2908899B2 (en) 1991-04-26 1991-04-26 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3096990A JP2908899B2 (en) 1991-04-26 1991-04-26 Character processor

Publications (2)

Publication Number Publication Date
JPH04326460A JPH04326460A (en) 1992-11-16
JP2908899B2 true JP2908899B2 (en) 1999-06-21

Family

ID=14179645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3096990A Expired - Lifetime JP2908899B2 (en) 1991-04-26 1991-04-26 Character processor

Country Status (1)

Country Link
JP (1) JP2908899B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007160543A (en) * 2005-12-09 2007-06-28 Mitsubishi Plastics Ind Ltd Heat-shrinkable laminated film, molded product using it, heat-shrinkable label and container

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0790656B2 (en) * 1983-11-18 1995-10-04 キヤノン株式会社 Document processing method
JPS6370370A (en) * 1986-09-12 1988-03-30 Ricoh Co Ltd Document preparing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Newton別冊1「ワードプロセッサのみべて」(昭和57年5月20日発行),株式会社教育社,p.204〜205

Also Published As

Publication number Publication date
JPH04326460A (en) 1992-11-16

Similar Documents

Publication Publication Date Title
JP2908899B2 (en) Character processor
JPH0616280B2 (en) Document processor
JPS62229463A (en) Document processor
JPH01229673A (en) English and european writing printing control system
JP3129381B2 (en) Document information processing device
JP2811461B2 (en) Information processing device
JPH0773167A (en) Word processor
JP3161744B2 (en) Information processing device
JP3574716B2 (en) Printer
JPH09109478A (en) Label printing, document creation device and recording medium
JP2849505B2 (en) Document processing device
JP3036064B2 (en) Document output device
JPH1191185A (en) Printing control method
JPH0573562A (en) Document editor
JP2914816B2 (en) Document processing device
JPH10207878A (en) Document editing and printing device
JP3457555B2 (en) Printer device and printer system
JPH05298292A (en) Document processor with automatic editing function
JPH09138796A (en) Document processor
JPH07121510A (en) Document processor
JPH11216926A (en) Document printer
JPH09114811A (en) Printing processing method in document preparing device, document preparing device and recording medium
JPH091870A (en) Document editing printer
JPS62254231A (en) Character outputting method
JPH04326465A (en) Character processor