JPH04331172A - Printing device - Google Patents

Printing device

Info

Publication number
JPH04331172A
JPH04331172A JP3100715A JP10071591A JPH04331172A JP H04331172 A JPH04331172 A JP H04331172A JP 3100715 A JP3100715 A JP 3100715A JP 10071591 A JP10071591 A JP 10071591A JP H04331172 A JPH04331172 A JP H04331172A
Authority
JP
Japan
Prior art keywords
paper size
characters
input
character
size
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
JP3100715A
Other languages
Japanese (ja)
Inventor
Sakae Shimizu
栄 清水
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3100715A priority Critical patent/JPH04331172A/en
Publication of JPH04331172A publication Critical patent/JPH04331172A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To display printable paper size automatically when characters are inputted and display the number of characters capable of inputting when the paper size is set. CONSTITUTION:A printing device comprises a character input means 1 for inputting character size and characters, a paper size input means 3 for inputting paper size, a decision means 4 for obtaining printable paper size in accordance with data of the inputted number of characters, and a display means 7 for displaying paper size in accordance with output data of the decision means 4. Accordingly, when character size and the number of characters to be printed are inputted, a printable paper size is displayed, thereby reducing print errors.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ワードプロセッサ等の
印字装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device such as a word processor.

【0002】0002

【従来の技術】従来のワードプロセッサ等の印字装置は
、印字用紙のサイズ及び文字間、行間を指定すると、そ
れに応じて入力する文字数は設定され、レイアウトが自
動的に設定されるようになっていた。
[Prior Art] In conventional printing devices such as word processors, when the size of printing paper, character spacing, and line spacing are specified, the number of characters to be input is set accordingly, and the layout is automatically set. .

【0003】0003

【発明が解決しようとする課題】ところが従来の印字装
置では、用紙サイズ設定後に入力する文字数を変更する
場合は、文字間や行間等の書式を設定し直す等の繁雑な
操作をしなければならないという問題点があった。
[Problem to be Solved by the Invention] However, with conventional printing devices, if you want to change the number of characters to be input after setting the paper size, you must perform complicated operations such as resetting formats such as character spacing and line spacing. There was a problem.

【0004】本発明は上記従来の技術に鑑みてなされた
ものであり、文字を入力すると自動的に印字可能な用紙
サイズを表示することができ、また用紙サイズを設定す
ると入力可能文字数を表示する印字装置を提供すること
を目的とする。
The present invention has been made in view of the above-mentioned conventional technology, and can automatically display printable paper sizes when characters are input, and also display the number of characters that can be input when the paper size is set. The purpose is to provide a printing device.

【0005】[0005]

【課題を解決するための手段】このために本発明は、入
力すべき文字数を入力する入力手段と、入力された文字
数データに応じて印字可能な用紙サイズを判断する判断
手段と、前記判断手段の出力データに応じて用紙サイズ
の表示を行う表示手段とから印字装置を構成している。
[Means for Solving the Problems] To this end, the present invention provides an input means for inputting the number of characters to be input, a determination means for determining a printable paper size according to the input character count data, and the determination means The printer comprises a display means for displaying the paper size according to the output data of the printer.

【0006】[0006]

【作用】上記構成により、印字したい文字を入力すると
印字可能な用紙サイズ情報を得ることができ、また用紙
サイズを設定すると入力可能文字数情報を表示させるこ
とができる。
[Operation] With the above configuration, when characters to be printed are input, printable paper size information can be obtained, and when the paper size is set, information on the number of inputtable characters can be displayed.

【0007】[0007]

【実施例】以下、本発明の一実施例について、図面を参
照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0008】図1は、本発明の一実施例における印字装
置の主要部構成を示すブロック図であり、図2は同装置
の動作を示すフローチャートである。図3は印字装置の
外観斜視図であり、図4は判断手段おける判断基準のフ
ローチャートである。
FIG. 1 is a block diagram showing the main structure of a printing device according to an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the printing device. FIG. 3 is an external perspective view of the printing device, and FIG. 4 is a flowchart of judgment criteria in the judgment means.

【0009】図1において1は文字および文字サイズを
入力する文字入力手段であり、たとえばキーボードであ
る。2は入力文字数データ、文字サイズデータ、用紙サ
イズデータを記憶する記憶手段であり、たとえば読み書
き自在メモリ(以下RAMという)である。3は用紙サ
イズ入力手段であり、たとえばキーボードである。4は
入力文字数から印字可能な用紙サイズを判断し、用紙サ
イズ設定から入力可能文字数を判断する判断手段、7は
発光ダイオード(以下LEDという)を用いた表示手段
、8は液晶(以下LCDという)を用いた表示手段であ
る。また5はLED7の制御を行う制御手段であり、6
はLCD8の制御を行う制御手段である。なお判断手段
4、制御手段5及び制御手段6はマイクロ・コンピュー
タにより構成されている。
In FIG. 1, reference numeral 1 denotes a character input means for inputting characters and character sizes, such as a keyboard. Reference numeral 2 denotes a storage means for storing input character count data, character size data, and paper size data, and is, for example, a read/write memory (hereinafter referred to as RAM). 3 is a paper size input means, for example a keyboard. Reference numeral 4 indicates a determination means for determining the paper size that can be printed based on the number of input characters, and determines the number of inputtable characters based on the paper size setting; 7 indicates a display means using a light emitting diode (hereinafter referred to as LED); 8 indicates a liquid crystal (hereinafter referred to as LCD) This is a display means using. Further, 5 is a control means for controlling the LED 7;
is a control means for controlling the LCD 8. Note that the determining means 4, the controlling means 5, and the controlling means 6 are constituted by a microcomputer.

【0010】以上のように構成された自動レイアウト機
能を有する印字装置について、以下その動作について説
明する。
The operation of the printing apparatus having the automatic layout function configured as described above will be explained below.

【0011】まず図2において、入力手段1により文字
を入力する(ステップ1)。ここで入力された文字数に
おける最小文字サイズの印字可能な用紙サイズを制御手
段4で判断する(ステップ2)。
First, in FIG. 2, characters are input using the input means 1 (step 1). The control means 4 determines the printable paper size of the minimum character size based on the input number of characters (step 2).

【0012】次に印字可能であると判断された用紙サイ
ズをLED7を点灯させて表示し、また、印字不可能で
ある場合はLED7を消灯させてその旨表示する(ステ
ップ3)。
Next, the paper size determined to be printable is displayed by lighting the LED 7, and if printing is not possible, the LED 7 is turned off to display that fact (step 3).

【0013】逆に文字が入力されていない場合、任意の
用紙サイズを入力手段3によって設定(ステップ4)し
た場合は、用紙サイズにおける入力可能文字数を制御手
段4によって判断する(ステップ5)。そしてLCD8
によって表示する(ステップ6)。
On the other hand, if no characters have been input and an arbitrary paper size is set by the input means 3 (step 4), the control means 4 determines the number of inputtable characters for the paper size (step 5). And LCD8
(Step 6).

【0014】したがって文字入力を行っている場合は、
印字装置本体に取り付けてあるLED7の点灯、および
消灯の状態を確認することにより、印字可能な用紙サイ
ズを知ることが可能となり、文字入力を行っていない状
態においては用紙サイズの設定をすることにより、LC
D8に表示される入力可能文字数によって入力可能文字
数を知ることが可能となる。
[0014] Therefore, when inputting characters,
By checking whether the LED 7 attached to the printing device is on or off, you can know the paper size that can be printed on.If you are not inputting characters, you can set the paper size. , L.C.
It is possible to know the number of inputtable characters by the number of inputtable characters displayed on D8.

【0015】次に図4に沿って判断手段4の判断方法に
ついて説明する。まず文字数列i(1〜n)、文字サイ
ズ列j(1〜m)、用紙サイズ列k(1〜r)とする。 n,m,rは任意の整数である。この文字数列i(1〜
n)と文字サイズ列j(1〜m)をかけた値をYとし、
印字面積値とすると、各文字数における文字サイズ別の
値(n×m通り)をもつ。用紙サイズKからこの値Yを
引いた値をSとする。例えば任意に文字数を1つ選ぶと
その文字数に対する値Yと値Si が決まり、値Si 
が値0より大きければ印字可能と判断し、小さければ印
字不可能と判断する。
Next, the judgment method of the judgment means 4 will be explained with reference to FIG. First, a character number sequence i (1 to n), a character size sequence j (1 to m), and a paper size sequence k (1 to r) are assumed. n, m, r are arbitrary integers. This string of characters i(1~
Let Y be the value obtained by multiplying n) by the character size string j (1 to m),
If it is a printing area value, it has values for each character size (n x m types) for each number of characters. Let S be the value obtained by subtracting this value Y from the paper size K. For example, if you arbitrarily select one number of characters, the value Y and value Si for that number of characters are determined, and the value Si
If the value is larger than 0, it is determined that printing is possible, and if it is smaller, it is determined that printing is not possible.

【0016】また、用紙サイズKの値をjで割った値を
Zとすると、Zは各用紙サイズにおける文字サイズ別の
入力可能文字数列となる。例えば任意に用紙サイズを1
つ選ぶとその用紙サイズの数列Zの各値が決まり、この
数列Zの最大値Zmax を入力可能文字数と判断する
Further, if Z is the value obtained by dividing the value of the paper size K by j, then Z becomes a string of characters that can be input by character size in each paper size. For example, arbitrarily set the paper size to 1.
When one is selected, each value of the sequence Z for that paper size is determined, and the maximum value Zmax of this sequence Z is determined as the number of characters that can be input.

【0017】上記実施例では用紙サイズを設定する場合
に、文字の未入力状態で用紙サイズデータを入力する例
を示したが、文字を入力してから用紙サイズを入力する
ようにしても良い。
In the above embodiment, when setting the paper size, an example was shown in which paper size data is input in a state where no characters are input, but the paper size may be input after characters are input.

【0018】[0018]

【発明の効果】以上のように本発明は、入力文字数によ
って印字可能用紙サイズ、さらに用紙サイズを設定する
と、入力可能文字数を簡単に知ることが可能となり、実
用的な効果は大なるものがある。
[Effects of the Invention] As described above, the present invention has a great practical effect because it is possible to easily know the printable paper size and the paper size according to the number of input characters, and the number of characters that can be input is set. .

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

【図1】本発明に係る自動レイアウト機能付き印字装置
の主要部構成を示すブロック図
FIG. 1 is a block diagram showing the configuration of main parts of a printing device with an automatic layout function according to the present invention.

【図2】本発明に係る自動レイアウト機能のフローチャ
ート
[Figure 2] Flowchart of automatic layout function according to the present invention

【図3】本発明に係る自動レイアウト機能付き印刷装置
の外観図
FIG. 3 is an external view of a printing device with an automatic layout function according to the present invention.

【図4】本発明に係る判断手段における判断基準のフロ
ーチャート
[Fig. 4] Flowchart of judgment criteria in the judgment means according to the present invention.

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

1  文字入力手段 2  記憶手段 3  用紙サイズ入力手段 4  判断手段 5  制御手段 6  制御手段 7  表示手段 1 Character input means 2. Storage means 3 Paper size input means 4 Judgment means 5 Control means 6 Control means 7 Display means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力すべき文字数を入力する入力手段と、
入力された文字数データに応じて印字可能な用紙サイズ
を判断する判断手段と、前記判断手段の出力データに応
じて用紙サイズの表示を行う表示手段を設けたことを特
徴とする印字装置。
[Claim 1] Input means for inputting the number of characters to be input;
1. A printing device comprising: a determining means for determining a printable paper size according to input character count data; and a display means for displaying the paper size according to output data of the determining means.
JP3100715A 1991-05-02 1991-05-02 Printing device Pending JPH04331172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3100715A JPH04331172A (en) 1991-05-02 1991-05-02 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3100715A JPH04331172A (en) 1991-05-02 1991-05-02 Printing device

Publications (1)

Publication Number Publication Date
JPH04331172A true JPH04331172A (en) 1992-11-19

Family

ID=14281356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3100715A Pending JPH04331172A (en) 1991-05-02 1991-05-02 Printing device

Country Status (1)

Country Link
JP (1) JPH04331172A (en)

Similar Documents

Publication Publication Date Title
US5399030A (en) Tape print device having print format control
JPH071772A (en) Label printing device and label printing method
JPH03221993A (en) Dual screen controller of document processor
JPH024938B2 (en)
US5227772A (en) Text display apparatus and a method of displaying text
JPH04331172A (en) Printing device
EP0273764B1 (en) Text processing system
EP0352065B1 (en) Text editing device
JPH0550696A (en) Label printing
JPH0522933B2 (en)
JP2878298B2 (en) Image output device
JPH01220066A (en) Document outputting device
JPS61175765A (en) Format setting system for document processor
JPH0373998A (en) Character pattern data generating device
JPS63293077A (en) Character output device
JPH04127360A (en) Document processor
JPH0615317Y2 (en) Document processor
JPH04118769A (en) Document preparing device
JPH04264611A (en) Keyboard
JPH09202010A (en) Printing device
JPH04318660A (en) Document format setting method
JPS55147732A (en) Optional character input system for word processor
JPS6320623A (en) Document editing device
JPH03183575A (en) Font cash device
JPH0976577A (en) Recording medium label printing method and apparatus and printing position determining jig