JPS6321174A - Printer - Google Patents

Printer

Info

Publication number
JPS6321174A
JPS6321174A JP61166270A JP16627086A JPS6321174A JP S6321174 A JPS6321174 A JP S6321174A JP 61166270 A JP61166270 A JP 61166270A JP 16627086 A JP16627086 A JP 16627086A JP S6321174 A JPS6321174 A JP S6321174A
Authority
JP
Japan
Prior art keywords
data
line number
lines
size
display
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.)
Granted
Application number
JP61166270A
Other languages
Japanese (ja)
Other versions
JPH07102726B2 (en
Inventor
Hiroshi Torii
鳥居 博
Minoru Oishi
稔 大石
Tomohiro Saka
坂 智博
Akihiro Furukawa
顕寛 古川
Tokihito Furushima
古嶋 時人
Kazuko Nakagawa
和子 中川
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP61166270A priority Critical patent/JPH07102726B2/en
Publication of JPS6321174A publication Critical patent/JPS6321174A/en
Publication of JPH07102726B2 publication Critical patent/JPH07102726B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To enable the number of lines in a text area to be calculated and displayed for each line number setting in each region, by providing a means for inputting the size of a printing medium, a means for calculating the number of lines in which data can be printed on the printing medium on the basis of the size, and a means for displaying the number of lines thus calculated. CONSTITUTION:A printer for printing inputted data on a printing medium comprises a size-inputting means 3 for inputting the size of a printing medium 2, a line number calculating means 4 for calculating the number of lines in which data can be printed on the medium 2 on the basis of the size, and a line number displaying means 5 for displaying the number of lines thus calculated by the means 4. The size-inputting means 3 is used to input the size of the printing medium 2. The line number calculating means 4 calculates the number of lines in which data can be printed on the medium 2, based on the size inputted into the size-inputting means 3. The line number displaying means 5 displays the number of lines calculated by the calculating means 4. Accordingly, the operator can appropriately determine the image of a layout on actual printing.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は印字媒体の大きさに従って印字可能な行数を
算出するとともに実際の印字レイアウトに準じて印字行
数を画面上に表示を行う印字装置に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention is a printing method that calculates the number of printable lines according to the size of a print medium and displays the number of printable lines on the screen according to the actual print layout. Regarding equipment.

〈従来の技術〉 一般に、ワードプロセッサを含む電子タイプライタ等の
文書編集処理機梯を備えた印字装置は、表示装置として
はブラウン管などが使用されるが、多くの表示装置では
印字した時の印字媒体(用紙)1ページに印字される文
字の量を一度に表示することができない。
<Prior Art> In general, printing devices equipped with a document editing processing layer, such as electronic typewriters including word processors, use a cathode ray tube as a display device, but in many display devices, the print medium when printing is (Paper) The amount of characters printed on one page cannot be displayed at once.

このような印字装置は、印字入力時に直接印字すること
も可能であるが、一般には記憶装置を内蔵させ、入力さ
れた印字データを一旦記憶装置に記憶させて、随時印字
機構へデータを読出して印字動作が行われていた。
Although it is possible for such a printing device to print directly when inputting a print, generally it has a built-in storage device, and the input printing data is temporarily stored in the storage device, and then the data is read out to the printing mechanism at any time. A printing operation was in progress.

従って、印字動作にあたっては、用紙1ページにどれだ
けの印字(行数)が可能かを、用紙の縦寸法に対応する
総行数、トップマージン、ヘッダー、フッタ−、ボトム
マージン等の行数を数字入力して、1ページのテキスト
エリアの行数を規定し、中央処理装置の指令に基づいて
改ページ処理を行なうように構成されていた。
Therefore, when printing, consider how much printing (number of lines) is possible on one page of paper, the total number of lines corresponding to the vertical dimension of the paper, and the number of lines for the top margin, header, footer, bottom margin, etc. It was configured to input numbers to define the number of lines in the text area of one page, and to perform page break processing based on instructions from the central processing unit.

〈発明が解決しようとする問題点〉 しかし、このような従来構成の印字装置にあっては、用
紙に設けられるトップマージン、ヘッダー、テキストエ
リア、フッタ−、ボトムマージン等の領域が、用紙1ペ
ージの中にどのようにレイアウトされるか印字イメージ
が判りにくいという問題があった。
<Problems to be Solved by the Invention> However, in printing devices with such a conventional configuration, areas such as the top margin, header, text area, footer, and bottom margin provided on the paper are limited to one page of the paper. There was a problem in that it was difficult to understand how the printed images were laid out in the image.

しかも、用紙1ページのテキストエリアの行数がどれだ
けになるかは、装置がページを区切るまで操作者には判
らないという問題があった。
Moreover, there is a problem in that the operator does not know how many lines there will be in the text area on one page of paper until the device separates the pages.

〈発明の目的〉 この発明の目的は、用紙の大きさを入力することにより
総印字行数を算出して表示するとともに、用紙1ページ
内のトップマージン、ヘッダー。
<Objective of the Invention> The object of the invention is to calculate and display the total number of printed lines by inputting the paper size, and to display the top margin and header within one page of the paper.

トップスペース、テキストエリア、ボトムスペース、フ
ッタ−、ボトムマージンの領域を実際の印字レイアウト
に準じて表示し、且つ、上記各領域の行数設定ごとにテ
キストエリアの行数を算出して表示できる印字装置を提
供するものである。
Printing that displays the top space, text area, bottom space, footer, and bottom margin areas according to the actual print layout, and also calculates and displays the number of lines in the text area for each line number setting for each area. It provides equipment.

く問題点を解決するための手段〉 この発明は上記問題点を解決するためになされたもので
あり、第1図の構成図に示すように、入力されたデータ
を印字媒体へ印字する印字装置において、上記印字媒体
(2)のサイズを入力するサイズ入力手段(3)と、上
記サイズに基づいて印字媒体(2)上でデータの印字が
可能な行数を算出する行数算出手段(4)と、上記行数
算出手段(4)で算出した行数を表示する行数表示手段
(5)とを備えた印字装置(1)である。
Means for Solving the Problems> The present invention has been made to solve the above problems, and as shown in the block diagram of FIG. , size input means (3) for inputting the size of the print medium (2), and line number calculation means (4) for calculating the number of lines on which data can be printed on the print medium (2) based on the size. ) and a line number display means (5) for displaying the number of lines calculated by the line number calculation means (4).

く作用〉 第1図において、サイズ入力手段(3)では、印字媒体
(2)のサイズの入力を行う。
Function> In FIG. 1, the size input means (3) inputs the size of the print medium (2).

行数算出手段(4)では、サイズ入力手段(3)に入力
されたサイズに基づいて、印字媒体(2)上でデータの
印字が可使な行数の算出を行う。
The line number calculation means (4) calculates the number of lines that can be used to print data on the print medium (2) based on the size input to the size input means (3).

行数表示手段(5)では、行数算出手段(4)で算出し
た行数の表示を行う。
The line number display means (5) displays the number of lines calculated by the line number calculation means (4).

〈実施例〉 以下、この発明の実施例を第2図ないし第3図に基づい
て説明する。
<Example> Hereinafter, an example of the present invention will be described based on FIGS. 2 and 3.

第2図は、本発明を英文のワードプロセッサを含む電子
タイプライタ等の印字装置へ応用した一実施態様を示す
ブロック図であり、キーボード10と、CPU13.R
OM14.RAM15.ビデオRAM30 、CRTコ
ントローラ31等よりなる処理、制御部と、表示手段と
してのCRT32と、印字機構33とから構成されてい
る。
FIG. 2 is a block diagram showing an embodiment in which the present invention is applied to a printing device such as an electronic typewriter including an English word processor, and includes a keyboard 10, a CPU 13. R
OM14. RAM15. It is composed of a processing and control section including a video RAM 30, a CRT controller 31, etc., a CRT 32 as a display means, and a printing mechanism 33.

キーボード10は、多数の文字キーや記号キー、各処理
のための各種ファンクションキー等が配列されており、
特にサイズ入力手段3としてのペーパーサイズキー11
および数字キー12を具備して、中央処理装置(以下C
PUと称す)13に接続されている。上記ペーパーサイ
ズキー11は、印字媒体(以下用紙と称す)2のサイズ
入力時に押下され、数字キー12により用紙2の縦寸法
をインチで表わした数字を入力することにより、用紙2
のサイズが設定入力される。また、数字キー12は、ラ
インピッチの設定および各行数の設定入力にも用いられ
る。
The keyboard 10 is arranged with a large number of character keys, symbol keys, various function keys for various processes, etc.
In particular, paper size key 11 as size input means 3
and numeric keys 12, a central processing unit (hereinafter referred to as C
(referred to as PU) 13. The paper size key 11 is pressed when inputting the size of the print medium (hereinafter referred to as paper) 2, and by inputting a number representing the vertical dimension of the paper 2 in inches using the numeric key 12, the size of the paper 2 is input.
The size is set and input. The numeric keys 12 are also used to set the line pitch and input the number of lines.

ROM(読出し専用メモリ)14は、各印字領域の夫々
の行数を記憶している行数メモリ14aを備えるととも
に、各処理を実行するためのプロダラム等を記憶して、
アドレスバスおよびデータバスを介してCPU13に接
続されている。
The ROM (read-only memory) 14 includes a line number memory 14a that stores the number of lines in each print area, and also stores a program for executing each process.
It is connected to the CPU 13 via an address bus and a data bus.

RAM(読出し書込み回走なメモリ)15は、キーボー
ド10から入力された印字データ等が書込まれるテキス
トメモリ16、カーソル表示部に表示されるカーソル位
置に応じてインクリメントあるいはディクリメントされ
、カーソル位置を記憶するカーソルカウンタ17.1イ
ンチあたりの印字行数(ラインピッチ)設定動作により
設定されたラインピッチを記憶するラインピッチバッフ
ァ18、用紙サイズが入力されると、ラインピッチに基
づいて計算された1ページあたりの総行数を記憶する総
行数バッファ19、行数メモリ14aから転送されるデ
フォルト値を記憶するとともに、トップマージン設定動
作により設定されたトップマージン行数を更新記憶する
トップマージン行数バッファ20、行数メモリ14aか
ら転送されるデフォルト値を記憶するとともに、ヘッダ
ー設定動作により設定されたヘッダー行数を更新記憶す
るヘッダー行数バッファ21、行数メモリl4aから転
送されるデフォルト値を記憶するとともに、トップスペ
ース設定動作により設定されたトップスペース行数を更
新記憶するトップスペース行数バッファ22、行数メモ
リ14aから転送されるデフォルト値を記憶するととも
に、ボトムスペース設定動作により設定されたボトムス
ペース行数を更新記憶するボトムスペース行数バッファ
23、行数メモリ14aから転送されるデフォルト値を
記憶するとともに、フッタ−行数を更新記憶するフッタ
−行数バラ2フ241行数メモリ14aから転送される
デフォルト値を記憶するとともに、ボトムマージン設定
動作により設定されたボトムマージン行数を更新記憶す
るボトムマージン行数バッファ25、総行数バッファ1
9の総行数データから上記各行数バッファ20,21゜
22.23.24.25に記憶された各行数データを差
引いて計算されたテキストエリア行数を更新記憶するテ
キストエリア行数バッファ26等としてはたらき、アド
レスバスおよびデータバスを介してCPU13に接続さ
れている。尚、このRAM15は印字装Wt1の電源ス
ィッチのオフ時には内蔵された電池によりバックアップ
されているCRTコントローラ31はCPU13に接続
されてB制御され、CRT32に垂直、水平同期信号、
CRT32上におけるカーソル移動の制御信号、ビデオ
RAM30から入力されたデータに対応するキャラクタ
の垂直方向の位置を指定するラスクアドレス、ビデオR
AM30のデータを出力していくためにビデオRAM3
0のアドレスを順次展開していくり7レツシユアドレス
等の出力を行う、ビデオRAM30において、CRT3
2よのカーソルの位置に対応するアドレスはCRTコン
トローラ31からCPU13へ出力されるようになって
いる。従って、ビデオRAM30においてこのアドレス
に対応するデータを読出せば、CRT32上でカーソル
により指定したキャラクタのデータを得ることができる
ようになっている。また、CRT32上に表示するデー
タを一時蓄えるための表示用バッファとしてはたらくビ
デオRAM30のデータを書換える際のアドレスはCP
U13から出力される。このCPU13から出力される
アドレスと上記リフレッシュアドレスとはともにCPU
13によりビデオRAM30へ出力されるようになって
いる。従って、ビデオRAM30はCRTコントローラ
31から出力されるリフレッシュアドレスと、CPU1
3から出力されるアドレスとのどちらか一方によりアク
セスされる、また、キャラクタの水平方向の画像パター
ンを示す並列信号はCRTコントローラ31で直列信号
に変換され、画像信号としてCRT32へ出力されるよ
うになっている。
A RAM (read/write memory) 15 has a text memory 16 in which print data input from the keyboard 10 is written, and is incremented or decremented according to the cursor position displayed on the cursor display section, and stores the cursor position. Cursor counter 17 to store. Line pitch buffer 18 to store the line pitch set by the number of print lines per inch (line pitch) setting operation. When the paper size is input, 1 calculated based on the line pitch. A total line count buffer 19 that stores the total number of lines per page, a top margin line count that stores the default value transferred from the line count memory 14a, and updates and stores the top margin line count set by the top margin setting operation. A buffer 20 stores the default value transferred from the line number memory 14a, and updates and stores the number of header lines set by the header setting operation.A header line number buffer 21 stores the default value transferred from the line number memory l4a. At the same time, the top space line number buffer 22 updates and stores the top space line number set by the top space setting operation, the default value transferred from the line number memory 14a is stored, and the bottom space line number set by the bottom space setting operation is stored. A bottom space line number buffer 23 for updating and storing the space line number, a bottom space line number buffer 23 for storing the default value transferred from the line number memory 14a, and a footer line number rose 241 for updating and storing the footer line number from the line number memory 14a. A bottom margin line number buffer 25 that stores the default value to be transferred and also updates and stores the bottom margin line number set by the bottom margin setting operation, and a total line number buffer 1.
A text area line number buffer 26 etc. that updates and stores the text area line number calculated by subtracting each line number data stored in the line number buffers 20, 21, 22, 23, 24, and 25 from the total line number data of 9. It functions as a CPU 13 and is connected to the CPU 13 via an address bus and a data bus. When the power switch of the printing device Wt1 is turned off, the CRT controller 31, which is backed up by a built-in battery, is connected to the CPU 13 and controlled by B, and sends vertical and horizontal synchronizing signals to the CRT 32.
A control signal for cursor movement on the CRT 32, a rask address that specifies the vertical position of a character corresponding to data input from the video RAM 30, and a video R.
Video RAM3 to output data from AM30
In the video RAM 30, the CRT 3
The address corresponding to the cursor position 2 is output from the CRT controller 31 to the CPU 13. Therefore, by reading the data corresponding to this address in the video RAM 30, it is possible to obtain the data of the character specified by the cursor on the CRT 32. Also, the address when rewriting data in the video RAM 30, which functions as a display buffer for temporarily storing data to be displayed on the CRT 32, is CP.
Output from U13. Both the address output from the CPU 13 and the above refresh address are
13, the data is output to the video RAM 30. Therefore, the video RAM 30 receives the refresh address output from the CRT controller 31 and the CPU 1.
3, and the parallel signal indicating the horizontal image pattern of the character is converted into a serial signal by the CRT controller 31 and output to the CRT 32 as an image signal. It has become.

印字機構33は、ガイドバーに案内されてプラテンに沿
って移動するキャリッジ上に設けられたプリンタヘッド
を有し、CPU13に接続されてテキストメモリ16の
データに基づいて印字動作される。
The printing mechanism 33 has a printer head provided on a carriage that moves along a platen guided by a guide bar, is connected to the CPU 13, and performs a printing operation based on data in the text memory 16.

次に、このように構成された印字装置の動作を説明する
Next, the operation of the printing apparatus configured as described above will be explained.

文書等のデータがキーボード10から入力されると、こ
れらのデータは、CPU13によりビデオRAM30に
おいて指定されるアドレスへ順次書込まれるとともに、
テキストメモリ16へも書込まれていく、この動作の過
程において、CRTコントローラ31からのリフレッシ
ュアドレスによりビデオRAM30がアクセスされ、ビ
デオRAM30に書込まれているデータがCRTコント
ローラ31を経てCRT32へ出力され表示される。つ
まり、ビデオRAM30のデニタを書換えるためのCP
U13によるアドレス指定と、データを読出しCRT3
2への表示をするためのCRTコントローラ31による
リフレッシュアドレス指定が交互に行われる。このため
、CRT32には常に最新のデータが表示される。また
、このような動作は、キーボード1oからデータが入力
される場合だけでなく、既にテキストメモリ16に書込
まれているデータを読出してCRT32に表示する場合
においても同様に行われる。
When data such as a document is input from the keyboard 10, these data are sequentially written to addresses specified in the video RAM 30 by the CPU 13, and
In the process of this operation in which data is also written to the text memory 16, the video RAM 30 is accessed by the refresh address from the CRT controller 31, and the data written in the video RAM 30 is outputted to the CRT 32 via the CRT controller 31. Is displayed. In other words, the CP for rewriting the video RAM 30
Address specification by U13 and read data to CRT3
Refresh address designation by the CRT controller 31 for displaying on the second page is performed alternately. Therefore, the latest data is always displayed on the CRT 32. Further, such an operation is performed not only when data is input from the keyboard 1o, but also when data already written in the text memory 16 is read out and displayed on the CRT 32.

また、既に入力されたデータの訂正は、訂正する部分を
CRT32に表示しておき、キーボード10から訂正に
関するデータを入力することにより、テキストメモリ1
6およびビデオRAM30のデータを書換えることによ
り行われる。従って、テキストメモリ16に保存される
データとCRT32に表示されているデータとの双方が
新しいデータに訂正されるため、操作者は視覚による確
認をしながらデータの訂正を行うことができる。
In addition, to correct data that has already been input, display the part to be corrected on the CRT 32, and input data related to the correction from the keyboard 10.
6 and by rewriting the data in the video RAM 30. Therefore, since both the data stored in the text memory 16 and the data displayed on the CRT 32 are corrected to new data, the operator can correct the data while visual confirmation.

マタ、ペーパーサイズキー11の押下に伴って、行数メ
モリ14aの各行数のデフォルト値データは、トップマ
ージン行数バッファ20.ヘッダー行数バッファ21.
トップスペース行数バッファ22.ボトムスペース行数
バッファ23.フッタ−行数バッファ24.ボトムマー
ジン行数バッファ25へ夫々書込まれるとともにCRT
32に表示される。
When the paper size key 11 is pressed, the default value data for each line number in the line number memory 14a is transferred to the top margin line number buffer 20. Header line number buffer 21.
Top space line number buffer 22. Bottom space line number buffer 23. Footer-line number buffer 24. are respectively written to the bottom margin line number buffer 25 and the CRT
32.

また、所望のラインピッチのデータがキーボードlOか
ら入力されると、このデータはラインピッチバッファ1
8に書込まれる。また、用紙サイズのデータがキーボー
ド10から入力されると、ラインピッチバッファ18に
書込まれているデータを読出して、ROM14のプログ
ラムによるCPU13の演算処理により総行数が計算さ
れ、総行数データが総行数ハツ7アL9に記憶される。
Furthermore, when data of a desired line pitch is input from the keyboard IO, this data is transferred to the line pitch buffer 1.
8 is written. Further, when paper size data is input from the keyboard 10, the data written in the line pitch buffer 18 is read out, the total number of lines is calculated by the arithmetic processing of the CPU 13 according to the program in the ROM 14, and the total line number data is is stored in the total number of rows 7A L9.

そして、総行数バッファ19のデータと上記各行数バッ
ファ20,21,22,23,24.25のデータとを
読出して、CPU13の演算処理によりテキストエリア
行数を計算し、このテキストエリア行数のデータがテキ
ストエリア行数バッファ26に書込まれる。そして、用
紙サイズ、総行数、テキストエリア行数のデータはCR
T32に表示される。
Then, the data in the total line number buffer 19 and the data in each of the line number buffers 20, 21, 22, 23, 24.25 are read out, and the number of text area lines is calculated by the arithmetic processing of the CPU 13. data is written to the text area line number buffer 26. And the data of paper size, total number of lines, and number of text area lines is CR
Displayed on T32.

また、トップマージン、ヘッダー、トップスペース、ボ
トムスペース、フッタ−、ボトムマージンの設定のため
のデータがキーボード10から入力されると、各行数バ
ッファ20,21,22゜23.24.25のデータを
夫々更新記憶するとともにCRT32上に表示を行う、
更に、上記各行数データの設定ごとに総行数バッファ1
9のデータを読出して、CPU13の演算処理によりテ
キストエリア行数バッファ26のデータを更新記憶して
CRT32に表示される。
Also, when data for setting the top margin, header, top space, bottom space, footer, and bottom margin is input from the keyboard 10, the data in each line number buffer 20, 21, 22° 23, 24, 25 is input. Each update is stored and displayed on the CRT32.
Furthermore, the total number of rows buffer 1 is set for each row number data setting above.
9 is read out, and the data in the text area line count buffer 26 is updated and stored through arithmetic processing by the CPU 13 and displayed on the CRT 32.

また、印字開始のキー人力がキーボード10から入力さ
れると、テキストメモリ16のデータに基づいて印字機
構33は印字動作を開始し、上記各行数データにより用
紙2上に印字される。尚、印字が終了して印字装置1の
電源がオフされると、RAM15のデータは内蔵電池に
よりバックアップされて保持され、新たに電源がオンさ
れた時、it源を切る前のデータによって印字の継続が
行われる。
Further, when a key to start printing is entered from the keyboard 10, the printing mechanism 33 starts a printing operation based on the data in the text memory 16, and prints on the paper 2 according to the above-mentioned line number data. When printing is completed and the printing device 1 is turned off, the data in the RAM 15 is backed up and retained by the built-in battery, and when the power is turned on again, printing will be performed using the data from before the IT power was turned off. Continuation takes place.

次に、CRT32上に表示している用紙サイズ設定画面
の中の行数設定動作について説明する。
Next, the operation for setting the number of lines in the paper size setting screen displayed on the CRT 32 will be explained.

ステップ110でペーパーサイズキー11のキー人力が
あるか否かの判断を行い、キー人力がない場合はキー人
力があるまでこのフローは待機する。一方、このキー人
力がある場合は1次のステップ120へ進み、CRT3
2(7)画面32aに第3図Aのように用紙サイズ設定
画面が表示される、この設定画面は、印字レイアウト表
示35と用紙サイズ表示36.!2行数表示39と操作
メツセージ表示38とからなり、印字レイアウト表示3
5は、文書作成時の印字レイアウトに準じて、上部にト
ップマージン領域表示40.ヘッダー領域表示41.ト
ップスペース領域表示42が区画表示されている。更に
中央部にテキストエリア領域表示46.下部にボトムス
ペース領域表示43゜フッタ−領域表示44.ボトムマ
ージン領域表示45が区画表示されており、各領域表示
部には夫々の行数のデフォルト値が表示されている。尚
、これらの左右にはレフトマージン領域47.ライトマ
ージン領域48が設定されており、図の−はカーソルを
示す。
In step 110, it is determined whether or not the paper size key 11 has the key power, and if there is no key power, this flow waits until the key power is available. On the other hand, if this key human power is available, the process proceeds to the first step 120, and the CRT3
2(7) A paper size setting screen is displayed on the screen 32a as shown in FIG. 3A.This setting screen includes a print layout display 35, a paper size display 36. ! 2 Consists of line number display 39 and operation message display 38, print layout display 3
5 displays the top margin area at the top according to the print layout when creating the document. Header area display 41. The top space area display 42 is displayed in sections. Furthermore, a text area area display 46. Bottom space area display 43. Footer area display 44. The bottom margin area display 45 is displayed in sections, and each area display section displays a default value for the number of lines. Note that there is a left margin area 47 on the left and right sides of these. A light margin area 48 is set, and - in the figure indicates a cursor.

次にステップ130へ進み、ペーパーサイズキー11の
キー人力があるか否かの判断を行い、キー人力がある場
合はこのフローを終了し、このキー人力がない場合はス
テップ140へ進む、ステップ140においては、用紙
サイズの数字キー12によるキー人力があるか否かの判
断を行い、キー人力がない場合は、ステップ130へ戻
りキー人力があるまで待機する。一方、数字キー12に
よるキー人力がある場合は、ステップ150へ進み、用
紙サイズと予め設定されているラインピッチとにより1
ページあたりの総行数を計算し、用紙サイズおよび総行
数をペーパーサイズ表示36および総行数表示39へ表
示する。そして、総行数のデータは総行数バッファ19
へ記憶される。
Next, the process proceeds to step 130, where it is determined whether or not there is key power for the paper size key 11. If there is key force, this flow is ended, and if there is no key force, the process proceeds to step 140, step 140 In step 12, it is determined whether or not there is human power to press the paper size number keys 12. If there is no key power, the process returns to step 130 and waits until there is key power. On the other hand, if there is manual input using the number keys 12, the process proceeds to step 150, and the number keys 12 are pressed manually depending on the paper size and preset line pitch.
The total number of lines per page is calculated, and the paper size and total number of lines are displayed on the paper size display 36 and the total number of lines display 39. Then, the total line number data is stored in the total line number buffer 19.
is memorized to.

次にステップ160へ進み、総行数バッファ19のデー
タからトップマージン行数バッファ20゜ヘラf −行
a バッファ21.トップスペース行数バッファ22.
ボトムスペース行数バッファ23、フッタ−行数バッフ
ァ24.ボトムマージン行数バッファ25に夫々記憶さ
れているデータを減算して、テキストエリアの行数を算
出し、そのデータをテキストエリア領域表示46へ表示
する(第3図B参照)、そして、テキストエリア行数の
データはテキストエリア行数バッファ26へ記憶され、
カーソルはトップマージン領域表示40へ移動する0次
にステップ170へ進み、ペーノく−サイズキー11の
キー人力があるか否かの判断を行い、キー人力があると
このフローを終了し、現在画面32aに表示されている
各領域表示40゜4.1.42,43,44.45の各
表示行数およびテキストエリア領域表示46の表示行数
による印字レイアウトにより印字が可能となる。
Next, the process proceeds to step 160, from the data in the total line number buffer 19 to the top margin line number buffer 20° f - line a buffer 21. Top space line number buffer 22.
Bottom space line number buffer 23, footer line number buffer 24. The number of lines in the text area is calculated by subtracting the data stored in the bottom margin line number buffer 25, and the data is displayed on the text area display 46 (see FIG. 3B). The line number data is stored in the text area line number buffer 26,
The cursor moves to the top margin area display 40.Next, the process proceeds to step 170, where it is determined whether or not there is key power for the peno-size key 11.If there is key power, this flow is terminated and the current screen is Printing is possible using the print layout according to the number of display lines in each area display 40° 4.1.42, 43, 44.45 displayed in 32a and the number of display lines in the text area display 46.

一方、ステップ170においてキー人力がない場合は、
次のステップ180へ進み、トップマージン行数の更新
の数字キー12による入力があるか否かの判断を行い、
キー人力がない場合はステップ170へ戻る。ここで、
数字キー12による入力があるとステップ190へ進み
、トップマージン領域表示40の行数表示を更新し、ト
ップマージン行数バッファ20のデータを更新記憶する
、そして、更に総行数バッファ19のデータから各行数
バッファ20,21,22,23,24゜25の最新の
データを減算して、新たなテキストエリア行数を算出し
、そのデータはテキストエリア行数バッファ26へ更新
記憶されるとともに。
On the other hand, if there is no key manpower in step 170,
Proceeding to the next step 180, it is determined whether there is an input using the numeric key 12 to update the number of top margin lines,
If there is no key manpower, the process returns to step 170. here,
When there is an input using the numeric key 12, the process advances to step 190, where the line number display in the top margin area display 40 is updated, the data in the top margin line number buffer 20 is updated and stored, and further, data is stored from the total line number buffer 19. A new number of text area lines is calculated by subtracting the latest data in each line number buffer 20, 21, 22, 23, 24, 25, and the data is updated and stored in the text area line number buffer 26.

テキストエリア領域表示46へ表示され、カーソルはヘ
ッダー領域表示41へ移動する。続いてステップ200
へ進み、ペーパーサイズキー11のキー人力があるか否
かの判断を行い、キー人力があるとこのフローを終了し
、現在画面32aに表示されている各領域表示40,4
1,42,43.44.45.46の表示行数による印
字レイアウトにより印字が可能となる。
It is displayed in the text area area display 46, and the cursor moves to the header area display 41. Then step 200
, it is determined whether or not there is key power for the paper size key 11, and if there is key power, this flow is ended and each area display 40, 4 currently displayed on the screen 32a is displayed.
Printing is possible using a print layout with display line numbers of 1, 42, 43, 44, 45, and 46.

一方、ステップ200においてキー人力がない場合は、
次のステップ210へ進み、ヘッダー行数の更新の数字
キー12によるキー人力があるか否かの判断を行い、キ
ー人力がない場合はステップ200へ戻る。ここで、数
字キー12によるキー人力があるとステップ220へ進
み、ヘッダー領域表示41の行数表示を更新し、ヘッダ
ー行数バッファ21のデータを更新記憶する。そして、
更に総行数バッファ19のデータから各行数バッファ2
0,21,22,23,24.25の最新のデータを減
算して新たなテキストエリア行数を算出し、そのデータ
はテキストエリア行数バッファ26へ更新記憶されると
ともに、テキストエリア領域表示46に表示され、カー
ソルはトップスペース領域表示42へ移動する。続いて
ステップ230へ進み、ペーパーサイズキー11のキー
人力があるか否かの判断を行い、キー人力があるとこの
フローを終了し、現在画面32aに表示されている各領
域表示40,41.42,43,44.45.46の表
示行数による印字レイアウトにより印字が可能となる。
On the other hand, if there is no key manpower in step 200,
Proceeding to the next step 210, it is determined whether or not there is the key power to update the number of header rows using the numeric keys 12. If there is no key power, the process returns to step 200. Here, if there is a keystroke using the numeric keys 12, the process proceeds to step 220, where the line number display in the header area display 41 is updated, and the data in the header line number buffer 21 is updated and stored. and,
Furthermore, from the data in the total line number buffer 19, each line number buffer 2
A new number of text area lines is calculated by subtracting the latest data of 0, 21, 22, 23, 24.25, and the data is updated and stored in the text area line number buffer 26, and the text area area display 46 , and the cursor moves to the top space area display 42. Next, the process proceeds to step 230, where it is determined whether or not the paper size key 11 has the key force, and if there is the key force, this flow is ended and each area display 40, 41 . Printing is possible using a print layout with the number of display lines of 42, 43, 44, 45, and 46.

一方、ステップ230においてキー人力がない場合は、
次のステップ240へ進み、トップスペース行数の更新
の数字キー12によるキー人力があるか否かの判断を行
い、キー人力がない場合はステップ230へ戻る。ここ
で数字キー12によるキー人力があるとステップ250
へ進み、トップスペース領域表示42の行数表示を更新
し、トップスペース行数バッファ22のデータを更新記
憶する。そして、更に総行数バッファ19のデータから
各行数バッファ20,21,22,23゜24.25の
最新のデータを減算して、新たなテキストエリア行数を
算出し、そのデータはテキストエリア行数バッファ26
へ更新記憶されるとともに、テキストエリア領域表示4
6・に表示され、力−ンルはボトムスペース領域表示4
3へ移動する。続いて、ステップ260へ進み、ペーパ
ーサイズキーの入力があるか否かの判断を行い、キー人
力があるとこのフローを終了し、現在画面32aに表示
されている各領域表示40,41,42.43,44,
45.46の表示行数による印字レイアウトにより印字
が可能となる。
On the other hand, if there is no key manpower in step 230,
Proceeding to the next step 240, it is determined whether or not there is the key power to update the number of top space rows using the numeric keys 12. If there is no key power, the process returns to step 230. Here, if there is key power using number key 12, step 250
, the line number display in the top space area display 42 is updated, and the data in the top space line number buffer 22 is updated and stored. Then, the latest data in each line number buffer 20, 21, 22, 23°24.25 is subtracted from the data in the total line number buffer 19 to calculate a new number of text area lines, and the data is number buffer 26
is updated and stored, and the text area area display 4
6.The force is displayed in the bottom space area display 4.
Move to 3. Next, the process proceeds to step 260, where it is determined whether or not there is a paper size key input, and if there is a key input, this flow is ended and each area display 40, 41, 42 currently displayed on the screen 32a is displayed. .43,44,
Printing is possible using a print layout with a display line count of 45.46.

一方、ステップ260においてキー人力がない場合は、
次のステップ270へ進み、ボトムスペースの行数の更
新の数字キー12によるキー人力があるか否かの判断を
行い、キー人力がない場合はステップ260へ戻る。こ
こで数字キー12によるキー人力があるとステップ28
0へ進み、ボトムスペース領域表示43の行数表示を更
新し、ボトムスペース行数バッファ23のデータを更新
記憶する。そして、更に総行数バッファ19のデータか
ら各行数バッファ20,21,22,23.24.25
の最新のデータを減算して、新たなテキストエリア行数
を算出し、そのデータはテキストエリア行数バッファ2
6へ更新記憶されるとともに、テキストエリア領域表示
46に表示され、カーソルはフッタ−領域表示44へ移
動する。
On the other hand, if there is no key manpower in step 260,
Proceeding to the next step 270, it is determined whether or not there is the key power to update the number of rows in the bottom space using the numeric keys 12. If there is no key power, the process returns to step 260. Here, if there is key power using number key 12, step 28
0, the line number display in the bottom space area display 43 is updated, and the data in the bottom space line number buffer 23 is updated and stored. Then, from the data of the total line number buffer 19, each line number buffer 20, 21, 22, 23, 24, 25
The new number of text area lines is calculated by subtracting the latest data of , and the data is stored in text area line count buffer 2.
6 and is displayed in the text area display 46, and the cursor moves to the footer area display 44.

続いて、ステップ290へ進み、ペーパーサイズキー1
1のキー人力があるか否かの判断を行い、キー人力があ
るとこのフローを終了し、現在画面32aに表示されて
いる各領域表示40,41゜42.43,44,45.
46の表示行数による印字レイアウトにより印字が可能
となる。
Next, proceed to step 290 and press paper size key 1.
It is determined whether or not there is key power of 1, and if there is key power, this flow is ended and each area display 40, 41, 42, 43, 44, 45, .
Printing is possible using a print layout with a display line count of 46.

一方、ステップ290においてキ二人力がない場合は、
次のステップ300へ進み、フッタ−行数の更新の数字
キー12によるキー人力があるか否かの判断を行い、キ
ー人力がない場合はステップ290へ戻る。ここで数字
キー12によるキー人力があるとステップ310へ進み
、フッタ−領域表示44の行数表示を更新し、フッタ−
行数バッファ24のデータを更新記憶する。そして、更
に総行数バッファ19のデータから各行数バッファ20
,21.22,23,24.25の最新のデータを減算
して、新たなテキストエリア行数を算出し、そのデータ
はテキストエリア行数バッファ26へ更新記憶されると
ともに、テキストエリア領域表示46へ表示され、カー
ソルはボトムマージン領域表示45へ移動する。続いて
、ステップ320へ進み、ペーパーサイズキー11のキ
ー人力があるか否かの判断を行い、キー人力があるとこ
のフローを終了し、現在画面32aに表示されている各
領域表示40,41,42,43,44.45.46の
表示行数による印字レイアウトにより印字が可能となる
On the other hand, if there is no power in step 290,
Proceeding to the next step 300, it is determined whether or not there is the key power to update the number of footer rows using the numeric keys 12. If there is no key power, the process returns to step 290. At this point, if there is a keystroke using the numeric keys 12, the process advances to step 310, where the line number display of the footer area display 44 is updated, and the footer area display 44 is updated.
The data in the row count buffer 24 is updated and stored. Then, from the data in the total line number buffer 19, each line number buffer 20
, 21, 22, 23, and 24.25 to calculate a new number of text area lines, and the data is updated and stored in the text area line number buffer 26, and the text area area display 46 is displayed, and the cursor moves to the bottom margin area display 45. Next, the process proceeds to step 320, where it is determined whether or not the paper size key 11 has the key force, and if there is the key force, this flow is ended and each area display 40, 41 currently displayed on the screen 32a is displayed. , 42, 43, 44, 45, 46 display line numbers make printing possible.

一方、ステップ320においてキー人力がない場合は、
次のステップ330へ進み、ボトムマージン行数の更新
の数字キー12によるキー人力があるか否かの判断を行
い、キー人力がない場合はステップ320へ戻る。ここ
で、数字キー12によるキー人力があるとステップ34
0へ進み、ボトムマージン領域表示45の行数表示を更
新し、ボトムマージン行数バッファ25の行数データを
更新記憶する。そして、更に総行数バッファ19のデー
タから各行数バッファ20,21,22゜23.24.
25の最新のデータを減算して、新たなテキストエリア
行数を算出し、そのデータはテキストエリア行数バッフ
ァ26へ更新記憶されるとともに、テキストエリア領域
表示46に表示される。ステップ340の処理が終了す
るとステップ130へ戻り、ペーパーサイズキー11の
キー人力があるか否かの判断を行い、キー人力があると
フローを終了して画面32aに表示された各領域表示4
0,41,42,43,44,45゜46の表示行数に
よる印字レイアウ゛トにより印字が可能となる。
On the other hand, if there is no key manpower in step 320,
Proceeding to the next step 330, it is determined whether or not there is the key power to update the number of bottom margin lines using the numeric keys 12. If there is no key power, the process returns to step 320. Here, if there is key power using number keys 12, step 34
0, the line number display in the bottom margin area display 45 is updated, and the line number data in the bottom margin line number buffer 25 is updated and stored. Then, from the data in the total line number buffer 19, each line number buffer 20, 21, 22°23.24.
A new number of text area lines is calculated by subtracting the latest data of 25, and the data is updated and stored in the text area line number buffer 26 and displayed on the text area area display 46. When the process of step 340 is completed, the process returns to step 130, and it is determined whether or not the paper size key 11 has the key force, and if there is the key force, the flow is terminated and each area display 4 displayed on the screen 32a is performed.
Printing is possible using a print layout with a display line number of 0, 41, 42, 43, 44, 45, 46.

更に、1ページの印字が終って用紙2が更新されると、
用紙サイズが同一の場合は同一のデータによる印字レイ
アウトで印字を継続でき、用紙サイズが異った場合は、
ステップ110からの処理により新しい用紙サイズに適
応する印字レイアウトが設定入力される。
Furthermore, when paper 2 is updated after printing one page,
If the paper size is the same, printing can be continued with the same data print layout; if the paper size is different, printing can be continued.
Through the processing from step 110, a print layout adapted to the new paper size is set and input.

尚、上記ステップ150,160,190,220.2
50,280,310,340の処理は、この発明の行
数算出手段4および行数表示手段5に相当するものであ
る。
In addition, the above steps 150, 160, 190, 220.2
The processes 50, 280, 310, and 340 correspond to the line number calculation means 4 and the line number display means 5 of the present invention.

〈発明の効果〉 以上説明したようにこの発明の印字装置は、入力された
データを印字媒体へ印字する印字装置において、印字媒
体のサイズを入力するサイズ入力手段と、サイズに基づ
いて印字媒体上でデータの印字可能な行数を算出する行
数算出手段と1行数算出手段で算出した行数を表示する
行数表示手段とを備えた構成なので、用紙1ページ内に
印字されるトップマージン、ヘッダー、トップスペース
、テキストエリア、ボトムスペース、フッタ−。
<Effects of the Invention> As explained above, the printing device of the present invention is a printing device that prints input data on a print medium, and includes a size input means for inputting the size of the print medium, and a size input means for inputting the size of the print medium, and a size input means for inputting the size of the print medium. The configuration includes a line number calculation means for calculating the number of printable lines of data and a line number display means for displaying the number of lines calculated by the one line number calculation means, so the top margin printed on one page of paper is , header, top space, text area, bottom space, footer.

ボトムマージンの各行数を表示するとともに、各印字領
域が印字レイアウトに準じて表示されるので、操作者が
実際に印字されるレイアウトのイメージを適確に把握す
ることができる。
Since the number of each line of the bottom margin is displayed and each printing area is displayed according to the printing layout, the operator can accurately grasp the image of the layout that will actually be printed.

また、各印字領域の設定ごとにテキストエリアの行数が
計算されて表示されるので、各印字領域の行数設定は、
テキストエリアを考慮しながら行うことができるととも
に、印字出力前に1ページのテキストエリア行数を認識
することができる。
Also, the number of lines in the text area is calculated and displayed for each print area setting, so the line number setting for each print area is
This can be done while taking the text area into consideration, and the number of lines in the text area on one page can be recognized before printing.

更に、用紙サイズの入力により、ラインピッチに基づい
て総行数を計算して表示するので、操作者は用紙サイズ
と総行数との両方で1ページあたりの印字行数を認識で
きる効果を奏する。
Furthermore, by inputting the paper size, the total number of lines is calculated and displayed based on the line pitch, so the operator can recognize the number of lines printed per page based on both the paper size and the total number of lines. .

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

第1図はこの発明の印字装置の構成図、第2図はこの発
明の一実施例のブロック図、第3図A。 Bはその用紙サイズ設定画面の表示例を示す図。 第4図はそのフローチャートである。 l・・・印字装置、 2・・・印字媒体、 3・・・サイズ入力手段、 4・・・行数算出手段、 5・・・行数表示手段。 特  許  出  願  人 ブラザー工業株式会社
FIG. 1 is a block diagram of a printing apparatus of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3A. B is a diagram showing a display example of the paper size setting screen. FIG. 4 is a flow chart thereof. 1...Printing device, 2...Print medium, 3...Size input means, 4...Line number calculation means, 5...Line number display means. Patent application Brother Industries, Ltd.

Claims (1)

【特許請求の範囲】 1、入力されたデータを印字媒体へ印字する印字装置に
おいて、 前記印字媒体のサイズを入力するサイズ入力手段と、 前記サイズに基づいて印字媒体上でデータの印字が可能
な行数を算出する行数算出手段と、前記行数算出手段で
算出した行数を表示する行数表示手段とを備えたことを
特徴とする印字装置。
[Claims] 1. A printing device that prints input data on a print medium, comprising: size input means for inputting the size of the print medium; and data can be printed on the print medium based on the size. A printing device comprising: a line number calculation means for calculating the number of lines; and a line number display means for displaying the number of lines calculated by the line number calculation means.
JP61166270A 1986-07-15 1986-07-15 Printer Expired - Lifetime JPH07102726B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61166270A JPH07102726B2 (en) 1986-07-15 1986-07-15 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61166270A JPH07102726B2 (en) 1986-07-15 1986-07-15 Printer

Publications (2)

Publication Number Publication Date
JPS6321174A true JPS6321174A (en) 1988-01-28
JPH07102726B2 JPH07102726B2 (en) 1995-11-08

Family

ID=15828269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61166270A Expired - Lifetime JPH07102726B2 (en) 1986-07-15 1986-07-15 Printer

Country Status (1)

Country Link
JP (1) JPH07102726B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04332669A (en) * 1991-05-07 1992-11-19 Tokyo Electric Co Ltd Label printer
US5238315A (en) * 1988-11-18 1993-08-24 Seiko Epson Corporation Printer paper feed and carriage control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57159472U (en) * 1981-04-01 1982-10-06
JPS6111277A (en) * 1984-06-28 1986-01-18 Fujitsu Ltd Printer
JPS6118034U (en) * 1984-07-06 1986-02-01 東洋金属化工株式会社 Rack drainage system
JPS61157973A (en) * 1984-12-28 1986-07-17 Matsushita Electric Ind Co Ltd Input editing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57159472U (en) * 1981-04-01 1982-10-06
JPS6111277A (en) * 1984-06-28 1986-01-18 Fujitsu Ltd Printer
JPS6118034U (en) * 1984-07-06 1986-02-01 東洋金属化工株式会社 Rack drainage system
JPS61157973A (en) * 1984-12-28 1986-07-17 Matsushita Electric Ind Co Ltd Input editing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5238315A (en) * 1988-11-18 1993-08-24 Seiko Epson Corporation Printer paper feed and carriage control device
JPH04332669A (en) * 1991-05-07 1992-11-19 Tokyo Electric Co Ltd Label printer

Also Published As

Publication number Publication date
JPH07102726B2 (en) 1995-11-08

Similar Documents

Publication Publication Date Title
JPH058449B2 (en)
JPS6321174A (en) Printer
JPH0616280B2 (en) Document processor
JPH074956B2 (en) Character processor
JP3077777B2 (en) Document processing device
JP2903516B2 (en) Document processing device
JPS6260056A (en) Setting system for character data
JPH0330049A (en) Document generation device
JP3143503B2 (en) Image processing method and apparatus
JP2564779B2 (en) Character output device
JPH06199020A (en) Method and apparatus for controlling label printing
JPH11254777A (en) Character information processor
JP2555557B2 (en) Character processor
JP2904486B2 (en) Character processor
JP2564778B2 (en) Character output device
JPH04148471A (en) Format setting device
JPH0270472A (en) Displaying method for printing position of document forming apparatus
JPS61286177A (en) Document-forming device
JPS62131322A (en) Word processor
JPS63209964A (en) Word processor
JPH03276253A (en) Display processor
JPH04118768A (en) Document preparing device
JPH05165809A (en) Document processor
JPH02242423A (en) Data processor
JPS61286157A (en) Document former

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370